# US 2024/0203401 A1 · Training and testing utterance-based frameworks

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

- Number: US 2024/0203401 A1
- Document ID: US20240203401A1
- Status: Published application
- Kind: A1
- Application number: 18/530,702
- Filed: 2023-12-06
- Published: 2024-06-20
- Earliest claimed: 2018-04-12
- Assignees: Spotify AB
- Applicants: Spotify AB
- Inventors: Daniel Bromand
- Web page: https://patentgrep.com/patent/US20240203401A1

## CPC

- G10L 15/063: {Training}
- G06F 7/582: {Pseudo-random number generators}
- G10L 13/02: Methods for producing synthetic speech; Speech synthesisers
- G10L 15/07: to the speaker
- G10L 2015/0635: {updating or merging of old and new templates; Mean values; Weighting}
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems, methods, and devices for training and testing utterance based frameworks are disclosed. The training and testing can be conducting using synthetic utterance samples in addition to natural utterance samples. The synthetic utterance samples can be generated based on a vector space representation of natural utterances. In one method, a synthetic weight vector associated with a vector space is generated. An average representation of the vector space is added to the synthetic weight vector to form a synthetic feature vector. The synthetic feature vector is used to generate a synthetic voice sample. The synthetic voice sample is provided to the utterance-based framework as at least one of a testing or training sample.

## Claims

### Claim at position 1

1-6. (canceled)

### Claim 7

A method for training an audio voice framework, the method comprising:
generating a synthetic weight vector associated with a vector space, wherein generating the synthetic weight vector includes:
obtaining a low-confidence natural weight vector;
obtaining a high-confidence natural weight vector; and
applying a genetic algorithm to the low-confidence natural weight vector and the high-confidence natural weight vector, thereby generating the synthetic weight vector;
adding an average representation of the vector space to a product of multiplying the synthetic weight vector and eigenvoices associated with the vector space, thereby forming a synthetic feature vector;
generating a synthetic voice sample based on the synthetic feature vector; and
providing the synthetic voice sample to the audio voice framework as an audio sample for training the audio voice framework.

### Claim 8 (depends on 7)

The method of claim 7, wherein generating the synthetic weight vector includes generating the synthetic weight vector based on a training sample that the audio voice framework processed incorrectly.

### Claim 9 (depends on 7)

The method of claim 7, wherein providing the synthetic voice sample to the audio voice framework includes:
providing the synthetic voice sample to an activation trigger engine, the activation trigger engine being configured to detect an activation trigger and, in response thereto, transition a speech analysis engine from an inactive state to an active state,
wherein the synthetic voice sample includes a representation of a synthetic voice uttering an activation trigger.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
adjusting weights of the activation trigger engine based on comparing an expected output of the activation trigger engine and an actual output of the activation trigger engine responsive to the synthetic voice sample being provided to the activation trigger engine.

### Claim 11 (depends on 9)

The method of claim 9, further comprising:
determining, by the speech analysis engine, an intent associated with the synthetic voice sample.

### Claim 12 (depends on 7)

The method of claim 7, wherein providing the synthetic voice sample to the audio voice framework includes:
playing the synthetic voice sample through a speaker to an appliance having the audio voice framework.

### Claim 13 (depends on 7)

The method of claim 7, further comprising:
providing a natural sample to the audio voice framework as at least one of a testing or training sample.

### Claim 14 (depends on 7)

The method of claim 7, further comprising:
providing the synthetic feature vectors to the audio voice framework for training the audio voice framework.

### Claim 15 (depends on 7)

The method of claim 7, further comprising:
creating audio files by inputting the synthetic feature vectors into a speech synthesizer.

### Claim 16

A system for training an audio voice framework, comprising:
one or more processors; and
a computer-readable storage medium coupled to the one or more processors and comprising instructions thereon that, when executed by the one or more processors, cause the one or more processors to:
generate a synthetic weight vector associated with a vector space, wherein generating the synthetic weight vector includes:
obtain a low-confidence natural weight vector;
obtain a high-confidence natural weight vector; and
apply a genetic algorithm to the low-confidence natural weight vector and the high-confidence natural weight vector, thereby generating the synthetic weight vector;
add an average representation of the vector space to a product of multiplying the synthetic weight vector and eigenvoices associated with the vector space, thereby forming a synthetic feature vector;
generate a synthetic voice sample based on the synthetic feature vector; and
provide the synthetic voice sample to the audio voice framework as an audio sample for training the audio voice framework.

### Claim 17 (depends on 16)

The system of claim 16, wherein the instructions further cause the one or more processors to:
provide the synthetic voice sample to an activation trigger detection framework, wherein the synthetic voice sample includes a representation of a synthetic voice uttering an activation trigger; and
determine a fitness of the activation trigger detection framework based on comparing an expected output of the activation trigger detection framework and an actual output of the activation trigger detection framework responsive to the synthetic voice sample being provided to the activation trigger detection framework.

### Claim 18 (depends on 16)

The system of claim 16, wherein the instructions further cause the one or more processors to:
adjust weights of the activation trigger engine based on comparing the expected output of the activation trigger engine and the actual output of the activation trigger engine responsive to the synthetic voice sample being provided to the activation trigger engine.

### Claim 19 (depends on 16)

The system of claim 16, wherein the instructions further cause the one or more processors to:
determine, by a speech analysis engine, an intent associated with the synthetic voice sample.

### Claim 20 (depends on 16)

The system of claim 16, further comprising:
providing the synthetic feature vectors to the audio voice framework for training the audio voice framework.

### Claim 21

A method for training an audio voice framework, the method comprising:
generating a set of audio files from a plurality of audio clips of the speech of one or more individuals;
representing each audio file of the plurality of audio clips as a feature vector to form a plurality of feature vectors;
generating an average representation vector from the plurality of feature vectors;
subtracting the average representation vector from the plurality of feature vectors to obtain a mean-centered result; and
performing singular value decomposition based on the mean-centered result to obtain eigenvoices;
defining a vector space of the plurality of feature vectors based on the obtained eigenvoices;
generating synthetic voice samples within the defined vector space based on the plurality of feature vectors; and
providing the synthetic voice samples to the audio voice framework as audio samples for training the audio voice framework.

### Claim 22 (depends on 21)

The method of claim 21, further comprising selecting the best eigenvoices of the obtained eigenvoices to define the vector space.

### Claim 23 (depends on 21)

The method of claim 21, further comprising:
determining, by a speech analysis engine, an intent associated with the synthetic voice sample.

### Claim 24 (depends on 21)

The method of claim 21, wherein providing the synthetic voice sample to the audio voice framework includes:
playing the synthetic voice sample through a speaker to an appliance having the audio voice framework.

### Claim 25 (depends on 21)

The method of claim 21, further comprising:
providing a natural sample to the audio voice framework as at least one of a testing or training sample.

### Claim 26 (depends on 21)

The method of claim 21, further comprising:
creating audio files by inputting the synthetic feature vectors into a speech synthesizer.
