Tune training for the Pro-MLP time-feature arms on switching and steep drift

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
python

调研方向

Start with experiments/run_optimizers.py and run_settings.py, then review issue #97 for the existing tuning approach. Generalize the runner to accept the specified settings and arms, run the six configurations across the tuning seeds, and record held-out loss after each epoch. Done means all 108 CPU jobs complete and the winning configuration is selected with the stated prospective-risk rule.

由索引模型根据 Issue 内容生成。

描述

Tune how Pro-MLP (Fourier + monomial) trains, and tune the single-basis arms the same way, so that #234 compares feature sets rather than tuning effort.

Why. In the pilot (batch, seeds 0–2, scored at t = T, commit 7c55f51), the combined arm reached the Bayes level on some seeds and stayed far from it on others, in both settings. On switching it was less reliable than harmonic features alone. On drift it solved as many seeds as monomials alone, but on different seeds. Two of the three drift runs chose 1 epoch under prospective early stopping, and the one at chance was one of them. One switching run trained 100 epochs and still sat near 0.25. So some failures may come from training, not from the features. We do not know which yet.

Arms. batch-mlp-fourier-monomial-ahead, batch-mlp-harmonic and batch-mlp-monomial-ahead, on periodic-poisson and linear-drift-steep.

Questions

  1. Tune the two single-basis arms as well, with the same grid and seeds, or only the combined arm?
    Proposed default: all three. Otherwise a gain over the single-basis arms mixes the features with the extra tuning.

  2. What grid?
    Proposed default: early stopping {prospective, off} × learning rate {0.03, 0.1, 0.3}, with everything else as in run_settings.py. That is 6 configurations.

  3. Which seeds tune, and which report?
    Proposed default: seeds 0–2 tune and seeds 3 and up report, as in #97. The pilot and the full run already on seeds 0–2 are tuning data.

  4. What picks the winning configuration?
    Proposed default: the mean over the tuning seeds of prospective risk, averaged over the checkpoints from T/2 to T. One rule for every arm and setting.

  5. Log the held-out loss after each epoch?
    Proposed default: yes, in each tuning run. It shows whether the 1-epoch stops come from the harmonic features overfitting the steps seen while the latest steps get worse.

  6. How to run it?
    Proposed default: generalize experiments/run_optimizers.py, which #97 hard-wired to periodic-poisson, so it takes a setting and arms. Run it on Skipjack: 6 configurations × 3 arms × 2 settings × 3 seeds, 108 small CPU jobs.

主要语言
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 摘要。