← Ziding Zhang

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:

Arm64128192256320384
Baseline (plain self-study)54.755.155.356.557.554.9
Bandit + trained writer55.454.454.954.655.354.7
Trained writer, no bandit54.653.553.954.753.353.9

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

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:

  1. A model that has the document writes questions about it and answers them.
  2. 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 pointAccuracy
Untrained cartridge (the record’s first 2,048 tokens)54.6%
Whole record in context (the ceiling)87.5%

The building blocks reproduce

ClaimArticleMine
Reward values in the worked example2.36, −10.27, −6.23, 17.34identical
Rank of the four retrieval heads, of 6722, 3, 5, 119, 6, 4, 14
Share of student error in the worst 10% of answer tokensabout two-thirds67–68%
Error drop after training on one window: that window62%52%
… its neighbours17%2%
… distant windows14%−13% (got worse)
… random-pairs control19%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.

Have an answer, a counterexample, or a story? See Talk to me for open questions and live trials.

Credits: Ziding Zhang. Code, runs and write-up by Claude agents under my direction.