Emergent Specialization: Rare Token Neurons in Language Models
Jing Liu, Haozheng Wang, Yueheng Li
TL;DR
This work tackles the problem of how large language models represent and predict rare tokens by identifying a small set of rare token neurons in the final MLP that disproportionately influence infrequent token predictions. It combines ablation-based neuron influence measurements, phase-transition analysis of neuron contributions, and activation-space geometry to reveal a dynamic three-phase organization—plateau, power-law, and rapid decay—alongside coordinated co-activation among rare-token neurons. The study connects these functional patterns to heavy-tailed weight distributions via HT-SR theory, showing consistently lower $\alpha_{\text{Hill}}$ for rare-token neurons and constructing a spectral-structural explanation for emergent specialization. These findings provide a mechanistic view of internal specialization in LLMs, offering avenues for data-efficient training and principled domain adaptation through targeted subnetworks and spectral-informed regularization.
Abstract
Large language models struggle with representing and generating rare tokens despite their importance in specialized domains. In this study, we identify neuron structures with exceptionally strong influence on language model's prediction of rare tokens, termed as rare token neurons, and investigate the mechanism for their emergence and behavior. These neurons exhibit a characteristic three-phase organization (plateau, power-law, and rapid decay) that emerges dynamically during training, evolving from a homogeneous initial state to a functionally differentiated architecture. In the activation space, rare token neurons form a coordinated subnetwork that selectively co-activates while avoiding co-activation with other neurons. This functional specialization potentially correlates with the development of heavy-tailed weight distributions, suggesting a statistical mechanical basis for emergent specialization.
