# US 2025/0147923 A1 · Reusing select computed values during layer normalization for large models

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

- Number: US 2025/0147923 A1
- Document ID: US20250147923A1
- Status: Published application
- Kind: A1
- Application number: 19/020,313
- Filed: 2025-01-14
- Published: 2025-05-08
- Earliest claimed: 2022-05-25
- Assignees: SambaNova Systems, Inc.
- Applicants: SambaNova Systems, Inc.
- Inventors: Maulik DESAI
- Web page: https://patentgrep.com/patent/US20250147923A1

## CPC

- G06F 15/825: {Dataflow computers}
- G06F 15/7867: {with reconfigurable architecture}
- G06N 3/08: Learning methods
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Techniques and systems disclosed herein may relate to normalizing data in a reconfigurable dataflow processor. For example, a system may conduct layer normalization computations in a forward-propagation pass and save selected computed values (xHat) from the layer normalization computations. The system may then reuse the selected computed values in a backward-propagation pass.

## Claims

### Claim 1

A computer-implemented method for normalizing data in a reconfigurable dataflow processor, the method comprising:
conducting layer normalization computations in a forward-propagation pass;
saving selected computed values (xHat) from the layer normalization computations; and
reusing the selected computed values in a backward-propagation pass.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein:
the selected computed values are computed according to the equation xHat=(X−μ)/σ.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, further including:
partitioning normalization operations including the layered normalization computations into multiple compute stages and intervening buffering stages in the reconfigurable dataflow processor.

### Claim 4 (depends on 3)

The computer-implemented method of claim 3, further including:
configuring the multiple compute stages and the intervening buffering stages.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, further including:
processing data (X) using the multiple compute stages and the intervening buffering stages.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein:
the compute stages comprise a centering stage that computes X−μ.

### Claim 7 (depends on 5)

The computer-implemented method of claim 5, wherein:
the compute stages comprise a normalization stage that computes (X−μ)/σ.

### Claim 8 (depends on 5)

The computer-implemented method of claim 5, wherein:
the compute stages comprise a shift-add stage that computes γ*((X−μ)/σ+β.

### Claim 9

A non-transitory computer-readable storage medium storing computer program instructions that, when executed on a processor, perform operations comprising:
conducting layer normalization computations in a forward-propagation pass;
saving selected computed values (xHat) from the layer normalization computations; and
reusing the selected computed values in a backward-propagation pass.

### Claim 10 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein:
the selected computed values are computed according to the equation xHat=(X−μ)/σ.

### Claim 11 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein:
partitioning normalization operations including the layered normalization computations into multiple compute stages and intervening buffering stages in a reconfigurable dataflow processor.

### Claim 12 (depends on 11)

The non-transitory computer-readable storage medium of claim 11, wherein:
configuring the multiple compute stages and the intervening buffering stages.

### Claim 13 (depends on 12)

The non-transitory computer-readable storage medium of claim 12, further comprising:
processing data (X) using the multiple compute stages and the intervening buffering stages.

### Claim 14 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, further comprising:
the compute stages comprise a centering stage that computes X−μ.

### Claim 15 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, further comprising:
the compute stages comprise a normalization stage that computes (X−μ)/σ.

### Claim 16 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein:
the compute stages comprise a shift-add stage that computes γ*((X−μ)/σ+β.

### Claim 17

A system comprising one or more processors coupled to a memory device, the memory device to store computer program instructions that are executable by the one or more processors to perform operations comprising:
conducting layer normalization computations in a forward-propagation pass;
saving selected computed values (xHat) from the layer normalization computations; and
reusing the selected computed values in a backward-propagation pass.

### Claim 18 (depends on 17)

The system of claim 17, wherein:
the selected computed values are computed according to the equation xHat=(X−μ)/σ.

### Claim 19 (depends on 17)

The system of claim 17, wherein:
partitioning normalization operations including the layered normalization computations into multiple compute stages and intervening buffering stages in a reconfigurable dataflow processor;
configuring the multiple compute stages and the intervening buffering stages; and
processing data (X) using the multiple compute stages and the intervening buffering stages.

### Claim 20 (depends on 19)

The system of claim 19, wherein:
the compute stages comprise a centering stage that computes X−μ;
the compute stages comprise a normalization stage that computes (X−μ)/σ; and
the compute stages comprise a shift-add stage that computes γ*((X−μ)/σ+β.
