Identifying Good and Bad Neurons for Task-Level Controllable LLMs
By: Wenjie Li , Guansong Pang , Hezhe Qiao and more
Potential Business Impact:
Finds good and bad brain cells in AI.
Large Language Models have demonstrated remarkable capabilities on multiple-choice question answering benchmarks, but the complex mechanisms underlying their large-scale neurons remain opaque, posing significant challenges for understanding and steering LLMs. While recent studies made progress on identifying responsible neurons for certain abilities, these ability-specific methods are infeasible for task-focused scenarios requiring coordinated use of multiple abilities. Moreover, these approaches focus only on supportive neurons that correlate positively with task completion, while neglecting neurons with other roles-such as inhibitive roles-and misled neuron attribution due to fortuitous behaviors in LLMs (i.e., correctly answer the questions by chance rather than genuine understanding). To address these challenges, we propose NeuronLLM, a novel task-level LLM understanding framework that adopts the biological principle of functional antagonism for LLM neuron identification. The key insight is that task performance is jointly determined by neurons with two opposing roles: good neurons that facilitate task completion and bad neurons that inhibit it. NeuronLLM achieves a holistic modeling of neurons via contrastive learning of good and bad neurons, while leveraging augmented question sets to mitigate the fortuitous behaviors in LLMs. Comprehensive experiments on LLMs of different sizes and families show the superiority of NeuronLLM over existing methods in four NLP tasks, providing new insights into LLM functional organization.
Similar Papers
NEAT: Concept driven Neuron Attribution in LLMs
Computation and Language
Finds AI's "thinking" parts to fix bias.
Brain-Inspired Exploration of Functional Networks and Key Neurons in Large Language Models
Neurons and Cognition
Finds brain-like networks inside AI.
Neuron-Guided Interpretation of Code LLMs: Where, Why, and How?
Software Engineering
Helps computers understand and use different programming languages.