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

Lingjun Zhao, Khanh Nguyen, Hal Daumé Iii

TL;DR

This paper introduces a framework to evaluate and improve "task-oriented cognitive capabilities" in language models, specifically separating the ability to generate text (search) from the ability to predict how a listener will interpret it (pragmatics). By identifying that current instruction-generation models excel at search but fail at pragmatics, the authors use an ensemble of simulated listeners to boost the success rate of AI-generated navigation instructions for real humans by 11%.

What Problem Does This Paper Address?

Recent trends evaluate the cognitive skills of Large Language Models (LLMs) using standard human psychological tests (like false-belief tests). However, the authors point out two major flaws with this approach: it requires prompt comprehension (tangling linguistic ability with reasoning), and passing a abstract test doesn't guarantee the model will actually apply that cognitive skill to a real-world downstream task.

To bridge this gap, the authors focus on task-oriented cognitive capabilities within the domain of navigation instruction generation. When an AI fails to give clear directions, is it because it can't think of the right words (a search deficiency), or because it can't accurately simulate how a human listener will interpret those words (a pragmatic deficiency)?

Methods

The authors model both humans and language models as a bounded pragmatic speaker framework.

Figure 1: We propose a framework called bounded prag- matic speaker which can characterize pragmatic reason- ing in both humans and language models (a). A bounded pragmatic speaker is composed of a base speaker Sbase, representing prior knowledge that helps generate instructions efficiently, and a theory-of-mind (ToM) lis- tener LToM, a hypothetical model of how the real listener interprets instructions. Viewing language models and humans through this unifying lens enables comparing their cognitive capabilities (b). To evaluate a capability of a model, we compare it with an oracle model which is identical except that the evaluated capability is at human level. The outcome of our evaluation can better inform the future direction for improving the model (c).

This architecture breaks instruction generation into two distinct steps:

  1. Base Speaker ($S_{base}$): Generates a set of candidate instructions based on general language knowledge (Search capability).
  2. Theory-of-Mind Listener ($L_{ToM}$): Evaluates and scores how well a listener would execute each candidate instruction (Pragmatic capability).

To evaluate where models fail, the authors design an evaluation scheme using "oracle" models where one capability is artificially raised to a human level. This allows them to calculate the Prospective Performance Gain (PPG) for both search and pragmatics.

To fix the pragmatic deficiency, they equip the speaker with an ensemble of instruction-following agents acting as the ToM listener. Standard listener models suffer from covariate shift because they are trained on clean human instructions but are forced to evaluate messy, AI-generated candidates at inference time. To alleviate this, the authors train an ensemble of 10 calibrated listeners (e.g., EnvDrop-CLIP or VLN-BERT) and use a soft trajectory-similarity metric (Normalized Dynamic Time Warping, or NDTW) to score candidates.

Datasets

  • Room-to-Room (R2R): A language-based navigation dataset built inside the photo-realistic Matterport3D indoor simulator environment.
  • Human Evaluation Dataset: The authors recruited 213 human evaluators via Amazon Mechanical Turk to follow AI-generated instructions in a web-based navigation interface, creating a validation dataset of 1,200 annotated instructions.

Key Insights and Ideas

  • Search is Fine, Pragmatics is Broken: Current instruction models are surprisingly good at generating relevant candidate instructions. In fact, when paired with an oracle human evaluator, the models' search capabilities actually match or slightly exceed human baselines. The bottleneck is entirely pragmatic: AI models cannot accurately predict how a human will interpret their words.
  • The Covariate Shift Trap: You cannot simply plug a standard instruction-following model in as a ToM listener. Because these models are trained exclusively on human text, their judgment falters when forced to rank AI-generated text, which may contain subtle stylistic differences or grammatical errors. Ensembling multiple models with randomized seeds helps calibrate this uncertainty.

Key Results

  • Pragmatics Double Performance: Giving models human-level pragmatic capability nearly doubled their performance metrics, whereas giving them human-level search capability only provided a minor (~9.4%) boost.
Figure 4: Performance (in NDTW) of the speakers and their human-augmented versions. Possessing human- level pragmatic capability improves performance of the speakers, showing that their original pragmatic capa- bility is highly deficient compared to that of a human.
  • Ensemble Gains: Augmenting a baseline EncDec-Transformer speaker with an ensemble of 10 EnvDrop-CLIP listeners improved its navigation score by +7.9 NDTW points.
  • Real Human Success: In live testing with human annotators, the pragmatic-augmented models achieved an 11% absolute boost in success rate over the baseline models when guiding real humans through the environments.

Limitations and Future Work

  • Hypothetical Cognitive Models: The framework relies on the assumption that human communication perfectly mirrors a bounded pragmatic speaker utilizing Monte-Carlo sampling, an active hypothesis in cognitive science that still requires broader validation.
  • Simulator Dependency: The proposed method assumes access to an interactive environment simulator to execute and score trajectories, which can be incredibly costly or impossible to build for non-navigation tasks.
  • Interpretation Variance: Each instruction in the human evaluation was only tested by a single human, meaning the study does not account for the variance in how different individuals might interpret the same piece of text.

Summary updated

BibTeX
@inproceedings{zhao2023define,
  author = {Lingjun Zhao and Khanh 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