/Patent Tracker
AmazonPatent applicationAI & softwareInterest 6/10

Amazon patents method to save memory in AI chips by varying data precision

Patent drawing
Patent drawing from the official filing.

Amazon has filed a patent for a technique that reduces the amount of memory needed to run neural networks on specialized hardware. The system identifies unusual data points, called outliers, within a layer of the network and keeps them in high detail, while compressing the rest of the data to save space.

Why it mattersThis could help make AI processors more efficient by using less memory, which is a key factor in running large models on devices without massive power consumption.

In the filing’s own words

Devices and techniques are generally described for intra-layer mixed precision quantization. In some examples, a first activation matrix comprising a plurality of rows may be computed. A set of outlier rows may be determined from the first activation matrix. A set of non-outliers may be determined from the first activation matrix. A first quantization algorithm may be selected for the set of outlier rows. A second quantization algorithm may be selected for the set of non-outlier rows. A first quantized activation matrix may be generated using the first quantization algorithm and the second quantization algorithm. A second activation matrix for a second layer of the neural network may be computed using the first quantized activation matrix and a first weight matrix.

What exactly they claim (claim 1)

1. A system comprising: a neural network accelerator apparatus comprising: one or more processors; a compute engine; and one or more computer-readable media comprising static random access memory (SRAM) and dynamic random access memory (DRAM), the one or more computer-readable media storing processor-executable instructions which, when executed using the one or more processors, perform operations comprising: computing, for a first layer of a neural network, a first activation matrix, wherein the first activation matrix comprises a first plurality of rows, wherein a first row of the first plurality of rows comprises a plurality of activation values; determining, based on the plurality of activation values, a set of outlier rows; determining, based on the plurality of activation values, a set of non-outlier rows; selecting, for the set of outlier rows, a first quantization algorithm, wherein the first quantization algorithm generates output having a first bitwidth; selecting, for the set of non-outlier rows, a second quantization algorithm, wherein the second quantization algorithm generates output having a second bitwidth, wherein the second bitwidth is less than the first bitwidth; generating, a first quantized activation matrix using the first quantization algorithm to quantize activation values of the set of outlier rows and using the second quantization algorithm to quantize activation values of the set of non-outlier rows; and computing, by the compute engine, a second activation matrix for a second layer of the neural network using the first quantized activation matrix and a first weight matrix.

Facts

Company
Amazon (Amazon Technologies, Inc.)
Official title
INTRA-LAYER MIXED PRECISION QUANTIZATION FOR NEURAL NETWORKS
Publication number
US20260300701A1
Application number
19096233
Filed
Mar 31, 2025
Published
Oct 1, 2026
Inventors
3
Claims
22

Classified under

G06N 3/0495 Physics & computingG06F 17/16 Physics & computingG06N 3/048 Physics & computing

More from Amazon in AI & software

Summaries are simplified from the filing’s own abstract and first claim. A patent filing is not a product announcement.
Patent data and drawings: U.S. Patent and Trademark Office (USPTO). Nebula is not affiliated with or endorsed by the USPTO.