arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.10437cs.LGcs.AIcs.CL
收藏

控制强化学习:通过稀疏自编码器特征实现LLM的可解释性令牌级操控

Control Reinforcement Learning: Interpretable Token-Level Steering of LLMs via Sparse Autoencoder Features

University College London(伦敦大学学院)

Seonglae Cho, Zekun Wu, Adriano Koshiyama

AI总结:

CRL通过稀疏自编码器特征实现LLM的可解释性令牌级操控,提供动态干预探针与静态特征分析互补的机制可解释性工具。

摘要:

稀疏自编码器(SAEs)将语言模型的激活分解为可解释的特征,但现有方法仅揭示哪些特征被激活,而非放大时哪些特征会改变模型输出。我们引入了控制强化学习(CRL),该方法训练一个策略在每个令牌选择SAE特征以实现操控,生成可解释的干预日志:学习的策略识别出放大时能改变模型输出的特征。自适应特征掩码鼓励多样化的特征发现同时保持单特征的可解释性。该框架提供了新的分析能力:分支点追踪定位特征选择决定输出正确性的令牌;批评者轨迹分析将策略限制与价值估计误差分开;逐层比较揭示早期层的语法特征和后期层的语义特征。在Gemma 2 2B上跨MMLU、BBQ、GSM8K、HarmBench和XSTest,CRL实现了改进并提供每令牌干预日志。这些结果确立了学习特征操控作为补充静态特征分析的机制可解释性工具,通过动态干预探针。

英文摘要:

Sparse autoencoders (SAEs) decompose language model activations into interpretable features, but existing methods reveal only which features activate, not which change model outputs when amplified. We introduce Control Reinforcement Learning (CRL), which trains a policy to select SAE features for steering at each token, producing interpretable intervention logs: the learned policy identifies features that change model outputs when amplified. Adaptive Feature Masking encourages diverse feature discovery while preserving singlefeature interpretability. The framework yields new analysis capabilities: branch point tracking locates tokens where feature choice determines output correctness; critic trajectory analysis separates policy limitations from value estimation errors; layer-wise comparison reveals syntactic features in early layers and semantic features in later layers. On Gemma 2 2B across MMLU, BBQ, GSM8K, HarmBench, and XSTest, CRL achieves improvements while providing per-token intervention logs. These results establish learned feature steering as a mechanistic interpretability tool that complements static feature analysis with dynamic intervention probes

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

↑