# US 2021/0343305 A1 · Using a predictive model to automatically enhance audio having various audio quality issues

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

- Number: US 2021/0343305 A1
- Document ID: US20210343305A1
- Status: Published application
- Kind: A1
- Application number: 16/863,591
- Filed: 2020-04-30
- Published: 2021-11-04
- Earliest claimed: 2020-04-30
- Assignees: Adobe Inc.; The Trustees of Princeton University
- Applicants: Adobe Inc.; The Trustees of Princeton University
- Inventors: Zeyu Jin; Jiaqi Su; Adam Finkelstein
- Web page: https://patentgrep.com/patent/US20210343305A1

## CPC

- 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/0364: for improving intelligibility
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/0475: Generative networks
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06N 3/094: Adversarial learning
- G06N 20/00: Machine learning
- G10L 25/18: the extracted parameters being spectral information of each sub-band
- G10L 25/30: using neural networks
- G10L 21/0208: Noise filtering
- G10L 2021/02082: {the noise being echo, reverberation of the speech}
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Operations of a method include receiving a request to enhance a new source audio. Responsive to the request, the new source audio is input into a prediction model that was previously trained. Training the prediction model includes providing a generative adversarial network including the prediction model and a discriminator. Training data is obtained including tuples of source audios and target audios, each tuple including a source audio and a corresponding target audio. During training, the prediction model generates predicted audios based on the source audios. Training further includes applying a loss function to the predicted audios and the target audios, where the loss function incorporates a combination of a spectrogram loss and an adversarial loss. The prediction model is updated to optimize that loss function. After training, based on the new source audio, the prediction model generates a new predicted audio as an enhanced version of the new source audio.

## Claims

### Claim 1

A method in which one or more processing devices perform operations comprising:
providing a generative adversarial network (GAN) comprising a prediction model and a discriminator to be jointly trained;
accessing training data comprising a plurality of tuples, the plurality of tuples comprising source audios and target audios, each tuple comprising a source audio and a corresponding target audio, wherein the corresponding target audio is a target version of the source audio;
causing the prediction model to generate predicted audios based on the source audios;
applying a loss function to the predicted audios and the target audios, the loss function comprising a combination of a spectrogram loss and an adversarial loss; and
updating the prediction model to optimize the loss function comprising the combination of the spectrogram loss and the adversarial loss.

### Claim 2 (depends on 1)

The method of claim 1, the operations further comprising:
receiving a request to enhance a new source audio;
responsive to the request, inputting the new source audio into the prediction model trained to map the source audios to the target audios; and
generating, by the prediction model, based on the new source audio, a new predicted audio as an enhanced version of the new source audio.

### Claim 3 (depends on 2)

The method of claim 2, wherein the new source audio comprises a quality issue being two or more of noise, reverberation, or distortion, and wherein the prediction model reduces the quality issue in generating the new predicted audio.

### Claim 4 (depends on 1)

The method of claim 1, wherein accessing the training data comprises:
obtaining the target audios; and
generating the source audios based on the target audios by simulating a plurality of room environments as applied to the target audios.

### Claim 5 (depends on 4)

The method of claim 4, wherein simulating the plurality of room environments as applied to the target audios comprises convolving a plurality of room impulse responses with each target audio of the target audios.

### Claim 6 (depends on 4)

The method of claim 4, wherein generating the plurality of source audios based on the target audios further comprises adding noise to a result of simulating the plurality of room environments as applied to the target audios.

### Claim 7 (depends on 4)

The method of claim 4, wherein accessing the training data further comprises:
generating an augmented version of a first target audio, from among the target audios, by at least one of rescaling a volume of the first target audio or modifying a speed of the first target audio,
wherein generating the source audios based on the target audios comprises generating a first source audio based on the augmented version of the first target audio.

### Claim 8 (depends on 1)

The method of claim 1, wherein the prediction model comprises a neural network having a feed-forward architecture comprising two or more one-dimensional dilated convolutions with varying dilation rates that increase exponentially to a limit.

### Claim 9 (depends on 8)

The method of claim 8, wherein:
the source audios and the target audios are in waveform representation; and
the discriminator maps a log mel-spectrogram of a waveform to a score representing a likelihood of authenticity of the waveform, and wherein the discriminator comprises a gated convolutional neural network comprising two or more stacks of convolutional layers, a batch normalization layer, and a gated linear unit.

### Claim 10 (depends on 1)

The method of claim 1, wherein the loss function comprises LG(x,x′)=α|LogSpec(G(x))−LogSpec(x′)|+β(1−D(LogMel(G(x)))), where x is a source audio of the source audios, x′ is a target audio corresponding to the source audio, α and β are weighting factors, G (x) is a predicted audio generated by the prediction model based on the source audio, D( ) is output from the discriminator, LogSpec( ) is a log spectrogram, and LogMel( ) is a log mel-spectrogram.

