Beyond Turn-Based Interfaces: Synchronous LLMs as Full-Duplex Dialogue Agents

Bandhav Veluri, Benjamin N. Peloquin, Bokai Yu, Hongyu Gong, Shyamnath GollakotaEMNLP 2024

Abstract

Most current voice assistants operate in a "half-duplex" mode, waiting for a user to finish speaking before generating a response. This creates an unnatural conversational flow. We present SyncLLM, a framework that transforms standard Large Language Models (LLMs) into full-duplex agents capable of simultaneous listening and speaking. By utilizing periodic synchronization tokens and a latency-tolerant architecture, SyncLLM handles interruptions and backchanneling in real-time. Evaluations show significant improvements in dialogue meaningfulness and timing compared to existing speech-only baselines.

Introduction

Human conversation is inherently fluid, characterized by overlaps, interruptions, and immediate feedback (backchanneling). In contrast, modern AI assistants are constrained by a strict turn-taking paradigm: the system detects a pause, processes the input, and then responds. This "half-duplex" limitation stems from LLMs being sequence-based rather than time-based, a lack of large-scale full-duplex training data, and the challenges of internet latency. SyncLLM addresses these hurdles by integrating a temporal "metronome" directly into the LLM's vocabulary.

Methodology: SyncLLM Architecture

SyncLLM is built upon the Llama3-8b architecture, modified to perceive and generate speech in a time-synchronized manner. The core innovation lies in the use of Synchronization Tokens ([S0] and [S1]) injected at fixed 160ms intervals. These tokens provide the model with an internal sense of "wall-clock" time, allowing it to align its output with the user's ongoing speech.

The SyncLLM architecture showing the interaction between the LLM, vocoder, tokenizer, and the user across synchronized chunks.

To manage network latency (typically ~240ms), the model employs a "latency-tolerant" strategy. It predicts the user's immediate future speech (an "estimated user chunk") and uses this prediction to generate its own next segment of audio. This ensures that the agent's response remains synchronized with the real-world timeline despite transmission delays.

Data Representation and Deduplication

Speech is represented using discrete HuBERT units. To maintain the semantic density of the input, SyncLLM uses a deduplication strategy. Long sequences of repeated units (common in silence or steady sounds) are compressed. During synthesis, the synchronization tokens act as anchors to "re-inflate" the timing, ensuring the generated speech matches the intended duration.

Comparison of original, deduplicated, and interpolated token streams, illustrating how synchronization tokens maintain timing.

Training and Datasets

The model undergoes a three-stage training process to bridge the gap between text-based reasoning and real-time speech interaction:

  1. Turn-based Alignment: Training on 193k hours of text-to-speech data to align text and speech representations.
  2. Full-duplex Synthetic Training: Training on 20k hours of synthetic dialogue following strict timing formats.
  3. Real-world Refinement: Fine-tuning on 2k hours of the Fisher Corpus (real telephone conversations) to capture natural nuances like backchanneling.

Evaluation was also performed on the CANDOR dataset to test out-of-distribution (OOD) generalization.

Key Results

SyncLLM demonstrates a marked improvement over previous state-of-the-art models like dGSLM:

  • Meaningfulness: Human evaluations (Mean Opinion Score) rated SyncLLM +2.2 points higher in dialogue coherence.
  • Temporal Accuracy: The model's turn-taking behavior (pauses and overlaps) closely mirrors human patterns, even on OOD data.
  • Semantic Stability: Perplexity scores remained low and stable over long durations, whereas previous models often drifted into incoherence.
  • Latency Resilience: The system maintains high performance even with simulated internet latencies of up to 240ms.

Limitations and Future Work

While SyncLLM represents a significant step toward natural dialogue, several areas for improvement remain. The current use of a HiFi-GAN vocoder limits the expressiveness of the output. Future iterations could incorporate more advanced speech synthesis to capture emotional prosody and non-verbal cues like laughter. Additionally, scaling the context window and implementing robust safety measures, such as speech watermarking, are essential for real-world deployment.

Summary updated

BibTeX
@inproceedings{veluri2024beyond,
  author = {Bandhav Veluri and Benjamin N. Peloquin and Bokai Yu and Hongyu Gong and Shyamnath Gollakota},
  title = {{Beyond Turn-Based Interfaces: Synchronous LLMs as Full-Duplex Dialogue Agents}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.1192},
}
Figure