TL;DR
Flow-SLM is a novel textless spoken language model that jointly learns linguistic and acoustic features by generating discrete semantic tokens alongside continuous, real-valued acoustic frame embeddings. By leveraging a conditional flow-matching objective and a clever future-token prediction strategy, it delivers high-fidelity, acoustically consistent speech generation while requiring significantly less compute and training data than traditional multi-token or discrete-only architectures.
What Problem Does This Paper Address?
Traditional textless Spoken Language Models (SLMs) generate speech without relying on intermediate text transcriptions. To do this, they typically compress audio into discrete "semantic tokens" that capture linguistic content, then pass these tokens to a separate conditional vocoder to reconstruct the audio waveform.
However, this decoupled approach has a major drawback: the core language model has no access to acoustic context during generation, leading to a lack of control over fine-grained acoustic details like speaker identity, prosody, and emotional nuance. While some recent models use Residual Vector Quantization (RVQ) to capture multiple layers of acoustic tokens, doing so introduces massive computational and memory overhead during auto-regressive training. Flow-SLM tackles this efficiency-quality tradeoff by modeling acoustic details directly in a continuous space.
Methods
Flow-SLM introduces a unified architecture that models both discrete linguistic structure and continuous acoustic details simultaneously.
The system consists of four main components:
- Encoder: A pre-trained, frozen Mimi codec encoder that extracts continuous embeddings ($x$) and extracts the first layer of RVQ as discrete semantic tokens ($z$).
- Causal Transformer: Processes past continuous embeddings to build a context vector ($c_{<m}$).
- Semantic Token Predictor: Predicts the next $k$ future semantic tokens based on the context.
- Conditional Flow Matching (CFM) Head: A regression-based head that models the continuous distribution of the acoustic frame at each timestep. It uses an ordinary differential equation (ODE) solver during inference to map a simple prior distribution to the target data distribution, conditioned on both the past context and the predicted future semantic tokens.
A key algorithmic innovation is the multi-token cross-entropy loss ($L_{sem-k}$). Instead of predicting just the next token, the model is trained to look further into the future, which acts as a vital regularizer for semantic coherence.
Datasets
The models were trained and evaluated on well-established speech corpora:
- Training: The primary dataset is the English subset of Multilingual LibriSpeech (MLS-En), containing ~45,000 hours of audiobook speech. An extended version (Flow-SLM-1B-ext) adds 20,000 hours from The People’s Speech, introducing a non-audiobook domain.
- Evaluation:
- ZeroSpeech 2021 challenge (sWUGGY and sBLIMP) for linguistic and grammatical modeling.
- SALMon benchmark for acoustic consistency, sentiment alignment, and background alignment.
- LibriSpeech test-clean and test-other subsets for speech quality evaluation via prompt continuation.
Key Insights and Ideas
- The Acoustic Continuity Trap: The authors discovered that simply replacing discrete tokens with continuous ones causes the language model to fail. Because speech frames are highly continuous, the model easily cheats by focusing on local, frame-to-frame smoothness rather than learning high-level semantic and syntactic structures.
- Future Prediction as a Semantic Anchor: To counteract the continuity trap, predicting multiple future semantic tokens (e.g., $k=4$) forces the model to look ahead and capture long-term dependencies. This simple change dramatically recovers the model's linguistic generation capabilities.
- CFM is Highly Efficient for Audio: Compared to hierarchical RVQ token flattening (which scales with vocabulary size and token depth), Flow-SLM's regression head only requires running a single $d$-dimensional linear head per timestep, drastically reducing memory consumption during training.
Key Results
Flow-SLM achieves highly competitive performance across both linguistic and acoustic metrics while being exceptionally lightweight in terms of compute resources.
- Linguistic Quality: On the sBLIMP grammatical benchmark, Flow-SLM-1B scored 60.0, outperforming the much larger SpiritLM-base-7B (58.3) and TWIST-1.3B (57.0).
- Acoustic Fidelity: In prompt continuation tasks, Flow-SLM demonstrated superior speaker preservation. It achieved a speaker similarity score of 0.43–0.45, vastly outperforming discrete-only models like TWIST and SpiritLM (which scored ~0.09–0.11 when denied access to a conditional prompt vocoder).
- Distributional Accuracy: Flow-SLM significantly lowered the WavLM-based Frechet Speech Distance (wlm FSD) to 1018.1 (and 997.9 for the extended version), indicating that its generated frame distribution is much closer to ground-truth speech than its competitors.
Limitations and Future Work
Despite its strengths, Flow-SLM exhibits higher text perplexity (genPPL) during speech continuation compared to models like SpiritLM, suggesting that joint acoustic-linguistic learning can sometimes compromise long-range semantic coherence. Additionally, its background alignment scores were slightly lower, likely because it was trained predominantly on clean audiobook data.
The authors note that future work will focus on scaling up the model size to see if the semantic gap closes, extending the architecture to a joint speech-text setup, and exposing the model to a broader variety of noisy or multi-speaker acoustic environments.
Summary updated