# US 2023/0274141 A1 · Method and apparatus for designing and testing audio codec by using white noise modeling

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

- Number: US 2023/0274141 A1
- Document ID: US20230274141A1
- Status: Published application
- Kind: A1
- Application number: 18/166,407
- Filed: 2023-02-08
- Published: 2023-08-31
- Earliest claimed: 2022-02-25
- Assignees: Electronics and Telecommunications Research Institute; Yonsei University Wonju Industry-Academic Cooperation Foundation
- Applicants: Electronics and Telecommunications Research Institute; Yonsei University Wonju Industry-Academic Cooperation Foundation
- Inventors: Jongmo SUNG; Seung Kwon BEACK; Tae Jin LEE; Woo-taek LIM; Inseon JANG; Byeongho CHO; Young Cheol PARK; Joon BYUN; Seungmin SHIN
- Web page: https://patentgrep.com/patent/US20230274141A1

## CPC

- G06N 3/08: Learning methods
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0495: Quantised networks; Sparse networks; Compressed networks
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G10L 19/028: Noise substitution, i.e. substituting non-tonal spectral components by noisy source (comfort noise for discontinuous speech transmission G10L19/012)
- G10L 19/038: Vector quantisation, e.g. TwinVQ audio
- G10L 25/30: using neural networks
- G10L 25/60: for measuring the quality of voice signals
- G10L 25/69: for evaluating synthetic or decoded voice signals
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G10L 15/00: Speech recognition (G10L17/00 takes precedence)
- G10L 19/00: Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis (in musical instruments G10H)
- G10L 19/0017: {Lossless audio signal coding; Perfect reconstruction of coded audio signal by transmission of coding error (G10L19/24 takes precedence)}
- G10L 19/22: Mode decision, i.e. based on audio signal content versus external parameters
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

Provided is a method and apparatus for designing and testing an audio codec using quantization based on white noise modeling. A neural network-based audio encoder design method includes generating a quantized latent vector and a reconstructed signal corresponding to an input signal by using a white noise modeling-based quantization process, computing a total loss for training a neural network-based audio codec, based on the input signal, the reconstruction signal, and the quantized latent vector, training the neural network-based audio codec by using the total loss, and validating the trained neural network-based audio codec to select the best neural network-based audio codec.

## Claims

### Claim 1

A method of designing a neural network-based audio codec, the method comprising:
generating a quantized latent vector and a reconstructed signal corresponding to an input signal by using a white noise modeling-based quantization process;
computing a total loss for training of the neural network-based audio codec, based on the input signal, the reconstructed signal, and the quantized latent vector;
training the neural network-based audio codec by using the total loss; and
validating the trained neural network-based audio codec to select the best neural network-based audio codec.

### Claim 2 (depends on 1)

The method of claim 1, wherein the generating of the reconstructed signal and the quantized latent vector comprises:
feeding the input signal into an encoder of the neural network-based audio codec;
quantizing a latent vector resulting from the encoder by using white noise modeling; and
generating a reconstructed signal for the input signal by feeding the quantized latent vector into a decoder of the neural network-based audio codec.

### Claim 3 (depends on 2)

The method of claim 2, wherein the quantizing of the latent vector comprises:
warping the latent vector to constrain each element in the latent vector within a predetermined range;
adding a random noise vector corresponding to quantization noise to the warped latent vector to generate a noisy latent vector; and
de-warping the noisy latent vector to output the quantized latent vector.

### Claim 4 (depends on 3)

The method of claim 3, wherein both distribution and range of the generated random noise are determined according to a quantization step of the neural network-based audio codec.

### Claim 5 (depends on 1)

The method of claim 1, wherein the computing of the total loss comprises calculating a reconstruction loss term as mean squared error (MSE) between the input signal and the reconstructed signal, a bit-rate control loss term as an entropy of the quantized latent vector, and a perceptual loss term reflecting human perceptual characteristics, respectively and calculating the total loss by using at least one of a reconstruction loss term, a bit-rate control loss term, and a perceptual loss term.

