SpeechAgents: Human-Communication Simulation with Multi-Modal Multi-Agent Systems

Dong Zhang, Zhaowei Li, Pengyu Wang, Xin Zhang, Yaqian Zhou, Xipeng QiuarXiv 2024 · DOI

Introduction

SpeechAgents represents a significant advancement in multi-agent systems (MAS) by transitioning from text-only simulations to modeling human communication through speech signals. While Large Language Model (LLM) agents have successfully simulated human societies in textual environments, they often lack the prosody, emotional nuance, and rhythmic authenticity of real-world interaction. SpeechAgents addresses this by utilizing a unified multi-modal LLM and a novel "Think Before You Speak" reasoning strategy to generate human-like dialogues across diverse social scenarios.

The Problem: The Textual Blind Spot

Existing multi-agent simulations primarily communicate via text. When speech is introduced, it is typically through "cascaded" systems that stack Automatic Speech Recognition (ASR), a text-based LLM, and a Text-to-Speech (TTS) engine. This approach is prone to error propagation and a loss of emotional context because the central LLM does not inherently understand the speech modality; it merely processes transcripts. SpeechAgents aims to bridge this gap by enabling agents to "think" and "speak" within a unified multi-modal space.

Methodology

The architecture of SpeechAgents is built upon several technical pillars designed to foster authentic spoken communication:

  • Multi-Modal Brain: The system uses SpeechGPT as its core controller. By treating speech as a sequence of discrete units (similar to text tokens), the model can perceive and generate speech directly without intermediate transcription.
  • Speech Message Stream Bank: A shared repository of spoken utterances allows agents to "read" the history of a conversation and "write" their own responses, facilitating asynchronous multi-agent interaction.
  • Think Before You Speak: To maintain logical and emotional consistency, agents are prompted to generate internal textual "thoughts" regarding the scene and their specific role before outputting speech units. This Chain-of-Thought (CoT) approach is vital for complex social reasoning.
  • Multi-Agent Tuning (MAT) and Mix-Tuning: The model is fine-tuned on agent trajectories—sequences of inputs and outputs. To prevent catastrophic forgetting of general capabilities, the researchers employed Mix-Tuning, which balances agent-specific data with general instruction-following datasets.
The SpeechAgents architecture highlights the 'Think Before You Speak' mechanism and the flow from multi-modal input to vocoder output.

Key Insights and Scalability

A critical finding of the study was the necessity of the symbolic reasoning bridge. Ablation studies showed that removing the "Think Before You Speak" step caused agent performance to collapse, indicating that direct speech-to-speech mapping is currently too complex for models to handle without textual grounding.

Furthermore, SpeechAgents demonstrates remarkable scalability. Unlike many MAS frameworks that struggle with larger groups, this system maintains high dialogue quality and role consistency even when scaled to 25 concurrent agents. This robustness suggests the framework is well-suited for complex applications such as automated drama creation or large-scale social simulations.

Results and Performance

The system was evaluated using GPT-4 based on Consistency (alignment with roles/scenes) and Quality (fluency and emotion). SpeechAgents achieved a Consistency Score of 4.1 and a Quality Score of 3.8, outperforming cascaded baselines like Speech-ChatGPT.

Performance metrics (Consistency and Quality) remain stable as the number of agents scales from 5 to 25.

As shown in the performance analysis, the system's scores remain remarkably stable as the number of agents increases. This stability, combined with the model's ability to retain a high "General Ability" score (3.9), proves that the multi-modal tuning does not degrade the underlying LLM's core strengths.

Conclusion and Future Directions

SpeechAgents successfully demonstrates that a unified multi-modal approach to multi-agent systems can produce more authentic and scalable human-communication simulations than traditional cascaded methods. While currently focused on speech and text, future work may involve incorporating visual modalities—such as gestures and facial expressions—to further enhance the realism of these digital societies.

Summary updated

BibTeX
@misc{zhang2024speechagents,
  author = {Dong Zhang and Zhaowei Li and Pengyu Wang and Xin Zhang and Yaqian Zhou and Xipeng Qiu},
  title = {{SpeechAgents: Human-Communication Simulation with Multi-Modal Multi-Agent Systems}},
  year = {2024},
  eprint = {2401.03945},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.03945},
}
Figure