Context-Aware Language Model Training via Appended Data Segments

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional language models often generate incorrect outputs, known as 'hallucinations,' with limited methods to verify their accuracy, posing a challenge in ensuring the reliability of their responses.

Innovation Solution

The method involves appending context information to training data to train machine learning models, allowing them to output responses with associated context and enabling verification against the training data, thereby improving accuracy assessment.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If conventional language models are trained on large text data, then they can perform various natural language processing tasks, but they generate incorrect outputs known as hallucinations with limited verification methods

Engineering Contradiction:
Improvenatural language processing capabilityVSAvoidoutput accuracy
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent segments the training data into original text portions and appended context information, allowing the model to distinguish between different types of information. This segmentation enables the verification system to check whether model outputs are supported by specific context segments, thereby reducing hallucinations while maintaining NLP capabilities

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces context information as an intermediary element between the training data and the model outputs. This intermediary provides verifiable supporting information that mediates between the model's generative capabilities and the need for accurate, fact-based outputs, enabling reliability verification

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If context information is appended to training data, then models can learn and output context, but the training data processing complexity increases

Engineering Contradiction:
Improvecontext awarenessVSAvoiddata processing complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by appending context information to the training data before model training. This pre-processing step incorporates context awareness into the model's fundamental understanding, eliminating the need for complex post-processing verification systems and simplifying the overall architecture

Inventive Principle:
Principle #10Preliminary action

3Measurement precision

If verification operations are performed on model responses, then output accuracy can be checked, but processing time increases

Engineering Contradiction:
Improveresponse verification accuracyVSAvoidverification processing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent implements self-service verification where the model verifies its own outputs against the context information it was trained on. This self-verification mechanism eliminates the need for separate, time-consuming external verification systems, as the context awareness is inherently built into the model during training

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS20240370703A1Context-aware language models
Publication Date: 2024.11.07 VIAN SYSTEMS INC
  • US20240370703A1 patent drawing
  • US20240370703A1 patent drawing
  • US20240370703A1 patent drawing

AI summary

One embodiment of the present invention sets forth a technique for computer-implemented method for training a machine learning model includes appending context information to at least one portion of first data to generate second data, and performing one or more operations to train the machine learning model based on the second data to generate a trained machine learning model.