Sharing Low Rank Conformer Weights for Tiny Always-On Ambient Speech Recognition Models

Steven M. Hernandez, Ding Zhao, Shaojin Ding, Antoine Bruguier, Rohit Prabhavalkar, Tara N. Sainath, Yanzhang He, Ian McGraw · DOI

Introduction

Modern Automatic Speech Recognition (ASR) has seen a paradigm shift toward massive architectures, with state-of-the-art Conformer models often exceeding 100 million parameters. While these models deliver high accuracy, they present a significant challenge for "always-on" ambient speech applications on edge devices like smartwatches and mobile phones.

The primary constraint for these devices is not merely raw compute power, but memory bandwidth. Specialized edge hardware, such as edge TPUs, typically features limited dedicated memory—often less than 6MB. When a model's size exceeds this capacity, the system must constantly swap weights between the TPU and main DRAM. This process is energy-intensive, draining battery life, and introduces latency that degrades the user experience. To enable viable ambient ASR, the entire model must remain resident within the TPU's local memory, necessitating a footprint of approximately 5 million parameters or fewer.

Methodology

Researchers from Google and VCU addressed this constraint by developing a multi-tiered weight-reuse strategy within the Conformer architecture. Their approach combines structural repetition with mathematical compression to maximize the utility of every parameter.

Multi-Level Weight Sharing

The team explored several dimensions of weight sharing to create "virtual depth" without increasing the physical memory footprint:

  1. Layer-Level Sharing: Instead of utilizing 16 unique physical layers, the architecture might employ only 4 physical layers, passing data through each layer multiple times (e.g., three iterations). This increases the complexity of the transformations while keeping the parameter count static.
  2. Module-Level Sharing: The Conformer block consists of distinct modules, including Multi-Head Attention (MHA), Feed-Forward Networks (FFN), and Convolutions. The researchers experimented with sharing specific modules across the entire stack while keeping others unique.
  3. Sub-component Customization: By identifying specific linear layers or small weight matrices that benefit most from being unique, the researchers could "unshare" critical components to boost accuracy where it mattered most.

Low-Rank Factorization (LRF)

To further compress the model, the authors applied Low-Rank Factorization to the weight matrices. A large matrix $M$ is decomposed into two smaller matrices, $U$ and $V$, such that $M \approx UV^T$. By selecting a low rank ($k$), the number of parameters is significantly reduced. Unlike post-training compression techniques, these low-rank structures were trained from scratch, allowing the model to learn optimal representations within the constrained rank space.

Experimental Setup

The models were evaluated using the LibriSpeech dataset, a standard 960-hour benchmark for English speech recognition. Training utilized the train-clean-100, train-clean-360, and train-other-500 subsets, while performance was measured on the dev-clean and test-clean evaluation sets.

Key Insights and Results

The research revealed a critical trade-off between rank and layer count. By utilizing Low-Rank Factorization, the authors saved enough memory per layer to increase the total number of physical layers from 4 to 8 while remaining under the 5M parameter limit. This suggests that for tiny models, "thinner and deeper" architectures often outperform "wider and shallower" ones.

Furthermore, the study identified Strategic Unsharing as a vital optimization. The authors found that providing each layer with its own unique Convolution module provided a substantial accuracy boost for a relatively low memory cost. Conversely, unsharing Feed-Forward modules was found to be too "expensive" in terms of parameter count for the marginal gains achieved.

Performance Comparison

The proposed LRS3 (Low-Rank Sharing) model was compared against a standard 14M parameter Conformer and a handcrafted 5M parameter baseline (B1):

  • Base Model (14M parameters): 2.18% WER on dev-clean.
  • Handcrafted Baseline (4.9M parameters): 3.53% WER on dev-clean.
  • LRS3 Model (5.04M parameters): 2.84% WER on dev-clean.

The LRS3 model achieved a 19.5% relative improvement in Word Error Rate (WER) over the handcrafted baseline, significantly closing the gap with models nearly three times its size.

Conclusion

This research demonstrates that through a combination of virtual depth, strategic module unsharing, and low-rank factorization, it is possible to shrink high-performance ASR models to fit within the strict memory limits of edge hardware. While the current study focused on English speech and manual ablation, future work may involve automated Neural Architecture Search (NAS) to explore the massive search space of sharing configurations and extending these techniques to multilingual or noisy ambient environments.

Summary updated

BibTeX
@inproceedings{hernandez2023sharing,
  author = {Steven M. Hernandez and Ding Zhao and Shaojin Ding and Antoine Bruguier and Rohit Prabhavalkar and Tara N. Sainath and Yanzhang He and Ian McGraw},
  title = {{Sharing Low Rank Conformer Weights for Tiny Always-On Ambient Speech Recognition Models}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2023},
  doi = {10.1109/icassp49357.2023.10095006},
}
Figure