paper-with-me

Papers

IRCAN: Mitigating Knowledge Conflicts in LLM Generation via Identifying and Reweighting Context-Aware Neurons

2024-06-26 · Dan Shi, Renren Jin, Tianhao Shen, Weilong Dong, Xinwei Wu, Deyi Xiong

It is widely acknowledged that large language models (LLMs) encode a vast reservoir of knowledge after being trained on mass data. Recent studies disclose knowledge conflicts in LLM generation, wherein outdated or incorrect parametric knowledge (i.e., encoded knowledge) contradicts new knowledge provided in the context. To mitigate such knowledge conflicts, we propose a novel framework, IRCAN (Identifying and Reweighting Context-Aware Neurons) to capitalize on neurons that are crucial in processing contextual cues. Specifically, IRCAN first identifies neurons that significantly contribute to context processing, utilizing a context-aware attribution score derived from integrated gradients. Subsequently, the identified context-aware neurons are strengthened via reweighting. In doing so, we steer LLMs to generate context-sensitive outputs with respect to the new knowledge provided in the context. Extensive experiments conducted across a variety of models and tasks demonstrate that IRCAN not only achieves remarkable improvements in handling knowledge conflicts but also offers a scalable, plug-and-play solution that can be integrated seamlessly with existing models. Our codes are released at https://github.com/danshi777/IRCAN.

📄 PDF Abstract BibTeX arXiv:2406.18406

Code (1)

danshi777/ircan 공식 구현 pytorch

Similar Papers 제목 키워드 기반

PIP-KAG: Mitigating Knowledge Conflicts in Knowledge-Augmented Generation via Parametric Pruning

2025-02-21 · Pengcheng Huang, Zhenghao Liu, Yukun Yan, Xiaoyuan Yi 외

Knowledge-Augmented Generation (KAG) has shown great promise in updating the internal memory of Large Language Models (LLMs) by integrating external knowledge. However, KAG inevitably faces knowledge conflicts when the i…

Hallucination

Getting Sick After Seeing a Doctor? Diagnosing and Mitigating Knowledge Conflicts in Event Temporal Reasoning

2023-05-24 · Tianqing Fang, Zhaowei Wang, Wenxuan Zhou, Hongming Zhang 외

Event temporal reasoning aims at identifying the temporal relations between two or more events from narratives. However, knowledge conflicts arise when there is a mismatch between the actual temporal relations of events …

counterfactualData AugmentationHallucinationIn-Context Learning

FairCanary: Rapid Continuous Explainable Fairness

2021-06-13 · Avijit Ghosh, Aalok Shanbhag, Christo Wilson

Systems that offer continuous model monitoring have emerged in response to (1) well-documented failures of deployed Machine Learning (ML) and Artificial Intelligence (AI) models and (2) new regulatory requirements impact…

FairnessFeature ImportancePrediction

Mitigating Context-Memory Conflicts in LLMs through Dynamic Cognitive Reconciliation Decoding

2026-05-12 · Yigeng Zhou, Wu Li, Yifan Lu, Yequan Wang 외 arxiv

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. E…

DYNAMICQA: Tracing Internal Knowledge Conflicts in Language Models

2024-07-24 · Sara Vera Marjanović, Haeun Yu, Pepa Atanasova, Maria Maistro 외

Knowledge-intensive language understanding tasks require Language Models (LMs) to integrate relevant context, mitigating their inherent weaknesses, such as incomplete or outdated knowledge. However, conflicting knowledge…

Retrieval-augmented GenerationWorld Knowledge