ASR Model Quantization and Sparsity Aware Fine-Tuning

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The deployment of large-scale universal speech models for automatic speech recognition is hindered by their massive size, requiring significant memory and computational resources, necessitating efficient fine-tuning and model compression algorithms.

Innovation Solution

A computer-implemented method for fine-tuning a pre-trained automatic speech recognition (ASR) model using quantization and sparsity aware training with native integer operations, involving pruning weights using a sparsity mask and quantizing weights based on integers with a fixed-bit width, thereby reducing model size while maintaining accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If large-scale universal speech models are deployed for automatic speech recognition, then recognition quality is improved, but memory and computational resource requirements increase significantly

Engineering Contradiction:
Improverecognition qualityVSAvoidmodel size
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent extracts and removes redundant or less important weights from the model using pruning techniques. By identifying and eliminating unnecessary connections in the neural network, the model size is reduced while attempting to preserve the essential functionality for speech recognition quality.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent changes the precision parameters of model weights by quantizing them from high precision (e.g., 32-bit floating point) to low precision (e.g., 8-bit integers or lower). This parameter transformation reduces memory requirements and computational complexity while maintaining acceptable recognition performance.

Inventive Principle:
Principle #35Parameter changes

2Quantity of substance

If model compression is applied to reduce ASR model size, then deployment cost is reduced, but recognition accuracy may deteriorate

Engineering Contradiction:
Improvemodel sizeVSAvoidrecognition accuracy
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

The patent applies preliminary quantization-aware training before final model compression. During this preliminary phase, the model is trained with quantized weights to adapt its parameters to the lower precision representation, thereby compensating for potential accuracy losses that would occur with direct compression of a fully trained high-precision model.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent incorporates feedback mechanisms during the fine-tuning process where the model performance is continuously monitored and used to guide further pruning and quantization decisions. This iterative feedback loop allows the system to identify which weight reductions have minimal impact on accuracy and which require more careful handling.

Inventive Principle:
Principle #23Feedback

3Use of energy by moving object

If quantization and pruning are applied during fine-tuning, then computational resources are reduced, but training complexity increases

Engineering Contradiction:
Improvecomputational costVSAvoidfine-tuning complexity
Core Design Contradiction:
Use of energy by moving objectVSDevice complexity

Solution Approach 1:

The patent segments the fine-tuning process into distinct phases: initial quantization-aware training, followed by pruning, then further fine-tuning, and finally evaluation. This segmentation allows each sub-task to be optimized independently and makes the overall complex process more manageable and systematic.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20250078815A1Quantization and sparsity aware fine-tuning for speech recognition with universal speech models
Publication Date: 2025.03.06 GOOGLE LLC
  • US20250078815A1 patent drawing
  • US20250078815A1 patent drawing
  • US20250078815A1 patent drawing

AI summary

A method includes obtaining a plurality of training samples that each include a respective speech utterance and a respective textual utterance representing a transcription of the respective speech utterance. The method also includes fine-tuning, using quantization and sparsity aware training with native integer operations, a pre-trained automatic speech recognition (ASR) model on the plurality of training samples. Here, the pre-trained ASR model includes a plurality of weights and the fine-tuning includes pruning one or more weights of the plurality of weights using a sparsity mask and quantizing each weight of the plurality of weights based on an integer with a fixed-bit width. The method also includes providing the fine-tuned ASR model to a user device.