CPU TTS benchmark: Kokoro, Supertonic, Inflect-Nano, and Pocket TTS
๐กA deep dive into small-scale TTS performance, revealing why streaming architectures are superior for interactive latency
โก 30-Second TL;DR
What Changed
Pocket TTS uses a streaming LM architecture, providing flat RTF scaling regardless of text length.
Why It Matters
This benchmark helps developers select the right TTS model for edge deployment by highlighting that objective metrics like UTMOS must be paired with human listening for naturalness.
What To Do Next
If building for interactive edge systems, prioritize models with flat RTF scaling like Pocket TTS to ensure consistent latency.
Key Points
- โขPocket TTS uses a streaming LM architecture, providing flat RTF scaling regardless of text length.
- โขUTMOS scoring can be misleading for small models, often rewarding 'clean' but robotic audio over natural prosody.
- โขKokoro 82M showed performance variations between PyTorch and ONNX depending on the underlying CPU architecture.
- โขInflect-Nano-v1 has a hidden 15-second output cap, skewing its performance metrics on longer texts.
๐ง Deep Insight
AI-generated analysis for this event.
๐ Enhanced Key Takeaways
- โขKokoro utilizes a VITS-based architecture combined with a transformer-based phonemizer, which distinguishes its inference path from pure autoregressive models.
- โขKyutai's Pocket TTS leverages a specialized distillation process that allows it to maintain low-latency streaming without the typical memory overhead of larger transformer decoders.
- โขThe UTMOS (University of Tokyo Mean Opinion Score) metric is increasingly criticized in the TTS community for failing to capture 'expressive' prosody, often favoring models with lower signal-to-noise ratios over those with human-like intonation.
- โขInflect-Nano-v1's 15-second output cap is a design choice intended to optimize for real-time conversational turn-taking rather than long-form document narration.
- โขRecent benchmarks indicate that CPU-based inference for these models is highly sensitive to AVX-512 instruction set utilization, which significantly impacts the RTF (Real-Time Factor) on modern server-grade CPUs.
๐ Competitor Analysisโธ Show
| Feature | Kokoro 82M | Pocket TTS | Inflect-Nano-v1 | Supertonic |
|---|---|---|---|---|
| Architecture | VITS + Transformer | Streaming LM | Distilled Transformer | Proprietary/Hybrid |
| Primary Use Case | Edge/Local TTS | Real-time Conversational | Low-latency API | High-fidelity CPU |
| CPU Efficiency | High (ONNX) | Very High | Medium | High |
| License | Apache 2.0 | Open Source (Research) | Proprietary | Commercial |
๐ ๏ธ Technical Deep Dive
- Kokoro 82M: Employs a lightweight VITS (Variational Inference with adversarial learning for end-to-end Text-to-Speech) backbone, optimized for 82 million parameters to fit within constrained memory environments.
- Pocket TTS: Implements a streaming-first architecture that processes audio tokens in chunks, effectively decoupling the inference time from the total length of the input text.
- Inflect-Nano-v1: Uses a highly compressed transformer block structure designed to minimize the KV-cache footprint, facilitating rapid context switching in conversational AI agents.
- Inference Backends: Performance variance is largely attributed to how PyTorch's JIT compiler versus ONNX Runtime handles specific operator fusion for small-scale matrix multiplications on CPU architectures.
๐ฎ Future ImplicationsAI analysis grounded in cited sources
โณ Timeline
๐ฐ Event Coverage
Weekly AI Recap
Read this week's curated digest of top AI events โ
๐Related Updates
AI-curated news aggregator. All content rights belong to original publishers.
Original source: Reddit r/MachineLearning โ