Cracking Factual Knowledge: A Comprehensive Analysis of Degenerate Knowledge Neurons in Large Language Models
Yuheng Chen, Pengfei Cao, Yubo Chen, Yining Wang, Shengping Liu, Kang Liu, Jun Zhao
TL;DR
This work defines Degenerate Knowledge Neurons (DKNs) as structurally and functionally interlinked neuron groups that independently express the same factual knowledge in large language models. It introduces Neurological Topology Clustering (NTC), combining persistent homology and clustering to form DKNs across arbitrary sizes and connections. Through 34 experiments across GPT-2 and LLaMA2-7b, the study links DKNs to robustness, evolvability, and complexity, showing that suppressing or enhancing DKNs can respectively degrade or improve model resilience to input perturbations and fact-checking. The findings demonstrate that DKNs are central to how PLMs learn, store, and refine factual knowledge, with implications for efficient fine-tuning and understanding model capacity, while acknowledging limitations in scale and language scope.
Abstract
Large language models (LLMs) store extensive factual knowledge, but the underlying mechanisms remain unclear. Previous research suggests that factual knowledge is stored within multi-layer perceptron weights, and some storage units exhibit degeneracy, referred to as Degenerate Knowledge Neurons (DKNs). Despite the novelty and unique properties of this concept, it has not been rigorously defined or systematically studied. We first consider the connection weight patterns of MLP neurons and define DKNs from both structural and functional aspects. Based on this, we introduce the Neurological Topology Clustering method, which allows the formation of DKNs in any numbers and structures, leading to a more accurate DKN acquisition. Furthermore, inspired by cognitive science, we explore the relationship between DKNs and the robustness, evolvability, and complexity of LLMs. Our execution of 34 experiments under 6 settings demonstrates the connection between DKNs and these three properties. The code will be available soon.
