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

Faithful-Patchscopes: 理解和缓解大语言模型隐藏表示解释中的模型偏差

Faithful-Patchscopes: Understanding and Mitigating Model Bias in Hidden Representations Explanation of Large Language Models

University of Georgia(佐治亚大学);King Abdullah University of Science(国王阿卜杜勒-阿齐兹大学);Hong Kong Center for Construction Robotics(香港建筑机器人中心)

Xilin Gong, Shu Yang, Zehua Cao, Lynne Billard, Di Wang

AI总结:

本文提出BALOR方法,通过logit校准缓解大语言模型隐藏表示解释中的模型偏差,提升解释的忠实度和上下文信息的准确性。

摘要:

大型语言模型(LLMs)通过Patchscopes框架展示了强大的隐藏表示解释能力,该框架利用LLMs自身生成可读的解释,通过解码内部隐藏表示。然而,我们的研究表明,LLMs倾向于依赖固有的语言模式,这可能在解码过程中覆盖隐藏表示中编码的上下文信息。例如,即使隐藏表示编码了

英文摘要:

Large Language Models (LLMs) have demonstrated strong capabilities for hidden representation interpretation through Patchscopes, a framework that uses LLMs themselves to generate human-readable explanations by decoding from internal hidden representations. However, our work shows that LLMs tend to rely on inherent linguistic patterns, which can override contextual information encoded in the hidden representations during decoding. For example, even when a hidden representation encodes the contextual attribute "purple" for "broccoli", LLMs still generate "green" in their explanations, reflecting a strong prior association. This behavior reveals a systematic unfaithfulness in Patchscopes. To systematically study this issue, we first designed a dataset to evaluate the faithfulness of Patchscopes under biased cases, and our results show that there is an 18.84\% faithfulness decrease on average. We then propose Bias Alignment through Logit Recalibration (BALOR), which treats the output logits from an unpatched prompt as capturing model bias and contrasts them with logits obtained under patched contextual information. By recalibrating the logit distribution through this contrast, BALOR suppresses model bias and amplifies contextual information during generation. Experiments across multiple LLMs demonstrate that BALOR consistently outperforms existing baselines, achieving up to 33\% relative performance improvement.

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

↑