Mitigating Context-Memory Conflicts in LLMs through Dynamic Cognitive Reconciliation Decoding
Yigeng Zhou, Wu Li, Yifan Lu, Yequan Wang, Xuebo Liu, Wenya Wang, Jun Yu, Min Zhang, Jing Li

TL;DR
This paper introduces DCRD, a two-stage decoding method for large language models that predicts and mitigates context-memory conflicts, improving accuracy and efficiency especially in complex, real-world scenarios.
Contribution
The paper proposes DCRD, a novel dynamic decoding approach that analyzes attention maps to predict conflicts and adapt decoding paths, enhancing conflict mitigation in LLMs.
Findings
DCRD outperforms baseline methods on six QA datasets.
Constructed ConflictKG benchmark to evaluate conflict mitigation.
DCRD maintains high accuracy and efficiency in conflict scenarios.
Abstract
Large language models accumulate extensive parametric knowledge through pre-training. However, knowledge conflicts occur when outdated or incorrect parametric knowledge conflicts with external knowledge in the context. Existing methods address knowledge conflicts through contrastive decoding, but in conflict-free scenarios, static approaches disrupt output distribution. Other dynamic decoding methods attempt to measure the degree of conflict but still struggle with complex real-world situations. In this paper, we propose a two-stage decoding method called Dynamic Cognitive Reconciliation Decoding (DCRD), to predict and mitigate context-memory conflicts. DCRD first analyzes the attention map to assess context fidelity and predict potential conflicts. Based on this prediction, the input is directed to one of two decoding paths: (1) greedy decoding, or (2) context fidelity-based dynamic…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
