Download rsm_rise/scripts/workers/APPX_MATH.md from rli14/rsm_rise_code: direct link, hf CLI and curl.
- Browser
- Download file 4.39 kB
-
https://huggingface.co/rli14/rsm_rise_code/resolve/main/rsm_rise/scripts/workers/APPX_MATH.md
- Command line
-
hf download hf://rli14/rsm_rise_code/rsm_rise/scripts/workers/APPX_MATH.md
-
curl -L -o APPX_MATH.md https://huggingface.co/rli14/rsm_rise_code/resolve/main/rsm_rise/scripts/workers/APPX_MATH.md
ONE-SHOT TASK: APPX_MATH -- mathematical description of how every column of the RISE table scores candidates
Status file: status/APPX_MATH.md. Owner, 2026-09-25 ~19:50 UTC, for the paper appendix subsection
\subsection{RISE}\label{app:exp:rise}, paragraph "RISE methods and evaluation": "Describe mathematically using
one-step, multi-step, and reference using successor to model qvalue ... how the qvalues etc were calculated for this
table". The table is tab:rise_flagship (= tab:flagship in docs/tex/flagship_table.tex, plus the DF column in
docs/tex/wide/tab_flagship_df.tex): BC, BC-u | IDQL, IFQL, TD-Flow, LeWM, DINO-WM, DF, RSM.
Deliverable
A LaTeX fragment docs/tex/appendix_rise_methods.tex (paste-in, amsmath only, no new packages; ~1 page at ICLR
width, \paragraph-level structure) and a compiled proof docs/tex/appendix_rise_methods.pdf (tectonic
/u/zwhong/.local/bin/tectonic in a CPU LSF job, ICLR style from docs/tex/iclr2027/iclr2027). Structure:
- Common protocol: proposer $\pi$ (pinned per row), $N{=}128$ candidate action chunks $a^{(i)}\sim\pi(\cdot|s_t)$, each scorer computes $\hat Q(s_t,a^{(i)})$, execute $\arg\max_i$ (chunk length / replanning cadence as in the code), BC/BC-u execute a single sample. Shared reward: RISE's provenance label $r\in{0,1}$ and, for the latent scorers, the learned membership/reward head $\hat r$ on DINOv2 features -- define exactly what $\hat r$ is (inputs, training target, prob vs logit read-out) and which methods share it.
- One-step value estimators (TD critics): IDQL/RISE critic (IQL: expectile $\tau$, the V/Q losses, $\gamma$, what $\hat Q$ the scorer reads -- min over twin Qs? -- and on which inputs), IFQL (its critic/flow value, $\gamma{=}0.9999$, reward scaling $(1-\gamma)$, what is read out).
- One-step world models: DINO-WM and LeWM -- latent dynamics $z_{k+1}=f(z_k,a_k)$, how the rollout of length $H$ is formed (which actions after the candidate chunk: repeated? proposer in latent? -- find out), $H=1/(1-\gamma)$, and the two read-outs: terminal $\hat r(z_H)$ and normalised discounted $\sum_k\gamma^k\hat r(z_k)/\sum_k\gamma^k$.
- Multi-step world model: Diffusion Forcing -- joint generation of the $H$-frame future conditioned on history and the candidate action(s), $M$ sampled futures (chains) averaged, same two read-outs.
- Successor-model (reference) value: RSM -- the $\beta$-discounted successor model $m_\beta(s^+|s,a)$ trained by Monte-Carlo flow matching on future-state samples $s_{t+K}$, $K\sim\mathrm{Geom}(1-\beta)$; the coin-terminated $\beta$-chain: continuation $p=(\gamma-\beta)/(\gamma(1-\beta))$, hops, how each hop is conditioned (first hop on $(s,a)$, later hops on what?), why the composed offset is $\mathrm{Geom}(1-\gamma)$ (give the short derivation), the $10^{-3}$ tail cap, $M$ chains, read-out $\hat Q(s,a)\propto \frac1M\sum_m \hat r(s^{(m)}{\text{stop}})$ with prob or logit, and the identity $Q^\pi(s,a)=\frac{1}{1-\gamma}\mathbb{E}{s^+\sim m_\gamma(\cdot|s,a)}[r(s^+)]$ (state the convention for whether the current state/reward is included). TD-Flow: same read-out, successor trained with the TD-flow bootstrapped target instead of Monte Carlo -- write its target. Also a short table or sentence per method of its compute per decision (model calls) if it is cheap to state.
Rules
Every formula must match the CODE that produced the table's cells, not the papers: trace from the eval cell JSONs
(planner, planner_overrides, rsm_backend, plan_* fields) to the scorer implementations (RSM/TD-Flow in
/proj/dmfexp/zwhong/projs/issue_resolver_richardrl/gen_q_rsm/rsm_libero and scripts/; IQL in code/rise_robomimic /
iql_diffusion; IFQL code/ifql/train_ifql.py; DINO-WM/LeWM/DF launchers e.g. launch_dinowm_mpc.py, train_dinowm.sh,
DF under code/diffusion_forcing*). Put file:line references in LaTeX comments (%), not in the text. Where code and a
paper differ, follow the code and note the difference in one clause. Use prior notes: status/FAIR_AUDIT.md,
status/fairaudit/, status/SWEEP_APPX.md, memory notes on beta/gamma/hops arithmetic ("fold drops gamma^(L/(1-beta))";
"our sampler renormalises & admits k=0, ocbench starts at k=1"). No compute on the login node. Final REPORT: paths +
a plain-text copy of the fragment + any place where the code surprised you.