Know your audience: specializing grounded language models with the game of Dixit

Aaditya K. Singh, David Ding, Andrew Saxe, Felix Hill, Andrew K. Lampinen · DOI

TL;DR

This paper introduces a novel method for training language models to adapt their communication style based on the specific "audience" they are addressing, inspired by the game Dixit. By rewarding a speaker model for effectively communicating with one listener while being obscure to another, they demonstrate that models can learn to specialize their language without explicit supervision, leading to more nuanced and context-aware communication.

What Problem Does This Paper Address?

Current large language models (LLMs) and vision-language models, while impressive at generating human-like text and describing images, often lack the ability to adapt their communication to specific conversational partners or contexts. Humans, on the other hand, are adept at tailoring their language based on shared knowledge and the listener's perspective. This paper addresses the challenge of imbuing AI models with this crucial communicative skill, moving beyond generic descriptions to context-specific, audience-aware language generation. The authors frame this as a "listener subtraction" problem: teaching a speaker to leverage differences in what its listeners know or perceive.

Methods

The core of the proposed method is a multi-agent image reference game inspired by Dixit. A "speaker" model is tasked with describing a target image so that one "listener" model can identify it among distractors, but a second "listener" model cannot. The speaker is rewarded based on the difference in the listeners' accuracies.

Key methodological components include:

  • Dixit-inspired Reward: The "some but not all" reward structure is central, forcing the speaker to exploit differences between listeners rather than simply maximizing accuracy for all.
  • Listener Subtraction: The speaker learns to identify and cue to the specific differences between the two listeners' perceptual capabilities.
  • Adapter Finetuning: Instead of finetuning the entire large language model, only a small "adapter" module is trained. This module sits between a frozen CLIP vision encoder and a frozen LLM, helping to prevent language drift and maintain grounding.
  • Perceptual Manipulations: To create listeners with differing "personalities," the authors manipulate the input images for one listener using transformations like cropping, blurring, or grayscale conversion. This allows for controlled experiments on how the speaker adapts.
  • Unsupervised Specialization: The entire process is unsupervised, relying solely on the reward signal from the listener accuracies, not on explicit labels for how to specialize.

Datasets

The paper utilizes several datasets:

  • Conceptual Captions: Used for pre-training the speaker model's basic captioning abilities.
  • Fashion-MNIST (FMNIST): A grayscale dataset of clothing items.
  • Colored Fashion-MNIST (cFMNIST): FMNIST images with random colors applied.
  • Tiled Colored Fashion-MNIST (tcFMNIST): cFMNIST images tiled to create specific spatial challenges.
  • COCO: A larger, more realistic dataset of everyday objects and scenes, used for testing generalization.

The authors create transformed versions of FMNIST (e.g., grayscale, cropped) to simulate different listener perceptions.

Key Insights and Ideas

  • The Power of Contrastive Rewards: The Dixit-inspired "some but not all" reward is highly effective for driving specialization. It forces the model to learn subtle distinctions rather than just general accuracy.
  • Listener Subtraction is Learnable: Models can indeed learn to exploit perceptual differences between listeners, leading to distinct communication strategies.
  • Adapter-Only Finetuning is Sufficient: Training only a small adapter module is enough to achieve significant specialization without sacrificing language quality or causing drift. This is crucial for efficiency and stability.
  • Zero-Shot Transfer is Possible: Specialization learned on simpler datasets can transfer to more complex, real-world datasets like COCO, suggesting a generalizable learning mechanism.
  • Prompting is Brittle: Explicit prompting, a common method for controlling LLM behavior, is shown to be less robust and effective than the proposed unsupervised specialization method.

Key Results

  • Quantifiable Specialization: The speaker models demonstrably adapt their language based on listener transformations. For example, when one listener sees grayscale images, the speaker shifts to using color words more frequently.
  • Improved Listener Accuracy Differences: The training successfully creates a significant gap in accuracy between the two listeners, indicating effective specialization.
  • Minimal Language Drift: Despite specialization, the generated captions largely remain grounded and semantically coherent, as assessed by various metrics and qualitative analysis.
  • Zero-Shot Transfer Success: A speaker trained on cFMNIST with a grayscale listener showed significant improvement in color usage on COCO images compared to baseline models, performing on par with expert prompting.
  • Non-Contrastive Reward Limitations: While training with multiple listeners without a contrastive reward showed some specialization, it often led to a loss of image relevance or less diverse language.

Limitations and Future Work

  • Two Listeners Only: The current setup is limited to two listeners for ease of quantitative assessment. Extending to more listeners presents additional challenges.
  • Finding Listener Differences: The current work relies on artificially creating listener differences through image transformations. Future work could explore how to find or learn these differences in more naturalistic settings.
  • Human Interaction: The current experiments are simulated. Future work could involve human experiments to assess language quality and adaptation from a human perspective.
  • Conceptual Differences: The current specialization focuses on perceptual differences. Extending this to conceptual differences (e.g., shared knowledge about specific topics) would be a significant step towards playing the full Dixit game.
  • Few-Shot Adaptation: Human adaptation is rapid. Future work could explore combining this reward-driven approach with few-shot learning techniques to enable faster adaptation.

Summary updated

BibTeX
@inproceedings{singh2023know,
  author = {Aaditya K. Singh and David Ding and Andrew Saxe and Felix Hill and Andrew K. Lampinen},
  title = {{Know your audience: specializing grounded language models with the game of Dixit}},
  booktitle = {EACL},
  year = {2023},
  doi = {10.18653/v1/2023.eacl-main.279},
}
Figure