Abstract
Current AI alignment techniques are predominantly designed for text-based, turn-taking Large Language Models (LLMs). However, real-time human speech is "full-duplex," involving interruptions, backchanneling, and precise timing. This paper introduces a novel pipeline to align Moshi, an end-to-end speech-to-speech model, using real-world user interactions. By generating a large-scale preference dataset and adapting Direct Preference Optimization (DPO) for multimodal streams, the researchers significantly enhance the model's factuality, safety, and conversational naturalness.
Introduction: The Challenge of Full-Duplex Alignment
Traditional spoken dialogue systems often rely on "cascaded" architectures (Speech-to-Text -> LLM -> Text-to-Speech). While functional, these systems suffer from high latency and lose critical non-linguistic information like emotion and rhythm. End-to-end models like Moshi address these issues by operating directly on audio and text token streams in parallel.
As shown in the figure above, the "always-listening" nature of these models creates a unique alignment challenge: there are no explicit turn boundaries. Aligning such models requires optimizing not just what is said, but when it is said, ensuring the model handles interruptions and silences naturally.
The Alignment Pipeline
The proposed framework transitions from raw user interactions to an aligned model through a multi-stage pipeline.
- Data Collection: Raw, unconstrained multi-turn conversations were collected from a large user base.
- AI-in-the-Loop Annotation: To scale labeling, the researchers employed Mistral Large 2 as an LLM judge. The judge analyzed transcripts to identify "problematic" turns—such as factual errors, safety violations, or poor timing—and suggested preferred alternatives.
- Synthetic Resynthesis: To preserve privacy and maintain audio consistency, the original user audio was not used for training. Instead, a Text-to-Speech (TTS) engine resynthesized both the user's input and the preferred AI responses, carefully maintaining the original temporal dynamics.
- Multimodal DPO: The team adapted Direct Preference Optimization (DPO), specifically a length-normalized version (DPO-LN). A key technical insight was that optimizing the text tokens while conditioning on the audio context provided the most stable training results.
Key Results and Insights
The resulting model, Moshi-Aligned, demonstrated substantial improvements across several dimensions:
- Factuality and Safety: The model achieved a 3.1% gain in accuracy on QA benchmarks and a 6.9% improvement in safety scores. It became significantly more adept at refusing unethical requests while remaining helpful.
- Conversational Timing: By including timing-specific preference data (e.g., avoiding unnecessary interruptions), the model felt more "natural" to human evaluators.
- Human Preference: In live 30-second interactions, human annotators significantly preferred the aligned model for its superior coherence and engagement compared to the base version.
Conclusion
This work demonstrates that offline alignment using synthetic resynthesis and multimodal DPO is a highly effective path for improving real-time speech models. While challenges remain in maintaining alignment over very long dialogues and capturing subtle acoustic nuances like sarcasm, this framework provides a scalable foundation for the next generation of responsive, safe, and natural AI voice assistants.
Summary updated