# US 2019/0318722 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 2019/0318722 A1
- Document ID: US20190318722A1
- Status: Published application
- Kind: A1
- Application number: 16/168,478
- Filed: 2018-10-23
- Published: 2019-10-17
- Earliest claimed: 2018-04-12
- Assignees: Spotify AB
- Applicants: Spotify AB
- Inventors: Daniel BROMAND
- Web page: https://patentgrep.com/patent/US20190318722A1

## 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 1

A method for training or testing an utterance-based framework, the method comprising:
generating a synthetic weight vector associated with a vector space;
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 utterance-based framework as at least one of a testing or training sample,
wherein generating the synthetic weight vector includes:
obtaining one or more natural weight vectors; and
applying a genetic algorithm to the one or more natural weight vectors, thereby generating the synthetic weight vector.

### Claim 2 (depends on 1)

The method of claim 1, wherein applying the genetic algorithm to the one or more natural weight vectors includes:
applying crossover to two natural weight vectors, thereby generating the synthetic weight vector.

### Claim 3 (depends on 1)

The method of claim 1,
wherein obtaining the one or more natural weight vectors includes obtaining a low-confidence natural weight vector;
wherein generating the synthetic weight vector includes obtaining a high-confidence weight vector; and
wherein applying a genetic algorithm to the one or more natural weight vectors includes applying a genetic algorithm to the low-confidence natural weight vector and the high-confidence weight vector, thereby generating the synthetic weight vector.

### Claim 4 (depends on 1)

The method of claim 1, wherein generating the synthetic weight vector includes:
generating one or more pseudorandom values between a lower threshold and an upper threshold.

### Claim 5 (depends on 1)

The method of claim 1, wherein generating the synthetic voice sample based on the synthetic feature vector includes:
providing the synthetic feature vectors as input to a speech synthesizer.

### Claim 6 (depends on 1)

The method of claim 1, wherein the providing the synthetic voice sample to the utterance-based framework as the at least one of a testing or training sample includes:
providing 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.

### Claim 7 (depends on 6)

The method of claim 6, wherein providing the synthetic voice sample to the utterance-based framework as the at least one of a testing or training sample further includes:
determining 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 8 (depends on 6)

The method of claim 6, wherein providing the synthetic voice sample to the utterance-based framework as the at least one of a testing or training sample further includes:
adjusting weights 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 9 (depends on 1)

The method of claim 1, wherein providing the synthetic voice sample to the utterance-based framework includes:
playing the synthetic voice sample through a speaker to an appliance having the utterance-based framework.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
providing a natural sample to the utterance-based framework as at least one of a testing or training sample.

### Claim 11 (depends on 1)

The method of claim 1, wherein generating the synthetic weight vector includes:
generating the synthetic weight vector based on a training sample that the utterance-based framework processed incorrectly.

### Claim 12 (depends on 1)

The method of claim 1, further comprising:
obtaining a training set of audio clips;
representing each audio file of the training set of audio clips as a feature vector to form a plurality of feature vectors;
generating the 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.

### Claim 13 (depends on 1)

The method of claim 1, further comprising:
receiving an output from the utterance-based framework regarding whether the synthetic voice sample included an activation trigger.

### Claim 14

A system 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;
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 utterance-based framework as at least one of a testing or training sample,
wherein generating the synthetic weight vector includes:
obtaining one or more natural weight vectors; and
applying a genetic algorithm to the one or more natural weight vectors, thereby generating the synthetic weight vector.

### Claim 15 (depends on 14)

The system of claim 14, wherein applying the genetic algorithm to the one or more natural weight vectors includes:
applying crossover to two natural weight vectors, thereby generating the synthetic weight vector.

### Claim 16 (depends on 14)

The system of claim 14,
wherein obtaining the one or more natural weight vectors includes obtaining a low-confidence natural weight vector;
wherein generating the synthetic weight vector includes obtaining a high-confidence weight vector; and
wherein applying a genetic algorithm to the one or more natural weight vectors includes applying a genetic algorithm to the low-confidence natural weight vector and the high-confidence weight vector, thereby generating the synthetic weight vector.

### Claim 17 (depends on 14)

The system of claim 14, wherein the providing the synthetic voice sample to the utterance-based framework as the at least one of a testing or training sample includes:
providing 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
determining 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

A non-transitory computer readable medium having instructions stored thereon that, when executed by a processor, cause the processor to:
generate a synthetic weight vector associated with a vector space;
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 utterance-based framework as at least one of a testing or training sample;
wherein generating the synthetic weight vector includes:
obtaining a low-confidence natural weight vector;
obtaining a high-confidence weight vector; and
applying a genetic algorithm to the low-confidence natural weight vector and the high-confidence weight vector, thereby generating the synthetic weight vector.

### Claim 19 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein generating the synthetic weight vector includes:
generating one or more pseudorandom values between a lower threshold and an upper threshold.

### Claim 20 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein generating the synthetic voice sample based on the synthetic feature vector includes:
providing the synthetic feature vectors as input to a speech synthesizer.
