TL;DR
STITCH is a novel framework that allows Spoken Language Models (SLMs) to perform internal "Chain-of-Thought" reasoning without increasing response latency. By interleaving chunks of unspoken reasoning with chunks of spoken output, STITCH matches the speed of standard voice assistants while boosting accuracy on complex math tasks by over 15%.
What Problem Does This Paper Address?
While text-based Large Language Models (LLMs) have mastered the art of "thinking before speaking" through Chain-of-Thought (CoT) prompting, Spoken Language Models (SLMs) face a unique hurdle: latency. In a voice-to-voice interaction, users expect near-instantaneous responses.
If an SLM were to generate a full internal reasoning chain before starting its spoken response, the user would be met with an awkward, multi-second silence. Consequently, most current SLMs skip internal reasoning entirely, leading to lower accuracy on complex tasks like math or logic. The authors of STITCH set out to bridge this gap: how can we give SLMs an internal monologue without making the user wait?
Methods
The core innovation of STITCH (Simultaneous Thinking and Talking with Chunked Reasoning) is the exploitation of a "time gap" in audio generation. Generating text or speech tokens on a modern GPU is significantly faster than the actual duration of the audio those tokens represent.
The authors propose two main variants to interleave reasoning and speaking:
- STITCH-R (Reasoning First): The model generates a small chunk of reasoning tokens, followed by the first chunk of text and speech tokens. While the first audio chunk is being played to the user, the model uses that "free time" to generate the next chunk of reasoning.
- STITCH-S (Speaking First): To completely eliminate the initial "thinking" delay, this variant starts by generating the first spoken chunk immediately (often a rephrase of the question). It then alternates between reasoning and speaking. This ensures the "first packet latency" is identical to a model that doesn't think at all.
The system is built on top of GLM-4-Voice-9B, an interleaved SLM that predicts text and speech tokens in a single sequence. The authors fine-tuned this backbone to handle new special tokens: [SOPR] (Start of Partial Reasoning) and [EOPR] (End of Partial Reasoning).
Datasets
The models were trained on a massive mixture of ~400K instances across three categories:
- Mathematical Reasoning: Tulu-3-Persona (Math, Grade, and Algebra).
- Knowledge-Intensive QA: Natural Questions (NQ) and TriviaQA.
- General Dialogue: VoiceAssistant400K (a filtered version of OpenAssistant and HH-RLHF).
For evaluation, they used standard math benchmarks (GSM8K, SVAMP, MultiArith, AddSub, SingleEq) and the OpenAudioBench for general conversational quality.
Key Insights and Ideas
- The "Free Time" Arbitrage: This is the "aha" moment. If 26 speech tokens represent 2 seconds of audio, but a GPU can generate those tokens (plus 100 reasoning tokens) in a fraction of a second, the model can "think" in the background while the user is still listening to the previous sentence.
- Thinking Doesn't Hurt Simple Tasks: A common fear in model tuning is "catastrophic forgetting." The researchers found that teaching the model to reason for math didn't degrade its performance on general knowledge or simple conversation.
- Speaking First is Viable: STITCH-S works because the initial part of a human response is often "filler" or a restatement of the problem (e.g., "Let me see, you're asking about..."). By the time the model needs to provide the actual answer, it has already finished several chunks of background reasoning.
- Reasoning Augmentation: The authors discovered they could "plug in" reasoning from even stronger models (like Llama-3.1-8B) into the STITCH pipeline during inference to further improve spoken accuracy.
Key Results
- Accuracy Boost: On math reasoning datasets, STITCH outperformed "no-reasoning" baselines by 15% on average. On the difficult GSM8K benchmark, accuracy nearly doubled compared to the base GLM-4-Voice model.
- Zero Latency Penalty: STITCH-S achieved these gains while maintaining the exact same initial latency as models that do not perform any reasoning.
- Human Preference: In side-by-side human evaluations, STITCH-S was rated as significantly more responsive than "Reasoning-then-Speaking" (TBS) baselines.
- High Fidelity: Perceptual quality (measured by UTMOS) and fluency remained high, proving that interleaving reasoning tokens doesn't "break" the model's ability to produce natural-sounding speech.
Limitations and Future Work
- Hardware Sensitivity: The "thinking budget" depends on the ratio of generation speed to audio duration. On slower hardware, the model might not finish its reasoning chunk before the audio finishes playing, leading to stutters.
- Fixed Chunking: Currently, the model uses a fixed number of reasoning tokens per chunk. The authors suggest that dynamic chunking—where the model decides how much to think based on the complexity of the sub-problem—is a promising future direction.
- Training Complexity: Generating the interleaved training data (where reasoning is perfectly timed to fit between speech chunks) is non-trivial and requires sophisticated data engineering.
Summary updated