用无标签子空间隔离语言模型的判断能力
Isolating a Language Model's Judgment with a Label-Free Subspace
AI总结:
本研究提出一种无需基准标签的方法,可从语言模型中分离出与表达无关的内部判断,在指令变化或问题被否定时,能提升判断任务的AUROC,恢复模型内部可靠判断。
摘要:
语言模型常被要求做出判断:某一候选答案是否正确、某一陈述是否在逻辑上由另一陈述推导而来,或某一响应是否安全。然而,即便输入相同,改变指定判断表达方式的指令也会使最终答案可靠性降低。本文探究这一现象是反映内部判断发生了变化,还是模型未能表达出内部判断。通过对比同一输入在不同指令下的隐状态向量,研究人员发现其差异集中在低维的表达子空间中。本文无需基准标签即可识别该子空间,并从线性预测器中移除其贡献,从而得到隔离后的判断。在正确性、蕴含性和安全性三类任务上,即便模型的最终答案和原始预测器性能下降,隔离后的判断在未用于识别子空间的指令下仍保持可靠。当判断问题被否定时,对于蕴含任务,隔离使预测器的AUROC从0.504提升至0.825;对于安全任务,AUROC从0.480提升至0.891。研究还发现,在表达子空间开始干扰预测器之前,判断在模型的早期层中即可被读取。综上,这些结果提供了一种将判断与表达分离的方法,即便模型最终答案不可靠,也能恢复其内部判断。
英文摘要:
Language models are often asked to make judgments: whether a proposed answer is correct, whether one statement follows logically from another, or whether a response is safe. Yet changing the instructions that specify how the judgment should be expressed can make the final answer less reliable, even for the same input. We ask whether this reflects a change in internal judgment or a failure to express it. Comparing hidden-state vectors for the same input under different instructions, we find that their differences concentrate in a low-dimensional expression subspace. We identify this subspace without benchmark labels and remove its contribution from a linear predictor to obtain an isolated judgment. Across correctness, entailment, and safety, the isolated judgment remains reliable under instructions not used to identify the subspace, even when the model's final answer and the original predictor degrade. When the judgment question is negated, isolation raises the predictor's AUROC from 0.504 to 0.825 for entailment and from 0.480 to 0.891 for safety. We also find that judgment is readable in earlier layers, before the expression subspace begins to disrupt the predictor. Together, these results provide a way to separate judgment from expression and recover internal judgments even when the model's final answers are unreliable.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。