Google USM (Universal Speech Model)
A Conformer speech encoder from an implementation of Google's Universal Speech Model.
Audio and speech · 1,192 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Audio and speech
- Parameters
- 1.4M
- Operations
- 1,192
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2023
- Cited by
- 422 (as of 14 November 2026)
- Authors
- Yu Zhang, Wei Han, James Qin and others
- Source
- GitHub: kyegomez/USM
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m17092
- Graph hash
- 162c62b5111d235b93426e3e2a72ea3ab98fea84336c447866a2fd1616e220ee
- Skeleton hash
- c5c1742f272cdff8ca2a170da51b6dd0026ffc3ac5abedda08d871c3f15182cc
- Architecture hash
- 6305f43d4ee3a88a2053c985e592b1337106fc62216dd1ff4f6f678986e963b9
- Diagram SHA-256
- 1684d7f9cb099daf10fad70262a4bef93ad933cff9d152cb8eeb1f12a31a6fb5
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
The Universal Speech Model (USM) is a single large model for automatic speech recognition (ASR) across more than 100 languages. Its encoder is pre-trained on 12 million hours of unlabeled multilingual audio spanning over 300 languages, then fine-tuned on a smaller labeled dataset. The paper considers two model sizes, which it gives as 600M and 2B parameters.
The encoder is a Conformer, a convolution-augmented transformer, with relative attention. Pre-training uses BEST-RQ, a BERT-style task that predicts masked speech features. The targets come from projecting each feature with a randomly initialized, frozen matrix and finding the closest codebook vector. For long recordings the paper adds chunk-wise attention, which restricts attention to audio chunks. The paper reports comparable or better speech recognition results than Whisper with a labeled training set 1/7-th the size.
This model is an implementation of Google's universal speech model written from the paper. Its usm_torch package provides the encoder as USMEncoder. Its to-do list still names chunk-wise attention as an item to implement. The same list includes the projection, cosine similarity and codebook step.
Key idea. USM pre-trains a Conformer encoder on 12 million hours of unlabeled audio in over 300 languages and fine-tunes it for speech recognition across 100+ languages.
- usm
- universal speech model
- google usm
- automatic speech recognition
- multilingual asr
- speech recognition
- speech encoder
- conformer speech encoder
- usm-torch
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{zhang2023googleusmscalingautomatic,
title={Google USM: Scaling Automatic Speech Recognition Beyond 100 Languages},
author={Yu Zhang and Wei Han and James Qin and Yongqiang Wang and Ankur Bapna and Zhehuai Chen and Nanxin Chen and Bo Li and Vera Axelrod and Gary Wang and Zhong Meng and Ke Hu and Andrew Rosenberg and Rohit Prabhavalkar and Daniel S. Park and Parisa Haghani and Jason Riesa and Ginger Perng and Hagen Soltau and Trevor Strohman and Bhuvana Ramabhadran and Tara Sainath and Pedro Moreno and Chung-Cheng Chiu and Johan Schalkwyk and Françoise Beaufays and Yonghui Wu},
year={2023},
eprint={2303.01037},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2303.01037},
}