Agents & InferencearXiv

Train on prefill, monitor at decode: Using sparse autoencoders for topic monitoring

Which summary reads better? Pick one — models revealed after.Both summaries are AI-generated.

Match the models (Optional)

Which model wrote which summary? Select a matchup mapping below before voting.

Summary A

SAE-feature topic monitors trained only on prefill activations generalized to per-token monitoring during decoding on Gemma-3 1B and 4B across seven topics, with labels able to switch mid-response. Practically, this means you can train cheaper offline classifiers on prompt/prefill traces and deploy compact runtime monitors during generation; without SAE features, matching performance required classifiers several times larger, and common perturbations cost at most 5 macro-F1 points.