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

Valeriya Goloviznina, Evgeny Kotelnikov
6/4/2024
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{goloviznina2024ive,
  title  = {I've got the "Answer"! Interpretation of LLMs Hidden States in Question Answering},
  author = {Valeriya Goloviznina and Evgeny Kotelnikov},
  year   = {2024},
  eprint = {2406.02060},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.02060v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.02060.svg)](https://codeofpaper.com/paper/2406.02060)

Discussion