---
title: 'Dragon-FM: Hybrid AR and Flow TTS'
url: https://www.emergentmind.com/topics/dragon-fm
type: topic
---

# Dragon-FM: Hybrid AR and Flow TTS

Dragon-FM is a text-to-speech design introduced in “Next Tokens Denoising for Speech Synthesis” that unifies autoregression and flow-matching for speech generation [2507.22746]. It operates on 48 kHz audio codec tokens arranged into moderate-length chunks, using chunk-level autoregressive prediction to preserve global coherence and key-value cache efficiency, while applying parallel within-chunk denoising to exploit bidirectional context. In the reported formulation, 2 s of audio are represented by 25 codec tokens at 12.5 tokens per second, so the sequential process is shifted from token-by-token generation to chunk-by-chunk generation, with only a small number of ODE-style refinement steps inside each chunk. The model is presented as a mechanism for bridging continuous and discrete feature modeling, including prediction of discrete tokens through finite scalar quantization, and is evaluated primarily for high-quality zero-shot podcast synthesis.

## 1. Hybridization of autoregression and flow-matching

Dragon-FM is motivated by a complementary failure mode analysis of two dominant generative paradigms [2507.22746]. Autoregressive models, exemplified as GPT-style next-token predictors, rely on causal attention. This gives them efficient key-value caching and low first-byte latency, but prevents access to future context and makes long-sequence generation intrinsically sequential. Diffusion and flow-matching models instead generate in parallel through iterative denoising under bidirectional attention, which improves fine-detail modeling and future-context access, but precludes KV caching because each denoising step recomputes full attention.

The central design choice is to divide the audio-token sequence into chunks and to assign different generative roles to different temporal scales. Across chunks, Dragon-FM uses autoregression, so chunk $k$ is conditioned on preceding chunks. Within each chunk, it uses flow-matching to denoise all token positions in parallel. The stated consequence is that the model retains global coherence and KV-cache utilization across chunks, while incorporating future context within each chunk through full self-attention [2507.22746].

A common misconception would be to classify Dragon-FM as either a conventional autoregressive model or a conventional diffusion model. The architecture is neither in the narrow sense used in the paper. It is autoregressive only at chunk granularity and flow-based only within the chunk. This distinction matters because the claimed efficiency gains derive from reducing the number of sequential decisions from one per token to one per chunk, rather than from eliminating iterative refinement altogether.

## 2. Audio representation and chunked architecture

Dragon-FM relies on a learned neural codec that compresses 48 kHz waveforms into discrete tokens at 12.5 Hz, corresponding to one token every 80 ms [2507.22746]. Raw audio $x(t)$ is processed by a bidirectional Transformer encoder together with a downsampling stack to produce 12.5 Hz continuous features $a \in \mathbb{R}^D$. A Finite Scalar Quantizer then quantizes each scalar component of $a$ independently to the nearest center in a small one-dimensional codebook $C \subset \mathbb{R}$. The decoder re-upsamples the resulting discrete tokens back to 48 kHz through a causal Transformer and ISTFT.

The generative pipeline is two-stage. First, every 25 consecutive codec tokens, corresponding to 2 s of speech, are grouped into a chunk. Chunk-level autoregression predicts each chunk conditioned on all previous chunks. Because a whole chunk is treated as the autoregressive “next token,” the model requires one autoregressive forward pass per chunk rather than 25 passes. Second, once the chunk-level conditioning vector $H_k$ is available, the 25 token positions of chunk $k$ are initialized as noise and refined in parallel by a small number of flow-matching steps.

The cache and attention structure are split accordingly. Across chunks, causal decoder-only attention stores keys and values from prior chunks, so each new chunk only updates the final chunk state, with $O(1)$ KV updates per chunk. Within a chunk, flow-matching blocks use bidirectional self-attention over all 25 noisy embeddings $z_i^{(1:25)}$, so the model can condition each token position on future positions inside the same chunk. This separation of temporal scopes is the paper’s core architectural claim.

## 3. Continuous flow objective and discrete token recovery

The within-chunk objective is formulated in continuous embedding space, even though the ultimate outputs are discrete FSQ token identities [2507.22746]. For a single chunk, let $z_0 \in \mathbb{R}^{25 \times d}$ denote the continuous embeddings of the true 25 FSQ tokens. A perturbed sample at time $t \in [0,1]$ is defined by the linear schedule

