Saved in:
Bibliographic Details
Main Author: Coronado-Blázquez, Javier
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2502.19965
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910847992856576
author Coronado-Blázquez, Javier
author_facet Coronado-Blázquez, Javier
contents Large Language Models (LLMs) have transformed text generation through inherently probabilistic context-aware mechanisms, mimicking human natural language. In this paper, we systematically investigate the performance of various LLMs when generating random numbers, considering diverse configurations such as different model architectures, numerical ranges, temperature, and prompt languages. Our results reveal that, despite their stochastic transformers-based architecture, these models often exhibit deterministic responses when prompted for random numerical outputs. In particular, we find significant differences when changing the model, as well as the prompt language, attributing this phenomenon to biases deeply embedded within the training data. Models such as DeepSeek-R1 can shed some light on the internal reasoning process of LLMs, despite arriving to similar results. These biases induce predictable patterns that undermine genuine randomness, as LLMs are nothing but reproducing our own human cognitive biases.
format Preprint
id arxiv_https___arxiv_org_abs_2502_19965
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Deterministic or probabilistic? The psychology of LLMs as random number generators
Coronado-Blázquez, Javier
Computation and Language
Artificial Intelligence
Large Language Models (LLMs) have transformed text generation through inherently probabilistic context-aware mechanisms, mimicking human natural language. In this paper, we systematically investigate the performance of various LLMs when generating random numbers, considering diverse configurations such as different model architectures, numerical ranges, temperature, and prompt languages. Our results reveal that, despite their stochastic transformers-based architecture, these models often exhibit deterministic responses when prompted for random numerical outputs. In particular, we find significant differences when changing the model, as well as the prompt language, attributing this phenomenon to biases deeply embedded within the training data. Models such as DeepSeek-R1 can shed some light on the internal reasoning process of LLMs, despite arriving to similar results. These biases induce predictable patterns that undermine genuine randomness, as LLMs are nothing but reproducing our own human cognitive biases.
title Deterministic or probabilistic? The psychology of LLMs as random number generators
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2502.19965