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

Open
#270 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Python
Stars
0
Forks
0
Avg merge
2h 9m
Merged PRs (30d)
164

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from neurodata/prolearn

All issues in neurodata/prolearn

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.