Despite their widespread use, the mechanisms by which large language models (LLMs) represent and regulate uncertainty in next-token predictions remain largely unexplored. This study investigates two critical components believed to influence this uncertainty: the recently discovered entropy neurons and a new set of components that we term token frequency neurons. Entropy neurons are characterized by an unusually high weight norm and influence the final layer normalization (LayerNorm) scale to effectively scale down the logits. Our work shows that entropy neurons operate by writing onto an unembedding null space, allowing them to impact the residual stream norm with minimal direct effect on the logits themselves. We observe the presence of entropy neurons across a range of models, up to 7 billion parameters. On the other hand, token frequency neurons, which we discover and describe here for the first time, boost or suppress each token's logit proportionally to its log frequency, thereby shifting the output distribution towards or away from the unigram distribution. Finally, we present a detailed case study where entropy neurons actively manage confidence in the setting of induction, i.e. detecting and continuing repeated subsequences.
Are Emotion and Rhetoric Neurons in LLM? Neuron Recognition and Adaptive Masking for Emotion-Rhetoric Prediction Steering
Key Laboratory of Aerospace Information Security and Trusted Computing, Ministry of Education, School of Cyber Science and Engineering, Wuhan University(航空信息安全与可信计算 key laboratory,教育部,武汉大学计算机科学与工程学院)
AdaThinking-E: One-Token Entropy Regulation for Adaptive Thinking
Meituan(美团);MoE Key Lab of Artificial Intelligence(MoE人工智能重点实验室);AI Institute(人工智能研究院);School of Computer Science, Shanghai Jiao Tong University(上海交通大学计算机科学学院);MAIS&NLPR, Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所)
How Post-Training Reshapes LLMs: A Mechanistic View on Knowledge, Truthfulness, Refusal, and Confidence
University of California, Los Angeles(加州大学洛杉矶分校);University of Alberta(阿尔伯塔大学);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Harvard University(哈佛大学)
Gaussian-Based and Outside-the-Box Runtime Monitoring Join Forces
Audi AG(奥迪股份公司);Masaryk University(马萨里克大学);Technical University of Munich(慕尼黑工业大学);AImotion Bavaria, Technische Hochschule Ingolstadt(因戈尔施塔特应用科学大学巴伐利亚人工智能中心)