Connection between Temperature and Emergent Behavior in Large Language Models

Authors

  • Nipun D. Balage Department of Information and Communication Technology, Faculty of Technology, University of Sri Jayewardenepura, Homagama 10206, Sri Lanka.
  • Lahiru D. Mohottalage Department of Information and Communication Technology, Faculty of Technology, University of Sri Jayewardenepura, Homagama 10206, Sri Lanka.
  • Ashen S. Wickramasinghe Department of Information and Communication Technology, Faculty of Technology, University of Sri Jayewardenepura, Homagama 10206, Sri Lanka.
  • M.P.P. Liyanage Department of Information and Communication Technology, Faculty of Technology, University of Sri Jayewardenepura, Homagama 10206, Sri Lanka.
  • H.M.S.C.R. Heenkenda Department of Information and Communication Technology, Faculty of Technology, University of Sri Jayewardenepura, Homagama 10206, Sri Lanka.

DOI:

https://doi.org/10.31357/ait.v6i01.9321

Keywords:

artificial intelligence, emergent behavior, generative artificial intelligence, large language models, sampling temperature

Abstract

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

2026-09-14

How to Cite

Nipun D. Balage, Lahiru D. Mohottalage, Ashen S. Wickramasinghe, M.P.P. Liyanage, & H.M.S.C.R. Heenkenda. (2026). Connection between Temperature and Emergent Behavior in Large Language Models. Advances in Technology, 6(01). https://doi.org/10.31357/ait.v6i01.9321

Most read articles by the same author(s)

Obs.: This plugin requires at least one statistics/report plugin to be enabled. If your statistics plugins provide more than one metric then please also select a main metric on the admin's site settings page and/or on the journal manager's settings pages.