# US 2026/0099438 A1 · Storage method for mixed precision weights in neural networks

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

- Number: US 2026/0099438 A1
- Document ID: US20260099438A1
- Status: Published application
- Kind: A1
- Application number: 18/911,034
- Filed: 2024-10-09
- Published: 2026-04-09
- Earliest claimed: 2024-10-09
- Assignees: Keysight Technologies Singapore (Sales) Pte. Ltd.
- Applicants: Keysight Technologies Singapore (Sales) Pte. Ltd.
- Inventors: Geert VERBRUGGEN; Bart GYBELS; Gert BEHIELS; Yrjo KOYEN
- Web page: https://patentgrep.com/patent/US20260099438A1

## CPC

- G06F 12/0207: {with multidimensional access, e.g. row/column, matrix}
- G06F 12/023: {Free address space management}
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/048: Activation functions
- G06N 3/0495: Quantised networks; Sparse networks; Compressed networks
- G06N 3/063: using electronic means
- G06N 3/08: Learning methods
- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- G06F 2212/1016: Performance improvement
- G06F 2212/1028: Power efficiency
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

The present invention concerns a method for processing a plurality of weights with a weight bit size of a layer of an artificial neural network in a destination memory with a memory width. The original location of the weight data may be another memory, likely, an external memory, while the destination memory is an internal memory provided with at least one processing pipeline. The method permits the transfer of data, in particular, weights of a neural network model, from a low speed memory to a high speed memory such that said data is stored in the high speed destination memory in such a disposition that makes simultaneous access to a plurality of weights both faster and more efficient.

## Claims

### Claim 1

A method for processing a plurality of weights with a weight bit size of a layer of an artificial neural network in a destination memory with a memory width, the method comprising the steps of:
processing the weights;
storing said processed weights in the destination memory
wherein the step of processing the weights comprises the step of:
dividing each weight into at least two separate weight slices with a fixed bit size for each weight, said fixed bit sizes preferably being equal for each weight slice, each comprising one or more bits and together defining the weight;
and in that the step of storing said processed weights comprises the step of:
storing each n-th separate weight slice of the weights sequentially into the destination memory, wherein n runs from 1 to the number of weight slices per weight, such that each word of the destination memory contains only the m-th weight slices of the weights, wherein m is a number between 1 and the number of weight slices per weight.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the weight slices are stored, preferably in order, such that the destination memory comprises a plurality of subsequent words with a width equal to the memory width, wherein the n-th word comprises only n-th weight slices of the weights, wherein n runs from 1 to the number of weight slices per weight.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the storing of the n-th weight slices in the n-th word is performed until the word is filled with n-th weight slices, after which subsequent n-th weight slices are stored in the n+κ-th word, wherein κ is the number of weight slices per weight, wherein this is repeated by storing subsequent n-th weight slices in the n+K·(p+1)-th word after filling the n+κ·p-th word, wherein p is a natural number running from 1 up to a value for which n+κ·(p+1) is in between ┌(N·B)/W┐−1 and ┌(N·B)/W┐, N being the total number of weights, B being the fixed bit size and W being the memory width.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the weight slice bit size is determined based on a number of available input processing pipelines, said input processing pipelines configured for the step of processing and/or storing the weights.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the weight slice bit size is determined based on the memory width and/or the weight bit size.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the steps of processing and storing the weights are performed by a number of input processing pipelines, and wherein the number of input processing pipelines is set to be equal to the width of the destination memory.

### Claim 7 (depends on 6)

The method according to the preceding claim 6, wherein each output pipeline comprises a shift register.

### Claim 8 (depends on 7)

The method according to the preceding claim 7, wherein each shift register is set to a bit value that is equal to the bit size of the weight assigned to its corresponding output processing pipeline.

### Claim 9 (depends on 1)

The method according to claim 1, wherein during each clock cycle, each input processing pipeline stores in the destination memory one bit slice of the weight assigned to it.

### Claim 10 (depends on 1)

The method according to claim 1, wherein a new weight is assigned to an input processing pipeline every time the number of clock cycles carried out by said processing pipeline reaches the set value of the shift register assigned to its output pipeline.

### Claim 11 (depends on 7)

The method according to claim 7, wherein at least one of the shift registers is a dynamic shift register configured to change the number of bits it stores according to the bit size of the weight being processed by the output processing pipeline.

### Claim 12 (depends on 7)

The method according to claim 7, wherein each weight is stored in the destination memory together with its corresponding shift register value.

### Claim 13 (depends on 7)

The method according to claim 7, wherein the shift register is dimensioned according to the largest weight bit size supported by the processing pipeline, each weight having a bit size below the largest weight bit size is padded before being stored in the destination memory.

### Claim 14 (depends on 1)

A method for reconstructing weights of a neural network from a destination memory, said weights having a known weight bit size, said destination memory having a known memory width and comprising a known number of words, and each of said weights having been stored in at least two separate weight slices with a known slice bit size for each weight slice, said weights preferably stored using the method of claim 1, the method for reconstructing weights comprising the step of:
in each n-th word of the destination memory, dividing the n-th word in separate, subsequent word slices with a bit size equal to the n-th weight slice bit size, wherein said step is repeated for n running from 1 up to the number of words in steps of 1;
reconstructing each m-th weight by concatenating the m-th word slice of each word in the destination memory to which the m-th weight is associated, wherein said step is repeated for m running from 1 up to the number of weights in steps of 1.

### Claim 15 (depends on 14)

The method according to claim 14, wherein the reconstruction of each m-th weight is achieved by concatenating the m-th word slice of κ subsequent words, with κ being the number of weight slices per weight, and wherein the last of the κ subsequent words is the κ p-th word, wherein p is a natural number such that κ·p is at most the total number of words in the destination memory.

### Claim 16 (depends on 14)

The method according to claim 14, wherein each shift register has serial output.

### Claim 17 (depends on 14)

The method according to claim 14, wherein each shift register has parallel outputs, the number of outputs being the same size as the shift register.

### Claim 18 (depends on 14)

The method according to claim 14, wherein each shift register is a universal shift register.
