mlsanityData to 14 Oct 2026

AttriBoT: A Bag of Tricks for Efficiently Approximating Leave-One-Out Context Attribution

arXiv 2411.15102 ↗First posted 22 Nov 2024cs.LGcited by 23

Not on the map. Why?

Abstract (arXiv)

The influence of contextual input on the behavior of large language models (LLMs) has prompted the development of context attribution methods that aim to quantify each context span's effect on an LLM's generations. The leave-one-out (LOO) error, which measures the change in the likelihood of the LLM's response when a given span of the context is removed, provides a principled way to perform context attribution, but can be prohibitively expensive to compute for large models. In this work, we introduce AttriBoT, a series of novel techniques for efficiently computing an approximation of the LOO error for context attribution. Specifically, AttriBoT uses cached activations to avoid redundant operations, performs hierarchical attribution to reduce computation, and emulates the behavior of large target models with smaller proxy models. Taken together, AttriBoT can provide a >300x speedup while remaining more faithful to a target model's LOO error than prior context attribution methods. This stark increase in performance makes computing context attributions for a given response 30x faster than generating the response itself, empowering real-world applications that require computing attributions at scale. We release a user-friendly and efficient implementation of AttriBoT to enable efficient LLM interpretability as well as encourage future development of efficient context attribution methods.

Key facts. Cited by 23 papers in the map (data through 14 Oct 2026). Builds on 48 of its 63 references that are in the map. First posted on arXiv 22 Nov 2024.

Builds on

48 of 63 references.

References · 48

  1. 2017Attention Is All You Needcited by 60,361
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  5. 2020Scaling Laws for Neural Language Modelscited by 6,586
  6. 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
  7. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
  8. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  9. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  10. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  11. 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,839
  12. 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,745
36 more
  1. 2017Understanding Black-box Predictions via Influence Functionscited by 1,741
  2. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,554
  3. 2019Attention is not Explanationcited by 929
  4. 2019Attention is not not Explanationcited by 636
  5. 2023Enabling Large Language Models to Generate Text with Citationscited by 595
  6. 2020Estimating Training Data Influence by Tracing Gradient Descentcited by 580
  7. 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 486
  8. 2022Large Language Models Struggle to Learn Long-Tail Knowledgecited by 458
  9. 2023Studying Large Language Model Generalization with Influence Functionscited by 326
  10. 2023Evaluating Verifiability in Generative Search Enginescited by 303
  11. 2022Teaching language models to support answers with verified quotescited by 292
  12. 2022RARR: Researching and Revising What Language Models Say, Using Language Modelscited by 287
  13. 2020Influence Functions in Deep Learning Are Fragilecited by 252
  14. 2018The Natural Language Decathlon: Multitask Learning as Question Answeringcited by 236
  15. 2024A Survey on Data Selection for Language Modelscited by 236
  16. 2016Understanding Neural Networks through Representation Erasurecited by 224
  17. 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 215
  18. 2015Visualizing and Understanding Neural Models in NLPcited by 200
  19. 2022If Influence Functions are the Answer, Then What is the Question?cited by 144
  20. 2019Learning to Deceive with Attention-Based Explanationscited by 111
  21. 2023Complex Claim Verification with Evidence Retrieved in the Wildcited by 110
  22. 2020Perturbed Masking: Parameter-free Probing for Analyzing and Interpreting BERTcited by 109
  23. 2024ContextCite: Attributing Model Generation to Contextcited by 98
  24. 2024What is Your Data Worth to GPT? LLM-Scale Data Valuation with Influence Functionscited by 94
  25. 2022Interpreting Language Models with Contrastive Explanationscited by 92
  26. 2024How Do Large Language Models Acquire Factual Knowledge During Pretraining?cited by 90
  27. 2024Generalization v.s. Memorization: Tracing Language Models' Capabilities Back to Pretraining Datacited by 85
  28. 2023Sequential Integrated Gradients: a simple but effective method for explaining language modelscited by 52
  29. 2023LLatrieval: LLM-Verified Retrieval for Verifiable Generationcited by 52
  30. 2021Discretized Integrated Gradients for Explaining Language Modelscited by 46
  31. 2023"According to ...": Prompting Language Models Improves Quoting from Pre-Training Datacited by 42
  32. 2023Retrieving Supporting Evidence for Generative Question Answeringcited by 31
  33. 2021Exploring the Role of BERT Token Representations to Explain Sentence Probing Resultscited by 29
  34. 2024Improving Attributed Text Generation of Large Language Models via Preference Learningcited by 23
  35. 2023Towards Verifiable Text Generation with Evolving Memory and Self-Reflectioncited by 21
  36. 2023ChatGPT Hallucinates when Attributing Answerscited by 14

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 10; 2026: 13.

23 papers.

Sort:

By area:

  1. 2026CausalArmor: Efficient Indirect Prompt Injection Guardrails via Causal Attributioncited by 14
  2. 2025Learning to Attribute with Attentioncited by 13
  3. 2025Attributing Response to Context: A Jensen-Shannon Divergence Driven Mechanistic Study of Context Attribution in Retrieval-Augmented Generationcited by 12
  4. 2025Who Taught the Lie? Responsibility Attribution for Poisoned Knowledge in Retrieval-Augmented Generationcited by 12
  5. 2026The Why Behind the Action: Unveiling Internal Drivers via Agentic Attributioncited by 11
  6. 2026Towards Long-Horizon Interpretability: Efficient and Faithful Multi-Token Attribution for Reasoning LLMscited by 7
  7. 2025MedPAIR: Measuring Physicians and AI Relevance Alignment in Medical Question Answeringcited by 5
  8. 2025Large Language Model Sourcing: A Surveycited by 5
  9. 2025MaxShapley: Towards Incentive-compatible Generative Search with Fair Context Attributioncited by 3
  10. 2025Explaining the Reasoning of Large Language Models Using Attribution Graphscited by 3
  11. 2025Know Or Not: a library for evaluating out-of-knowledge base robustnesscited by 2
  12. 2025Style Attack Disguise: When Fonts Become a Camouflage for Adversarial Intentcited by 2
11 more
  1. 2026Contrastive Attribution in the Wild: An Interpretability Analysis of LLM Failures on Realistic Benchmarkscited by 2
  2. 2026In-Context Credit Assignment via the Corecited by 2
  3. 2025RDAR: Reward-Driven Agent Relevance Estimation for Autonomous Drivingcited by 1
  4. 2026RREDCoT: Segment-Level Reward Redistribution for Reasoning Modelscited by 1
  5. 2026Detecting Hallucinations in Retrieval-Augmented Generation through Grounding-Aware Sensitivity by Perturbation (GASP)cited by 1
  6. 2026RoPE-LIME: RoPE-Space Locality + Sparse-K Sampling for Efficient LLM Attributioncited by 0
  7. 2026TRUE: A Trustworthy Unified Explanation Framework for Large Language Model Reasoningcited by 0
  8. 2026Knowledge Dependency Estimation for Reliable Question Answeringcited by 0
  9. 2026Surrogate Fidelity: When Can Open LLMs Explain Closed Ones?cited by 0
  10. 2026How Context Attribution Handles What the Model Already Knowscited by 0
  11. 2026Auditing Agent Actions through Query-Conditioned Attributioncited by 0