CB2: Collaborative Natural Language Interaction Research Platform

Jacob Sharf, Mustafa Omer Gul, Yoav Artzi

Abstract

CB2 is an open-source research platform designed to study how humans and AI agents collaborate using natural language in a shared 3D environment. By providing a complete infrastructure—from game logic and procedural map generation to crowdsourcing pipelines—it enables researchers to move beyond simple instruction following toward true multi-agent cooperation. Unlike traditional static benchmarks, CB2 facilitates dynamic, two-way interaction between agents with asymmetric information and capabilities.

Introduction

Most research in grounded language learning focuses on a single agent following a static command. However, real-world collaboration is dynamic: it involves two-way interaction, asymmetric information, and the ability to adapt when things go wrong. Building a platform to study these interactions is a massive engineering hurdle, requiring 3D environment design, real-time communication orchestration, and human participant management. CB2 addresses this by providing a "batteries-included" platform that lowers the barrier to entry for studying collaborative AI.

Methods

CB2 is a re-implementation and extension of the CEREALBAR scenario. It features a 3D environment where two agents—a Leader and a Follower—must work together to collect sets of cards.

  • Asymmetric Roles: The Leader has a complete overhead view of the map but a limited number of moves. The Follower has a first-person perspective with a limited field of view but can move much further per turn. This "ability gap" makes natural language coordination essential for success.
  • Procedural Environments: Maps are generated with semantic biases, such as clustering houses into towns and connecting landmarks with paths. This is designed to elicit more natural spatial language from human players.
  • System Architecture: The platform uses a "thin" Unity-based web client for human players and a Python API for AI agents. The game logic is orchestrated on a Python server, allowing researchers to modify the game rules without touching complex game engine code.
  • Crowdsourcing Pipeline: The authors developed a tiered onboarding process for workers (e.g., on Amazon Mechanical Turk), moving them from simple tutorials to qualifier quizzes before they can play as Leaders.
The CB2 platform interface, showing the Leader's overhead view (a), the Follower's first-person perspective (h), and various environment landmarks.

Datasets

The researchers collected and released a new corpus of human-human interactions:

  • Human-Human Dataset: 185 games containing 3,439 natural language instructions.
  • Baseline Evaluation: They also conducted side-by-side deployments comparing human-human pairs with human-model pairs (187 and 188 games, respectively).

Key Insights and Ideas

  • Collaboration as Error Correction: Unlike standard instruction-following benchmarks, CB2 allows the Leader to cancel or modify instructions in real-time. If a bot starts moving toward a lake instead of a card, the human can intervene, creating a feedback loop that is vital for learning in the wild.
  • The Necessity of Language: The platform proves that collaboration is driven by necessity. Because the Leader knows what to do but can't do it efficiently, and the Follower can do it but doesn't know what the goal is, language becomes the bridge that solves the task.
  • Linguistic Adaptation: A fascinating finding was that human Leaders instinctively simplify their language when they realize they are talking to a bot. They use smaller vocabularies, shorter sentences, and strip away social exclamations like "oops" or "lol," which are common in human-human play.
Close-up views of interaction elements, including cards and character models within the 3D environment.

Key Results

  • Performance Gap: Human-human pairs achieved a mean score of 6.69 per game, while human-model pairs (using a baseline Decision Transformer model) achieved 3.15. While the model is less effective, the result demonstrates that the platform can successfully host and evaluate live human-AI collaboration.
  • Instruction Length: Instructions in human-human games were longer (avg. 11.73 words) compared to those given to models (avg. 9.62 words), confirming that humans adapt their communication strategy based on their partner's perceived intelligence.
  • Scalability: The platform successfully managed hundreds of concurrent interactions and provided tools for real-time data management and replay, proving its utility for large-scale studies.

Limitations and Future Work

  • Environment Complexity: While improved over previous versions, the 3D world is still relatively restricted. Future work could involve more complex physics or more diverse task types.
  • Continual Learning: The authors highlight that the "within-interaction signals" (like a human canceling a bot's move) are a goldmine for continual learning, but their current baseline model does not yet fully exploit this for real-time adaptation.
  • Language Drift: In agent-agent scenarios, there is a risk of "language drift" where agents develop their own non-human-readable code. The authors suggest that alternating between agent-agent and agent-human training could mitigate this.

Summary updated

BibTeX
@inproceedings{sharf2023cb,
  author = {Jacob Sharf and Mustafa Omer Gul and Yoav Artzi},
  title = {{CB2: Collaborative Natural Language Interaction Research Platform}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.acl-demo.39},
}
Figure