Language Models Trained to do Arithmetic Predict Human Risky and Intertemporal Choice

Jian-Qiao Zhu, Haijiang Yan, Thomas L. Griffiths

Introduction

For years, cognitive scientists have noticed that Large Language Models (LLMs) like GPT-4 often "act human" in psychological tests, exhibiting the same irrational biases we do. However, it has been nearly impossible to isolate why. Is it because they were trained on trillions of words written by humans, or because they memorized specific psychology questions in their training data?

To turn LLMs into legitimate "cognitive models"—tools that help us understand how the human mind works—researchers need to isolate the variables. This paper asks a fundamental question: If we strip away all human language and train a small model solely on the raw math required for decision-making, will it still exhibit human-like behavior? The researchers found that a miniature language model trained exclusively on arithmetic equations can predict human decision-making biases better than traditional economic models, provided the training data mirrors the real world.

Methods: Building Arithmetic-GPT

The authors developed Arithmetic-GPT, a miniature Transformer model with only 10 million parameters (tiny compared to models like LLaMA or GPT-4). Instead of feeding it the internet, they trained it on 1 million synthetic arithmetic equations representing the building blocks of choice:

  1. Expected Value (EV): $Probability \times Value$ (e.g., 0.8 * 10 = 8.0)
  2. Present Value (PV): $Discount Factor \times Value$ (e.g., 0.99^4 * 10 = 9.6)
Methodology and Ecological Distributions

The crucial innovation was the data distribution. The researchers compared two versions of the training data:

  • Uniform: Numbers were chosen randomly and evenly.
  • Ecological: Numbers followed real-world patterns. For example, probabilities in English text follow a U-shaped Beta distribution, and financial values (like bank debits) follow a heavy-tailed power-law distribution.

After pretraining, they froze the model's weights, extracted its internal "embeddings" (how it mathematically represents numbers), and used a logistic regression to predict how humans would choose in standard gambling and investment scenarios. They evaluated the model against massive human benchmark datasets for risky choice (choices13k, cpc18) and intertemporal choice (gershman20, agrawal23).

Key Insights and Results

Arithmetic-GPT demonstrated remarkable predictive power. On the choices13k dataset for risky choice, it explained 70.8% of the variance in human behavior. This significantly outperformed Prospect Theory (the gold standard in behavioral economics, at 51.5%) and raw Expected Value calculations (31.6%). In many tasks, this 10M parameter math-only model even outperformed the massive LLaMA-3-70B, which has 7,000 times more parameters and was trained on the entire internet.

Emergent Biases in Model Embeddings

The most profound finding is that biases are emergent. The model was never explicitly programmed to be "afraid of losing." However, when trained on ecological distributions, its internal map of numbers warped to reflect human psychology.

  • Distribution is Everything: When trained on perfectly uniform data, the model remained strictly rational. It only became "human" when it had to learn to approximate math across the messy, skewed distributions found in nature.
  • Visualizing the Mind: Using dimensionality reduction, the authors showed that the model’s internal embeddings for "value" spontaneously formed an S-curve—the exact shape predicted by Nobel laureate Daniel Kahneman’s Prospect Theory, where losses loom larger than gains.

These results suggest that human "irrationality" might actually be a natural byproduct of our brains learning to perform efficient arithmetic on the skewed data distributions we encounter in the real world.

Limitations and Future Work

  • Data Efficiency: While the model is small, it still required 1 million equations to learn these concepts. A human child learns with far less formal training data, highlighting a gap in our understanding of learning efficiency.
  • Narrow Scope: The study focused strictly on the math of choice. Human decision-making also involves emotions, social pressure, and memory, which this isolated model does not account for.
  • The "Why" of the S-Curve: While the paper proves that ecological distributions lead to these biases, the specific mathematical mechanism explaining why a power-law distribution of values creates an S-shaped utility curve remains an area for deeper theoretical investigation.

Summary updated

BibTeX
@inproceedings{zhu2025language,
  author = {Jian-Qiao Zhu and Haijiang Yan and Thomas L. Griffiths},
  title = {{Language Models Trained to do Arithmetic Predict Human Risky and Intertemporal Choice}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=Tn8EQIFIMQ},
}
Figure