Non-literal Understanding of Number Words by Language Models

Polina Tsvilodub, Kanishk Gandhi, Haoran Zhao, Jan-Philipp Fränken, Michael Franke, Noah D. GoodmanarXiv 2025 · DOI

Abstract

Large Language Models (LLMs) demonstrate impressive world knowledge but often fail to grasp the pragmatic nuances of human communication, particularly regarding numerical hyperbole and "fuzzy" number usage. This paper investigates the gap between an LLM's internal knowledge and its pragmatic reasoning. By applying the Rational Speech Act (RSA) framework, we show that while LLMs possess the necessary world priors to identify unrealistic prices, they fail to use this information to infer non-literal intent in zero-shot settings. However, RSA-inspired prompting and hybrid modeling significantly improve alignment with human judgment.

Introduction

Human language is rarely strictly literal. When a speaker claims a simple electric kettle cost "$1,000," listeners immediately recognize the statement as hyperbolic, inferring the speaker's frustration rather than an actual transaction. Similarly, "round" numbers like $50 are often interpreted as estimates (a "pragmatic halo"), whereas "sharp" numbers like $48 imply precision. Current LLMs, optimized for next-token prediction, tend toward literalism, potentially limiting their effectiveness in human-centric applications like negotiation or creative assistance.

The Knowledge-Reasoning Gap

A central finding of this research is the "Knowledge-Reasoning Gap." LLMs like GPT-4o-mini, Claude 3.5 Sonnet, and Gemini 1.5 Pro actually possess accurate internal "world knowledge." Their estimates of typical prices for items like watches or laptops correlate highly with human data (r > 0.88). Despite this, when asked to interpret a speaker's intent, they struggle to discount literal meanings for impossible prices.

Figure 1: Probability of hyperbolic interpretation across different price utterances for humans and three LLMs. Humans readily identify high prices as hyperbolic, whereas LLMs remain largely literal.

As shown in Figure 1, humans show a clear upward trend in hyperbolic interpretation as the stated price becomes more extreme. In contrast, models like Gemini 1.5 Pro and GPT-4o-mini remain stubbornly literal even at the $10,000 mark for a kettle, failing to leverage their internal knowledge that such a price is unrealistic.

Methodology: Bridging the Gap with RSA

To address this, the researchers employed the Rational Speech Act (RSA) framework, which models communication as a social inference process. Three approaches were tested:

  1. Zero-Shot Prompting: Direct estimation of price probabilities.
  2. RSA-Inspired Chain-of-Thought (CoT): Prompting the model to reason about speaker goals and world priors before reaching a conclusion.
  3. LM-RSA Hybrid Modeling: Extracting "priors" (world knowledge) from the LLM and using them as inputs for a formal mathematical RSA model.

Key Results and the Power of Formal Modeling

Zero-shot performance was notably poor, with correlations to human data ranging from only 0.36 to 0.53. While RSA-inspired prompting improved these results (0.56 - 0.60), the most striking improvement came from the hybrid model.

Figure 5: Correlation analysis showing that while zero-shot LLM outputs (top row) correlate poorly with human-like pragmatic reasoning, using the LLM's own internal knowledge (priors) within a formal RSA model (bottom row) yields high alignment with human judgments.

As illustrated in Figure 5, the "logic" for pragmatic inference is latent within the models. When the LLM's internal facts are processed through the RSA framework (bottom row), the resulting predictions align remarkably well with human behavior (r > 0.90). This suggests that the failure of LLMs is not a lack of knowledge, but a failure to apply that knowledge through a pragmatic reasoning chain.

Discussion and Future Directions

The study highlights that "scaling up" models may not automatically solve pragmatic failures. While Claude 3.5 Sonnet showed the most human-like baseline, all models benefited from structured reasoning. Future work should explore whether fine-tuning specifically on pragmatic tasks can internalize these reasoning patterns, moving beyond the need for complex prompting or external modeling. Additionally, the study notes a "halo reversal" where LLMs were sometimes more literal with round numbers than sharp ones, a direct contradiction of human linguistic patterns that warrants further investigation.

Conclusion

LLMs are knowledgeable but literal-minded. By integrating cognitive frameworks like RSA, we can better understand and eventually bridge the gap between AI's factual accuracy and human-like pragmatic flexibility.

Summary updated

BibTeX
@misc{tsvilodub2025non,
  author = {Polina Tsvilodub and Kanishk Gandhi and Haoran Zhao and Jan-Philipp Fränken and Michael Franke and Noah D. Goodman},
  title = {{Non-literal Understanding of Number Words by Language Models}},
  year = {2025},
  eprint = {2502.06204},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.06204},
}
Figure