arXiv cs.CL· Yi Jing, Zao Dai, Jinwu Hu, Zijun Yao, Lei Hou, Juanzi Li, Xiaozhi Wang·· 12 小时前AI 评分31
SAERL:用稀疏自编码器指导 LLM 后训练数据工程
Teach the Way It Thinks: Guiding LLM Post-training Data Engineering with Sparse Autoencoders
AI 导读
研究者提出 SAERL,利用稀疏自编码器(SAE)特征组织强化学习训练数据,依据样本的 SAE 激活与梯度信号筛选、排序和分批,而非依赖通过率等外部反馈。在 Qwen2.5-Math-1.5B 上,SAERL 使 GRPO 平均准确率提升 3.1%,并以少 42% 的训练步数达到目标准确率。该课程用小模型构建一次即可迁移到更大模型,在多种模型规模和 RL 算法上均取得稳定增益。
正文 · 原文
Abstract:Data engineering for large language model (LLM) reinforcement learning (RL) decides which samples to train on, when to present them, and which to batch together. Existing methods mostly rely on external feedback, such as pass rates or difficulty labels, which observes only the outcome on each sample. We argue that model internals offer richer and more model-intrinsic feedback that can guide all three decisions. We propose SAERL which organizes RL training data in the feature space of Sparse Autoencoders (SAEs), a mechanistic interpretability tool that decomposes model internals into sparse, interpretable features. SAE features let us view the model as a set of functional regions, each formed by features that related samples activate together. For each sample, its SAE activations indicate which regions it engages, and its gradients projected onto SAE features indicate how training on it would change these regions. Guided by this view, SAERL keeps samples with strong and non-redundant gradient signals, trains each functional region from easy to hard, and trains one functional region at a time, drawing each batch from a single activation cluster with moderate cross-cluster mixing. The resulting curriculum is constructed once with small models and transfers to larger ones. Experiments on mathematical reasoning show consistent gains across model scales and RL algorithms. For instance, on Qwen2.5-Math-1.5B, SAERL improves the average accuracy of GRPO by 3.1% and reaches the target accuracy with 42% fewer training steps. Further analyses reveal that ordering and batching are complementary. These results demonstrate that model internals are a powerful and practical foundation for post-training data engineering.
| Subjects: | Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Computation and Language (cs.CL) |
| Cite as: | arXiv:2605.27354 [cs.LG] |
| (or arXiv:2605.27354v2 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2605.27354 arXiv-issued DOI via DataCite |
Submission history
From: Yi Jing [view email]
[v1]
Tue, 26 May 2026 17:55:59 UTC (264 KB)
[v2]
Thu, 5 Nov 2026 17:21:39 UTC (744 KB)
来源:arXiv cs.CL · arxiv.org