[Paper Review] Unified Pragmatic Models for Generating and Following Instructions
This paper proposes a unified pragmatic inference framework that enhances both instruction generation and instruction following in complex, sequential tasks by modeling speaker and listener reasoning about each other's intentions. By integrating learned base models with counterfactual reasoning—where the speaker anticipates listener interpretation and the listener infers speaker intent—the approach achieves state-of-the-art performance, with up to 46% absolute accuracy gains in instruction generation and up to 10% in interpretation across diverse domains like navigation, puzzles, and interactive tasks.
We show that explicit pragmatic inference aids in correctly generating and following natural language instructions for complex, sequential tasks. Our pragmatics-enabled models reason about why speakers produce certain instructions, and about how listeners will react upon hearing them. Like previous pragmatic models, we use learned base listener and speaker models to build a pragmatic speaker that uses the base listener to simulate the interpretation of candidate descriptions, and a pragmatic listener that reasons counterfactually about alternative descriptions. We extend these models to tasks with sequential structure. Evaluation of language generation and interpretation shows that pragmatic inference improves state-of-the-art listener models (at correctly interpreting human instructions) and speaker models (at producing instructions correctly interpreted by humans) in diverse settings.
Motivation & Objective
- To address the limitations of direct mapping between human-annotated instructions and action sequences by modeling pragmatic reasoning in instruction generation and interpretation.
- To extend explicit pragmatic inference—previously used in simple reference games—to complex, sequential, grounded tasks with structured world states and interdependent actions.
- To improve both instruction-following and instruction-generation performance by enabling agents to reason about each other’s intentions and potential misunderstandings.
- To demonstrate that pragmatic reasoning can produce instructions more robust to ambiguity than human-annotated data, even outperforming human-produced directions in some cases.
- To validate the effectiveness of a unified inference procedure that applies the same reasoning mechanism to both speaker and listener roles using shared base models.
Proposed method
- Leverages learned base speaker and listener models as foundational components for pragmatic inference.
- Constructs a pragmatic speaker by simulating listener interpretation of candidate instructions using the base listener model to select the most interpretable output.
- Constructs a pragmatic listener by performing counterfactual reasoning: evaluating whether alternative descriptions would have been more likely to produce the observed instruction.
- Applies a unified inference procedure where both speaker and listener use a shared model of the other agent’s behavior to select the most preferred output sequence.
- Employs model combination via reranking: candidate outputs are scored using both base models and combined via a pragmatic inference mechanism.
- Uses ensembles of base models (e.g., 10 base listeners and 10 base speakers) to improve robustness, with the rational model outperforming simple ensembles of the same size.
Experimental results
Research questions
- RQ1Can explicit pragmatic inference improve instruction generation in complex, sequential tasks beyond what base models achieve?
- RQ2Can pragmatic reasoning enhance instruction-following performance by enabling listeners to resolve ambiguity through counterfactual reasoning about speaker intent?
- RQ3Does a unified framework for pragmatic reasoning—applying the same inference mechanism to both speaker and listener—yield consistent improvements across diverse domains?
- RQ4To what extent can pragmatic models produce instructions that are more followable than human-annotated instructions, even when the latter are considered ground truth?
- RQ5How does the performance of a rational listener or speaker compare to simple ensembles of base models, and does the unified model combination offer advantages?
Key findings
- The pragmatic speaker model achieves up to 46% absolute accuracy gain in instruction generation across domains, significantly outperforming both base models and human-annotated instructions in the Tangrams domain.
- The pragmatic listener model improves interpretation accuracy by up to 10% compared to base models, enabling correct path selection even when multiple paths satisfy the literal instruction.
- In the SAIL navigation domain, the rational speaker’s instructions are followed with comparable accuracy to a prior state-of-the-art system (DBW), despite being generated via a unified pragmatic framework.
- The rational listener using 10 base listeners and 10 base speakers outperforms a simple ensemble of 20 base listeners, achieving 72.7% accuracy on the Scene domain compared to 71.9% for the ensemble.
- The rational speaker improves human-followability accuracy from 58.7% to 92.7% in the Tangrams domain, demonstrating that pragmatic reasoning can generate instructions superior to human-annotated ones.
- BLEU scores are found to be a poor indicator of followability, as high BLEU does not correlate with high instruction accuracy—highlighting the value of pragmatic reasoning over automatic metrics.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.