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

Psychologically-informed chain-of-thought prompts for metaphor understanding in large language models

Ben Prystawski, Paul H. Thibodeau, Christopher Potts, Noah D. GoodmanCogSci 2022

Abstract

Probabilistic models of language understanding are valuable tools for investigating human language use. However, they need to be hand-designed for a particular domain. In contrast, large language models (LLMs) are trained on text that spans a wide array of domains, but they lack the structure and interpretability of probabilistic models. In this paper, we use chain-of-thought prompts to introduce structures from probabilistic models into LLMs. We explore this approach in the case of metaphor understanding. Our chain-of-thought prompts lead language models to infer latent variables and reason about their relationships in order to choose appropriate paraphrases for metaphors. The latent variables and relationships chosen are informed by theories of metaphor understanding from cognitive psychology. We apply these prompts to the two largest versions of GPT-3 and show that they can improve performance in a paraphrase selection task.

Introduction

Metaphors are a cornerstone of human communication, yet they pose a significant challenge for AI. A sentence like "A wish is a rainbow" is literally nonsensical; to understand it, a listener must perform a sort of "probabilistic inference" to identify which properties (e.g., beauty, fleetingness) are being attributed to the subject. While cognitive scientists have built probabilistic models to explain this process, these models are usually "hand-designed" for narrow domains. Conversely, LLMs possess vast general knowledge but often lack the explicit reasoning structure to consistently interpret figurative language.

Researchers from Stanford and Oberlin demonstrate that "chain-of-thought" (CoT) prompting, specifically when informed by cognitive psychology theories like "Question Under Discussion" (QUD), significantly improves how LLMs understand metaphors. By forcing models to reason through the latent properties being transferred from an object to a subject, even smaller models like GPT-3 Curie can move from chance-level performance to meaningful metaphor interpretation.

Methods

The authors employed CoT prompting, where the model is shown examples of a problem followed by a "rationale" or step-by-step explanation before the final answer. They tested two psychologically-informed rationale types:

  1. Question Under Discussion (QUD): Based on the idea that metaphors implicitly answer a specific question about a feature (e.g., "How does a bagpipe sound?"). The rationale identifies the question, the subject/object, the shared property, and then the paraphrase.
  2. Similarity: Based on comparison accounts of metaphor, where the rationale explicitly highlights properties common to both the subject and the object.
Examples of QUD and Similarity rationales used in CoT prompting.

These were compared against several baselines, including "No Rationale," "Non-Explanation" (providing a true but irrelevant fact), and "Subject-Object" (identifying the parts of the metaphor without reasoning about the relationship).

The study utilized a refined version of the Katz corpus (1988), resulting in 280 metaphorical statements. For each metaphor, the authors wrote four non-metaphorical paraphrases with varying degrees of appropriateness (scored 1 to 4). The model's task was to select the best one.

Key Results and Insights

The primary metric for evaluation was the mean appropriateness score of the selected paraphrase across different prompting conditions.

Mean appropriateness scores across models and prompting conditions.
  • The "Curie" Breakthrough: GPT-3 Curie (a smaller model) performed at near-chance levels (2.49) without help. However, providing QUD rationales led to a statistically significant improvement (2.76), proving that structured prompting can "unlock" capabilities in smaller models that aren't apparent in standard settings.
  • DaVinci Performance: The larger DaVinci model was already highly capable, achieving a mean score of 3.71 with no rationale. While rationales didn't drastically raise this ceiling, they changed how the model arrived at the answer. Without rationales, DaVinci performed better on "familiar" metaphors; with QUD rationales, this "familiarity bias" disappeared, suggesting the model was reasoning rather than just retrieving associations.
  • Structure Matters More Than Facts: The "Non-Explanation" baseline did not help. This confirms that the improvement isn't just from providing more context, but specifically from the logical structure of the psychological model.

Discussion and Future Work

The QUD framework generally outperformed the Similarity framework, particularly for the smaller model, suggesting that framing metaphors as answers to specific functional questions is a powerful heuristic for AI.

However, the authors acknowledge limitations, such as the potential for subjective bias in the ground truth paraphrases and the high baseline performance of DaVinci on the Katz corpus. Future work should focus on datasets of novel or obscure metaphors to truly test the limits of LLM reasoning. Ultimately, the paper suggests that the next step in making LLMs "smarter" might not just be more data, but better instructions derived from decades of human cognitive research.

Summary updated

BibTeX
@inproceedings{prystawski2022psychologically,
  author = {Ben Prystawski and Paul H. Thibodeau and Christopher Potts and Noah D. Goodman},
  title = {{Psychologically-informed chain-of-thought prompts for metaphor understanding in large language models}},
  booktitle = {CogSci},
  year = {2022},
  url = {https://openreview.net/forum?id=4BCsfBZWl-},
}
Figure