Fine-Tuned Language Models for Structured Data Context Reduction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Large language models (LLMs) struggle to integrate structured data effectively, leading to errors and inefficient use of computing resources due to the complex nature of structured data exceeding token limits and causing errors even within the maximum input context.

Innovation Solution

Fine-tuning pre-trained language models to determine relevant portions of structured data, such as tables, using an on-policy learning framework with rewards and penalties to optimize the selection of correct data, reducing the input context provided to LLMs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If structured data is provided as input context to LLM, then the model can access comprehensive information, but the input context exceeds token limits and causes errors

Engineering Contradiction:
Improveamount of structured dataVSAvoidinput context complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent extracts only the relevant portions of structured data needed to answer the query, removing unnecessary information. The fine-tuned language model identifies and extracts relevant rows and columns from tables, extracting only the essential data subset that fits within token limits while maintaining answer accuracy.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent segments structured data into relevant and irrelevant portions based on query requirements. The fine-tuned model divides the structured data into meaningful segments (relevant rows, relevant columns) and processes only those segments, rather than treating the entire structured data as a single unit.

Inventive Principle:
Principle #1Segmentation

2Reliability

If structured data is provided to LLM, then comprehensive information is available, but the model provides errors due to complex nature of structured data

Engineering Contradiction:
Improveaccuracy of responsesVSAvoidstructured data complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent introduces a fine-tuned language model as an intermediary between the query and the structured data. This intermediary model is specifically trained to understand query-intent relationships and selectively retrieve relevant data, acting as a mediator that simplifies the complex interaction between natural language queries and structured data formats.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent performs preliminary processing of structured data by pre-identifying relevant rows and columns before the main LLM processes the information. The fine-tuned model performs this preliminary filtering action upfront, reducing the complexity of data that the main LLM needs to handle subsequently.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If fine-tuned language model reduces structured data, then computing resources are used efficiently, but the model must accurately select relevant portions

Engineering Contradiction:
Improveprocessing efficiencyVSAvoidselection accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent implements feedback mechanisms during fine-tuning where the model learns from rewards and penalties based on selection accuracy. The fine-tuned language model receives feedback signals (rewards for correct selections, penalties for incorrect ones) that guide it to improve its selection precision while maintaining efficient processing of structured data.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS20250225373A1Fine-tuning a language model to reduce representations of structured data
Publication Date: 2025.07.10 ADOBE INC
  • US20250225373A1 patent drawing
  • US20250225373A1 patent drawing
  • US20250225373A1 patent drawing

AI summary

Methods and systems are provided for using a fine-tuned language model to reduce representations of structured data. In embodiments described herein, training data is accessed that includes structured data, a set of queries for the structured data, and each portion of the structured data that is relevant to each query of the set of queries. A language model is fine-tuned to maximize a cumulative reward based on the training data. The cumulative reward includes a reward for determining a correct portion of the structured data, a first penalty for failing to determine the correct portion of the structured data, and a second penalty for determining an incorrect portion of the structured data. The fine-tuned language model is then output.