$$
z_t = \alpha(t)\cdot z_0 + \beta(t)\cdot \epsilon,
$$

with $\epsilon \sim \mathcal{N}(0,I)$, $\alpha(t)=1-t$, and $\beta(t)=\sqrt{t(2-t)}$.

The ideal velocity field $v^*(z_t,t)$ satisfies the ODE

$$
\frac{dz}{dt} = v^*(z_t,t),
$$

which transports $z_t$ back to $z_0$ as $t \downarrow 0$. Dragon-FM parameterizes a neural vector field $v_\theta(z,t;H)$ conditioned on the autoregressive context $H$ from previous chunks and trains it with the standard flow-matching regression loss

$$
L_{FM}
= \mathbb{E}_{t\sim \mathrm{Uniform}[0,1],\,z_0\sim p_{\rm data},\,\epsilon\sim \mathcal{N}(0,I)}
\left[
\| v_\theta(z_t,t;H) - v^*(z_t,t) \|_2^2
\right].
$$

Under the linear schedule, the paper states that

$$
v^*(z_t,t) = \frac{z_0 - z_t}{1-t},
$$

so the implemented loss becomes

$$
L_{FM}
= \mathbb{E}_{t,z_0,\epsilon}
\left[
\left\| v_\theta(z_t,t;H) - \frac{z_0-z_t}{1-t} \right\|_2^2
\right].
$$

The final step maps the denoised continuous output back to discrete token IDs. For each scalar coordinate, Dragon-FM applies finite scalar quantization by selecting the nearest codebook center:

$$
{\rm id} = \underset{j}{\arg\min}\; |z_{0,d} - C_j|.
$$

This continuous-to-discrete bridge is one of the defining claims of the model. The paper explicitly frames Dragon-FM as demonstrating that continuous autoregressive flow-matching can predict discrete tokens with finite scalar quantizers [2507.22746]. A plausible implication is that the architecture is intended to combine the optimization advantages of continuous denoising with the deployment advantages of discrete codec tokens.

## 4. Generation procedure and parameter sharing

Generation proceeds chunk by chunk for an utterance of $K$ chunks [2507.22746]. The inputs are a text prompt, an optional speech prompt for speaker style, the number of chunks, the number of flow steps $N_{\rm FM}$, and a sequence of step times $\{t_i\}$. The encoder produces the initial autoregressive context $H_0$, after which the model iterates over chunks.

For chunk $k$, the autoregressive transformer first computes a chunk-level conditioning vector $q_k$ and updates the KV cache. The chunk latent is then initialized as Gaussian noise $z_{t_N}\sim \mathcal{N}(0,I)\in \mathbb{R}^{25 \times d}$. For each flow step, the model computes a flow-conditioning representation $H_{\rm flow} = \mathrm{Flow\_transformer}(z_{t_i}, q_k)$, predicts the velocity $v_i = v_\theta(z_{t_i}, t_i; H_{\rm flow})$, and updates the latent according to

$$
z_{t_{i-1}} \leftarrow z_{t_i} + (t_{i-1}-t_i)\,v_i.
$$

After the final step, the denoised outputs are quantized into 25 discrete codec tokens, which are appended back into the autoregressive state for subsequent chunk generation. The concatenation of all generated chunks forms the final token stream.

The paper states that, in practice, $N_{\rm FM}=2$ or $4$ suffices for high fidelity. It also states that the AR transformer and Flow transformer share most weights, differing only in whether attention is causal or bidirectional. This suggests that the design seeks to minimize architectural duplication while preserving distinct context geometries for cross-chunk and within-chunk computation.

## 5. Iteration count, memory profile, and scaling behavior

Dragon-FM analyzes efficiency through the Total Number of Function Evaluations, defined as

$$
\mathrm{TNFE} = \#\mathrm{AR\_steps} \times \#\mathrm{Flow\_steps}
= \#\mathrm{chunks} \times 1 \times N_{\rm FM}.
$$

For a 2 s segment, the paper reports three comparison points [2507.22746]. A pure autoregressive system such as VALL-E requires 25 autoregressive token steps, giving $\mathrm{TNFE}=25$. A pure flow system such as E2 uses one 2 s block but 32 flow steps, giving $\mathrm{TNFE}=32$. Dragon-FM, with a 2 s chunk and $N_{\rm FM}=2$, gives $\mathrm{TNFE}=2$.

