Connection between Temperature and Emergent Behavior in Large Language Models
DOI:
https://doi.org/10.31357/ait.v6i01.9321Keywords:
artificial intelligence, emergent behavior, generative artificial intelligence, large language models, sampling temperatureAbstract
This paper investigates the effect of the Sampling Temperature Parameter on behavioral changes, known as Emergent Behavior, in Large Language Models (LLM). Emergent Behavior was previously attributed to a direct result of an LLM’s scale. This study explores whether the Sampling Temperature Parameter has any effect on Emergent Behavior with three LLMs of various sizes. These LLMs were tested using 100 questions that belong to 5 categories, with controlled experiments at 11 Sampling Temperature settings. The findings show that LLMs tend to ignore user prompts, changing their behavior with higher temperatures. These findings suggest that temperature changes strongly affect the LLM’s behavior and induce abrupt changes, which can be attributed to emergent-like behavior. Even smaller language models exhibit emergent-like behaviors, suggesting that emergence is not solely a function of model size. This study presents a critical, underexplored area of research that is capable of triggering nonlinear performance changes. This paper broadens the theoretical understanding of LLMs’ dynamics and offers practical value in controlling their behavior for safer and more reliable use.Published
How to Cite
License
Copyright (c) 2026 Nipun D. Balage, Lahiru D. Mohottalage, Ashen S. Wickramasinghe, M.P.P. Liyanage, H.M.S.C.R. Heenkenda

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
The Authors hold the copyright of their manuscripts, and all articles are circulated under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, as long as that the original work is properly cited.
The use of general descriptive names, trade names, trademarks, and so forth in this publication, even if not specifically identified, does not imply that these names are not protected by the relevant laws and regulations. The authors are responsible for securing any permissions needed for the reuse of copyrighted materials included in the manuscript.


