Abstract Token Compression for Long-Context Dialogue Prompts

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The execution of language models requires significant processing and memory resources due to the size of the dialogue history, leading to resource constraints on local computing devices, and truncation of dialogue history negatively affects response quality.

Innovation Solution

A machine-trained model generates abstract token information to summarize dialogue history, reducing prompt size and resource consumption, allowing local devices to implement the model efficiently.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the full dialogue history is included in the prompt, then the response quality is maintained, but the processing and memory resources required increase significantly

Engineering Contradiction:
Improveresponse qualityVSAvoidprocessing resources
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent extracts only the essential information from the full dialogue history and represents it using abstract tokens. Instead of including the complete dialogue history in the prompt, the system identifies and extracts key semantic elements, transforming them into compact abstract token representations that preserve meaning while dramatically reducing token count and associated computational resources.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent changes the parameter of information representation from detailed text tokens to compressed abstract tokens. This parameter transformation allows the same semantic information to be conveyed with fewer tokens, reducing the computational burden on the language model while maintaining response quality.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If the full dialogue history is included in the prompt, then the response quality is maintained, but the memory resources required increase significantly

Engineering Contradiction:
Improveresponse qualityVSAvoidmemory resources
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The system extracts essential semantic content from the dialogue history and represents it using abstract tokens. This extraction process removes redundant and less important information, keeping only the critical elements needed for generating accurate responses, thereby reducing memory consumption.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

Instead of storing and processing the full dialogue history, the system creates abstract token copies that represent the essential meaning of the dialogue. These abstract tokens serve as compressed representations that occupy minimal memory space while preserving the necessary information for response generation.

Inventive Principle:
Principle #26Copying

3Use of energy by moving object

If the prompt size is limited to a predetermined limit, then resource consumption is reduced, but relevant parts of the dialogue history are eliminated

Engineering Contradiction:
Improveresource consumptionVSAvoidrelevant dialogue information
Core Design Contradiction:
Use of energy by moving objectVSLoss of information

Solution Approach 1:

The patent changes the representation parameter from detailed text to abstract tokens, allowing the same amount of information to be conveyed in fewer tokens. This parameter transformation enables the prompt to stay within size limits while preserving all relevant dialogue information through efficient compression.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The system performs preliminary processing of the dialogue history to generate abstract tokens before constructing the prompt. This preliminary action of creating compressed representations ensures that all relevant information is captured in an efficient format before being included in the prompt, preventing any loss of important dialogue context.

Inventive Principle:
Principle #10Preliminary action

4Reliability

If the prompt size increases with each dialogue turn, then the complete dialogue history is maintained, but the scalability is reduced and local devices cannot implement the model

Engineering Contradiction:
Improvedialogue context completenessVSAvoidscalability
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent applies parameter change by transforming dialogue representations into abstract tokens, which dramatically reduces the growth rate of prompt size. Instead of adding numerous text tokens with each dialogue turn, the system adds a small number of abstract tokens that capture the essence of new dialogue content, enabling scalability to resource-constrained local devices.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The system creates abstract token copies that represent dialogue history efficiently. These compressed copies allow the model to maintain complete dialogue context while keeping prompt sizes manageable, enabling deployment on local devices with limited computational resources.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS12572749B2Compressing information provided to a machine-trained model using abstract tokens
Publication Date: 2026.03.10 MICROSOFT TECHNOLOGY LICENSING LLC
  • US12572749B2 patent drawing
  • US12572749B2 patent drawing
  • US12572749B2 patent drawing

AI summary

A technique uses a machine-trained model to generate a response based on a prompt which expresses current input information and abstract token information. The abstract token information summarizes a full dialogue history of a dialogue, and is generated by the model itself. The technique reduces the size of the prompt by incorporating the abstract summary information in lieu of the full dialogue history. A training system trains the machine-trained model by successively improving the predictive accuracy of the machine-trained model, while rewarding the machine-trained model based on an extent to which the machine-trained model compresses instances of abstract token information.