# US 2026/0279382 A1 · Speech similarity embeddings with sensitivity to recording conditions via two-stage augmentations

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0279382 A1
- Document ID: US20260279382A1
- Status: Published application
- Kind: A1
- Application number: 19/566,610
- Filed: 2026-03-13
- Published: 2026-09-17
- Earliest claimed: 2025-03-14
- Assignees: GDM Holding LLC
- Applicants: GDM Holding LLC
- Inventors: Jonas Rothfuss; Marco Tagliasacchi
- Web page: https://patentgrep.com/patent/US20260279382A1

## CPC

- G10L 25/51: for comparison or discrimination
- G10L 13/02: Methods for producing synthetic speech; Speech synthesisers
- G10L 13/033: Voice editing, e.g. manipulating the voice of the synthesiser
- G10L 17/04: Training, enrolment or model building
- G10L 17/06: Decision making techniques; Pattern matching strategies
- G10L 21/003: Changing voice quality, e.g. pitch or formants
- G10L 25/30: using neural networks
- G10L 21/02: Speech enhancement, e.g. noise reduction or echo cancellation (reducing echo effects in line transmission systems H04B3/20; echo suppression in hands-free telephones H04M9/08)
- G10L 21/0316: by changing the amplitude
- G10L 21/043: by changing speed
- G10L 25/69: for evaluating synthetic or decoded voice signals
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

The systems, methods and apparatus described herein are directed towards at least the use of a two-stage augmentation process for vocal audio samples to generate a training dataset for a machine-learning embedding model, the training of machine-learning embedding models on such training data, and the use of such a trained machine-learning embedding models to generate embedding of audio snippets for downstream tasks. The two-stage augmentation process has a first augmentation stage, in which strong augmentations are applied at an audio sample level, and a second augmentation stage, in which weak augmentations are applied at an audio snippet level, where an audio snippet is a section of audio extracted from an audio sample after the first augmentations are applied.

## Claims

### Claim 1

A computer implemented method comprising:
for a plurality of training examples from a training dataset, each training example comprising a pair of audio snippets:
processing, by a machine-learning embedding model, a representation of a first audio snippet in the pair of audio snippets to generate an encoded representation of the first audio snippet;
processing, by the machine-learning embedding model, a representation of a second audio snippet in the pair of audio snippets to generate an encoded representation of the second audio snippet; and
comparing the encoded representation of the first audio snippet to the encoded representation of the second audio snippet using a contrastive loss function; and
updating parameters of the machine-learning embedding model based at least in part on the comparisons of the encoded representations of the first audio snippets to the encoded representations of the second audio snippets,
wherein the training dataset comprises a plurality training examples sampled from an augmented dataset, the augmented dataset comprising a plurality of augmented audio snippets, wherein an augmented audio snippet is generated by applying one or more augmentations from a second set of augmentations to an audio snippet taken from an underlying audio sample that has had one or more augmentations from a first set of augmentations applied, wherein the first set of augmentations are stronger than the second set of augmentations.

### Claim 2 (depends on 1)

The method of claim 1, wherein the training dataset comprises:
a plurality of positive pairs of audio snippets, wherein one or more of the positive pair of audio snippets is sampled from augmented audio snippets of the same underlying audio sample with the same one or more augmentations from the first set of augmentations applied; and
a plurality of negative pairs of audio snippets, wherein one or more of the negative pair of audio snippets comprises a respective first augmented audio snippet sampled from an underlying audio sample with a respective first one or more augmentations from the first set of augmentations applied and a second augmented audio snippet sampled from an underlying audio sample with a second one or more augmentations from the first set of augmentations applied.

### Claim 3 (depends on 2)

The method of claim 2, wherein one or more of the negative pair of audio snippets comprises a respective first audio snippet sampled from a first underlying audio sample and a second audio snippet sampled from a second underlying audio sample.

### Claim 4 (depends on 2)

The method of claim 2, wherein the contrastive loss function rewards the encoded representation of the first audio snippet and the encoded representation of the second audio snippet of a positive pair being close in embedding space and penalizes the encoded representation of the first audio snippet and the encoded representation of the second audio snippet of a negative pair being close in embedding space.

### Claim 5 (depends on 1)

The method of claim 1:
wherein the representation of the first audio snippet in the pair of audio snippets and/or the representation of the second audio snippet in the pair of audio snippets comprises a respective plurality of first embeddings; and
wherein each embedding in the plurality of first embeddings encodes features from a respective temporal section of the corresponding audio snippet.

### Claim 6 (depends on 5)

The method of claim 5, wherein the method further comprises:
generating, using a further machine-learning embedding model, the representation of the first audio snippet in the pair of audio snippets from the first audio snippet in the pair of audio snippets; and
generating, using the further machine-learning embedding model, the representation of the second audio snippet in the pair of audio snippets from the second audio snippet in the pair of audio snippets.

### Claim 7

