Lune

ACL Findings2025

TokenShapley: Token Level Context Attribution with Shapley Value

Yingtai Xiao, Yuqing Zhu, Sirat Samyoun, Wanrong Zhang, Jiachen T. Wang, Jian Du

摘要

Large language models (LLMs) demonstrate strong capabilities in in-context learning, but verifying the correctness of their generated responses remains a challenge. Prior work has explored attribution at the sentence level, but these methods fall short when users seek attribution for specific keywords within the response, such as numbers, years, or names. To address this limitation, we propose TokenShapley, a novel token-level attribution method that combines Shapley value-based data attribution with KNN-based retrieval techniques inspired by recent advances in KNN-augmented LLMs. By leveraging a precomputed datastore for contextual retrieval and computing Shapley values to quantify token importance, TokenShapley provides a fine-grained data attribution approach. Extensive evaluations on four benchmarks show that TokenShapley outperforms state-of-the-art baselines in token-level attribution, achieving a 11-23% improvement in accuracy.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • A Survey on In-context Learning 引用了 Language Models are Few-Shot Learners
  • Cite Pretrain: Retrieval-Free Knowledge Attribution for Large Language Models 引用了 Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection
  • Cite Pretrain: Retrieval-Free Knowledge Attribution for Large Language Models 引用了 TRAK: Attributing Model Behavior at Scale
  • TRAK: Attributing Model Behavior at Scale 引用了 Language Models are Few-Shot Learners
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper1

  1. Cite Pretrain: Retrieval-Free Knowledge Attribution for Large Language ModelsYukun Huang, Sanxing Chen, Jian Pei, Manzil Zaheer 等ICLR 2026 · 1 次引用

它引用的 Paper17

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. Self-RAG: Learning to Retrieve, Generate, and Critique through Self-ReflectionAkari Asai, Zeqiu Wu, Yizhong Wang, Avirup Sil 等ICLR 2024 · 1,798 次引用
  3. Generalization through Memorization: Nearest Neighbor Language ModelsUrvashi Khandelwal, Omer Levy, Dan Jurafsky, Luke Zettlemoyer 等ICLR 2020 · 1,038 次引用
  4. A Survey on In-context LearningQingxiu Dong, Lei Li, Damai Dai, Ce Zheng 等EMNLP 2024 · 479 次引用
  5. TRAK: Attributing Model Behavior at ScaleSung Min Park, Kristian Georgiev, Andrew Ilyas, Guillaume Leclerc 等ICML 2023 · 260 次引用

相关 Paper

  1. TextGenSHAP: Scalable Post-Hoc Explanations in Text Generation with Long DocumentsJames Enouen, Hootan Nakhost, Sayna Ebrahimi, Sercan Ö. Arik 等ACL Findings 2024 · 3 次引用
  2. Context Attribution with Multi-Armed Bandit OptimizationDeng Pan, Keerthiram Murugesan, Ting Hua, Nuno Moniz 等ACL Findings 2026
  3. Attribute or Abstain: Large Language Models as Long Document AssistantsJan Buchmann, Xiao Liu, Iryna GurevychEMNLP 2024
  4. From Scoring to Explanations: Evaluating SHAP and LLM Rationales for Rubric-based Teaching Quality AssessmentIvo Bueno, Babette Bühler, Philipp Stark, Tim Fütterer 等ACL Findings 2026
  5. AttributionBench: How Hard is Automatic Attribution Evaluation?Yifei Li, Xiang Yue, Zeyi Liao, Huan SunACL Findings 2024 · 4 次引用
黄昏的海面,两侧是细线勾勒的悬崖