atlas

Research map / Large language models / Retrieval and knowledge

Identifying Query-Relevant Neurons in Large Language Models for Long-Form Texts

AAAI 2025 · 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 QRNCA, an architecture-agnostic gradient-based attribution method that locates query-relevant neurons in decoder-only LLMs for long-form answers by reformulating queries as multiple-choice QA, with inverse cluster attribution and common-neuron removal.

Problem

Locating knowledge neurons for long-form, free-form answers in contemporary decoder-only 7B LLMs, where prior methods were limited to single-token triplet facts in small encoder or GPT-2-scale models.

Approach

Transform free-form queries into multiple-choice QA so the model outputs only an option letter, compute integrated-gradient neuron attribution over FFN up-projection activations, normalize across clusters with inverse cluster attribution (down-weighting neurons shared across queries), and remove common neurons tied to option letters and frequent tokens.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add Inverse Cluster Attribution to QRNCA (ablation)QRNCA · Domain dataset, boostPCR: 2.5 -> 4.4Helped
Add Inverse Cluster Attribution to QRNCA (ablation)QRNCA · Domain dataset, suppressPCR: 1.1 -> 5.6Helped
Add Inverse Cluster Attribution to QRNCA (ablation)QRNCA · Language dataset, boostPCR: 6.5 -> 41.2Helped
Add Inverse Cluster Attribution to QRNCA (ablation)QRNCA · Language dataset, suppressPCR: 2.2 -> 36.0Helped
Remove common neurons (ablation)QRNCA · Domain dataset, boostPCR: 2.8 -> 4.4Helped
Remove common neurons (ablation)QRNCA · Domain dataset, suppressPCR: 1.8 -> 5.6Helped
Remove common neurons (ablation)QRNCA · Language dataset, boostPCR: 10.4 -> 41.2Helped
Remove common neurons (ablation)QRNCA · Language dataset, suppressPCR: 8.5 -> 36.0Helped
Use neuron-based prediction instead of prompt-based predictionLlama-2-7B · MMLU validation, ChemistryAccuracy: 0.71 -> 0.67Hurt

Surprising findings

Limitations

Experimental setup

Datasets: MMLU (six high-school subjects) Multilingual LAMA (six languages)

Benchmarks: Domain multi-choice QA dataset (derived from MMLU) Language multi-choice QA dataset (derived from Multilingual LAMA)

Metrics: Probability Change Ratio (PCR) Probability change percentage (boost/suppress) knowledge editing success rate neuron-based prediction accuracy

Baselines: Random Neuron Activation Knowledge Neuron* QRNCA w/o ICA QRNCA w/ Common Neuron

Builds on: Knowledge Neurons (Dai et al., 2022) ROME Logit Lens MMLU

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