Skip to content

TracLLM: A General Framework for Long-Context LLM AttributionTracLLM: A Generic Framework for Attributing Long Context LLMs

arXiv· arXiv:2506.04202· USENIX Security 2025· Yanting Wang, Wei Zou, Runpeng Geng, Jinyuan Jia·Indexed by this site · 26 days ago· Originally publishedTools
AI summary

Researchers propose TracLLM, a general context traceback framework for long-context LLMs, used to locate the text in the context that contributes most to the model output; code and data have been released at https://github.com/Wang-Yanting/TracLLM。作者称这是首个针对长上下文 A general context traceback framework for LLMs that improves efficiency through a heuristic search-based algorithm and introduces contribution score ensembling and denoising techniques to improve accuracy. The paper points out that existing feature attribution methods such as Shapley perform poorly or are computationally expensive when applied to long contexts, and TracLLM can improve the effectiveness and efficiency of these methods. Application scenarios include debugging LLM systems, post-hoc forensic analysis of prompt injection and knowledge poisoning attacks, and annotating knowledge sources to enhance users' trust in outputs; evaluation results show that TracLLM can effectively identify the text in long contexts that causes model outputs.

Read originalUSENIX Security 2025