atlas

Research map / Large language models / Retrieval and knowledge

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

NeurIPS 2024 · Large language models › Retrieval and knowledge · approach: Knowledge editing in LLMs · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes IRCAN, which uses integrated-gradient attribution to find FFN neurons that process context and up-weights them to make LLMs more faithful to context under knowledge conflicts.

Problem

LLMs given contextual information that contradicts their parametric knowledge tend to follow memorized knowledge rather than the provided context, producing outdated or hallucinated answers.

Approach

Attribute context-processing importance to individual FFN neurons with a context-aware integrated-gradients score, select neurons shared across instances by co-occurrence, and scale their weights by a factor beta; this is training-free and complementary to contrastive decoding (CAD).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Reweight context-aware neuronsIRCAN · MemoTrapaccuracy: 24.52 -> 56.08Helped
Combine IRCAN with CADLLaMA-2-7B · MemoTrapaccuracy: 44.56 -> 61.83Helped
Reweight context-aware neuronsIRCAN · COSE_KREaccuracy: 36.66 -> 45.01; 39.93 -> 42.72; 49.75 -> 49.26Mixed
Combine IRCAN with CADIRCAN-CAD · ECARE_KREaccuracy: 55.04 -> 80.96; 57.40 -> 69.37Mixed
Erase context-aware neurons (ablation)IRCAN · MemoTrapaccuracyHurt
Enhance random neurons instead of context-aware neurons (ablation)IRCAN · MemoTrapaccuracyNo clear effect
Erase random neurons instead of context-aware neurons (ablation)IRCAN · MemoTrapaccuracyNo clear effect
Increase context-aware neuron enhancement strength (ablation)IRCAN on LLaMA-2-7B · MemoTrapaccuracyMixed
Increase the number of enhanced context-aware neurons (ablation)IRCAN on LLaMA-2-7B · MemoTrapaccuracyMixed

Surprising findings

Limitations

Experimental setup

Datasets: MemoTrap COSE_KRE ECARE_KRE

Benchmarks: MemoTrap COSE_KRE ECARE_KRE ARC HellaSwag MMLU TruthfulQA Winogrande GSM8K

Metrics: accuracy stubbornness rate

Baselines: Original ITI CAD Opin Based_on prompts

Builds on: integrated gradients knowledge neurons context-aware decoding inference-time intervention

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy