AI Model Dequantization Layout for GPU Bank Conflict Reduction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Large language models (LLMs) face challenges in being uploaded to graphic processing units (GPUs) due to high memory requirements, leading to increased resource consumption and delays when multiple processors are used, and quantized weight values cause bank conflicts in shared memory, slowing down storage speed.

Innovation Solution

A method and apparatus for efficiently storing quantized weights by rearranging them in a specific pattern that avoids bank conflicts in shared memory, using a dequantization process to convert quantized weight values to a higher bit precision and rearranging their order to minimize memory access conflicts.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If quantized weight values are stored in shared memory, then memory usage is reduced, but bank conflicts occur and storage speed decreases

Engineering Contradiction:
Improvememory usageVSAvoidstorage speed
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The patent applies preliminary action by pre-rearranging quantized weight values according to a dequantization pattern before storing them in shared memory. This advance preparation ensures that when weights are loaded into registers during matrix multiplication, they can be directly dequantized without causing bank conflicts, thus maintaining both memory efficiency and storage speed.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent changes the dimensional organization of weight values by applying a dequantization pattern that rearranges elements across different dimensions (rows and columns). This dimensional transformation allows weights to be stored in a pattern that avoids bank conflicts while maintaining the benefits of quantization for reduced memory usage.

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

2Power

If multiple processors are used to handle large language models, then processing capability is improved, but resource consumption increases and delays occur

Engineering Contradiction:
Improveprocessing capabilityVSAvoidresource consumption
Core Design Contradiction:
PowerVSLoss of energy

Solution Approach 1:

The patent changes the parameter of weight representation from high-precision to quantized low-precision format, which reduces the memory bandwidth required when transferring weights between processors and shared memory. This parameter change allows multiple processors to work on large language models with reduced resource consumption and fewer synchronization delays.

Inventive Principle:
Principle #35Parameter changes

3Quantity of substance

If quantized weight values are used directly, then memory efficiency is improved, but dequantization operations become complex

Engineering Contradiction:
Improvememory efficiencyVSAvoiddequantization complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by pre-organizing quantized weight values according to the dequantization pattern before they are loaded into registers. This advance arrangement simplifies the actual dequantization operation during matrix multiplication, as the weights are already positioned correctly and can be dequantized in a straightforward manner without complex runtime operations.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12475192B1Method and apparatus for lightweighting of artificial intelligence model using dequantization
Publication Date: 2025.11.18 SQUEEZEBITS INC
  • US12475192B1 patent drawing
  • US12475192B1 patent drawing
  • US12475192B1 patent drawing

AI summary

The disclosure relates to a method and an apparatus for lightweighting of artificial intelligence models, and a method of performing matrix multiplication of weight values and input values of artificial intelligence models includes copying quantized weight values stored in a global memory to a register, dequantizing the quantized weight values, copying an input value matrix to the register, and performing matrix multiplication between a dequantized weight value matrix and the input value matrix.