# US 2026/0093964 A1 · Block-based compression of neural network data

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

- Number: US 2026/0093964 A1
- Document ID: US20260093964A1
- Status: Published application
- Kind: A1
- Application number: 18/901,476
- Filed: 2024-09-30
- Published: 2026-04-02
- Earliest claimed: 2024-09-30
- Assignees: Advanced Micro Devices, Inc.
- Applicants: Advanced Micro Devices, Inc.
- Inventors: Navin Patel
- Web page: https://patentgrep.com/patent/US20260093964A1

## CPC

- G06N 3/0495: Quantised networks; Sparse networks; Compressed networks
- G06N 3/063: using electronic means
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A processing system reduces the amount of memory and bandwidth needed to store and access trained neural network data (e.g., trained weights) while maintaining fidelity to the original data by patterning the data into two-dimensional (2D) blocks, converting the data into color data (e.g., monochrome or red, blue, green (RGB) data), and applying block compression to the color data. The compressed data is stored with header information indicating the conversion to color data and block compression algorithm that was used to compress the color data. When a processor subsequently accesses the compressed color data, the processor decompresses the color data and converts the color data back into the original format of the neural network data for application to new inputs during the inference phase.

## Claims

### Claim 1

A method comprising:
grouping neural network data into a plurality of blocks;
converting each block of neural network data into a block of color data; and
compressing the blocks of color data using block compression.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
transmitting the compressed blocks of color data for storage at a memory.

### Claim 3 (depends on 1)

The method of claim 1, wherein grouping the neural network data comprises assigning each layer of a plurality of layers of neural network data to one of a color channel or an alpha channel.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
dividing each compressed block of color data into a color component and an index component; and
separately streaming color components and index components for a plurality of compressed blocks of color data for lossless encoding.

### Claim 5 (depends on 1)

The method claim 1, further comprising:
indicating at a header of each compressed block of color data a block compression format that was used to compress the color data and an algorithm used to convert the block of neural network data into a block of color data.

### Claim 6 (depends on 1)

The method of claim 1, wherein each block of the plurality of blocks comprises a two-dimensional array of elements.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
selectively padding each two-dimensional array of elements to generate two-dimensional arrays of elements that are divisible by 4×4 elements.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
specifying a quality factor to limit a quantization loss associated with compressing the neural network data.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
selecting, based on the quality factor, at least one of a quantization algorithm for quantizing a floating-point value of neural network data and a format for the block compression.

### Claim 10

A processing system, comprising:
at least one processor configured to:
group neural network data into a plurality of blocks;
convert the blocks of neural network data into blocks of color data; and
compress the blocks of color data using a block compression format for storage at a memory.

### Claim 11 (depends on 10)

The processing system of claim 10, wherein the at least one processor is further configured to:
assign each layer of a plurality of layers of neural network data to one of a color channel or an alpha channel.

### Claim 12 (depends on 10)

The processing system of claim 10, wherein the at least one processor is further configured to:
divide each compressed block of color data into a color component and an index component; and
separately stream color components and index components for a plurality of compressed blocks of color data for lossless encoding.

### Claim 13 (depends on 10)

The processing system of claim 10, wherein the at least one processor is further configured to:
indicate at a header of each compressed block of color data the block compression format that was used to compress the color data and an algorithm used to convert the block of neural network data into a block of color data.

### Claim 14 (depends on 10)

The processing system of claim 10, wherein each block of the plurality of blocks comprises a two-dimensional array of elements.

### Claim 15 (depends on 14)

The processing system of claim 14, wherein the at least one processor is further configured to:
selectively pad each two-dimensional array of elements to generate two-dimensional arrays of elements that are divisible by 4×4 elements.

### Claim 16 (depends on 10)

The processing system of claim 10, wherein the at least one processor is further configured to:
specify a quality factor to limit a quantization loss associated with compressing the neural network data.

### Claim 17 (depends on 16)

The processing system of claim 16, wherein the at least one processor is further configured to:
select, based on the quality factor, at least one of a quantization algorithm for converting a floating-point value of neural network data to a color value and the block compression format.

### Claim 18

A non-transitory computer readable medium embodying a set of executable instructions, the set of executable instructions to manipulate at least one processor to:
group neural network data into a plurality of blocks;
convert the blocks of neural network data into blocks of color data; and
compress the blocks of color data using block compression for storage at a memory.

### Claim 19 (depends on 18)

The non-transitory computer readable medium of claim 18, wherein the set of executable instructions to manipulate the at least one processor to:
divide each compressed block of color data into a color component and an index component; and
separately stream color components and index components for a plurality of compressed blocks of color data for lossless encoding.

### Claim 20 (depends on 18)

The non-transitory computer readable medium of claim 18, wherein the set of executable instructions to manipulate the at least one processor to:
indicate at a header of each compressed block of color data a block compression format that was used to compress the color data and a quantization algorithm used to convert the block of neural network data into a block of color data.

### Claim 21 (depends on 18)

The non-transitory computer readable medium of claim 18, wherein each block of the plurality of blocks comprises a two-dimensional array of elements.
