Research map / Large language models / Retrieval and knowledge
On Relation-Specific Neurons in Large Language Models
Yihong Liu, Runsheng Chen, Lea Hirlimann, Ahmad Dawar Hakimi, Mingyang Wang, Amir Hossein Kargaran, Sascha Rothe, François Yvon, Hinrich Schütze
Google DeepMind · Technical University of Munich · LMU Munich · Bosch Center for Artificial Intelligence · Munich Center for Machine Learning · Sorbonne Université
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| deactivate 3,000 RelSpec neurons of a relation (ablation) | LLama-2 7B and 13B · factual recall on held-out relation prompts (same relation) | accuracy | Hurt |
| deactivate 3,000 randomly chosen neurons (ablation) | LLama-2 7B and 13B · factual recall on relation prompts | accuracy | No clear effect |
| deactivate more RelSpec neurons (10 up to 50,000) (ablation) | LLama-2-7B · factual recall, same relation | accuracy | Hurt |
| deactivate RelSpec neurons of relation r (ablation) | LLama-2 7B and 13B · factual recall on other relations (inter-relation) | accuracy drop | Mixed |
| deactivate neurons of one relation (e.g. company_ceo) (ablation) | LLama-2 7B and 13B · company_hq accuracy | accuracy | Improved |
| deactivate landmark_country neurons (ablation) | LLama-2-13B · landmark_continent accuracy | accuracy | Hurt |
| deactivate RelSpec neurons identified from English prompts (ablation) | LLama-2-7B · facts translated into de, es, fr, zh, ja | accuracy | Hurt |
| use different prompt templates on same triples (ablation) | LLama-2-7B with 3,000 RelSpec neurons deactivated · eva-2 prompts | accuracy | Hurt |
| ablate RelSpec neurons (ablation) | LLama-2-7B · perplexity on relation-neutral sentences | perplexity | No clear effect |
| restrict neurons to self_attn modules (ablation) | LLama-2-7B · relation deactivation (top 3,000) | accuracy | No clear effect |
| higher pretraining fact frequency | LLama-2 7B and 13B facts · resilience to deactivation | fact frequency in Dolma: Wilcoxon p = 0.11 (7B), 0.03 (13B) | Mixed |
Closest papers by meaning
- Journey to the Center of the Knowledge Neurons: Discoveries of Language-Independent Knowledge Neurons and Degenerate Knowledge Neurons (AAAI 2024 · similarity 0.90)
- What does the Knowledge Neuron Thesis Have to do with Knowledge? (ICLR 2024 · similarity 0.89)
- Identifying Query-Relevant Neurons in Large Language Models for Long-Form Texts (AAAI 2025 · similarity 0.88)
- Towards Neuron Attributions in Multi-Modal Large Language Models (NeurIPS 2024 · similarity 0.86)
- Knowledge Circuits in Pretrained Transformers (NeurIPS 2024 · similarity 0.86)
- How do Large Language Models Handle Multilingualism? (NeurIPS 2024 · similarity 0.86)
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.
