Define, Evaluate, and Improve Task-Oriented Cognitive Capabilities for Instruction Generation Models

Lingjun Zhao, Khanh Xuan Nguyen, Hal Daumé Iii · DOI

Abstract

Recent work studies the cognitive capabilities of language models through psychological tests designed for humans. While these studies are helpful for understanding the general capabilities of these models, there is no guarantee that a model possessing sufficient capabilities to pass those tests would actually use those capabilities in performing real-life tasks. In this work, we formulate task-oriented cognitive capabilities, which are human-like cognitive capabilities that language models leverage to perform tasks. These capabilities are (i) the ability to quickly generate good candidate utterances (the search capability) (ii) the ability to predict how a listener interprets those utterances and choose the most appropriate one (the pragmatic capability). We design an evaluation scheme for comparing these capabilities of a language model with those of a human. Applying this scheme to examine various models in a navigation instruction generation problem, we find that their pragmatic capability is severely lacking. This insight leads us to augment them with better models of the listener and obtain a significant boost of 11% in success rate in guiding real humans. Our work advocates for having a principled procedure for aligning language models with humans that involves (i) formulating task-oriented capabilities, (ii) devising a method to quantify their deficiency, and (iii) iteratively improving them.

Introduction

While Large Language Models (LLMs) have shown impressive performance on general psychological benchmarks like Theory of Mind (ToM) tests, there remains a significant gap between passing a logic puzzle and applying that reasoning in real-world tasks. For instance, a model might generate a grammatically correct instruction that is nonetheless ambiguous to a human listener. This paper addresses the need for a principled way to measure and improve task-oriented cognitive capabilities—the specific skills models use to perform downstream tasks effectively.

The Bounded Pragmatic Speaker Framework

To bridge this gap, the authors propose the Bounded Pragmatic Speaker framework. This framework decomposes the process of generating instructions into two distinct stages:

  1. Search Capability: A "Base Speaker" ($S_{base}$) generates a set of candidate instructions for a given path.
  2. Pragmatic Capability: A "Theory-of-Mind (ToM) Listener" ($L_{ToM}$) evaluates these candidates by simulating how a human would interpret them. The speaker then selects the instruction that maximizes the likelihood of the listener reaching the correct goal.
The Bounded Pragmatic Speaker framework decomposes instruction generation into search and pragmatic capabilities.

This decomposition allows researchers to isolate whether a model's failure stems from an inability to generate good options (Search) or an inability to choose the best one for a human audience (Pragmatics).

Quantifying Cognitive Deficiencies

The study utilizes the Room-to-Room (R2R) navigation benchmark to evaluate these capabilities. To quantify deficiencies, the authors introduce the "Prospective Performance Gain" (PPG) metric, comparing standard models against two theoretical oracles:

  • Human-level Search: The model is provided with actual human-written instructions as part of its candidate set.
  • Human-level Pragmatics: Real human evaluators rank the model's generated candidates.

By comparing the performance gains from these oracles, the researchers can pinpoint where current AI architectures are most lacking.

Results: The Pragmatic Bottleneck

The evaluation reveals a striking insight: current models are relatively proficient at "Search" but severely deficient in "Pragmatics." As shown in the results, providing models with human-level search capabilities yields modest improvements. In contrast, providing human-level pragmatic reasoning—the ability to accurately predict human interpretation—nearly doubles performance, often reaching or exceeding human-level benchmarks.

Comparison of performance gains when augmenting models with human-level search vs. human-level pragmatic (ToM) reasoning.

Key findings include:

  • Pragmatic Gap: The bottleneck in instruction generation is social reasoning, not vocabulary or fluency. Giving models human-level ToM reasoning led to a performance boost of up to 35.2 points in NDTW.
  • Ensemble Benefits: Using an ensemble of multiple listener models to score candidates acts as a proxy for human variance, leading to an 11% absolute increase in success rates with real human users.
  • Architecture Performance: Encoder-Decoder Transformers outperformed decoder-only models like GPT-2, likely due to better integration of visual and linguistic context.

Conclusion and Future Work

This research highlights that aligning AI with humans requires more than just better language modeling; it requires robust models of human cognition. While the Bounded Pragmatic Speaker framework significantly reduces the performance gap, it currently relies on simulators to "test-run" instructions. Future work should focus on developing "robust ToM models" that can generalize across tasks without requiring constant human-in-the-loop verification. By focusing on task-oriented capabilities, we can move toward AI that doesn't just speak like a human, but understands how to be understood by one.

Summary updated

BibTeX
@inproceedings{zhao2023define,
  author = {Lingjun Zhao and Khanh Xuan Nguyen and Hal Daumé III},
  title = {{Define, Evaluate, and Improve Task-Oriented Cognitive Capabilities for Instruction Generation Models}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.227},
}
Figure