arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.26489cs.LGcs.CL
收藏

强度控制如何影响干预在稀疏自编码器编码间的比较

Strength Controls Change How Interventions Compare Across Sparse Autoencoder Codes

University of Notre Dame(圣母大学)

Jinchen Zhang, Zheyuan Liu, Yihan Zhu, Meng Jiang

AI总结:

该研究对比范数匹配与输出校准两种强度控制下,Gemma和Llama中固定特征组的干预效果,发现全输出KL校准在参考转移保留上更优,位置范数匹配在特定子集上差距更小,校准可作为残余不一致的诊断工具。

摘要:

改变稀疏自编码器(SAE)的编码会同时改变干预的方向和幅度,因此比较干预效果需要指定保持相等的强度控制。范数匹配和输出校准提供了不同的控制方式,但在强度匹配后,不同编码间的干预是否会产生不同效果仍不明确。我们针对Gemma和Llama中的固定特征组,比较了这些控制下的干预效果,观察到:(1)全补丁缩放:对于每个输入一个系数的情况,全输出Kullback-Leibler(KL)校准,相比非负最小二乘(NNLS)重拟合的总范数匹配,来自基于编码器的参考干预的平均效果差距更小;在新的Llama输入上,总范数匹配会丢失11次参考转移,而全输出校准则保留了所有转移决策。(2)位置缩放:在一个小型匹配的性别一致子集上,位置范数匹配相比全输出校准,留下的观察平均差距更小。(3)答案排除:与未缩放的NNLS相比,排除答案的校准减少了测量的主谓一致比较的差距,但增加了性别重拟合的差距;全输出KL校准也减少了范数匹配的构造候选的较大差距,尽管在若干设置中匹配覆盖率不完整。由于校准使用被评估输入的输出,它可作为残余不一致的诊断工具。

英文摘要:

Changing sparse autoencoder (SAE) codes can alter both intervention direction and magnitude, so comparing intervention effects requires a strength control specifying what is held equal. Norm matching and output calibration provide different controls, but whether interventions yield different effects across codes after strength matching remains unclear. We compare intervention effects under these controls for fixed feature groups in Gemma and Llama and observe: (1) Whole-patch scaling. With one coefficient per input, full-output Kullback-Leibler (KL) calibration leaves smaller mean effect gaps from the encoder-based reference intervention than total-norm matching for nonnegative least-squares (NNLS) refits. On new Llama inputs, total-norm matching loses 11 reference transfers, whereas full-output calibration preserves every transfer decision. (2) Positionwise scaling. On a small matched gender-agreement subset, positionwise norm matching leaves smaller observed mean gaps than full-output calibration. (3) Answer exclusion. Compared with unscaled NNLS, answer-excluded calibration reduces gaps in the measured subject-verb agreement comparisons but increases them for gender refits. Full-output KL calibration also reduces larger gaps for norm-matched constructed candidates, although matching coverage is incomplete in several settings. Since calibration uses the evaluated input's outputs, it serves as a diagnostic of residual disagreement.

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

↑