Pragmatic Theories Enhance Understanding of Implied Meanings in LLMs
This study demonstrates that incorporating pragmatic theories, such as Gricean pragmatics and Relevance Theory, into prompts significantly enhances large language models' ability to interpret implied meanings through guided step-by-step reasoning, achieving up to a 9.6% performance improvement over standard chain-of-thought baselines.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are trying to understand a friend who says, "Oh, great, it's raining again," while looking at a sunny sky. They aren't actually happy about the rain; they are being sarcastic. Humans are naturally good at catching these hidden meanings, but for Artificial Intelligence (AI), it's like trying to read a map written in a language you've never studied.
This paper is about giving AI a "cheat sheet" to help it understand these hidden messages, called implied meanings.
The Problem: AI is Literal
Large Language Models (LLMs) are like brilliant students who have read almost every book in the library but sometimes struggle with the subtext. If you ask them a riddle or a sarcastic comment, they might take the words too literally. They know the dictionary definition of "rain," but they might miss the feeling of annoyance behind the sentence.
The Solution: The "Theory" Cheat Sheet
The researchers tried a new trick. Instead of just asking the AI to "think step-by-step" (a common method called Chain-of-Thought), they gave the AI a brief summary of Pragmatic Theories.
Think of Pragmatic Theories as the rulebook for human conversation.
- Gricean Theory: Imagine a set of unwritten social rules, like "be helpful," "be truthful," and "don't be confusing." If someone breaks these rules on purpose, they are usually trying to say something else.
- Relevance Theory: This is the idea that humans always try to get the most "bang for their buck" in a conversation. If someone says something that takes a lot of effort to understand, it must be because the answer is very important.
The researchers told the AI: "Before you answer, pretend you are a linguist. Use these rulebooks to figure out what the person really means."
The Experiment: A Test of Hidden Meanings
The team tested this on a dataset called PRAGMEGA, which is like a giant exam of tricky conversations. The questions covered things like:
- Irony: Saying the opposite of what you mean.
- Indirect Speech: Asking "Is it cold in here?" when you actually want someone to close the window.
- Deceits: Lying politely to save face.
They tested this on several different AI models, from open-source ones to powerful commercial ones (like GPT-4o).
The Results: The Cheat Sheet Works!
The results were like giving a student a study guide right before a test:
- Better Scores: When the AI used the "Pragmatic Theory" cheat sheet, it got significantly more questions right (up to 9.6% better) compared to just being told to "think step-by-step."
- Human-Level Performance: In some cases, the AI using these theories performed as well as, or even better than, actual humans on these tricky tests.
- The "Name Drop" Effect: Even if the researchers didn't explain the theories in detail, just mentioning the names "Gricean Theory" or "Relevance Theory" in the prompt helped the AI perform slightly better. It's as if just hearing the name of the rulebook reminded the AI of the rules it had already learned.
What Didn't Work?
The researchers also tried giving the AI "fake" rulebooks (like a made-up theory about how physical distance changes meaning) or rulebooks about totally unrelated topics (like computer math). These didn't help; in fact, they sometimes made the AI worse. This proves that the improvement came from the actual rules of human conversation, not just from making the AI think longer.
The Bottom Line
This paper shows that AI doesn't necessarily need to be retrained or given more data to understand human nuance. Instead, we can simply remind it of the social rules of conversation that it likely already knows but forgets to use. By handing the AI a "rulebook" for implied meanings, we help it become a better listener and a more human-like conversational partner.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.