A computer implemented method comprising:
for each of one or more audio samples:
applying a respective one or more augmentations from a first set of augmentations to the audio sample to generate one or more augmented audio samples;
extracting, from the one or more augmented audio samples, a plurality of audio snippets; and
applying a respective further one or more augmentations from a second set of augmentations to one or more of the audio snippets to generate one or more augmented audio snippets,
generating one or more positive pairs of audio snippets from audio snippets and/or augmented audio snippets, wherein the audio snippets in a positive pair are both extracted from the same augmented audio sample, or both extracted from the audio sample;
generating one or more negative pairs of audio snippets from audio snippets and/or augmented audio snippets, wherein the audio snippets in a negative pair are extracted from different augmented audio samples; and
incorporating the positive pairs of audio snippets and negative pairs of audio snippets into a training dataset of pairs of audio snippets,
wherein the first set of augmentations are stronger than the second set of augmentations.

### Claim 8 (depends on 7)

The method of claim 7, wherein the method further comprises:
training a machine-learning embedding model on the training dataset using a contrastive loss function.

### Claim 9 (depends on 7)

The method of claim 7, wherein the first set of augmentations comprises one or more of: a pitch shift; a change in volume; a change in the frequency response function; addition of reverberations and/or echoes; the addition of saturation effects; and/or the addition of noise.

### Claim 10 (depends on 1)

The method of claim 1, wherein the second set of augmentations comprises one or more of: a change in speed; a change in volume; a change in the frequency- and/or phase response; applying a weak bandpass filter; adding reverberation; denoising; and/or adding saturation effects.

### Claim 11 (depends on 1)

The method of claim 1, wherein:
the respective one or more augmentations from the first set of augmentations are selected randomly from the first set of augmentations; and/or
the respective one or more further augmentations from the second set of augmentations are selected randomly from the second set of augmentations.

### Claim 12

A computer implemented method comprising:
inputting, into a machine-learning embedding model, a first encoded representation of an input audio sample, the first encoded representation comprising a plurality of first embeddings, wherein each embedding in the plurality of first embeddings encodes features from a respective a temporal section of the input audio sample; and
processing, by the machine-learning embedding model, the first encoded representation of the input audio to generate a second embedding of the input audio sample, wherein the second embedding of the input audio encodes features from the whole input audio sample.

### Claim 13 (depends on 12)

The method of claim 12, wherein the machine-learning embedding model has been trained by performing operations comprising:
for a plurality of training examples from a training dataset, each training example comprising a pair of audio snippets:
processing, by the machine-learning embedding model, a representation of a first audio snippet in the pair of audio snippets to generate an encoded representation of the first audio snippet;
processing, by the machine-learning embedding model, a representation of a second audio snippet in the pair of audio snippets to generate an encoded representation of the second audio snippet; and
comparing the encoded representation of the first audio snippet to the encoded representation of the second audio snippet using a contrastive loss function; and
updating parameters of the machine-learning embedding model based at least in part on the comparisons of the encoded representations of the first audio snippets to the encoded representations of the second audio snippets,
wherein the training dataset comprises a plurality training examples sampled from an augmented dataset, the augmented dataset comprising a plurality of augmented audio snippets, wherein an augmented audio snippet is generated by applying one or more augmentations from a second set of augmentations to an audio snippet taken from an underlying audio sample that has had one or more augmentations from a first set of augmentations applied, wherein the first set of augmentations are stronger than the second set of augmentations.

### Claim 14 (depends on 13)

The method of claim 13, wherein the training dataset comprises:
a plurality of positive pairs of audio snippets, wherein one or more of the positive pair of audio snippets is sampled from augmented audio snippets of the same underlying audio sample with the same one or more augmentations from the first set of augmentations applied; and
a plurality of negative pairs of audio snippets, wherein one or more of the negative pair of audio snippets comprises a respective first augmented audio snippet sampled from an underlying audio sample with a respective first one or more augmentations from the first set of augmentations applied and a second augmented audio snippet sampled from an underlying audio sample with a second one or more augmentations from the first set of augmentations applied.

### Claim 15 (depends on 14)

The method of claim 14, wherein one or more of the negative pair of audio snippets comprises a respective first audio snippet sampled from a first underlying audio sample and a second audio snippet sampled from a second underlying audio sample.

### Claim 16 (depends on 14)

The method of claim 14, wherein the contrastive loss function rewards the encoded representation of the first audio snippet and the encoded representation of the second audio snippet of a positive pair being close in embedding space and penalizes the encoded representation of the first audio snippet and the encoded representation of the second audio snippet of a negative pair being close in embedding space.

### Claim 17 (depends on 13)

The method of claim 13:
wherein the representation of the first audio snippet in the pair of audio snippets and/or the representation of the second audio snippet in the pair of audio snippets comprises a respective plurality of first embeddings; and
wherein each embedding in the plurality of first embeddings encodes features from a respective temporal section of the corresponding audio snippet.

### Claim 18 (depends on 17)

The method of claim 17, wherein the method further comprises:
generating, using a further machine-learning embedding model, the representation of the first audio snippet in the pair of audio snippets from the first audio snippet in the pair of audio snippets; and
generating, using the further machine-learning embedding model, the representation of the second audio snippet in the pair of audio snippets from the second audio snippet in the pair of audio snippets.
