NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Approximate and Exact Numeral Systems via Reinforcement Learning

Emil Carlsson, Devdatt P. Dubhashi, Fredrik D. Johansson

Abstract

Human languages exhibit numeral systems that efficiently balance informativeness and simplicity. While previous research has identified this near-optimality, the mechanisms by which such systems emerge remain less clear. This paper investigates whether reinforcement learning (RL) in a multi-agent communication game can explain the development of both exact and approximate numeral systems. By training artificial agents to communicate numbers under various functional pressures, the authors demonstrate that efficient, human-like numeral systems emerge naturally from the trade-off between accuracy and cognitive load.

Introduction

A central hypothesis in cognitive science is that language is shaped by functional pressures for efficient communication. Specifically, numeral systems across cultures appear to optimize the trade-off between being informative (minimizing error) and being simple (minimizing vocabulary size or cognitive complexity). While empirical data from diverse languages supports this theory, the "algorithmic" process—how these systems are learned and stabilized—has been a missing link. This study bridges the gap by modeling the emergence of numeral systems through Reinforcement Learning (RL).

Methods

The researchers employed a Lewis signaling game involving two artificial agents: a Sender and a Listener. The Sender observes a number $n$ and selects a word $w$ from a finite vocabulary. The Listener receives $w$ and must estimate the original number $\hat{n}$. Both agents receive a shared reward $r(n, \hat{n})$ based on the accuracy of the guess.

The Lewis signaling game setup where artificial agents (Sender and Listener) learn to communicate numbers through reinforcement learning.

The agents utilize Q-learning with an implicit form of Thompson Sampling implemented via dropout in feedforward neural networks. This approach allows agents to manage the exploration-exploitation trade-off by maintaining a distribution of beliefs over word meanings. The study tested various reward functions (linear, inverse, exponential) and "need probabilities" (priors) for numbers, including Power Laws derived from the Google ngrams corpus to reflect real-world usage frequencies.

Results and Key Insights

The experiments revealed that artificial agents starting from a tabula rasa state consistently developed communication schemes that approach the theoretical limit of efficiency, known as the "convex hull."

Communication cost versus term usage across different reward functions and priors. The RL agents (blue/green lines) closely track the theoretical efficiency limit (convex hull) and align with human language data (dots).

Key findings include:

  • Spontaneous Efficiency: Agents naturally converged on near-optimal systems, demonstrating that RL is a plausible mechanism for the emergence of linguistic efficiency.
  • Impact of Priors: The structure of the learned systems was heavily influenced by the "need probability." When small numbers were more frequent (Power Law prior), agents developed precise terms for small values and vague terms for larger ones, mirroring "restricted" numeral systems found in many human languages.
  • Emergence of Approximation: Even without explicit instructions to be "fuzzy," agents developed approximate meanings (e.g., "many") when rewards allowed for minor errors. These learned distributions matched the Gaussian-like representations observed in human approximate number sensing.
  • Human-like Performance: The artificial systems' performance metrics (cost vs. complexity) were remarkably similar to those of 21 diverse human languages, such as Chiquitano, Mundurukú, and Pirahã.

Discussion and Future Work

This work provides a mechanistic account of how functional pressures shape vocabulary. By moving from a purely descriptive "theory level" to an "algorithmic level," the authors align linguistic theory with neuroscientific models of learning.

However, the current study is limited to non-recursive systems (e.g., "one, two, three, many") and a small range of numbers (1-20). Future research could explore the emergence of recursive systems (like English) and investigate whether these learned approximate systems can support "approximate arithmetic" (e.g., the compositionality of terms like "a few"). Additionally, incorporating pragmatic reasoning, where agents model each other's mental states, could further refine the realism of the communication model.

Conclusion

The study demonstrates that the efficient categorization of numbers in human language can be explained as a natural outcome of reinforcement learning under communicative pressure. This suggests that the universal patterns observed in numeral systems across cultures may arise from general-purpose learning mechanisms adapted to the statistical structure of the environment.

Summary updated

BibTeX
@inproceedings{carlsson2021learning,
  author = {Emil Carlsson and Devdatt P. Dubhashi and Fredrik D. Johansson},
  title = {{Learning Approximate and Exact Numeral Systems via Reinforcement Learning}},
  booktitle = {CogSci},
  year = {2021},
}
Figure