arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.29936cs.AIcs.CLcs.LG
收藏

SAEPO:用于策略优化的稀疏自编码器引导的信用分配

SAEPO: Sparse-Autoencoder-Guided Credit Assignment for Policy Optimization

Yusong Zhao, Zihao Zhao, Zirui Zhang, Tunyu Zhang, Ziyan Wang, Yi Wang, Chengzhi Mao, Hao Wang

AI总结:

该研究提出 SAEPO 方法,利用稀疏自编码器实现 token 级细粒度信用分配,结合 GRPO、GSPO 算法在多 LLM 主干的数学与代码基准上提升性能,加快早期准确率增长。

摘要:

可验证奖励强化学习(RLVR)在提升大语言模型(LLM)推理能力方面已展现出优异性能,但其信用分配信号仍较为粗糙。结果验证器可通过判断完成的响应是否正确提供可扩展的监督,但无法直接指明哪些中间推理 token 对成功或失败有贡献。因此,策略优化效率较低,尤其是在直接从稀疏结果反馈训练基础模型时。本文提出 SAEPO,一种用于结果监督策略优化的稀疏自编码器引导的 token 级信用分配方法。SAEPO 并非仅将正确性视为 rollout 级(序列级)信号,而是利用预训练稀疏自编码器(SAE)在推理轨迹中构建 token 级语义表示;它基于以无监督方式学习的 SAE 概念对每个 token 打分(例如惩罚错误的“最终答案”token,奖励正确的“推理过程”token),以实现细粒度信用分配。SAEPO 是一个可与多种策略优化算法兼容的即插即用优势塑造模块。我们将 SAEPO 与 GRPO 和 GSPO 结合,覆盖 token 比率和序列比率策略梯度目标,并在三个 LLM 主干上对 SAEPO 进行评估,涉及六个数学基准和两个代码基准。实验结果表明,SAEPO 相比匹配的基线方法,在数学和代码基准的平均值上分别提升了 6.63% 和 5.57%;在 Qwen3-1.7B-Base 上,训练曲线还显示出更快的早期准确率增长。特征和 token 级分析表明,SAE 衍生的信号偏向与问题相关的概念和推理 token。

英文摘要:

Reinforcement Learning with Verifiable Rewards (RLVR) has demonstrated strong performance in improving large language model (LLM) reasoning, yet its credit-assignment signal remains coarse. Outcome verifiers provide scalable supervision by judging whether a completed response is correct, but they do not directly indicate which intermediate reasoning tokens contribute to success or failure. As a result, policy optimization can be inefficient, especially when training base models directly from sparse outcome feedback. In this paper, we introduce SAEPO, a Sparse AutoEncoder-guided token-level credit assignment method for outcome-supervised Policy Optimization. Rather than treating correctness only as a rollout-level (sequence-level) signal, SAEPO uses a pretrained sparse autoencoder (SAE) to build token-level semantic representations within reasoning trajectories; it scores each token based on the SAE concepts (e.g., penalizing wrong "final-answer" tokens but rewarding correct "reasoning-process" tokens), learned in an unsupervised manner, to achieve fine-grained credit assignment. SAEPO is a plug-in advantage-shaping module compatible with various policy optimization algorithms. We instantiate SAEPO with both GRPO and GSPO, covering token-ratio and sequence-ratio policy-gradient objectives, and evaluate SAEPO across three LLM backbones on six math and two code benchmarks. Empirical results show that SAEPO improves both the math and code benchmark averages over the matched baselines, with gains of up to 6.63% and 5.57%, respectively. On Qwen3-1.7B-Base, training curves also show faster early accuracy growth. Feature and token-level analyses suggest that the SAE-derived signal favors question-relevant concepts and reasoning tokens.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