mlsanityData to 14 Oct 2026

Peering into the Mind of Language Models: An Approach for Attribution in Contextual Question Answering

arXiv 2405.17980 ↗First posted 28 May 2024cs.CLcited by 25

Not on the map. Why?

Abstract (arXiv)

With the enhancement in the field of generative artificial intelligence (AI), contextual question answering has become extremely relevant. Attributing model generations to the input source document is essential to ensure trustworthiness and reliability. We observe that when large language models (LLMs) are used for contextual question answering, the output answer often consists of text copied verbatim from the input prompt which is linked together with "glue text" generated by the LLM. Motivated by this, we propose that LLMs have an inherent awareness from where the text was copied, likely captured in the hidden states of the LLM. We introduce a novel method for attribution in contextual question answering, leveraging the hidden state representations of LLMs. Our approach bypasses the need for extensive model retraining and retrieval model overhead, offering granular attributions and preserving the quality of generated answers. Our experimental results demonstrate that our method performs on par or better than GPT-4 at identifying verbatim copied segments in LLM generations and in attributing these segments to their source. Importantly, our method shows robust performance across various LLM architectures, highlighting its broad applicability. Additionally, we present Verifiability-granular, an attribution dataset which has token level annotations for LLM generations in the contextual question answering setup.

Key facts. Cited by 25 papers in the map (data through 14 Oct 2026). Builds on 26 of its 41 references that are in the map. First posted on arXiv 28 May 2024.

Builds on

26 of 41 references.

References · 26

  1. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  2. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  3. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
  4. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  5. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  6. 2017Reading Wikipedia to Answer Open-Domain Questionscited by 777
  7. 2024Yi: Open Foundation Models by 01.AIcited by 719
  8. 2019Latent Retrieval for Weakly Supervised Open Domain Question Answeringcited by 695
  9. 2023Enabling Large Language Models to Generate Text with Citationscited by 595
  10. 2021Large Dual Encoders Are Generalizable Retrieverscited by 456
  11. 2020Document Ranking with a Pretrained Sequence-to-Sequence Modelcited by 376
  12. 2023Evaluating Verifiability in Generative Search Enginescited by 303
14 more
  1. 2022RARR: Researching and Revising What Language Models Say, Using Language Modelscited by 287
  2. 2021Measuring Attribution in Natural Language Generation Modelscited by 256
  3. 2021Truthful AI: Developing and governing AI that does not liecited by 113
  4. 2018The Fact Extraction and VERification (FEVER) Shared Taskcited by 108
  5. 2023Retrieving Multimodal Information for Augmented Generation: A Surveycited by 85
  6. 2023Inseq: An Interpretability Toolkit for Sequence Generation Modelscited by 78
  7. 2021Evaluating Attribution in Dialogue Systems: The BEGIN Benchmarkcited by 77
  8. 2023A Survey of Large Language Models Attributioncited by 71
  9. 2023HAGRID: A Human-LLM Collaborative Dataset for Generative Information-Seeking with Attributioncited by 56
  10. 2017Towards better understanding of gradient-based attribution methods for Deep Neural Networkscited by 54
  11. 2023"According to ...": Prompting Language Models Improves Quoting from Pre-Training Datacited by 42
  12. 2015A Survey on Truth Discoverycited by 36
  13. 2023Retrieving Supporting Evidence for Generative Question Answeringcited by 31
  14. 2023SEMQA: Semi-Extractive Multi-Source Question Answeringcited by 19

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 5; 2025: 15; 2026: 5.

25 papers.

Sort:

By area:

  1. 2026Locate, Steer, and Improve: A Practical Survey of Actionable Mechanistic Interpretability in Large Language Modelscited by 27
  2. 2024Model Internals-based Answer Attribution for Trustworthy Retrieval-Augmented Generationcited by 25
  3. 2024Beyond Logit Lens: Contextual Embeddings for Robust Hallucination Detection & Grounding in VLMscited by 22
  4. 2025SelfCite: Self-Supervised Alignment for Context Attribution in Large Language Modelscited by 20
  5. 2024PLD+: Accelerating LLM inference by leveraging Language Model Artifactscited by 17
  6. 2025TokenShapley: Token Level Context Attribution with Shapley Valuecited by 15
  7. 2025Learning to Attribute with Attentioncited by 13
  8. 2025LAQuer: Localized Attribution Queries in Content-grounded Generationcited by 13
  9. 2024Enhancing Post-Hoc Attributions in Long Document Comprehension via Coarse Grained Answer Decompositioncited by 12
  10. 2025Attribution, Citation, and Quotation: A Survey of Evidence-based Text Generation with Large Language Modelscited by 7
  11. 2025Generation-Time vs. Post-hoc Citation: A Holistic Evaluation of LLM Attributioncited by 6
  12. 2024Attention with Dependency Parsing Augmentation for Fine-Grained Attributioncited by 5
13 more
  1. 2025GenerationPrograms: Fine-grained Attribution with Executable Programscited by 4
  2. 2026Reasoning models do not yet follow their reasoning in autonomous driving: The KITScenes LongTail Datasetcited by 4
  3. 2025Doc2Chart: Intent-Driven Zero-Shot Chart Generation from Documentscited by 3
  4. 2025On Synthesizing Data for Context Attribution in Question Answeringcited by 2
  5. 2025Model Editing with Graph-Based External Memorycited by 2
  6. 2025SafePassage: High-Fidelity Information Extraction with Black Box LLMscited by 2
  7. 2026Hessian-Enhanced Token Attribution (HETA): Interpreting Autoregressive LLMscited by 2
  8. 2025Decomposition-Enhanced Training for Post-Hoc Attributions In Language Modelscited by 1
  9. 2025Jointly Generating and Attributing Answers using Logits of Document-Identifier Tokenscited by 0
  10. 2025Citation Failure: Definition, Analysis and Efficient Mitigationcited by 0
  11. 2025C2-Cite: Contextual-Aware Citation Generation for Attributed Large Language Modelscited by 0
  12. 2026How Do LLMs Cite? A Mechanistic Interpretation of Attribution in Retrieval-Augmented Generationcited by 0
  13. 2026MultAttnAttrib: Training-Free Multimodal Attribution in Long Document Question Answeringcited by 0