ASR Encoder Canary Auditing for Unintended Memorization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Automated speech recognition (ASR) models unintentionally memorize sensitive training data, leading to privacy leaks and vulnerabilities to privacy attacks, which existing techniques like differential privacy and gradient clipping fail to adequately address without compromising model performance.

Innovation Solution

Pre-train audio encoders on un-transcribed speech utterances and synthetic training canary speech utterances using a text-to-speech system, applying sensitivity-bounded training with per-example gradient clipping and a novel loss function that uses word-level masks, and audit unintended memorization through contrastive learning.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If ASR models are trained on large datasets to improve accuracy, then transcription accuracy improves, but unintended memorization of sensitive data increases

Engineering Contradiction:
Improvetranscription accuracyVSAvoidunintended memorization
Core Design Contradiction:
Measurement precisionVSObject-generated harmful factors

Solution Approach 1:

The patent applies sensitivity-bounded training with per-example gradient clipping during the pre-training phase to proactively prevent memorization before it occurs. By bounding the gradient norm for each training example during backpropagation, the model learns general speech patterns without memorizing specific sensitive utterances, thus preventing privacy leaks before deployment

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces synthetic canary speech utterances as an intermediary mechanism to detect and measure unintended memorization. These canary utterances, which are out-of-distribution from the main training data, serve as probes to audit whether the model has memorized sensitive information, allowing developers to identify and mitigate privacy risks

Inventive Principle:
Principle #24Intermediary (Mediator)

2Object-affected harmful factors

If differential privacy techniques are applied to prevent memorization, then privacy protection improves, but model performance deteriorates

Engineering Contradiction:
Improveprivacy protectionVSAvoidmodel performance
Core Design Contradiction:
Object-affected harmful factorsVSMeasurement precision

Solution Approach 1:

The patent changes the training parameter regime by applying per-example gradient clipping with a bounded gradient norm rather than using traditional differential privacy noise injection. This parameter change allows the model to maintain better convergence and performance while still providing privacy guarantees through the gradient bounding mechanism, avoiding the severe performance degradation associated with DP-SGD

Inventive Principle:
Principle #35Parameter changes

3Object-affected harmful factors

If gradient clipping is applied to reduce memorization, then privacy protection improves, but training stability worsens

Engineering Contradiction:
Improveprivacy protectionVSAvoidtraining stability
Core Design Contradiction:
Object-affected harmful factorsVSStability of the object's composition

Solution Approach 1:

The patent applies gradient clipping as a preliminary action during the pre-training phase before the model is deployed. By bounding gradients early in the training process, the model learns robust features without memorizing sensitive data, and this preventive measure stabilizes training by preventing gradient explosion while maintaining privacy protection

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent maintains continuous useful action by ensuring that gradient clipping operates consistently throughout training without disrupting the learning process. The bounded gradient norm allows training to proceed smoothly with stable convergence, preventing both memorization and training instability

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentUS20250279112A1Quantifying Unintended Memorization in Automated Speech Recognition Encoders
Publication Date: 2025.09.04 GOOGLE LLC
  • US20250279112A1 patent drawing
  • US20250279112A1 patent drawing
  • US20250279112A1 patent drawing

AI summary

A method includes receiving a training data set including un-transcribed speech utterances that each include audio-only data not paired with any corresponding transcription, and obtaining a plurality of training canary transcriptions each including a predetermined number of words that are out-of-distribution from words of the un-transcribed speech utterances. For each training canary transcription, the method also includes generating, using TTS system, a corresponding synthetic training canary speech utterance that recites the predetermined number of words of the training canary transcription and pre-training an audio encoder on a combination of the un-transcribed speech utterances and the synthetic training canary speech utterances. The method also includes measuring an un-intended memorization of the pre-trained audio encoder based on encoder labels predicted by the pre-trained encoder for the synthetic training canary speech utterances.