### Claim 11

A system for enhancing audio, the system comprising:
a training subsystem configured to train a prediction model to enhance source audios, the training subsystem configured to:
access training data comprising a plurality of tuples, the plurality of tuples comprising source audios and target audios, each tuple comprising a source audio and a corresponding target audio, wherein the corresponding target audio is a target version of the source audio;
cause the prediction model to generate predicted audios based on the source audios;
apply a loss function to the predicted audios and the target audios, the loss function comprising a combination of (i) a spectrogram loss based on spectrogram versions of the predicted audios and the target audios and (ii) an adversarial loss based on feedback from a discriminator of a generative adversarial network (GAN); and
update the prediction model to optimize the loss function comprising the combination of the spectrogram loss and the adversarial loss.

### Claim 12 (depends on 11)

The system of claim 11, wherein:
the prediction model inputs the source audios as source waveforms and outputs the predicted audios as predicted waveforms; and
the discriminator inputs the predicted audios as predicted spectrograms and outputs scores indicating likelihood of authenticity of the predicted audios.

### Claim 13 (depends on 11)

The system of claim 11, further comprising a prediction subsystem comprising:
an interface configured to receive a new source audio; and
a prediction model configured to map the new source audio to a new predicted audio, wherein the new predicted audio is an enhanced version of the new source audio.

### Claim 14 (depends on 13)

The system of claim 13, wherein the training subsystem is further configured to generate the source audios, and wherein generating the source audios comprises:
obtaining the target audios; and
generating the source audios based on the target audios by convolving a plurality of room impulse responses with each target audio of the target audios.

### Claim 15 (depends on 14)

The system of claim 14, wherein generating the plurality of source audios based on the target audios further comprises adding noise to a result of simulating the plurality of room environments as applied to the target audios.

### Claim 16 (depends on 14)

The system of claim 14, wherein the training subsystem is further configured to:
generate an augmented version of a first target audio, from among the target audios, by at least one of rescaling a volume of the first target audio or modifying a speed of the first target audio,
wherein generating the source audios based on the target audios comprises generating a first source audio based on the augmented version of the first target audio.

### Claim 17 (depends on 11)

The system of claim 11, wherein the prediction model comprises a neural network having a feed-forward architecture comprising two or more one-dimensional dilated convolutions with varying dilation rates that increase exponentially to a limit.

### Claim 18 (depends on 17)

The system of claim 17, wherein the discriminator maps a log mel-spectrogram of a waveform to a score representing a likelihood of authenticity of the waveform, and wherein the discriminator comprises a gated convolutional neural network comprising two or more stacks of convolutional layers, a batch normalization layer, and a gated linear unit.

### Claim 19

A non-transitory computer-readable medium embodying program code for enhancing audio, the program code comprising instructions that, when executed by a processor, cause the processor to perform operations comprising:
providing a generative adversarial network (GAN) comprising a prediction model and a discriminator to be jointly trained;
obtaining training data comprising a plurality of tuples, the plurality of tuples comprising source audios and target audios, each tuple comprising a source audio and a corresponding target audio, wherein the corresponding target audio is a target version of the source audio;
training the GAN based on the training data, wherein the training comprises:
causing the prediction model to generate predicted audios based on the source audios;
applying a generator loss function to the predicted audios and the target audios, the generator loss function comprising a combination of a spectrogram loss and an adversarial loss; and
updating the prediction model to optimize the generator loss function comprising the combination of the spectrogram loss and the adversarial loss;
wherein, after the training, the prediction model is configured to generate new predicted audios based on new source audios.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein:
the prediction model comprises a neural network having a feed-forward architecture comprising two or more one-dimensional dilated convolutions with varying dilation rates that increase exponentially to a limit;
the generator loss function comprises LG(x,x′)=α|LogSpec(G(x))−LogSpec(x′)|+β(1−D(LogMel(G(x)))), where x is a source audio of the source audios, x′ is a target audio corresponding to the source audio, α and β are weighting factors, G (x) is a predicted audio generated by the prediction model based on the source audio, D( ) is output from the discriminator, LogSpec( ) is a log spectrogram, and LogMel( ) is a log mel-spectrogram; and
the discriminator maps a log mel-spectrogram of a waveform to a score representing a likelihood of authenticity of the waveform, wherein the discriminator comprises a gated convolutional neural network comprising two or more stacks of convolutional layers, a batch normalization layer, and a gated linear unit.
