Abstract
CleanS2S is a minimalist, single-file framework designed to transition speech-to-speech (S2S) AI from passive turn-taking to proactive, human-like interaction. By integrating a streamlined ASR-LLM-TTS pipeline with a novel "Subjective Action Judgement" module, the system manages real-time interruptions and executes complex conversational strategies such as refusal, deflection, and silence. We demonstrate that fine-tuning with Action Judgement SFT significantly improves the model's ability to identify appropriate moments for intervention, achieving a recall of 0.83 in proactive decision-making.
Introduction
Current speech-enabled AI systems predominantly follow an "obliging" paradigm, where the agent waits for user silence before responding. This rigid structure fails to capture the messy, full-duplex nature of human conversation. Furthermore, the high technical overhead of multi-module configurations often hinders research. CleanS2S addresses these issues by providing a transparent, single-file framework capable of making subjective decisions about engagement timing and style.
Methods
The CleanS2S framework introduces three core innovations:
- Single-File Implementation: A minimalist ASR-LLM-TTS pipeline with standardized interfaces for easy model swapping (e.g., Whisper, Llama-3.1, CosyVoice).
- Full-Duplex Architecture: Asynchronous I/O allows the system to maintain a "listening" state even while speaking, enabling immediate response to user interruptions via Voice Activity Detection (VAD).
- Subjective Action Judgement: A fine-tuned LLM selects from strategies like interruption, refusal, deflection, or non-response.
The "Subjective Action Judgement" module is trained using Action Judgement Supervised Fine-Tuning (SFT). The training data includes real-world dialogue pauses and truncated speech segments to help the model learn conversational rhythm and distinguish between a user pausing for thought versus finishing a sentence.
Results
Evaluation of the Llama-3.1-8B-Instruct model with and without Action Judgement SFT shows a marked improvement in proactive decision-making. The jump in recall from 0.70 to 0.83 is particularly noteworthy, indicating the model became much more effective at identifying specific moments where a proactive intervention was appropriate.
| Model | Accuracy | Precision | Recall |
|---|---|---|---|
| Llama-3.1-8B-Instruct | 0.84 | 0.70 | 0.70 |
| + Action Judgement SFT | 0.91 | 0.78 | 0.83 |
Conclusion and Future Work
CleanS2S provides a simplified yet powerful tool for exploring proactive S2S interactions. While the current cascaded pipeline is effective, future work will focus on mitigating error propagation through end-to-end spoken language models, handling multi-speaker dynamics, and incorporating emotional intelligence into agent responses.
Summary updated