docs/research/2026-07-07-rlvr-continual-learning-dreaming-weight-updates.md

Spending compute to update Σ₀'s base weights: RLVR + dreaming, gated by the stability certificate

  • Task: research how to spend compute to update the base model weights for Σ₀ using RLVR (RL with verifiable rewards) for continual learning + a "dreaming" (offline replay) phase, gated by the Σ₀ stability/collapse certificate.
  • Date: 2026-07-07
  • Engine: !research — local arXiv corpus (F:, post-cutoff 2025-07→) via scripts/arxiv_query.js + web fan-out + one adversarial cross-check (grok-4 headless).
  • Overall confidence: ~0.78. Legs 1–2 well-grounded in post-cutoff papers; Leg(the load-bearing finding) triple-sourced; Legupgraded from directional to corpus-grounded this pass.

0. The constitutional tension (state it first)

The North Star forbids exactly this by default: "Learning is retrieval + experience, NOT weight modification — never retrain" (CLAUDE.md, session-grounding principle 5; ADR-0010 Rule 0/Rulemake adapter-only the sole sanctioned weight path). But the operator's 2026-07-06 directive (ADR-0024) scopes frontier training in. The honest reconciliation: a weight update is a rare, certified exception to the frozen-base default, never the default itself. The frozen base + JSONL/CSF retrieval loop stays Rule 0; a weight update ships only when it beats retrieval on a frozen held-out suite. Everything below is engineered to preserve that.

1. Leg— RLVR is the right update rule because it is unusually forgetting-robust

The strongest empirical argument for RLVR here is counterintuitive:

Implication: RLVR (on-policy, execution-graded GRPO-family) is the update engine — it structurally protects the base — but the quantity to gate on is correct-set turnover, a held-out exec metric, not a hidden-state property.

2. Leg— "Dreaming" = generative replay + sleep-time consolidation (well-supported; maps to the loop without sprawl)

The North Star bans a separate dream engine but permits dreaming as a reasoning/replay strategy. The literature supports exactly that framing:

Implication: "dreaming" is concretely an offline phase that replays the verified JSONL/CSF memory you already have as the experience buffer, mixing generic data to anchor. Improves Remember→Reason; adds no new memory system.

3. Leg— The stability cert cannot gate the failure mode you care about (critical finding)

This converges from three independent directions:

  • [repo doc] The Σ₀ collapse certificate certifies local hidden-state trajectory contraction (max Re λ(A) < 0 on the decode Jacobian) — the local linear Jacobian, not a global guarantee (SIGMA0-COLLAPSE-CERTIFICATE.md §1). Its trigger is a late detector: precision 1.0, snapshot recall ≈ 0.08 (§2, #1990). The repo already documents instrument↔actuator decoupling — the monitor watches abstract state the greedy decoder never feeds (#766).
  • [adversarial cross-check, grok-4 headless] An independent skeptical pass landed unprompted on the same point: "You certify the wrong dynamical system… Hidden-state stability cannot detect reward hacking or forgetting; those live in the reward boundary and held-out task distribution, not in whether max Re λ(A) looks tame. A 1.4B model can pass every spectral screen while becoming a reward parrot."
  • [MEASURED] Reward hacking is the dominant RLVR pathology (format hacks, memorized fixtures); Rubrics as Rewards, arXiv:2507.17746 exists because binary verifiable rewards get gamed.

Implication: Keep the cert — it is a cheap, no-op-cost screen against representational collapse/degeneration during a bad update, and a real Verify-stage contribution. But the load-bearing gate must be a frozen held-out execution suite (does this checkpoint regress problems it used to pass, and did it cheat?). The cert gates "did the model degenerate?"; the exec holdout gates "did it actually improve without cheating or forgetting?" You need both; only the second catches reward hacking and correct-set turnover. (Suggestive bridge: FuRA, arXiv:2605.22869 does spectral preconditioning so fine-tuning gradients don't perturb pretrained spectral structure — a training-time cousin of the cert that acts before the update rather than gating after it.)

4. Leg— Small-scale RLVR feasibility (corpus-grounded this pass)

Naive GRPO at 1.4B/8GB is a trickle (rollout generation dominates cost). But theliterature is almost entirely about making it cheap:

Implication: Do RLVR at small scale with (a) LoRA rank ≤16 on existing adapter modules, (b) sample-efficient reward estimation + adaptive rollout skipping, (c) execution as teacher-of-record. Realistic cadence: nightly GRPO over 16–32 short, execution-graded problems on cloud L4 — never on the 12GB local box ([local-pc-freezes-ram-exhaustion]).

5. Recommendation — minimum viable version (compute allocation, cheapest/safest first)

  1. Rulestays: frozen base + JSONL/CSF retrieval is the default; no weight update ships unless it beats retrieval on the holdout. (~0 GPU.)
  2. Verified distillation is the primary weight-update spend (not raw RL yet): cloud teacher proposes, execution is teacher-of-record, train LoRA (rank ≤16) on passing traces only. This is ADR-0015 extended, not new.
  3. "Dreaming" = offline replay of the verified JSONL buffer into that distillation set (Dream2Learn / sleep-time framing), mixed with generic data (arXiv:2603.04964) to anchor. Runs in the sleep phase; cloud L4.
  4. RLVR/GRPO last and small — on-policy is what buys forgetting-robustness (Leg 1). Gate every candidate checkpoint on BOTH: (a) Σ₀ stability cert (cheap early-abort on degenerate hidden-state dynamics), and (b) a frozen held-out exec suite with a hard no-regression bar (the real gate — catches reward hacking + correct-set turnover). Don't enable the RL loop until the holdout is flat-or-up over a sustained window.

One-line convergence: RLVR is the right engine (protects the base by construction); dreaming is legitimate generative replay in the sleep phase; the stability cert is a necessary-but-insufficient screen — the update must be certified by downstream verified error rates, with the hidden-state cert as the cheap early-abort, never the sole authority.

6. Honest scope / what not to claim

  • The 15×-latency and HumanEval-peak figures for Ouro-at-1.4B are directional (grok-cited / prior-session memory), not measured this pass — spike before committing GPU-months.
  • No claim that the stability cert prevents reward hacking; the corpus + repo evidence says the opposite (§3).
  • Full-text of the cited arXiv papers was not fetched (network egress); grounding is on abstracts/snippets + web summaries. Abstracts are citable anchors (arXiv ids); the deeper method details are HELD pending full-text.

Sources

Local corpus (arXiv ids above) + web: Wolfe RL-continual-learning · Correct-Set Turnover 2606.03087 · Sleep-time Compute 2504.13171 · repo SIGMA0-COLLAPSE-CERTIFICATE.md, ADR-0010, ADR-0015, ADR-0024. Adversarial cross-check: grok-4 headless (grok -p), 2026-07-07. Citation verification note (2026-07-08 pass): every post-2025-07 arXiv id in this report was title-verified against the local corpus raw files (F:rxiv-corpus aw, no network); pre-corpus ids (TRPO 1502.05477, Gao 2210.10760, Dwork 1506.02629/1411.2664, sleep-time 2504.13171) were verified against arxiv.org earlier this cycle. Zero unverified citations remain.