A PAC Theory of Post-Training: Feasibility, Compounding, and Internalization
Nam H. Le in Scaling & theory
When can test-time compute make a rare skill learnable?
A PAC Theory of Post-Training: Feasibility, Compounding, and Internalization
What enters the post-training update?
- 1
Draw a group
Each prompt gets n budget-c rollouts; each can try up to c completions, checked against demonstrations.
- 2
Reduce to means
A verifier scores outcomes; the learner uses group means, not the reward structure or its gradient.
- 3
Noise limits choice
Hoeffding precision scales as Θ(1/n), up to confidence factors; smaller value gaps can remain unresolved.
A correct mode can vanish unseen
If correct-answer mass p<1/n, a group may contain no correct completion. The update is then the all-failure update, so repeated misses can erase the mode.
- p
- per-rollout probability of a correct answer
- n
- rollouts in one scored group
Inference attempts expose rare successes
The toy target is XOR of a hidden k-subset of d bits. Direct c=1 identification without demonstrations needs Ω((kd)) rollouts; enough checks make n c p₀ the visibility scale.
- n
- rollouts per update group
- c
- checked attempts per rollout
- p0
- base per-attempt target success probability
The visibility product is not the whole story
In the 2,500-group, ten-seed grid (d=16,k=3), n=16,c=64 gave n c p₀=1.6×10⁻² and takeoff in 9/10 seeds (p>65p₀).
At n=64,c=16, the product was identical, but 0/10 seeds took off; larger groups dilute per-example credit, raising episode cost linearly with n.
n c p₀ sets visibility; larger groups still dilute credit and raise episode cost.
When does iterated distillation compound?
For constant retention, sparse success grows geometrically iff ρc>1; declining retention can cap growth at a fixed point, and rollout cost is front-loaded.
- pt+1
- next round's per-attempt success probability
- ρt
- fraction of accepted improvement retained
- pt
- current per-attempt success probability
- c
- checked attempts per rollout
Can inference-loop skill fit into weights?
- 1
The capacity boundary
Target is parity (XOR) of k selected bits among d; direct policy emits subsets up to s, while two scratchpad steps compose up to 2s.
- 2
Beyond direct capacity
For s<k≤2s, every direct policy is correct on exactly half of uniform prompts, regardless of training.
- 3
When it fits
For k≤s, some polynomial-rollout learner can bring the budget-free policy arbitrarily close to the budget-c optimum.
Perfect rollout reward can halt internalization
After c=64 reached group-mean reward 1.0, all members scored alike, so group-relative advantages vanished. By E1's end, p≈0.17 and direct accuracy q₁≈0.58, though the target fit the direct class.
- ri
- reward for group member i
- rˉ
- mean reward across the group
- ai
- member i's group-relative advantage
Where the theory has been tested
Canonical task
The concrete frontier and capacity proofs use product-Bernoulli parity policies and best-of-c attempts checked against in-context demonstrations.
Transformer check
In a two-layer, d_model=64 transformer simulation, log wait vs log 1/(n c p₀) had slope 0.85 ± 0.16 across 17 clean arms (theory: 1).
Open extension
The real chain-of-thought-token variant is left for future work.
Why it matters
- Group rewards have a visibility floor: an unsampled correct mode cannot supply an update that amplifies it.
- Estimate prompt-level base success, raise inference budget to surface rare rewards, and stop increasing group size once visibility is met.
- Can token-level chain-of-thought be internalized without saturation erasing its training signal? Real scratchpad-token tests remain open.
10 slides, 3 min
10 hours ago