Abstract
Current Large Language Models (LLMs) typically operate in a turn-based, "half-duplex" mode, requiring users to wait for a full response before providing further input. This paper introduces a duplex model framework that enables LLMs to listen and process information while simultaneously generating responses. By employing a Time-Division-Multiplexing (TDM) strategy and fine-tuning on a specialized dataset, the researchers developed an AI capable of handling interruptions, topic shifts, and back-channel feedback, significantly improving human-likeness and responsiveness without compromising reasoning capabilities.
Introduction: The Half-Duplex Bottleneck
Despite the impressive reasoning capabilities of modern LLMs, human interaction with these systems often feels artificial. This stems from their turn-based nature: the system waits for a complete user input before encoding, and once generation begins, the user is effectively locked out. Real-world human conversation is fluid, involving interruptions and real-time adjustments. To bridge this gap, the authors propose a duplex configuration where the model can process incoming information while formulating or delivering a response.
Methodology: Time-Division-Multiplexing
The core of the proposed framework is a Time-Division-Multiplexing (TDM) encoding-decoding strategy. Rather than processing full sentences, the interaction is divided into discrete "time slices" (approximately 2 seconds or 4-6 words).
Key technical innovations include:
- Incremental Processing: Input slices are processed as they arrive, allowing for pseudo-simultaneous generation.
- The
<idle>Token: A specialized token that allows the model to remain silent while "listening" for more context. - Dynamic Halting: The model can immediately halt its current sequence if a new user query arrives, integrating the new information into a revised response.
The researchers implemented this framework using MiniCPM-duplex, a 2.4B parameter model, demonstrating that duplex logic is effective even for lightweight architectures.
Data: The Duplex-UltraChat Dataset
To train the model on non-linear interactions, the researchers created Duplex-UltraChat, a dataset comprising over 4.8 million dialogues. This dataset specifically targets six interaction categories that challenge traditional turn-based models: Basic flow, Topic Interweaving, Generation Termination, Regeneration (mid-response redo), Dialogue Reset, and Back on Topic (handling side questions).
Key Insights and Results
The duplex model demonstrates several advantages over traditional baselines:
- Enhanced Human-Likeness: Human evaluators rated the duplex model significantly higher in responsiveness (6.21 vs. 3.43) and human-likeness (4.00 vs. 2.79) on a 7-point scale.
- Cognitive Mimicry: By updating internal states (KV caches) incrementally, the model emulates human cognitive processes, leading to faster perceived responsiveness.
- Performance Stability: Crucially, the segmentation of inputs did not degrade general intelligence. The model maintained competitive scores on standard benchmarks like MMLU (53.76 vs. 53.45 for the baseline).
- User Preference: In win-rate comparisons, users preferred the duplex model in over 80% of cases due to its more immediate and concise interaction style.
Limitations and Future Directions
While a significant advancement, several challenges remain. The current implementation is "pseudo-duplex," alternating rapidly between encoding and decoding rather than true parallel processing. Additionally, frequent slice-based processing can deplete the context window more quickly. A major hurdle is the integration with Text-to-Speech (TTS) systems; current engines are optimized for full sentences and may produce choppy audio when fed chunked text. Future work will focus on streaming-native TTS and developing proactive interaction capabilities where the model can actively initiate or steer conversations.
Summary updated