# US 2026/0073287 A1 · Efficient Estimation & Verification with Early Exits

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

- Number: US 2026/0073287 A1
- Document ID: US20260073287A1
- Status: Published application
- Kind: A1
- Application number: 18/883,971
- Filed: 2024-09-12
- Published: 2026-03-12
- Earliest claimed: 2024-09-12
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Tal Schuster; Ivan Korotkov; Ziwei Ji; Seungyeon Kim
- Web page: https://patentgrep.com/patent/US20260073287A1

## CPC

- G06N 3/045: Combinations of networks
- G06N 20/00: Machine learning
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/096: Transfer learning
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/0495: Quantised networks; Sparse networks; Compressed networks
- G06N 3/09: Supervised learning
- G06N 3/094: Adversarial learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

One example aspect is directed to a computer-implemented method for performing model decoding with reduced latency. The method includes obtaining a pre-trained sequence processing model comprising a plurality of layers. The method includes modifying the sequence processing model to contain an adapter layer that is configured to receive and process an intermediate representation generated by a particular intermediate layer of the plurality of layers to predict an output token. The method includes training the adapter layer while holding the plurality of layers of the sequence processing model frozen. The method includes deploying the sequence processing model for speculative decoding in which the adapter layer, the particular intermediate layer, and the plurality of layers that precede the particular intermediate layer perform speculative token decoding and the plurality of layers that are subsequent to the particular intermediate layer perform token verification.

## Claims

### Claim 1

A computing system for performing model decoding with reduced latency, the computing system comprising:
one or more processors; and
one or more non-transitory computer-readable media that collectively store:
a machine-learned sequence processing model comprising:
a plurality of drafting layers configured to process a current input to generate an intermediate representation;
an adapter layer configured to process the intermediate representation to generate a next drafted token; and
a plurality of verification layers configured to process the intermediate representation to generate a next verification token; and
computer-executable instructions for performing operations, the operations comprising:
for each of a plurality of decoding iterations:
processing the current input with the plurality of drafting layers of the sequence processing model to generate the intermediate representation for the decoding iteration;
processing the intermediate representation for the decoding iteration with the adapter layer to generate a next drafted token for the decoding iteration; and
adding the next drafted token to the current input for a subsequent decoding iteration; and
respectively processing the respective intermediate representation from each decoding iteration with the plurality of verification layers of the sequence processing model to generate a plurality of verification tokens for the plurality of decoding iterations.

### Claim 2 (depends on 1)

The computing system of claim 1, wherein the operations further comprise comparing the drafted token for each decoding iteration with the verification token for such decoding iteration to identify any disagreements.

### Claim 3 (depends on 1)

The computing system of claim 1, wherein the plurality of drafting layers comprises fewer layers than the plurality of verification layers.

### Claim 4 (depends on 1)

The computing system of claim 1, wherein the machine-learned sequence processing model comprises a pre-trained model in which the plurality of drafting layers and the plurality of verification layers were jointly trained based on evaluating outputs of the verification layers with a loss function.

### Claim 5 (depends on 1)

The computing system of claim 1, wherein the adapter layer comprises one or more linear projections.

### Claim 6 (depends on 1)

The computing system of claim 1, wherein the adapter layer comprises one or more multi-layer perceptrons.

### Claim 7 (depends on 1)

The computing system of claim 1, wherein the adapter layer was fine-tuned while holding the plurality of drafting layers frozen.

### Claim 8 (depends on 1)

The computing system of claim 1, wherein the adapter layer has been trained using a loss function that comprises a knowledge distillation loss term, wherein the knowledge distillation loss term penalizes a difference between a student output of the adapter layer and a teacher output of the verification layers.

### Claim 9 (depends on 1)

The computing system of claim 1, wherein the adapter layer has been trained using a loss function that comprises an embedding distillation loss term, wherein the embedding distillation loss term penalizes a difference between an embedding output of the adapter layer and an embedding output of the verification layers.

### Claim 10 (depends on 1)

The computing system of claim 1, wherein said respectively processing the respective intermediate representation from each decoding iteration with the plurality of verification layers is performed subsequent to a final decoding iteration of the plurality of decoding iterations.

### Claim 11 (depends on 1)

The computing system of claim 1, wherein said respectively processing the respective intermediate representation from each decoding iteration with the plurality of verification layers is performed at least partially in parallel with one or more of the decoding iterations.

### Claim 12 (depends on 1)

The computing system of claim 1, wherein, for each of the plurality of decoding iterations, the operations further comprise storing the intermediate representation.

### Claim 13 (depends on 1)

The computing system of claim 1, wherein the drafted tokens and the verification tokens correspond to text content, image content, or audio content.

### Claim 14

A computer-implemented method for performing model decoding with reduced latency, the method comprising:
for each of a plurality of decoding iterations:
processing a current input with a plurality of drafting layers of a sequence processing model to generate an intermediate representation for the decoding iteration;
processing the intermediate representation for the decoding iteration with an adapter layer to generate a next drafted token for the decoding iteration; and
adding the next drafted token to the current input for a subsequent decoding iteration; and
respectively processing the respective intermediate representation from each decoding iteration with a plurality of verification layers of the sequence processing model to generate a plurality of verification tokens for the plurality of decoding iterations.

### Claim 15 (depends on 14)

The method of claim 14, further comprising comparing the drafted token for each decoding iteration with the verification token for such decoding iteration to identify any disagreements.

### Claim 16 (depends on 14)

The method of claim 14, wherein the plurality of drafting layers comprises fewer layers than the plurality of verification layers.

### Claim 17 (depends on 14)

The method of claim 14, wherein the machine-learned sequence processing model comprises a pre-trained model in which the plurality of drafting layers and the plurality of verification layers were jointly trained based on evaluation of outputs of the verification layers.

### Claim 18

One or more non-transitory computer-readable media that collectively store computer-executable instructions for performing operations, the operations comprising:
obtaining a pre-trained sequence processing model comprising a plurality of layers;
modifying the sequence processing model to contain an adapter layer that is configured to receive and process an intermediate representation generated by a selected intermediate layer of the plurality of layers to predict an output token;
training the adapter layer while holding the plurality of layers of the sequence processing model frozen; and
deploying the sequence processing model for speculative decoding in which the adapter layer, the particular intermediate layer, and the plurality of layers that precede the particular intermediate layer perform speculative token decoding and the plurality of layers that are subsequent to the particular intermediate layer perform token verification.

### Claim 19 (depends on 18)

The one or more non-transitory computer-readable media of claim 18, wherein training the adapter layer comprises optimizing a loss function that comprises a knowledge distillation loss term, wherein the knowledge distillation loss term penalizes a difference between a student output of the adapter layer and a teacher output of the plurality of layers that are subsequent to the particular intermediate layer.

### Claim 20 (depends on 18)

The one or more non-transitory computer-readable media of claim 18, wherein training the adapter layer optimizing a loss function that comprises an embedding distillation loss term, wherein the embedding distillation loss term penalizes a difference between an embedding output of the adapter layer and an embedding output of the plurality of layers that are subsequent to the particular intermediate layer.
