SelfElicit:你的语言模型秘密知晓相关证据所在
SelfElicit: Your Language Model Secretly Knows Where is the Relevant Evidence
AI总结:
SelfElicit利用深层注意力分数自动高亮上下文关键证据,无需训练或迭代提示,在多种证据问答任务上显著提升语言模型回答的准确性与可靠性。
摘要:
在上下文中为语言模型(LMs)提供相关证据(无论是通过检索还是用户提供)可以显著提升其生成更可靠回答的能力。然而,近期研究发现,语言模型往往难以完全理解和利用上下文中的关键证据,尤其是在上下文包含噪声和无关信息时,这一问题在现实场景中普遍存在。为解决此问题,我们提出SelfElicit,一种推理时方法,通过自引导的显式高亮帮助语言模型聚焦于关键上下文证据。利用语言模型深层注意力分数所固有的证据发现能力,我们的方法自动识别并强调输入上下文中的关键证据,从而无需额外训练或迭代提示即可促进更准确、更可靠的回答。我们证明,SelfElicit在多种基于证据的问答任务上,针对不同语言模型家族均带来一致且显著的提升,同时保持计算效率。我们的代码和文档可在 https://github.com/ZhiningLiu1998/SelfElicit 获取。
英文摘要:
Providing Language Models (LMs) with relevant evidence in the context (either via retrieval or user-provided) can significantly improve their ability to provide better-grounded responses. However, recent studies have found that LMs often struggle to fully comprehend and utilize key evidence from the context, especially when it contains noise and irrelevant information, an issue common in real-world scenarios. To address this, we propose SelfElicit, an inference-time approach that helps LMs focus on key contextual evidence through self-guided explicit highlighting. By leveraging the inherent evidence-finding capabilities of LMs using the attention scores of deeper layers, our method automatically identifies and emphasizes key evidence within the input context, facilitating more accurate and grounded responses without additional training or iterative prompting. We demonstrate that SelfElicit brings consistent and significant improvement on multiple evidence-based QA tasks for various LM families while maintaining computational efficiency. Our code and documentation are available at https://github.com/ZhiningLiu1998/SelfElicit.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。