Neural Audio Codec with Hierarchical Vector Quantization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional audio data compression systems are inefficient, requiring high computational resources and memory for codebook learning and storage, and often introduce latency due to separate compression and enhancement processes.

Innovation Solution

The implementation of a neural codec system using an encoder neural network, a set of vector quantizers, and a decoder neural network that are jointly trained to perform efficient audio data compression and decompression, allowing for scalable bitrates and simultaneous compression and enhancement without additional latency, using a sequence of vector quantizers to refine quantization and reduce memory requirements.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If a single vector quantizer with codebook size 2^r is used to quantize feature vectors represented using r bits, then quantization accuracy is improved, but memory requirements and computational complexity increase exponentially

Engineering Contradiction:
Improvequantization accuracyVSAvoidmemory requirements
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent divides a single large codebook into multiple smaller codebooks arranged in a codebook tree structure. Each node in the tree represents a smaller codebook, and the tree is traversed to select code vectors hierarchically. This segmentation reduces the memory footprint of individual codebooks while maintaining quantization accuracy through the combined use of multiple codebooks.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a hierarchical dimension to the codebook structure by organizing codebooks in a tree with multiple levels. Instead of using a single flat codebook, the system traverses through multiple levels of codebooks, adding a dimensional aspect to the codebook access pattern. This allows the system to manage large codebook sizes through hierarchical organization rather than requiring a single large memory structure.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Reliability

If conventional separate compression and enhancement processes are used, then processing reliability is improved, but system latency increases

Engineering Contradiction:
Improveprocessing reliabilityVSAvoidsystem latency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent merges the audio compression and audio enhancement functions into a single integrated neural codec system. The same encoder neural network performs both compression (converting audio to feature vectors) and enhancement (applying effects), while the decoder neural network handles both decompression and effect reversal. This unified architecture eliminates the latency introduced by sequential separate processing while maintaining the reliability of both functions through joint training.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The neural codec system is designed with multi-functionality, where the encoder and decoder networks serve multiple purposes simultaneously. The encoder not only compresses audio but also prepares enhanced representations, and the decoder not only reconstructs audio but also applies enhancement effects. This universal design allows a single system to perform multiple functions that were traditionally handled by separate specialized systems.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Measurement precision

If high bitrate audio compression is used, then audio quality is improved, but data transmission efficiency deteriorates

Engineering Contradiction:
Improveaudio qualityVSAvoiddata transmission efficiency
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent employs parameter changes by transforming audio data into a different representation space using neural networks. The encoder converts raw audio waveforms into compressed feature vectors that capture essential audio characteristics in a more efficient format. This parameter transformation allows for high-quality audio representation at lower bitrates by encoding audio in a optimized latent space rather than raw waveform space.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent replaces traditional mechanical audio compression methods (such as transform coding and quantization) with neural network-based compression. The neural networks learn optimal compression representations directly from data, substituting conventional signal processing mechanics with learned transformations. This substitution enables more efficient compression ratios while maintaining audio quality, as the neural networks can capture complex audio patterns that traditional methods miss.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS11990148B2Compressing audio waveforms using neural networks and vector quantizers
Publication Date: 2024.05.21 GOOGLE LLC
  • US11990148B2 patent drawing
  • US11990148B2 patent drawing
  • US11990148B2 patent drawing

AI summary

Methods, systems and apparatus, including computer programs encoded on computer storage media. One of the methods includes receiving an audio waveform that includes a respective audio sample for each of a plurality of time steps, processing the audio waveform using an encoder neural network to generate a plurality of feature vectors representing the audio waveform, generating a respective coded representation of each of the plurality of feature vectors using a plurality of vector quantizers that are each associated with a respective codebook of code vectors, wherein the respective coded representation of each feature vector identifies a plurality of code vectors, including a respective code vector from the codebook of each vector quantizer, that define a quantized representation of the feature vector, and generating a compressed representation of the audio waveform by compressing the respective coded representation of each of the plurality of feature vectors.