| Model | Cache/TNFE | RTF |
|---|---:|---|
| E2 | no / 32 | low |
| VALL-E | yes / 25 | med |
| Dragon-FM | yes / 2 | high |

The paper summarizes this as an iteration-count reduction of approximately $10$–$15\times$ relative to E2 or VALL-E, and notes that the advantage is amortized over long contexts such as 32 s, where Dragon-FM spans 16 chunks [2507.22746]. It also states that AR steps cache only the last chunk’s keys and values, giving $O(1)$ KV growth per chunk, while flow steps recompute full attention only within a fixed chunk length of 25, described as a negligible relative cost.

The reported memory expression is

$$
O((L_{\text{text}} + L_{\text{speech\_prompt}} + 25)^2)
$$

for attention per chunk, with the qualification that chunk size is fixed at 25, so scaling depends only on prompt length. This is significant because the model’s efficiency claim is not only about fewer iterations, but also about preserving the favorable cache structure of decoder-only autoregression.

## 6. Empirical evaluation on podcast speech synthesis

The experiments are conducted on a dataset of 60k h of English podcasts covering diverse topics and speakers [2507.22746]. The reported evaluation setting is zero-shot: a text prompt and a short same-speaker speech prompt are provided, and the model generates new speech.

Fréchet Audio Distance is used as a distributional quality and diversity indicator, with lower FAD interpreted as better match to the real-data distribution. The paper reports the following configurations.

| Configuration | Chunk / rate / FM steps | FAD |
|---|---|---:|
| Dragon-FM-A1 | 2 s / 12.5 Hz / 12 | 2.4 |
| Dragon-FM-A2 | 2 s / 12.5 Hz / 24 | 2.2 |
| Dragon-FM-A3 | 2 s / 12.5 Hz / 6 | 2.6 |
| Dragon-FM-B1 | 1 s / 12.5 Hz / 12 | 2.1 |
| Dragon-FM-B2 | 1 s / 12.5 Hz / 24 | 1.9 |
| Dragon-FM-C1 | 2 s / 20 / 12 | 2.2 |
| Dragon-FM-C2 | 2 s / 20 / 24 | 2.0 |

The reported interpretation is explicit: increasing flow steps, as in A2 versus A1, improves FAD, and using smaller chunks, as in B2, also improves FAD. The paper also states that Dragon-FM preserves high perceptual quality while achieving substantially faster real-time factors through its lower TNFE [2507.22746].

Codec reconstruction is evaluated separately by speaker similarity (SIM) and word error rate (WER).

| Codec model | Frame rate | SIM / WER |
|---|---|---|
| Mel-VocoderC | 16 Hz | 0.904 / 3.01 |
| CodecA | 12.5 Hz | 0.925 / 2.65 |
| CodecB (default) | 12.5 Hz | 0.916 / 2.74 |

The paper states that, at 12.5 Hz, the neural FSQ codec outperforms a 16 Hz mel-spectrogram vocoder in both SIM and WER. This result is important because the system’s generation speed relies on a compact token rate; the codec reconstruction table provides evidence that the low-rate representation remains compatible with intelligibility and speaker similarity requirements.

## 7. Limitations, edge cases, and proposed extensions

The authors identify two principal limitations [2507.22746]. First, chunk boundaries can produce boundary artifacts. Suggested mitigations are overlap or chunk smoothing. Second, the chunk length is fixed; the paper notes adaptive chunk sizing as future work. These limitations follow directly from the architectural choice to impose a hard decomposition between long-range autoregression and local denoising.

The paper presents the core principle as “chunk-wise AR for long-range dependency plus few-step flow for local parallel refinement,” and states that it is readily extendable beyond speech synthesis. The listed examples are image generation, using patch-level AR for global layout and flow within patches for texture; video, using clip-level AR for temporal coherence and flow per frame or group of frames; and multimodal LLMs, using block-wise AR for discrete tokens together with flow matching on continuous latent spaces. These extensions are presented as prospective rather than experimentally validated within the reported study.

In that sense, Dragon-FM is best understood as a specific TTS instantiation of a more general factorization strategy: autoregression for coarse sequential dependency, and flow-matching for parallel local refinement. The paper’s claim is that this factorization bridges discrete and continuous modeling while preserving both global coherence and computational efficiency in zero-shot long-form speech generation [2507.22746].

Source: https://www.emergentmind.com/topics/dragon-fm