Experiments as one page per result

未关闭
#236 4 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@jovo 已经在做这个了。

开始于 2026年12月4日。

评估

这个 Issue 还没有评估数据。

描述

The Experiments section becomes one page per claim, in place of the per-setting pages (periodic-sampling.md, linear-drift-steep.md, context-learners.md, forecasters.md). The website is the product, with no paper appendix. This issue records the decisions already made and asks what is still open.

Pages, in order: Settings, then R1 to R6, then Generality.

  1. Settings defines periodic-single, periodic-poisson, linear-drift-steep, linear-drift-steep-single (#233) and prospective risk. Result pages link to it.
  2. R1. Prospective learning works, no time fails. Switching: Pro-MLP, Pro-Forest against MLP, Forest. Drift: Pro-MLP (monomial) against MLP.
  3. R2. Infinitely many tasks, if time is encoded right. (a) Drift risk over time for MLP, OMLP, Pro-MLP (Fourier), Pro-MLP (monomial), with a line at the risk of a boundary fitted midway. (b) Time encoding by setting: Fourier works on switching and fails on drift, monomial and Legendre the reverse. (c) The boundary each learner predicts across the horizon against the true one, from a refit script, in a second PR.
  4. R3. Prospective context learning. Switching: TF, Pro-TF, RoPE-TF, Pro-TF (small), RoPE-TF (small), RoPE-TF (small, context 64), Pro-MLP. Drift: TF, Pro-TF (monomial), RoPE-TF, RoPE-TF (small), GRU, and Pro-TF (small, monomial) once it runs.
  5. R4. Forecasters. Switching with one sample per step: Pro-MLP, DeepAR, Chronos-2. The drift half joins when linear-drift-steep-single runs are shown.
  6. R5. Online learning. A 2×2 grid, one column per setting. Top row MLPs and forests, bottom row Transformers and GRUs.
  7. R6. Size and cost. Per setting: late risk against training FLOPs, late risk against weight count, and weight count against FLOPs to first reach risk 0.1, one dot per seed.
  8. Generality. A table drawn from runs/: learners by sampling regime and task, each cell works, stays at chance, or cannot run.

Each result page gets a reproduce snippet of experiments/run.py commands, generated from one page-to-arms map in code, so a page never lists an arm it does not draw. Each also gets a short "use it" gallery example the docs build runs.

Decisions already made

  1. Seeds per arm.
    Answer: "5 seeds per arm everywhere". Figures draw the seeds that exist now and fill in as top-ups land.

  2. GRU and OGRU.
    Answer: "GRU and OGRU are prospective context learners that read time through query offsets" (#182). No split into arms that read time and arms that do not.

  3. Language-model arms.
    Answer: "Language-model arms (179, 190) get their own page later, not here."

  4. Polynomial MLPs on switching, Fourier on drift.
    Answer: "Polynomial-feature MLPs on the switching task stay at chance, Fourier fails on drift: that 2×2 is central." The polynomial arms on periodic-poisson are marked shown.

  5. RoPE-TF on drift.
    Answer: "Show RoPE-TF on drift despite its swings, and say the runs do not show why."

  6. Forecasters.
    Answer: "DeepAR learns late, unevenly, at far higher cost, Chronos-2 stays at chance."

  7. Weight counts for R6.
    Answer: "Transformer and GRU step files lack parameters: compute weight counts from the architecture in the figure code; trees count something else, give them their own marker and say so."

  8. What counts as works in the Generality table.
    Answer: "'Works' uses the pages' existing rule (seed mean ≥ 0.05 below chance over the last quarter and one-sided t-test at 0.05). No numbers in it."

  9. Names, labels and figure details.
    Answer: "Names, labels and figure details (thresholds, layout, markers) you may decide yourself, reusing existing hyperparameters."

  10. R2c.
    Answer: "needs a refit script; do it in a second, separate PR after the pages PR."

Questions

  1. Generality table, learners with several time encodings. Pro-MLP, Pro-OMLP and Pro-TF ran with Fourier and with monomial features. Fourier works on switching and fails on drift, and monomial the reverse.
    Proposed default: one row per learner, as the task lists them. A cell reads works when any shown encoding of that learner works there, and names that encoding, such as "works (monomial)". The alternative is one row per learner and encoding.
    Answer: one table, with a section per family (MLPs, trees, Transformers, GRUs, forecasters) and a rule above each. Each row is a time encoding. Each cell holds the batch arm's mark and then the online arm's, a filled dot for batch and an outline for online, green when the arm beats the bar and red when it does not. Fill every cell by running the missing arms. Maintainer, 2026-12-04.

  2. Torch in the docs build. The "use it" examples for the MLP, Transformer and GRU train a model, and the docs jobs install no torch.
    Proposed default: the docs jobs in ci.yml and docs.yml add --extra plot --extra torch, the CPU build on Linux. Each example trains on a short stream in a few seconds. The alternative is examples that use only the trees, which need no torch.
    Answer: include torch. The docs jobs add --extra plot --extra torch, the CPU build on Linux. Maintainer, 2026-12-04.

  3. Forecasters and Generality pages without an example. DeepAR and Chronos-2 run in worker environments the docs build does not install. The Generality page is a table of other pages' arms.
    Proposed default: neither page gets a "use it" example. The forecasters page keeps its reproduce snippet.
    Answer: yes to the default. Neither page gets a "use it" example, and the forecasters page keeps its reproduce snippet. Maintainer, 2026-12-04.

  4. What the docs build draws. The new pages draw their figures with a new script, experiments/draw_pages.py, from the page-to-arms map. The old per-setting figures of draw_settings.py would no longer appear on any page.
    Proposed default: CI and the docs workflow run draw_pages.py in place of draw_settings.py --all, and AGENTS.md's check list says so. draw_settings.py stays as it is for the run dashboard (--unfinished) and examples/plot_periodic.py.

主要语言
Python
星标
0
派生
0
平均合并
2 小时 9 分钟
30 天内合并 PR
164

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

neurodata/prolearn 的其他 Issue

查看 neurodata/prolearn 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。