### Claim 6 (depends on 1)

The method of claim 1, wherein the training of the neural network comprises performing training of the neural network-based audio codec by backpropagating the total loss through the neural network-based audio codec.

### Claim 7 (depends on 1)

The method of claim 1, wherein the validating of the neural network-based audio codec comprises evaluating the trained neural network-based audio codec in terms of validation score as the total loss or objective quality metrics by feeding a signal of a validation database (DB) into the trained neural network-based audio codec, comparing the evaluated validation score with the best validation score, and selecting the trained neural network-based audio codec as the best neural network-based audio codec and updating the best validation score with the evaluated validation score if the evaluated validation score is better than the best validation score.

### Claim 8

A method of testing a neural network-based audio codec, the method comprising:
feeding an input signal for testing into an encoder of a best neural network-based audio codec to generate a latent vector;
quantizing the latent vector resulting from the encoder to output a quantized latent vector; and
generating a reconstructed signal for the input signal by feeding the quantized latent vector into a decoder of the best neural network-based audio codec.

### Claim 9 (depends on 8)

The method of claim 8, wherein the quantizing the latent vector comprises:
warping the latent vector to constrain each element in the latent vector within a predetermined range;
rounding each element of the warped latent vector to the nearest integer multiple of a quantization step; and
de-warping the latent vector expressed as the integer vector to output the quantized latent vector.

### Claim 10

A neural network-based audio codec design apparatus comprising:
an audio codec training device configured to generate a quantized latent vector and a reconstructed signal corresponding to an input signal by using a white noise modeling-based quantization process, compute a total loss for training of a neural network-based audio codec, based on the input signal, the reconstructed signal, and the quantized latent vector, and train the neural network-based audio codec by using the total loss; and
an audio codec validation device configured to validate the trained neural network-based audio codec to select the best neural network-based audio codec.

### Claim 11 (depends on 10)

The neural network-based audio codec design apparatus of claim 10, wherein the audio codec training device is configured to feed the input signal into an encoder of the neural network-based audio codec, quantize a latent vector resulting from the encoder by using white noise modeling, and generate a reconstructed signal for the input signal by feeding the quantized latent vector into a decoder of the neural network-based audio codec.

### Claim 12 (depends on 11)

The neural network-based audio codec design apparatus of claim 11, wherein the audio codec training device is configured to warp the latent vector to constrain each element in the latent vector within a predetermined range, add a random noise vector corresponding to quantization noise to the warped latent vector to generate a noisy latent vector, and de-warp the noisy latent vector to output the quantized latent vector.

### Claim 13 (depends on 12)

The neural network-based audio codec design apparatus of claim 12, wherein both distribution and range of the generated random noise are determined according to a quantization step of the neural network-based audio codec.

### Claim 14 (depends on 10)

The neural network-based audio codec design apparatus of claim 10, wherein the audio codec training device is configured to calculate a reconstruction loss term as mean squared error (MSE) between the input signal and the reconstructed signal, a bit-rate control loss term as an entropy of the quantized latent vector, and a perceptual loss term reflecting human perceptual characteristics, respectively and calculate the total loss by using at least one of a reconstruction loss term, a bit-rate control loss term, and a perceptual loss term.

### Claim 15 (depends on 10)

The neural network-based audio codec design apparatus of claim 10, wherein the audio codec training device is configured to perform training of the neural network-based audio codec by backpropagating the total loss through the neural network-based audio codec.

### Claim 16 (depends on 10)

The neural network-based audio codec design apparatus of claim 10, wherein the audio codec validation device is configured to evaluate the trained neural network-based audio codec in terms of validation score as the total loss or objective quality metrics by feeding a signal of a validation database (DB) into the trained neural network-based audio codec, compare the evaluated validation score with the best validation score, and select the trained neural network-based audio codec as the best neural network-based audio codec and update the best validation score with the evaluated validation score if the evaluated validation score is better than the best validation score.
