Prompt Structuring Model for Large Language Model Input Limits
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Large language models have input size limitations that restrict the amount of data that can be processed, leading to incomplete summaries and increased computational costs, and existing techniques fail to ensure crucial details are included in the summaries.
Innovation Solution
Implement a prompt structuring model using a token classification model and classification algorithm to update user inputs, reducing their size while preserving important context, and identify suitable large language models for analysis.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of information
If large language models are used to review and summarize user sessions, then meaningful insights can be generated, but the input size limit restricts the amount of information that can be processed
Solution Approach 1:
The patent segments the user session data into multiple portions and processes them through multiple iterations. In each iteration, the model summarizes portions of the data and uses those summaries as input for the next iteration, progressively reducing the data size while maintaining information completeness through cumulative summarization.
Solution Approach 2:
The patent applies preliminary processing by using a classification algorithm to identify the nature or structure of the input data before summarization. This preliminary classification guides the summarization process to focus on contextually important information, ensuring that critical details are preserved while reducing overall input size.
2Loss of information
If large amounts of information are input into large language models, then more comprehensive analysis can be performed, but computational costs increase significantly
Solution Approach 1:
The patent applies preliminary processing by using a classification algorithm to identify the nature or structure of the input data before summarization. This preliminary classification guides the summarization process to focus on contextually important information, ensuring that critical details are preserved while reducing overall input size.
Solution Approach 2:
The patent extracts only the contextually important information from the user session data through iterative summarization. By repeatedly summarizing portions of the data and using those summaries as input, the system extracts and retains only the essential information needed for analysis, eliminating redundant data that would increase computational costs.
3Length of moving object
If summaries are generated by asking large language models to summarize portions of data, then input size is reduced, but crucial parts of the data may be omitted
Solution Approach 1:
The patent applies preliminary processing by using a classification algorithm to identify the nature or structure of the input data before summarization. This preliminary classification guides the summarization process to focus on contextually important information, ensuring that critical details are preserved while reducing overall input size.
Solution Approach 2:
The patent implements feedback mechanisms where the model uses its own generated summaries as input for subsequent iterations. This feedback loop allows the model to refine its summarization process, progressively capturing more nuanced and contextually important details while maintaining reduced input size across multiple processing stages.
Data Source
AI summary
Disclosed embodiments relate to updating an input for a large language model. Techniques include receiving the input from a user, applying a token classification model to the input to generate a replacement dictionary, applying a classification algorithm to the input to classify at least one of a nature or a structure of the input, updating, by a trained machine learning model, the input based on the replacement dictionary and the classified nature or structure of the input and transmitting the updated input to the at least one large language model.


