The Goldilocks of Pragmatic Understanding: Fine-Tuning Strategy Matters for Implicature Resolution by LLMs

Laura Ruis, Akbir Khan, Stella Biderman, Sara Hooker, Tim Rocktäschel, Edward Grefenstette

TL;DR

While Large Language Models (LLMs) are incredibly fluent, they often struggle with pragmatics—the ability to interpret language in context. This paper reveals that most state-of-the-art models fail at resolving simple conversational implicatures, but a specific fine-tuning strategy—example-level instruction tuning—is the "Goldilocks" approach that significantly boosts performance, even allowing models like GPT-4 to reach human-level understanding.

What Problem Does This Paper Address?

When a friend asks, "Can you come to my party?" and you respond, "I have to work," they instantly understand that you are saying "No." This is a conversational implicature: a meaning that goes beyond the literal words used. Humans resolve these effortlessly using context and world knowledge.

Despite their impressive capabilities, LLMs are primarily evaluated on semantic consistency and fluency, often ignoring this crucial aspect of communication. If an LLM can't "read between the lines," it remains a sophisticated parrot rather than a truly useful conversational agent. The authors set out to quantify this gap and investigate which training strategies actually help models navigate contextual common sense.

Methods

The researchers designed a simple but effective evaluation protocol based on likelihood ranking. For any given conversational exchange, they created two versions:

  1. Coherent: The response is followed by its correct pragmatic meaning (e.g., "...which means no").
  2. Incoherent: The response is followed by the opposite meaning (e.g., "...which means yes").

A model "resolves" the implicature if it assigns a higher probability to the coherent text than the incoherent one.

Figure 1: A schematic depiction of the protocol we propose to evaluate whether language models can resolve implicatures. Each example in the test set gets wrapped in templates and transformed into an incoherent example by swapping “yes” and “no”. The model is said to resolve the implicature if it assigns a higher likelihood to the coherent text than the incoherent text.

They evaluated four categories of models:

  • Base models: Large-scale pre-trained models (e.g., OPT, GPT-3).
  • Dialogue FT: Models fine-tuned specifically on conversational data (e.g., BlenderBot).
  • Benchmark IT: Models fine-tuned on NLP benchmarks with a single instruction per dataset (e.g., Flan-T5).
  • Example IT: Models fine-tuned on tasks where every single example has a unique natural language instruction (e.g., InstructGPT, Cohere-command).

Datasets

The study utilized a public dataset of conversational implicatures curated by George and Mamidi (2020), consisting of 718 binary (yes/no) implicature tuples. They used 600 for testing and 118 for a development set to facilitate few-shot prompting. To establish a high-quality baseline, the authors also conducted a human study with 20 native English speakers.

Key Insights and Ideas

  • Pre-training is not enough: Simply scaling up a model through next-token prediction on massive datasets doesn't automatically grant it pragmatic understanding. Most base models performed only slightly better than random guessing.
  • The "Goldilocks" Strategy: The most striking finding is that example-level instruction tuning is the key. Models in this category outperformed all others by a wide margin. The authors hypothesize that the extreme diversity of tasks presented during this type of fine-tuning forces the model to learn deeper underlying structures of language use.
  • Scaling matters differently: While base models show some improvement with size, "Example IT" models exhibit much steeper scaling curves. This suggests that with the right fine-tuning, we can achieve human-level pragmatics at a much smaller parameter count than would be required by raw pre-training.
  • Reasoning helps: For the top-tier models, Chain-of-Thought (CoT) prompting—asking the model to "think step-by-step"—provided the final boost needed to match human performance.

Key Results

  • The Human Baseline: Average human performance was 86.2%, with the best individual reaching 92%.
  • Model Performance: Most models hovered around 60% accuracy (random chance is 50%).
  • The Winner: GPT-4, when combined with 5-shot Chain-of-Thought prompting, achieved 86.5%, effectively reaching the average human level.
  • Priming vs. Learning: For some models like Cohere-command-52b, performance jumped from ~60% (zero-shot) to ~73% with just a single example. The authors found that even "random labels" in the prompt didn't degrade this performance, suggesting the few-shot examples primarily serve to prime the model on the format of the task rather than teaching it pragmatics on the fly.
Figure 2: The few-shot accuracy for the best model of each class (e.g. the best performing model in the class Cohere-command is the 52b model, whereas the best model in the class OPT is the 13b model). The bars show the group means. Models fine-tuned on example-level instructions perform better than most other models, especially for k > 0. For all models there is a significant gap between best accuracy and human accuracy (which is 86.2%). * means size unknown.
Figure 3: Scaling results for the model classes of which we know the number of non-embedding parameters. The error bars show standard deviation over prompt templates. Cohere’s command models instruction-tuned at the example-level perform better than all other models. For all models there is still a significant gap between best accuracy and human accuracy.

Limitations and Future Work

The authors acknowledge several hurdles:

  • Binary Constraints: The study focused on simple "yes/no" implicatures. Real-world language often involves much more complex, multi-propositional inferences (e.g., "Here's the key to my office" implying "Yes, you can use my stapler, it's in my office, and the door is currently locked").
  • Black Box Models: Many of the best-performing models (OpenAI, Cohere) are behind proprietary APIs. This limits reproducibility and makes it difficult to pinpoint exactly which training data or architectural features are driving the results.
  • Stochasticity: API-based models can show slight variations in results over time, though the authors tested for this and found the impact to be minimal.

Future research should look toward more complex, non-binary benchmarks and controlled "A/B testing" of fine-tuning data diversity to further isolate why example-level instructions are so effective.

Summary updated

BibTeX
@inproceedings{ruis2023goldilocks,
  author = {Laura Ruis and Akbir Khan and Stella Biderman and Sara Hooker and Tim Rocktäschel and Edward Grefenstette},
  title = {{The Goldilocks of Pragmatic Understanding: Fine-Tuning Strategy Matters for Implicature Resolution by LLMs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=5bWW9Eop7l},
}
Figure