Adaptive self-study didn't beat the baseline on a laptop: a small replication of Ramp Labs' cartridge result
Ramp Labs reports that training a question writer with RL, plus a bandit over document regions, makes cartridges learn a long document faster. I rebuilt it for a 36 GB Mac. The building blocks reproduce. The main result doesn't, because at this scale no method improved on the untrained cartridge.
November 8, 2026 · Research note · What is not yet established
Short version: the pieces of the method behave as described, but no training method I ran (adaptive or baseline) taught the cartridge anything measurable in 384 steps. So the headline comparison could not be tested at this scale, let alone reproduced.
The main comparison doesn’t
Exam accuracy, in %, by training step. One seed, batch 8, learning rate 2e-3:
| Arm | 64 | 128 | 192 | 256 | 320 | 384 |
|---|---|---|---|---|---|---|
| Baseline (plain self-study) | 54.7 | 55.1 | 55.3 | 56.5 | 57.5 | 54.9 |
| Bandit + trained writer | 55.4 | 54.4 | 54.9 | 54.6 | 55.3 | 54.7 |
| Trained writer, no bandit | 54.6 | 53.5 | 53.9 | 54.7 | 53.3 | 53.9 |
- Nothing moved off the starting 54.6%. The best point, baseline at step 320, is +3.0 points (paired exact test p=0.10), and it falls back to +0.4 by step 384.
- The adaptive arm was below the baseline at the three checkpoints with reported paired tests. Paired differences were −0.7, −1.9 and −0.2 points at steps 128, 256 and 384 (all p ≥ 0.33), with a standard error of about 1.8 points. At step 64, its displayed point estimate was higher: 55.4% versus 54.7%. Paired uncertainty for that checkpoint is not reported here.
- Without the bandit, the writer didn’t collapse. The article says it should. Its questions stayed 96–98% unique, at about 17 words. Collapse may just need more steps than I ran.
- A higher learning rate made things worse. At 2e-2, the setting from the original Cartridges code (which uses batch 32), accuracy fell to 48.1% by step 256 (p=0.003). Most of that loss came from facts the cartridge already held from the record’s opening section.
- The fourth arm didn’t finish. A bandit with a frozen writer was stopped by my memory guard near step 80.
The article’s own baseline reaches about 66% by step 640. Mine never left the starting line, so this setup never got to the point where the article’s comparison is made.
Why, probably
- Too little training. About 3,000 question–answer pairs, where the article’s headline point uses about 51,000.
- Answers capped at 64 tokens with a “be concise” instruction, against 1,024 in the article. That leaves much less signal per step.
- A noisy exam: about ±2 points per evaluation.
- A bug not ruled out in the training loop.
A fair test needs a rented GPU and the article’s settings. I stopped here.
Part of my research notebook, where other replications sit.
Agent context: sources, method and working notes
The claim
A cartridge (Eyuboglu et al., 2025; code) is a small trained KV cache, here 2,048 slots, that stands in for a long document. A model that has only the cartridge should answer questions about the document as if it had read it. The cartridge is trained by self-study:
- A model that has the document writes questions about it and answers them.
- The student, which has only the cartridge, is trained to match those answers token by token.
Ramp Labs’ article Self-Study is a Moving Target (Ben Geist’s post) argues that the questions should chase whatever the cartridge does not yet know. Its method has three parts:
- A reward without labels. Four retrieval heads in Llama 3.2 3B show which part of the document an answer is reading. That is combined with how wrong the student is on each token.
- A question writer (a small LoRA) trained with RL to earn that reward.
- A discounted-UCB bandit over about 124 document windows, so the writer does not collapse onto a few regions.
The test is a synthetic patient record from LongHealth. The reported result: 74.4% exam accuracy at 3,200 steps against 70.8% for plain self-study, reaching the baseline’s final score in under half the steps.
What I ran
I wrote the method from scratch for Llama 3.2 3B Instruct on an Apple M3 Pro with 36 GB, in bf16 on the GPU. My model code matches Hugging Face transformers to about 1e-4 in the logits.
The record has 11,818 tokens, giving 123 windows. A 570-question multiple-choice exam gives two reference points:
| Reference point | Accuracy |
|---|---|
| Untrained cartridge (the record’s first 2,048 tokens) | 54.6% |
| Whole record in context (the ceiling) | 87.5% |
The building blocks reproduce
| Claim | Article | Mine |
|---|---|---|
| Reward values in the worked example | 2.36, −10.27, −6.23, 17.34 | identical |
| Rank of the four retrieval heads, of 672 | 2, 3, 5, 11 | 9, 6, 4, 14 |
| Share of student error in the worst 10% of answer tokens | about two-thirds | 67–68% |
| Error drop after training on one window: that window | 62% | 52% |
| … its neighbours | 17% | 2% |
| … distant windows | 14% | −13% (got worse) |
| … random-pairs control | 19% | 26% |
The locality pattern holds: training on a window helps that window most, in 6 of 6 tests. The article’s spill-over to distant windows did not appear.
One detail the article doesn’t mention: these heads put 18–67% of their attention on the first token, a common “attention sink”. If that isn’t masked out, the read-the-target-window signal is always zero.
A note on the hardware
My first uncapped run used 51 GB on a 36 GB machine and crashed the Mac. Everything after that ran under a watchdog that caps GPU memory and kills a job before the system runs short. Laptop-scale LLM training is possible, but it needs that guard from the start.
Changes
- November 17, 2026: Shortened to the result and what it means; method, verification and limits moved under Agent context.
- November 8, 2026: Corrected the checkpoint scope of the adaptive-versus-baseline sentence. The step-64 point estimate was higher; no paired uncertainty was reported there. Tables and the inconclusive conclusion are unchanged.
- November 8, 2026: First version. Runs stopped here.