tencent/StableToken
10
StableToken: A Noise-Robust Semantic Speech Tokenizer for Resilient SpeechLLMs (ICLR 2026)
StableToken is a noise-robust semantic speech tokenizer that performs discrete speech representation learning, achieving state-of-the-art stability in noisy environments.
For code and more detailed information, please refer to the corresponding GitHub repository.
Model Details
Quick Start
To use StableToken, please clone the official repository and install dependencies.
Installation
git clone --recursive https://github.com/Tencent/StableToken.git
cd StableToken && pip install -r requirements.txtInference
import os
from huggingface_hub import snapshot_download
from transformers import WhisperFeatureExtractor
from src.model.modeling_whisper import WhisperLFQEncoder
from src.utils.flow_inference import AudioDecoder
from src.utils.utils import extract_speech_token, speech_token_to_wav
# 1. Download & Load Models
model_dir = snapshot_download("tencent/StableToken")
# Load Tokenizer
tokenizer = WhisperLFQEncoder.from_pretrained(os.path.join(model_dir, "tokenizer")).eval().cuda()
feature_extractor = WhisperFeatureExtractor.from_pretrained(os.path.join(model_dir, "tokenizer"))
# Load Decoder
decoder = AudioDecoder(
config_path=os.path.join(model_dir, "decoder", "config.yaml"),
flow_ckpt_path=os.path.join(model_dir, "decoder", "flow.pt"),
hift_ckpt_path=os.path.join(model_dir, "decoder", "hift.pt"),
device="cuda"
)
# 2. Tokenize
tokens = extract_speech_token(tokenizer, feature_extractor, ["/path/to/audio.wav"], device="cuda")[0]
# 3. Reconstruct
tts_speech, sampling_rate = speech_token_to_wav(decoder, tokens)Performance
StableToken achieves 60% lower UED (Unit Edit Distance) than best existing supervised semantic tokenizers.
Noise Robustness (UED โ)
Reconstruction Quality
Measurements on LibriSpeech (LS) and SEED benchmarks.
Citation
@article{song2025stabletoken,
title={StableToken: A Noise-Robust Semantic Speech Tokenizer for Resilient SpeechLLMs},
author={Song, Yuhan and Zhang, Linhao and Wu, Chuhan and Liu, Aiwei and Jia, Wei and Wang, Houfeng and Zhou, Xiao},
journal={arXiv preprint arXiv:2509.22220},
year={2025}
}License
This project is licensed under the License Term of StableToken.
