Vector Quantization Search Using Centroid-Sorted Codebooks

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Vector quantization systems face challenges in balancing computational complexity and accuracy, especially when quantizing multiple vectors simultaneously, as existing optimization techniques struggle to maintain quality and limit complexity constraints.

Innovation Solution

The system divides the codebook into classes and sorts codevectors based on centroids, allowing for a dynamic adaptation of the search space based on the number of input vectors, reducing computational complexity while maintaining high accuracy by focusing on the most probable candidate codevectors.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If the codebook size K is increased to improve quantization accuracy, then the reconstruction quality improves, but the computational complexity increases

Engineering Contradiction:
Improvequantization accuracyVSAvoidcomputational complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The codebook is divided into multiple classes or groups, where each class contains a subset of codevectors. This segmentation allows the search to be performed on smaller subsets rather than the entire codebook, reducing computational complexity while maintaining the ability to achieve high accuracy when needed.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The search space size is made dynamic and adaptive based on the number of input vectors to be quantized. When quantizing multiple vectors simultaneously, the algorithm adjusts the effective codebook size or search depth to balance between accuracy and computational constraints, rather than using a fixed codebook size.

Inventive Principle:
Principle #15Dynamics

2Measurement precision

If the codebook size K is increased to maintain high accuracy when quantizing multiple vectors, then the quantization quality is maintained, but the computational complexity exceeds the maximum limit LMAX

Engineering Contradiction:
Improvequantization accuracyVSAvoidnumber of vectors quantized simultaneously
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The algorithm dynamically adjusts the search space size based on the number of input vectors N. When N is large, the effective search space is reduced to maintain complexity below LMAX. When N is small, the full codebook can be searched to maintain high accuracy. This dynamic adaptation resolves the contradiction between maintaining accuracy and handling multiple vectors.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The algorithm changes the effective codebook size or search depth parameter based on the input conditions (number of vectors to quantize). By adjusting this parameter dynamically, the system can maintain high accuracy when few vectors are processed while limiting complexity when many vectors are processed simultaneously.

Inventive Principle:
Principle #35Parameter changes

3Device complexity

If offline optimization techniques are used to reduce computational complexity, then the complexity is reduced for a fixed number of vectors, but the techniques cannot adapt when the number of input vectors varies

Engineering Contradiction:
Improvecomputational complexityVSAvoidadaptability to varying number of input vectors
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The optimization technique is made dynamic by allowing the search space configuration to change based on the number of input vectors. Rather than using a fixed optimized structure for a specific N, the algorithm adapts the search space size and structure to match the actual number of vectors being quantized, providing both complexity reduction and adaptability.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The algorithm creates a universal optimization approach that works for varying numbers of input vectors. By using adaptive search space adjustment rather than vector-specific optimization, a single system can handle different values of N efficiently, making the optimization technique versatile and adaptable to different operating conditions.

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

Data Source

PatentUS11017786B2Vector quantizer
Publication Date: 2021.05.25 TELEFONAKTIEBOLAGET LM ERICSSON (PUBL)
  • US11017786B2 patent drawing
  • US11017786B2 patent drawing
  • US11017786B2 patent drawing

AI summary

Vector Quantizer and method therein for vector quantization, e.g. in a transform audio codec. The method comprises comparing an input target vector with four centroids C0, C1, C0,flip and C1,flip, wherein centroid C0,flip is a flipped version of centroid C0 and centroid C1,flip is a flipped version of centroid C1, each centroid representing a respective class of codevectors. A starting point for a search related to the input target vector in the codebook is determined, based on the comparison. A search is performed in the codebook, starting at the determined starting point, and a codevector is identified to represent the input target vector. A number of input target vectors per block or time segment is variable. A search space is dynamically adjusted to the number of input target vectors. The codevectors are sorted according to a distortion measure reflecting the distance between each codevector and the centroids C0 and C1.