Smarter Speech AI β bigger, better data, smarter architecture, better prosody.
Today's speech engines treat expression like a brute-force problem: a single autoregressive model guesses emotion token by token. But emotion is a global state of mind that shapes an entire sentence before we even speak. SeedVox separates the "what" from the "how" β and the "who" β with structural priors, so each component learns a clean job.
the "what" Stable, hallucination-free phoneme planning & acoustic anchoring.
the "how" Reads the whole sentence/context at once, predicts a global prosody latent before generation.
the "who" A reference clip β speaker latent re-tunes phonemes & prosody to that voice via FiLM adaptation β identity, not guessed.
the renderer Renders What + How + Who into audio tokens, guided by the JEPA latent.
Open-source research & education sandbox Β· Apache License 2.0 Β· github.com/v7aresky/seedvox
Big labs win by scale: enormous transformers, enormous data, enormous finetuning efforts, brute-force token-by-token meaning. SeedVox argues that structure beats scale at the same budget.
Monolithic AR models hide expressiveness problems behind parameter and data counts most researchers and small labs can't afford.
Treating emotion as an autoregressive roll is brute force β it drifts and loses whole-sentence tension.
Frontier TTS hallucinates, stumbles on edge cases, and follows instructions inconsistently β and offers no fine control: you can't fix a mispronounced name or steer an pitch/prosody contour or timing.
Structure beats scale extends to data: no proprietary corpora, no internet scrape. Five public speech sets β 276,529 utterances Β· 319.3 h β pre-cooked offline, so training just streams cached rows.
| Corpus | Hours | Utterances | Role |
|---|---|---|---|
| HiFiTTS | 116.0 | 125,844 | High-fidelity audiobooks β a clean acoustic backbone. |
| GLOBES | 104.6 | 81,299 | LibriVox (audiobook) excerpts β many speakers & reading styles. |
| LibriTTS | 53.8 | 33,113 | US audiobooks β train-clean-100 subset, 247 speakers. |
| LJSpeech | 23.0 | 12,500 | Single speaker audiobook readings. |
| DailyTalk | 21.9 | 23,773 | Conversational dialogues β natural give-and-take. |
| Total (5 sets) | 319.3 h | 276,529 | utterances |
Each utterance is resolved once into a .pt row β audio tokens (16ΓRVQ) Β· text Β· phoneme ids Β· acoustic features (F0/E/V) β no live feature extraction in training.
log-F0 (median-filtered) and log-energy at 12.5 Hz β aligned to the audio tokens.
Subtract per-utterance median log-F0 / mean log-energy, but keep the variance β excursions stay meaningful.
Instead of one giant network juggling everything at once, SeedVox splits the job into dedicated components:
graph TD
TXT["Input text"]
subgraph CORE["SeedVox β generation path"]
subgraph JEPA["JEPA World Model"]
J["JEPA Prosody Planner (non-causal)
β global prosody latent"]
end
subgraph AR["AR Backbone"]
A["AR Phonetic Planner
text β phonemes"]
L["Linguistic Fusion
gated cross-attn folds phonemes into text"]
B["AR Acoustic Decoder
unified text + prosody plan β audio tokens"]
end
M["Mimi decoder
tokens β 24 kHz waveform"]
J -.->|"prosody plan (parallel, not fused)"| B
A --> L --> B
B -->|"audio tokens"| M
M --> OUT["Speech audio"]
end
subgraph TRAIN["Training only"]
T["Frozen Prosody Codec & Mimi encoder
(F0 / E / V β latent) supervise JEPA"]
end
TXT --> A
VOI["Reference audio (optional)"] -.->|"speaker identity"| B
T -.->|"trains"| J
style CORE fill:#13301f,stroke:#2f9e44
style JEPA fill:#0f2f29,stroke:#0ca678
style AR fill:#13301f,stroke:#2f9e44
style M fill:#11304a,stroke:#5aa9ff
style TRAIN fill:#331f0c,stroke:#e8590c
Mimi β the audio codec behind it:
graph LR
%% Inputs and Outputs
InputWave["24kHz Audio Target"]
OutputWave["24kHz Reconstructed Audio"]
%% Neural Encoder Subgraph
subgraph Neural_Encoder["Neural encoder"]
direction LR
ConvNet_Enc["ConvNet"]
Feature_Dots_Enc["12.5 Hz Feature Maps"]
Transformer_Enc["Transformer"]
Enc_Out["Latent Representation"]
ConvNet_Enc --> Feature_Dots_Enc --> Transformer_Enc --> Enc_Out
end
%% Split Quantization Subgraph
subgraph Split_Quant["Split residual vector quantization & reconstruction"]
direction LR
Lin_VQ["Lin."]
VQ_Module["VQ"]
Lin_RVQ["Lin."]
RVQ_Module["RVQ"]
Quant_Sum(("β"))
Lin_Out1["Lin."]
Lin_Out2["Lin."]
Decoder_Sum(("β"))
Lin_VQ --> VQ_Module
Lin_RVQ --> RVQ_Module
%% Quantization streams
VQ_Module --> Stream_VQ["Quantized Stream (Semantic)"]
RVQ_Module --> Stream_RVQ1["Codebook Stream 1"]
RVQ_Module --> Stream_RVQ2["Codebook Stream 2"]
RVQ_Module --> Stream_RVQN["Codebook Stream N"]
Stream_VQ --> Quant_Sum
Stream_RVQ1 --> Quant_Sum
Stream_RVQ2 --> Quant_Sum
Stream_RVQN --> Quant_Sum
Stream_VQ --> Lin_Out1
Quant_Sum --> Lin_Out2
Lin_Out1 --> Decoder_Sum
Lin_Out2 --> Decoder_Sum
end
%% Neural Decoder Subgraph
subgraph Neural_Decoder["Neural decoder"]
direction LR
Transformer_Dec["Transformer"]
Feature_Dots_Dec["Feature Maps"]
ConvNet_Dec["ConvNet"]
Transformer_Dec --> Feature_Dots_Dec --> ConvNet_Dec
end
%% Distillation Loss Subgraph
subgraph Distillation_Module["Distillation"]
WavLM["WavLM"]
Lin_Distill["Lin."]
Cosine_Sim["Cosine similarity"]
WavLM --> Cosine_Sim
Lin_Distill --> Cosine_Sim
end
%% Adversarial Losses Subgraph
Adv_Loss["Adversarial losses"]
%% Direct Connections & Data Flow
InputWave --> ConvNet_Enc
Enc_Out --> Lin_VQ
Enc_Out --> Lin_RVQ
%% Distillation Connections
InputWave -.-> WavLM
Stream_VQ -.-> Lin_Distill
%% Main Path to Decoder
Decoder_Sum --> Transformer_Dec
ConvNet_Dec --> OutputWave
%% Adversarial Loss Connections
InputWave -.- Adv_Loss
OutputWave -.- Adv_Loss
style Neural_Encoder fill:#11304a,stroke:#5aa9ff
style Split_Quant fill:#11304a,stroke:#5aa9ff
style Neural_Decoder fill:#11304a,stroke:#5aa9ff
style Distillation_Module fill:#11304a,stroke:#5aa9ff
style Adv_Loss fill:#11304a,stroke:#5aa9ff
graph LR
TXT["text"] --> CID["char ids"] --> TE["text encoder"] --> TF["text_feat"]
TXT --> BID["BPE ids"] --> BF["BPE feats"] -->|"gated add"| TF
REF["reference audio"] --> SE["speaker encoder"] --> SPK["spk latents"] --> SV["spk vec"]
TF --> APP["AR phoneme predictor"] --> PF["phoneme feats"]
PF --> FPHN["phoneme feats Β· FiLM (spk)"]
SV -.->|"spk"| FPHN
TF --> JEPA["prosody planner"]
JEPA --> LAT["prosody latent
Β· exagg β plan"]
LAT --> FPRS["prosody plan Β· FiLM (spk)"]
SV -.->|"spk"| FPRS
FPHN --> LF["LinguisticFusion"]
TF --> LF
LF --> UT["unified text"]
FPRS --> CTX["CONTEXT
[ spk vec Β· speaker-FiLM'd prosody Β· unified text ]"]
SV --> CTX
UT --> CTX
subgraph TRAIN["teacher Β· train only"]
PYIN["audio analysis β F0 / E / V"] --> PC["frozen ProsodyCodec"] --> GT["GT latent"]
end
REF --> PYIN
GT -.->|"cosine objective"| JEPA
CTX -->|"cross-attn + speaker AdaLN"| DEC["β AR layer
cross-attn over CONTEXT
(speaker AdaLN) β hidden"]
DEC --> DEP["β‘ depformer (NAR)
speaker + prosody AdaLN
on codebook prediction"]
DEP --> RVQ["RVQ tokens"] --> MIMI["Mimi decoder"] --> WAV["waveform"]
style CTX fill:#0f2f29,stroke:#0ca678,color:#e8eef7
style MIMI fill:#11304a,stroke:#5aa9ff
style TRAIN fill:#331f0c,stroke:#e8590c
style DEC fill:#13301f,stroke:#2f9e44
style DEP fill:#13301f,stroke:#2f9e44
CONTEXT; β‘ mean-pooled straight into the NAR depformer's AdaLN β the fix for the prosody-lean AR path.Prosody is a global state of mind, not a token-level dice roll. The planner emits a learned latent that shapes the whole utterance before generation.
Raw F0 / Energy / Voicing acoustic features only feed the frozen codec as a training target. Generation conditions exclusively on the learned latent.
A gated cross-attention layer folds the AR phoneme planning into the text backbone β one grounded, unified representation for acoustic generation.
Two speaker-modulated FiLM adapters separate articulation from rhythm / emotion.
Phonemes are planned explicitly β overwrite the phoneme string at runtime to fix pronunciations.
The plans become audio: a streaming AR transformer hands off to a parallel NAR depformer, rendering unified text + prosody plan into discrete audio tokens.
Gradient checkpointing, Fused AdamW, torch.compile β inference under 400 ms on an RTX 5090.
The "what" is not just phonemes. It is a fused, multi-level representation β and the decoder aligns to it by cross-attention.
graph LR
TXT(["text"])
CID(["char ids"])
TE(["text encoder"])
BID(["BPE ids"])
BF(["BPE feats"])
GA(["β gated add"])
TF(["text_feat"])
APP(["AR phoneme predictor"])
PF(["phoneme feats"])
FPHN(["phoneme feats Β· FiLM (spk)"])
SPK(["spk vec"])
LF(["LinguisticFusion"])
UT(["Unified text"])
DEC(["decoder"])
TXT --> CID --> TE --> TF
TXT --> BID --> BF --> GA --> TF
TF --> APP --> PF --> FPHN
SPK -.->|"speaker"| FPHN
FPHN -->|"gated cross-attn"| LF
TF -.->|"text queries"| LF
LF --> UT
UT -.->|"monotonic cross-attn"| DEC
classDef hl fill:#13301f,stroke:#2f9e44,color:#7dffb0;
class TE,GA,APP,PF,FPHN,LF,UT hl
vocab 128) β explicit, intervenable pronunciation anchor; a regularizer on the fused text.What is a JEPA? A Joint-Embedding Predictive Architecture predicts abstract latents, not raw signals β it is supervised by a similarity / energy objective (cosine), never by reconstruction.
F0/E/V feed only the frozen teacher. Generation conditions on the learned latent β (B, 32, dim), mean-pooled/upsampled to the frame rate.
jepa_layers=2 Β· jepa_heads=4 Β· plan (B, 32, dim) Β· teacher: frozen ProsodyCodec (F0/E/V β latent)
Decoder context = [speaker, adapted prosody, fused text].
FiLM = Feature-wise Linear Modulation β two independent FiLMAdapters turn the speaker latent into per-frame scale Ξ³ / shift Ξ², then rescale-and-shift a feature:
Modulated = LayerNorm(x)Β·Ξ³ + Ξ²
film_phn β phoneme embeddings β articulation / vocal tract.film_prs β prosody tokens β rhythm / intonation.Why two? One flat speaker vector would bundle articulation with prosody β conditioning bleed: cloned voices get the wrong rhythm, and prosody edits disturb articulation. Independent adapters each learn a clean job β precise cloning, no bleed.
dim=512 Β· layers=6 Β· depformer=10 Β· heads=8 Β· card=2048
A four-term fusion loss keeps responsibilities split: the "who" is conditioned per layer in the AR decoder, the "what" stays grounded, and the "how" is plan-driven. Each guide is verified by a targeted test.
| Loss | Enforces |
|---|---|
| loss_ar Γ1.0 | Audio quality: cross-entropy over each enabled RVQ codebook β curriculum 4 β 16 codebooks over 50k steps. |
| loss_ph Γ0.5 | The "what": cross-entropy on the phoneme head (vocab 128) β pronunciation stays grounded even with fused text. |
| loss_jepa Γ2.0 | The "how", three terms: β 1βcos(plan, GT latent) β the plan must point like the true prosody (cosine sees shape, not volume); β‘ contrastive gap 0.2 β the plan must win over every other text's latent in the batch by a margin β no mean-collapse, text-discriminative plans; β’ learned-std 0.05 β a light pull keeping the sampler's learned scale near its init β expressive variety at generation, no explosion. |
| loss_cycle Γ0.5 | Plan-follow: cos(prosody of the generated audio, the plan) β the decoder is forced to use the latent, not read text. Anchor term 0.5 keeps the readout honest. |
Duration auxiliary (0.08) is defined but not used for alignment β alignment is attention-based (MonotonicAttention).
test_model_smoke β ExplicitPlannerModel forward/backward on the real config β catches dead configs early.
test_mimi_fidelity β token roundtrip, partial codebooks (1/2/4/8), unquantized-latent path.
test_pitch_sweep / pitch_shift β sweeping F0 scale 0.0β2.0 must move predicted pitch: the intervention path really works.
test_correctness / phonetic_consistency β vocab 128, SOS/EOS framing, g2p backend.
During evals the plan-follow trio gen_ar Β· plan_cos Β· follow_cos is scored β the numbers on the next slide.
test_model_load placeholder until public checkpoints ship.
Measured across 200 evaluation batches (2,000 sentences). One reference speaker, generated on a single RTX 5090.
| Metric | Value | What it means |
|---|---|---|
| ar | 1.070 | Quality with ground-truth prosody β the best-case ceiling. |
| gen_ar | 1.070 | Quality with a JEPA-sampled plan β same as the ceiling. |
| plan_cos | 0.237 | Cosine distance β sampled plan vs. true prosody: how well the planner predicted the real prosody. Well-aligned, with room for variation. |
| follow_cos | 0.317 | Cosine distance β rendered audio's prosody vs. the plan: how faithfully the decoder followed it. Close enough that quality is unchanged. |
gen_ar == ar (both 1.070). If the decoder ignored the plan and just read text, gen_ar would be worse. It isn't β no text-only shortcut collapse. The prosody latent is genuinely informative.Feeding a global, non-causal prosody latent into a sequential, causal token decoder is the hardest integration in SeedVox. Three failure modes, then what fixed each.
Conditioning on the predicted plan (a deterministic function of text) makes the latent redundant β the decoder quietly ignores it.
decoder_prosody_source='pred' β ignored latent
A probe of the AR decoder's hidden state showed it barely carries prosody β passing the latent only via AR context leaks nothing downstream.
probe β hidden state β prosody-lean
Without extra pressure, predicted plans hug the average direction β informative (global) but not discriminative across texts.
plans β mean Β· "decorative" latent
| Fix | Mechanism |
|---|---|
| GT / mix teacher-forcing | Condition the decoder on GT prosody half the time (decoder_prosody_source='mix', decoder_gt_prob=0.5) so it learns latentβaudio; sample a plan the rest to keep inference in-distribution. |
| Contrastive + std | The regularizers from the JEPA intro β a matched-vs-mismatched contrastive gap (0.2) and a learned-std pull (0.05) β cure failure 3: measured text-discriminative, not average. |
| Direct depformer AdaLN | Inject mean-pooled prosody straight into the NAR codebook predictor (use_dep_prosody_cond) β bypass the prosody-lean AR hidden path. |
| Exagg dial (inference) | Interpolate null β sampled plan around the null latent β expressiveness control without retraining. |
| Cycle loss | Compare the generated prosody against the plan it was conditioned on β the direct measurement that plans are followed. |
--seed β reproducible synthesis.--variant_axis pros | speaker β walk the latent space.--lora_checkpoint β new voices with lightweight low-rank adapters.--cfg_scale β reference fidelity: full-context decode vs. text-blind, prosody-grounded decode.--phoneme/--prosody/--acoustic_temperature β control each stage.torch.compile Β· <400 ms inference.One reference speaker β generated on a single RTX 5090.
A narrative announcing SeedVox's architecture, JEPA prosody planning, and key results.
All prosody is sampled from the JEPA world model β no manual tuning.
The reference voice and the training data come from LJ Speech β a single-speaker audiobook corpus: read speech, monotone, low expressiveness, no conversational dynamics. Expressive conversational reference and training data will sound considerably more natural and dynamic.
Autoregressive discrete-transformer decoder + JEPA World Model + frozen prosody teacher; Unified Linguistic Fusion; dual-FiLM speaker conditioning; plan-follow verified (gen_ar == ar).
Longer-form context, richer prosody, real dialog structure β paired with natural-language emotion and style tags embedded in the text to seed the style head and let the planner learn from richer supervision signals. We expect such datasets to become available as TTS research shifts toward expressive, multi-speaker dialogue.
Graft a flow-matching continuous-latent acoustic decoder over Mimi latents so the prosody signal lands without a codebook-quantization bottleneck.
DPO / GRPO-style preference finetuning β mid-training or post-training on human/AI preferences β has not been explored yet: we've worked with a very limited data budget. LoRA adaptation is already supported for fast, lightweight voice adaptation.
Chunk-wise streaming inference and a full-duplex spoken channel β listen and speak simultaneously, enabling real-time conversational interaction.
gen_ar == ar); no text-shortcut collapse.