Attr-Kit: An Efficient Toolkit for No-Decode Source Attribution

Sai Sundaresan, Archit Gupta, Debabrata MahapatraCOLM 2026

TL;DR

Attr-Kit is a modular framework for "no-decode" source attribution, allowing LLMs to cite their sources by looking at internal activations rather than generating extra citation tokens. By introducing a new signal called Value Flow (VF), the authors achieve 1.4x higher accuracy than standard autoregressive citation methods while being up to 7.4x faster, effectively narrowing the performance gap between mid-sized open models and future frontier systems like GPT-5.4.

What Problem Does This Paper Address?

As LLMs are increasingly used for Retrieval-Augmented Generation (RAG) in high-stakes fields like law and medicine, "source attribution"—identifying exactly which part of the input supports a specific claim—is mandatory for trust.

Currently, developers face a "citation tax." You can either:

  1. Generate citations autoregressively: Ask the model to output tags like [1] during decoding. This is accurate but slow and expensive because it increases the number of tokens generated.
  2. Use post-hoc retrieval: Match the output to the input using embeddings. This is fast but often inaccurate because semantic similarity doesn't always equal evidential support.

The authors address this by asking: Can we extract high-quality citations directly from the model's internal "thoughts" (activations) during the initial forward pass, without generating a single extra token?

Methods

The authors introduce Attr-Kit, a unified framework that formalizes no-decode attribution into four stages: Signal Extraction, Signal Pooling, Head Scoring, and Head Ranking.

Figure 1: Overview of Attr-Kit. A prefill-only forward pass extracts token-level attribution signals from attention heads, which are pooled into segment-level scores between source and target spans. During profiling, heads are scored and ranked across examples to select a top-N subset. At inference, the same extraction and pooling are applied only to selected heads, and their aggregated signals rank source segments for each target.

The Value Flow (VF) Signal

The core technical contribution is Value Flow (VF). Previous methods looked at simple attention weights (where the model looks) or value magnitudes (how much information is there). VF goes further by measuring the alignment between a source token's value vector and the final output direction of the attention head. Essentially, it doesn't just ask "Did the model look at this source?" but "Did the information from this source actually contribute to the final representation?"

Two-Phase Execution

  • Profiling Phase: On a small set of examples, Attr-Kit identifies which specific attention heads are the "best" at attribution.
  • Inference Phase: For new queries, the system only computes attribution signals for those top-performing heads, making it extremely efficient.

Datasets

The researchers evaluated Attr-Kit across four diverse datasets to ensure the method works for both sentence-level and passage-level attribution:

  • HotpotQA: Multi-hop Wikipedia question answering.
  • MultiRC: Multi-sentence reading comprehension.
  • VeriGran: Contextual QA focusing on fine-grained attribution.
  • GaRAGe: A new benchmark suite for production-style RAG workloads (SEC filings, DevOps guides, etc.).
Table 1: Dataset summary. ATS = avg. target segments per sample; ASS = avg. source segments per sample. †VeriGran is smaller: 133 profiling / 146 evaluation samples.

Key Insights and Ideas

  • The Information is Already There: Through an "oracle" analysis (finding the best possible subset of heads for every example), the authors proved that internal activations contain enough information for near-perfect attribution. The challenge isn't the data; it's the extraction method.
  • Value Flow Reaches the "Ceiling" Early: While many signals eventually contain attribution data, VF reaches peak performance much earlier in the model's layers (around layer 3-4) compared to standard attention (QK) signals.
  • Efficiency via Early Exit: Because the best attribution heads often appear in early layers, you can potentially stop the attribution computation early, saving even more latency.
Figure 2: Oracle signal ceiling on Qwen3-8B averaged across four datasets (HotpotQA, MultiRC, VeriGran, GaRAGe - 50 samples each). Each point shows mean best recall versus mean first optimal layer. VF and VFN occupy the top-left region: near-perfect oracle recall with the earliest optimal layers.

Key Results

  • Superior Accuracy: VF-based attribution outperformed same-model autoregressive citation by 11–25 percentage points across different models.
  • Massive Speedup: On a Llama-3.1-8B benchmark, Attr-Kit was 7.4x faster than autoregressive methods. It requires 1 model call and 0 extra decode tokens, whereas AR methods averaged 2.35 calls and nearly 20 extra tokens per sample.
  • Closing the Frontier Gap: Mid-sized models (4B–8B) using Attr-Kit reached 89% of the performance of frontier models like GPT-5.4 and Claude Opus 4.6, significantly narrowing the gap for developers who cannot afford massive API costs.
Figure 4: Latency-accuracy tradeoff on Llama-3.1-8B. Attr-Kit is faster at all cut- offs and passes AR Per-Seg recall by layer 5.

Limitations and Future Work

  • Static Head Selection: Currently, Attr-Kit selects a fixed set of heads during profiling. The authors suggest that "dynamic" head selection (choosing heads on-the-fly for each query) could further improve performance.
  • Abstention Thresholds: The toolkit ranks sources well but doesn't yet provide a perfect "confidence score" to tell a user when none of the sources support a claim.
  • Architectural Generalization: While tested on standard Transformers, future work is needed to see how these signals behave in Mixture-of-Experts (MoE) models or at scales beyond 8B parameters.
  • Segment Boundaries: The method assumes source segments (like paragraphs or sentences) are predefined, which might not always be the case in unstructured data.

Summary updated

BibTeX
@inproceedings{sundaresan2026attr,
  author = {Sai Sundaresan and Archit Gupta and Debabrata Mahapatra},
  title = {{Attr-Kit: An Efficient Toolkit for No-Decode Source Attribution}},
  booktitle = {COLM},
  year = {2026},
  url = {https://openreview.net/forum?id=WzmyBk85GP},
}
Figure