arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.02060cs.CLcs.AI
收藏

我得到了“答案”!问答中 LLMs 隐藏状态的解释

I've got the "Answer"! Interpretation of LLMs Hidden States in Question Answering

Vyatka State University(维亚特卡国立大学)

Valeriya Goloviznina, Evgeny Kotelnikov

AI总结:

本文研究知识库问答中 LLMs 隐藏状态的解释,提出正确与错误的模型行为可在隐藏状态层面区分的假设,并通过对量化模型与数据集的测试验证了该假设,同时建议额外训练“弱”层以提升任务质量。

摘要:

鉴于大型语言模型(LLMs)的快速发展,AI 的可解释性与可解释性正变得愈发重要。本文在知识库问答的背景下研究 LLMs 的解释。研究的主要假设是,正确与错误的模型行为可以在隐藏状态层面上进行区分。量化模型 LLaMA-2-7B-Chat、Mistral-7B、Vicuna-7B 以及 MuSeRC 问答数据集被用于测试该假设。分析结果支持了所提出的假设。我们还识别了对模型行为产生负面影响的层。作为该假设实际应用的展望,我们建议对这类“弱”层进行额外训练,以提高任务解决的质量。

英文摘要:

Interpretability and explainability of AI are becoming increasingly important in light of the rapid development of large language models (LLMs). This paper investigates the interpretation of LLMs in the context of the knowledge-based question answering. The main hypothesis of the study is that correct and incorrect model behavior can be distinguished at the level of hidden states. The quantized models LLaMA-2-7B-Chat, Mistral-7B, Vicuna-7B and the MuSeRC question-answering dataset are used to test this hypothesis. The results of the analysis support the proposed hypothesis. We also identify the layers which have a negative effect on the model's behavior. As a prospect of practical application of the hypothesis, we propose to train such "weak" layers additionally in order to improve the quality of the task solution.

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

↑