BlueMagpie-TTS: A Token-Efficient Tokenizer, Language Model, and TTS for Taiwanese-Accent Code-Switching Speech

· Source: Computation and Language · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Natural Language Processing · Depth: Expert, quick

Summary

BlueMagpie-TTS is a novel text-to-speech system designed to overcome the limitations of off-the-shelf TTS for Taiwanese Mandarin, particularly its accent, tokenization, and code-switching performance. The system addresses these issues by adapting the text side from the ground up. It incorporates PangolinTokenizer, a byte-level BPE tokenizer trained on Taiwan-context data, achieving a low token rate of 0.485 tokens/character. Barbet, a billion-parameter Traditional-Chinese language model trained with PangolinTokenizer, serves as the text-semantic frontend, outperforming comparable public models on a 14-task evaluation. BlueMagpie-TTS integrates Barbet with the pretrained VoxCPM2 acoustic stack via a learned bridge. This approach reduced Character Error Rate from 11.45% to 4.81% and Word Error Rate from 14.83% to 5.36% on a 1000-sentence Taiwanese test set. A blind listening study showed 65.6% preference for BlueMagpie-TTS.

Key takeaway

For NLP Engineers or ML Engineers developing TTS systems for regional language variants or code-switching speech, you should prioritize deep adaptation of the text-side components. Investing in custom tokenizers trained on context-specific data and specialized language models, as demonstrated by BlueMagpie-TTS, can significantly improve accuracy and naturalness. This approach allows you to achieve superior performance in challenging linguistic contexts without retraining the entire acoustic stack.

Key insights

Tailoring text-side components like tokenizers and language models to specific linguistic contexts dramatically improves TTS performance.

Principles

Method

Train a byte-level BPE tokenizer on target-language data, then a large language model using this tokenizer, and finally connect it to a pre-trained acoustic model via a learned bridge.

In practice

Topics

Best for: Research Scientist, AI Scientist, NLP Engineer, Machine Learning Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Computation and Language.