mlsanityData to 14 Oct 2026

On Mechanistic Circuits for Extractive Question-Answering

arXiv 2502.08059 ↗First posted 12 Feb 2025cs.CL cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

Large language models are increasingly used to process documents and facilitate question-answering on them. In our paper, we extract mechanistic circuits for this real-world language modeling task: context-augmented language modeling for extractive question-answering (QA) tasks and understand the potential benefits of circuits towards downstream applications such as data attribution to context information. We extract circuits as a function of internal model components (e.g., attention heads, MLPs) using causal mediation analysis techniques. Leveraging the extracted circuits, we first understand the interplay between the model's usage of parametric memory and retrieved context towards a better mechanistic understanding of context-augmented language models. We then identify a small set of attention heads in our circuit which performs reliable data attribution by default, thereby obtaining attribution for free in just the model's forward pass. Using this insight, we then introduce ATTNATTRIB, a fast data attribution algorithm which obtains state-of-the-art attribution results across various extractive QA benchmarks. Finally, we show the possibility to steer the language model towards answering from the context, instead of the parametric memory by using the attribution from ATTNATTRIB as an additional signal during the forward pass. Beyond mechanistic understanding, our paper provides tangible applications of circuits in the form of reliable data attribution and model steering.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). First posted on arXiv 12 Feb 2025.

Builds on

0 of 0 references.

No references here yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024From RAGs to rich parameters: Probing how language models utilize external knowledge over parametric information for factual queries
  2. 2023PRCA: Fitting Black-Box Large Language Models for Retrieval Question Answering via Pluggable Reward-Driven Contextual Adapter
  3. 2024Quantifying reliance on external information over parametric knowledge during Retrieval Augmented Generation (RAG) using mechanistic analysis
  4. 2024EXIT: Context-Aware Extractive Compression for Enhancing Retrieval-Augmented Generation
  5. 2022Augmenting Pre-trained Language Models with QA-Memory for Open-Domain Question Answering
  6. 2026PassiveQA: A Three-Action Framework for Epistemically Calibrated Question Answering via Supervised Finetuning
  7. 2025Finding Answers in Thought Matters: Revisiting Evaluation on Large Language Models with Reasoning
  8. 2025Decomposition-Enhanced Training for Post-Hoc Attributions In Language Models