Speaking the Language of Your Listener: Audience-Aware Adaptation via Plug-and-Play Theory of Mind

Ece Takmaz, Nicolo' Brandizzi, Mario Giulianelli, Sandro Pezzelle, Raquel Fernández

TL;DR

Researchers have developed a "Plug-and-Play Theory of Mind" mechanism that allows AI agents to adapt their language to a listener's specific knowledge level on the fly. By using a simulator to predict a listener's reaction and backpropagating that feedback to update the speaker's internal state—without retraining the underlying model—agents can successfully bridge knowledge gaps, such as explaining a "food" image to a listener who only understands "indoor" objects.

What Problem Does This Paper Address?

Effective communication requires audience adaptation. Humans do this instinctively: a physicist explains atomic models differently to a colleague than to a child. In AI, however, most models assume a "shared" world where both speaker and listener have identical training and vocabulary.

The authors tackle the challenge of knowledge asymmetry. How can a highly knowledgeable "Expert" agent communicate with a "Layman" agent that has limited semantic experience? Specifically, they look at referential games where a speaker must describe a target image so a listener can pick it out from a group of distractors. If the target is a "green salad" but the listener only knows about "indoor" furniture, a standard description will fail. The goal is to enable the speaker to reason about the listener's mental state—a socio-cognitive ability known as Theory of Mind (ToM).

Methods

The authors propose a modular, simulation-based approach inspired by psycholinguistic theories of "forward prediction."

  1. The Architecture: The system consists of a frozen generative language model (the Speaker), a frozen discriminative model (the Listener), and a Simulator.
  2. Theory of Mind via Simulation: The Simulator is trained to mimic a specific listener type. It takes the Speaker's planned utterance and predicts which image the Listener would choose.
  3. Plug-and-Play Adaptation: Instead of fine-tuning the Speaker's entire neural network (which is slow and risks "catastrophic forgetting"), they use a Plug-and-Play Language Model (PPLM) approach. The Simulator's prediction error is backpropagated to update only the Speaker's initial hidden state ($h_0$).
  4. The Loop: The Speaker generates a draft, the Simulator "imagines" the listener's response, the hidden state is updated to fix errors, and a new, adapted utterance is generated.
Figure 1: An illustration of our knowledge-asymmetric setup where an expert Speaker interacts with a less knowledgeable Listener. The Speaker tailors its ut- terance about an image from the food domain for a Listener who only knows about the indoor domain. The speaker’s Simulator module inspired by Theory of Mind guides this adaptation. The adapted utterance exploits indoor terms (‘bookshelves’) without referring to food.

Datasets

The study uses the PhotoBook (PB) dataset, which contains real-life images from MS COCO used in human-to-human collaborative dialogues. The researchers clustered these into five distinct macro-domains to create controlled knowledge gaps:

  • Appliances, Food, Indoor, Outdoor, and Vehicles.

By training listeners only on specific domains, they created "experts" in one area who were "novices" in others.

Table 1: Statistics of the domain-specific datasets showing minimal lexical overlap between categories.

Key Insights and Ideas

  • Latent State Transformation: Probing the Speaker's hidden state ($h_0$) revealed a fascinating shift. As adaptation steps progressed, the hidden state "forgot" information about the target image's actual domain and began to encode information about the listener's domain.
Figure 2: Probing accuracy for image domain and lis- tener domain predictions over adaptation steps. The 0-th step corresponds to the non-adapted h0.
  • Vocabulary Expansion: Adaptation doesn't just simplify language; it diversifies it. The "type-utterance ratio" (a measure of vocabulary variety) increased significantly during the adaptation process, suggesting the model searches for creative ways to describe objects using the listener's known terms.
Figure 3: Type-utterance ratio across adaptation steps (type-token ratio in Fig. 6, App. E). Human gold utter- ances (ref) and non-adapted utterances (0) also shown.
  • Simplicity is Key: Successful adapted utterances tended to use words with a lower Age of Acquisition (words learned earlier in childhood), effectively "dumbing down" the jargon to ensure communicative success.

Key Results

The "Audience-Aware" adaptation significantly outperformed both the baseline (no adaptation) and a "Self-Aware" model (which only predicts how a generic version of itself would respond).

  • Out-of-Domain (OOD) Success: When the speaker referred to a domain unknown to the listener, accuracy jumped from 19.06% (near random) to 26.74%.
  • In-Domain (IND) Boost: Even when both agents knew the domain, adaptation improved accuracy from 52.30% to 71.77%, showing that tailoring language helps even in familiar contexts.
Table 3: Average resolution accuracy across the three settings.

Qualitatively, the model showed impressive flexibility. For a "food" target described to an "indoor" listener, the model shifted from "green salad" to "must bookshelves in the salad?", successfully latching onto a background object the listener would recognize.

Limitations and Future Work

  • Fluency Trade-off: The authors noted that while adapted utterances were more successful, they were sometimes less fluent or "natural" to human ears. Future work could involve human feedback to maintain grammatical elegance.
  • Static Knowledge: The current model assumes the speaker knows the listener's type beforehand. A more realistic "online" version would allow the simulator to learn the listener's knowledge level dynamically through interaction.
  • Single Turn: The study focuses on a single turn of dialogue. Real-world adaptation is a collaborative, multi-turn process of mutual adjustment.

Summary updated

BibTeX
@inproceedings{takmaz2023speaking,
  author = {Ece Takmaz and Nicolo' Brandizzi and Mario Giulianelli and Sandro Pezzelle and Raquel Fernández},
  title = {{Speaking the Language of Your Listener: Audience-Aware Adaptation via Plug-and-Play Theory of Mind}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  url = {https://openreview.net/forum?id=LtR2jlvHfa7},
}
Figure