mlsanityData to 7 Oct 2026

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

arXiv 2406.10868 ↗First posted 16 Jun 2024cs.CLcited by 12

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) possess vast amounts of knowledge within their parameters, prompting research into methods for locating and editing this knowledge. Previous work has largely focused on locating entity-related (often single-token) facts in smaller models. However, several key questions remain unanswered: (1) How can we effectively locate query-relevant neurons in decoder-only LLMs, such as Llama and Mistral? (2) How can we address the challenge of long-form (or free-form) text generation? (3) Are there localized knowledge regions in LLMs? In this study, we introduce Query-Relevant Neuron Cluster Attribution (QRNCA), a novel architecture-agnostic framework capable of identifying query-relevant neurons in LLMs. QRNCA allows for the examination of long-form answers beyond triplet facts by employing the proxy task of multi-choice question answering. To evaluate the effectiveness of our detected neurons, we build two multi-choice QA datasets spanning diverse domains and languages. Empirical evaluations demonstrate that our method outperforms baseline methods significantly. Further, analysis of neuron distributions reveals the presence of visible localized regions, particularly within different domains. Finally, we show potential applications of our detected neurons in knowledge editing and neuron-based prediction.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 26 of its 46 references that are in the map. First posted on arXiv 16 Jun 2024.

Builds on

26 of 46 references.

References · 26

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2017Axiomatic Attribution for Deep Networkscited by 3,350
  4. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  5. 2019Language Models as Knowledge Bases?cited by 1,922
  6. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
  7. 2022Mass-Editing Memory in a Transformercited by 976
  8. 2017Sigmoid-Weighted Linear Units for Neural Network Function Approximation in Reinforcement Learningcited by 935
  9. 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 713
  10. 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 700
  11. 2016Language Modeling with Gated Convolutional Networkscited by 688
  12. 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 522
14 more
  1. 2019Linguistic Knowledge and Transferability of Contextual Representationscited by 382
  2. 2021Multilingual LAMA: Investigating Knowledge in Multilingual Pretrained Language Modelscited by 132
  3. 2018What Is One Grain of Sand in the Desert? Analyzing Individual Neurons in Deep NLP Modelscited by 124
  4. 2020X-FACTR: Multilingual Factual Knowledge Retrieval from Pretrained Language Modelscited by 117
  5. 2024Universal Neurons in GPT2 Language Modelscited by 100
  6. 2020Analyzing Individual Neurons in Pre-trained Language Modelscited by 97
  7. 2019Evaluating Commonsense in Pre-trained Language Modelscited by 95
  8. 2021An Interpretability Illusion for BERTcited by 94
  9. 2023Neurons in Large Language Models: Dead, N-gram, Positionalcited by 88
  10. 2021Can Language Models be Biomedical Knowledge Bases?cited by 83
  11. 2023Journey to the Center of the Knowledge Neurons: Discoveries of Language-Independent Knowledge Neurons and Degenerate Knowledge Neuronscited by 56
  12. 2024Learnable Privacy Neurons Localization in Language Modelscited by 26
  13. 2023Measuring and Modifying Factual Knowledge in Large Language Modelscited by 16
  14. 2023KLoB: a Benchmark for Assessing Knowledge Locating Methods in Language Modelscited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 7; 2026: 4.

12 papers.