CoCoA: Confidence- and Context-Aware Adaptive Decoding for Resolving Knowledge Conflicts in Large Language Models
Anant Khandelwal, Manish Gupta, Puneet Agrawal
摘要
Faithful generation in large language models (LLMs) is challenged by knowledge conflicts between parametric memory and external context. Existing contrastive decoding methods tuned specifically to handle conflict often lack adaptability and can degrade performance in low conflict settings. We introduce COCOA (Confidence-and Context-Aware Adaptive Decoding), a novel token-level algorithm for principled conflict resolution and enhanced faithfulness. COCOA resolves conflict by utilizing confidence-aware measures (entropy gap and contextual peakedness) and the generalized divergence between the parametric and contextual distributions. Crucially, COCOA maintains strong performance even in low conflict settings. Extensive experiments across multiple LLMs on diverse Question Answering (QA), Summarization, and Long-Form Question Answering (LFQA) benchmarks demonstrate CO-COA's state-of-the-art performance over strong baselines like ADACAD. It yields significant gains in QA accuracy, up to 9.2 points on average compared to the strong baseline ADACAD, and improves factuality in summarization and LFQA by up to 2.5 points on average across key benchmarks. Additionally, it demonstrates superior sensitivity to conflict variations. CO-COA enables more informed, context-aware, and ultimately more faithful token generation. High Conflict Context Tom Hanks played multiple roles in Polar Express, including Conductor, Hero Boy... Dylan Cash as Boy on Train Dante Pastula played the Li�le Boy. Question Who played the little boy in Polar Express? Parametric Knowledge (LM) The LM believes Daryl Sabara played the Little Boy in Polar Express.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- CC-VQA: Conflict- and Correlation-Aware Method for Mitigating Knowledge Conflict in Knowledge-Based Visual Question Answering 引用了 BERTScore: Evaluating Text Generation with BERT
- Retrieval Augmentation Reduces Hallucination in Conversation 引用了 Language Models are Few-Shot Learners
- Gated Differentiable Working Memory for Long-Context Language Modeling 引用了 Language Models are Few-Shot Learners
引用它的顶会 Paper5
- HalluCitation Matters: Revealing the Impact of Hallucinated References with 300 Hallucinated Papers in ACL ConferencesYusuke Sakai, Hidetaka Kamigaito, Taro WatanabeACL 2026 · 18 次引用
- Gated Differentiable Working Memory for Long-Context Language ModelingLingrui Mei, Shenghua Liu, Yiwei Wang, Yuyao Ge 等ACL 2026 · 4 次引用
- CC-VQA: Conflict- and Correlation-Aware Method for Mitigating Knowledge Conflict in Knowledge-Based Visual Question AnsweringYuyang Hong, Jiaqi Gu, Yujing Lou, Lubin Fan 等CVPR 2026 · 2 次引用
- Disentangling Reasoning Logic to Resolve Explicit Knowledge ConflictsXianda Zheng, Zijian Huang, Meng-Fen Chiang, Jiamou Liu 等ACL 2026 · 2 次引用
- Closing the Expression Gap in LLM Instructions via Socratic QuestioningJianwen Sun, Yukang Feng, Yifan Chang, Chuanhao Li 等ICML 2026 · 1 次引用
它引用的 Paper21
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- BERTScore: Evaluating Text Generation with BERTTianyi Zhang, Varsha Kishore, Felix Wu, Kilian Q. Weinberger 等ICLR 2020 · 8,443 次引用
- Toolformer: Language Models Can Teach Themselves to Use ToolsTimo Schick, Jane Dwivedi-Yu, Roberto Dessì, Roberta Raileanu 等NeurIPS 2023 · 5,989 次引用
- Self-RAG: Learning to Retrieve, Generate, and Critique through Self-ReflectionAkari Asai, Zeqiu Wu, Yizhong Wang, Avirup Sil 等ICLR 2024 · 1,798 次引用
- Retrieval Augmentation Reduces Hallucination in ConversationKurt Shuster, Spencer Poff, Moya Chen, Douwe Kiela 等EMNLP Findings 2021 · 579 次引用
相关 Paper
- Context-faithful Prompting for Large Language ModelsWenxuan Zhou, Sheng Zhang, Hoifung Poon, Muhao ChenEMNLP Findings 2023 · 46 次引用
- Discerning and Resolving Knowledge Conflicts through Adaptive Decoding with Contextual Information-Entropy ConstraintXiaowei Yuan, Zhao Yang, Yequan Wang, Shengping Liu 等ACL Findings 2024 · 4 次引用
- Conflict-Aware Soft Prompting for Retrieval-Augmented GenerationEunseong Choi, June Park, Hyeri Lee, Jongwuk LeeEMNLP 2025 · 1 次引用
- Seeing through the Conflict: Transparent Knowledge Conflict Handling in Retrieval-Augmented GenerationHua Ye, Siyuan Chen, Ziqi Zhong, Canran Xiao 等AAAI 2026 · 1 次引用
- Context-DPO: Aligning Language Models for Context-FaithfulnessBaolong Bi, Shaohan Huang, Yiwei Wang, Tianchi Yang 等ACL Findings 2025 · 2 次引用
