Intermediate Model Output Reuse for Low-Latency Query Responses

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Generative models, due to their large size and complexity, require significant computational resources and result in high latency, making them impractical for on-device use and prolonging user-to-computer interactions.

Innovation Solution

A query database is created to store intermediate model outputs from previous queries, allowing for the selection of precomputed outputs similar to new user queries, reducing the need to process the entire generative model and minimizing latency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a large generative model is used to process user queries, then the model can generate accurate and comprehensive responses, but the computational resources required and latency increase significantly

Engineering Contradiction:
Improveresponse accuracyVSAvoidlatency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent segments the generative model into multiple computing layers (e.g., embedding layers, attention layers, feed-forward layers) and stores intermediate outputs from each layer for historical queries. When a new query arrives, the system processes only the relevant layers rather than the entire model, reducing latency while maintaining response accuracy through selective computation.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent precomputes and stores intermediate model outputs for historical queries in a query database. These precomputed intermediate outputs are made available for reuse when similar queries arrive, eliminating the need to reprocess previous computations and significantly reducing latency for repeated or similar queries.

Inventive Principle:
Principle #10Preliminary action

2Ease of operation

If a large generative model is deployed on-device, then response generation can be performed locally, but memory constraints prevent loading the model

Engineering Contradiction:
Improveon-device capabilityVSAvoidmemory requirement
Core Design Contradiction:
Ease of operationVSQuantity of substance

Solution Approach 1:

The patent extracts only the necessary intermediate outputs from specific computing layers and stores them in a query database. This allows the system to operate on-device with minimal memory footprint, as only the intermediate outputs rather than the complete model are stored and processed locally.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

Instead of loading the entire generative model onto the device, the patent implements partial model deployment by only storing and processing intermediate outputs from relevant layers. This partial action approach enables on-device operation within memory constraints while maintaining sufficient functionality for query processing.

Inventive Principle:
Principle #16Partial or excessive action

3Adaptability or versatility

If the complete generative model is processed for every query, then full model capability is utilized, but computational resources are consumed excessively

Engineering Contradiction:
Improvemodel capabilityVSAvoidcomputational resource consumption
Core Design Contradiction:
Adaptability or versatilityVSUse of energy by moving object

Solution Approach 1:

The patent applies local quality by processing only the specific computing layers that are relevant to the current query rather than the entire model. Intermediate outputs from different layers are selectively retrieved and processed based on the query characteristics, optimizing computational resource consumption while maintaining adaptability.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent creates a query database that stores copies of intermediate model outputs from historical queries. Instead of reprocessing the entire model for each query, the system retrieves and reuses these precomputed intermediate outputs, significantly reducing computational resource consumption while maintaining model capability through the copied representations.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS20260023747A1Utilizing previous intermediate model output for generating responses
Publication Date: 2026.01.22 GOOGLE LLC
  • US20260023747A1 patent drawing
  • US20260023747A1 patent drawing
  • US20260023747A1 patent drawing

AI summary

Implementations relate to storing historical queries processed using a generative model in association with intermediate model outputs generated using the generative model for each of the historical queries. Implementations further relate to receiving a user query processable using the generative model. In response to receiving the user query, the user query can be compared to the historical queries to identify a particular historical query (e.g., having a similarity score satisfying a similarity threshold) that matches the user query. Particular intermediate model output associated with the particular historical query can be selected from all intermediate model outputs stored in association with the particular historical query, and a response to the user query can be generated based at least on the selected particular intermediate model output associated with the particular historical query.