# US 2026/0086770 A1 · Method and processing device for numerical data quantization or numerical data de-quantization

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

- Number: US 2026/0086770 A1
- Document ID: US20260086770A1
- Status: Published application
- Kind: A1
- Application number: 18/927,013
- Filed: 2024-10-25
- Published: 2026-03-26
- Earliest claimed: 2024-09-26
- Assignees: Taiwan Semiconductor Manufacturing Company, Ltd.
- Applicants: Taiwan Semiconductor Manufacturing Company, Ltd.
- Inventors: Xiaochen PENG; Brian CRAFTON; Murat Kerem AKARVARDAR; Ashwin Sanjay LELE; Bo ZHANG; Win-San KHWA
- Web page: https://patentgrep.com/patent/US20260086770A1

## CPC

- G06F 7/556: Logarithmic or exponential functions
- G06F 5/01: for shifting, e.g. justifying, scaling, normalising {(digital stores in which the information is moved stepwise, e.g. shift-registers G11C19/00; digital stores in which the information circulates G11C21/00)}
- G06F 7/483: Computations with numbers represented by a non-linear combination of denominational numbers, e.g. rational numbers, logarithmic number system or floating-point numbers {(G06F7/4806, G06F7/4824, G06F7/49, G06F7/491, G06F7/544 take precedence)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In one or more aspects, a processing device for numerical data quantization includes processing circuitry configured to determine a maximum exponent from a set of exponents of a set of digital representations of a set of numbers, obtain a set of scaled exponents based on the maximum exponent, and perform one of: (i) obtain a set of quantized significands based on a set of mantissas of the set of digital representations and the set of scaled exponents, or (ii) obtain a set of quantized mantissas based on the set of mantissas. The processing circuitry is configured to output a set of quantized digital representations of the set of numbers, based on the set of quantized significands, or based on the set of quantized mantissas and the set of scaled exponents; and to output a biased exponent scaling factor based on the maximum exponent.

## Claims

### Claim 1

A processing device for numerical data quantization, comprising:
a memory; and
processing circuitry coupled with the memory and configured to:
determine a maximum exponent from a set of exponents of a set of digital representations of a set of numbers;
obtain a set of scaled exponents based on subtraction of the maximum exponent from each one of the set of exponents;
perform one of:
obtain a set of quantized significands based on a set of mantissas of the set of digital representations of the set of numbers and the set of scaled exponents, or
obtain a set of quantized mantissas based on the set of mantissas;
output, to the memory, a set of quantized digital representations of the set of numbers, based on the set of quantized significands, or based on the set of quantized mantissas and the set of scaled exponents; and
output, to the memory, a biased exponent scaling factor associated with the set of quantized digital representations based on the maximum exponent.

### Claim 2 (depends on 1)

The processing device of claim 1, wherein the processing circuitry configured to obtain the set of quantized significands is further configured to:
obtain a set of shifted significands based on the set of mantissas and the set of scaled exponents; and
round the set of shifted significands to a target bit-length to become the set of quantized significands.

### Claim 3 (depends on 2)

The processing device of claim 2, wherein the processing circuitry configured to obtain the set of quantized significands is further configured to:
convert the set of mantissas to a set of significands based on restoration of a first non-zero significand digit to each one of the set of mantissas; and
right-shift the set of significands by corresponding numbers of bits indicated by the set of scaled exponents to become the set of shifted significands.

### Claim 4 (depends on 2)

The processing device of claim 2, wherein
the target bit-length is 7 bits.

### Claim 5 (depends on 1)

The processing device of claim 1, wherein the set of quantized digital representations comprises:
a set of two's complement integer values of the set of quantized significands based on a set of sign bits of the set of digital representations of the set of numbers.

### Claim 6 (depends on 5)

The processing device of claim 5, wherein
a bit-length of each one of the set of two's complement integer values is 8 bits.

### Claim 7 (depends on 1)

The processing device of claim 1, wherein the processing circuitry configured to obtain the set of scaled exponents is further configured to:
obtain an unbiased exponent scaling factor based on subtraction of a target offset from the maximum exponent; and
obtain the set of scaled exponents based on subtraction of the unbiased exponent scaling factor from each one of the set of exponents, each exponent of the set of scaled exponents having a target exponent bit-length.

### Claim 8 (depends on 7)

The processing device of claim 7, wherein
the target exponent bit-length ranges from 5 bits to 2 bits.

### Claim 9 (depends on 1)

The processing device of claim 1, wherein the processing circuitry configured to obtain the set of quantized mantissas is further configured to:
round the set of mantissas to a target mantissa bit-length to become the set of quantized mantissas.

### Claim 10 (depends on 9)

The processing device of claim 9, wherein
the target mantissa bit-length ranges from 3 bits to 1 bit.

### Claim 11 (depends on 1)

The processing device of claim 1, wherein each one of the set of quantized digital representations comprises:
a corresponding one of a set of sign bits of the set of digital representations of the set of numbers;
a corresponding one of the set of scaled exponents; and
a corresponding one of the set of quantized mantissas.

### Claim 12 (depends on 11)

The processing device of claim 11, wherein
a bit-length of each one of the set of quantized digital representations is 8 bits, a bit-length of each one of the set of scaled exponents is 4 bits, and a bit-length of each one of the set of quantized mantissas is 3 bits;
the bit-length of each one of the set of quantized digital representations is 8 bits, the bit-length of each one of the set of scaled exponents is 5 bits, and the bit-length of each one of the set of quantized mantissas is 2 bits;
the bit-length of each one of the set of quantized digital representations is 6 bits, the bit-length of each one of the set of scaled exponents is 2 bits, and the bit-length of each one of the set of quantized mantissas is 3 bits;
the bit-length of each one of the set of quantized digital representations is 6 bits, the bit-length of each one of the set of scaled exponents is 3 bits, and the bit-length of each one of the set of quantized mantissas is 2 bits; or
the bit-length of each one of the set of quantized digital representations is 4 bits, the bit-length of each one of the set of scaled exponents is 2 bits, and the bit-length of each one of the set of quantized mantissas is 1 bits.

### Claim 13 (depends on 1)

The processing device of claim 1, wherein
a bit-length of the biased exponent scaling factor is 8 bits.

### Claim 14

A processing device for numerical data de-quantization, comprising:
a memory; and
processing circuitry coupled with the memory and configured to:
extract a mantissa of a de-quantized digital representation of a numerical data that is a result of processing a first set of quantized digital representations of a first set of numbers and a second set of quantized digital representations of a second set of numbers;
extract an exponent adjustment from the numerical data;
obtain a combined exponent scaling factor based on a first exponent scaling factor associated with the first set of quantized digital representations and a second exponent scaling factor associated with the second set of quantized digital representations;
obtain an unbiased exponent of the numerical data based on the combined exponent scaling factor and the exponent adjustment; and
output, to the memory, the de-quantized digital representation of the numerical data, the de-quantized digital representation including
the mantissa of the de-quantized digital representation, and
an exponent of the de-quantized digital representation based on the unbiased exponent of the numerical data.

### Claim 15 (depends on 14)

The processing device of claim 14, wherein the processing circuitry is further configured to:
identify a first non-zero significand digit of the numerical data,
wherein
the mantissa is extracted further based on removal of the first non-zero significand digit from the numerical data, and
the exponent adjustment is extracted further based on a digit position of the first non-zero significand digit within the numerical data.

### Claim 16 (depends on 14)

The processing device of claim 14, wherein
the unbiased exponent is obtained based on addition of the combined exponent scaling factor and the exponent adjustment, and
the combined exponent scaling factor is an unbiased exponent value.

### Claim 17 (depends on 14)

The processing device of claim 14, wherein
the unbiased exponent of the numerical data is obtained based on addition of a maximum product exponent of the first set of quantized digital representations and the second set of quantized digital representations, the combined exponent scaling factor, and the exponent adjustment,
the maximum product exponent is an unbiased exponent value, and
the combined exponent scaling factor is another unbiased exponent value.

### Claim 18

A method of numerical data quantization, comprising:
determining a maximum exponent from a set of exponents of a set of digital representations of a set of numbers;
obtaining, by processing circuitry, a set of scaled exponents based on subtraction of the maximum exponent from each one of the set of exponents;
performing, by the processing circuitry, one of:
obtaining a set of quantized significands based on a set of mantissas of the set of digital representations of the set of numbers and the set of scaled exponents, or
obtaining a set of quantized mantissas based on the set of mantissas;
outputting a set of quantized digital representations of the set of numbers, based on the set of quantized significands, or based on the set of quantized mantissas and the set of scaled exponents; and
outputting a biased exponent scaling factor associated with the set of quantized digital representations based on the maximum exponent.

### Claim 19 (depends on 18)

The method of claim 18, wherein the obtaining the set of quantized significands comprises:
obtaining a set of shifted significands based on the set of mantissas and the set of scaled exponents; and
rounding the set of shifted significands to a target bit-length to become the set of quantized significands.

### Claim 20 (depends on 18)

The method of claim 18, wherein the obtaining the set of scaled exponents comprises:
obtaining an unbiased exponent scaling factor based on subtraction of a target offset from the maximum exponent; and
obtaining the set of scaled exponents based on subtraction of the unbiased exponent scaling factor from each one of the set of exponents, each exponent of the set of scaled exponents having a target exponent bit-length.
