Download rsm_rise/scripts/workers/BETA_FAIR_task.md from rli14/rsm_rise_code: direct link, hf CLI and curl.
- Browser
- Download file 5.32 kB
-
https://huggingface.co/rli14/rsm_rise_code/resolve/main/rsm_rise/scripts/workers/BETA_FAIR_task.md
- Command line
-
hf download hf://rli14/rsm_rise_code/rsm_rise/scripts/workers/BETA_FAIR_task.md
-
curl -L -o BETA_FAIR_task.md https://huggingface.co/rli14/rsm_rise_code/resolve/main/rsm_rise/scripts/workers/BETA_FAIR_task.md
============================================================================
WORKER ASSIGNMENT: BETA_FAIR (fair beta ablation for the flagship RSM -- STEP 1: coverage + run plan)
============================================================================
Status file: status/BETA_FAIR.md (create; append-only). ONE-SHOT run: finish this step in this run.
Owner's request (2026-11-08)
We want an ablation showing that for the flagship RSM method beta is task dependent and often a myopic beta is best (so stitching happens): y = success rate, x = beta, under a FAIR setting. The owner ruled: every beta point must use the SAME PROPOSER as the paper's RSM number (chosen so all methods share one proposer) and the SAME REWARD HEAD. The existing plot status/beta_sweep_best.{pdf,json} (scripts/plot_beta_sweep_best.py, status/BETA_PLOT_STATE.md) is NOT fair: each point is a max over proposers (BC-unified / RISE / BC-expert / IDQL), heads (membership / progress), model families (M / L40 / *_ftb80), checkpoints, chain caps, and its n varies 25..1350.
The paper's fixed settings (source of truth)
- Proposer per task: scripts/flagship_latex.py PROPOSER_BY_TASK / RSM_PROPOSER: "RISE policy" everywhere except threading_expert_play = "IDQL policy@500", mug_expert_suboptimal = "BC-expert" (NOT "BC-expert (paper recipe)", which verdict_table labels as a DIFFERENT proposer, S3H1plain -- confirm).
- Reward head: rsm:membership (confirm it is what flagship_latex uses for the RSM column on every task).
- Paper Table 6 (RSM): task: beta, M(particles), readout, size -- Square(Sub)=square_sub_20100: 0.98,16,logit,M | Square(Cov)=square_expert_play: 0.90,16,prob,L | Piece(Sub)=two_piece_expert_suboptimal: 0.95,8,prob,M | Piece(Cov)=two_piece_expert_play: 0.98,16,prob,L | Mug(Sub)=mug_expert_suboptimal: 0.98,16,logit,M | Thread(Cov)=threading_expert_play: 0.98,8,prob,M | Piece-tip(Cov)=two_piece_expert_play_tipping: 0.95,16,prob,M. gamma=0.99, N=128. Verify the task-name mapping and these settings against flagship_latex.py / the cells it selects; report any disagreement (we already see: paper Piece(Sub) 47.1 @0.95 but the sweep's 47.1 is a beta-0.8 ftb80 cell; paper Thread 25.8 but IDQL@500 at beta 0.9 gives 33.0 n=500; Piece(Cov) 48.7 vs 50.1; Mug 23.1 vs 22.2 n=400).
What to produce
- Using ONLY the canonical loader (verdict_table, as plot_beta_sweep_best.py does, same exclusions), run in a CPU job (SLURM now: see status/BETA_PLOT_STATE.md for how the last job was submitted by hand-written sbatch; LSF is gone): for each of the 7 paper tasks and each beta in {0.90, 0.93, 0.95, 0.97, 0.98, 0.99} (plus any other beta that already has cells), list the cells with proposer == paper proposer AND head == membership AND model size/ checkpoint/M/readout == the paper's Table 6 choice for that task ("matched"), with n episodes, policy seeds, eval seeds, success. Separately list cells that match proposer+head but differ in another knob.
- A coverage matrix task x beta: FULL (matched, >= 3 policy seeds x 3 eval seeds x 50 = 450 eps, same eval-seed set as the paper cell), PARTIAL (matched, fewer eps -- say which seeds are missing), MISSING.
- Also check whether a "no recursion" control exists: at the best small beta, a single hop (no continuation to gamma) with everything else matched. Mark it MISSING if not.
- Check the model's trained beta band (so betas outside it are flagged, not run on an out-of-band model).
- A RUN PLAN for every PARTIAL/MISSING cell: the exact eval command (find the script/payload that produced the matched paper cell and change only beta / the hop setting), seeds to run, episodes, expected GPU-hours, and how to pack them 8 per GPU node on the CURRENT scheduler (SLURM; one task per GPU, never a 1-GPU job; payloads skip cells whose JSON exists). Write payload scripts under status/packs/beta_fair/ but DO NOT SUBMIT any GPU job in this run -- the orchestrator will launch after the owner sees the plan.
- Re-plot: status/beta_fair_current.pdf -- per task, success vs beta using ONLY matched cells (mean +- 95% bootstrap CI over episodes, n labelled, missing betas shown as gaps), with the paper's Table 1 number marked.
Bookkeeping
No git commit/push, no GitHub posts. REPORT: the mapping/settings check, the coverage matrix, the matched-only numbers vs the paper, the number of cells/episodes/GPU-hours to fill, and open questions.
ALSO (owner, 2026-11-08): compare against the rise_repro settings
Read https://github.com/williamd4112/gen_q/tree/rise_repro/rise_repro README.md (branch rise_repro, path
rise_repro/README.md; fetch via the GitHub REST API / raw URL with the richardrl token from ~/.git-credentials --
never gh, never print the token; follow links in it to configs it names). For each of the 7 tasks, tabulate the
rise_repro settings (proposer/actor recipe + epoch, reward head/label, beta/gamma, N candidates, M particles, readout,
model size/checkpoint, seeds x episodes, eval protocol) against (a) the paper Table 5/6 settings above and (b) the
matched cells you find. Flag every disagreement, and say which source the fair beta ablation should follow where
they disagree (default: the paper's proposer + head, as the owner ruled; anything else is an open question).