Self-Teaching Large Language Model Reducing Hallucinations

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Large language models (LLMs) face challenges in generating accurate and reliable outputs, often producing false or incorrect information, known as hallucinations, which affects their reliability and trustworthiness.

Innovation Solution

The method involves a self-learning framework with two phases: a diversification phase that generates a diverse set of outputs using techniques like few-shot learning and context manipulation, and an aggregation phase that combines these outputs to produce a single, more accurate result through filtering and majority vote strategies, iteratively improving the accuracy of LLMs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If LLMs generate outputs using standard prompting techniques, then the model can respond to various input prompts, but the outputs contain hallucinations and are unreliable

Engineering Contradiction:
Improvereliability of LLM outputsVSAvoidhallucinations in outputs
Core Design Contradiction:
ReliabilityVSLoss of information

Solution Approach 1:

The patent implements a self-learning framework where the LLM uses its own previous outputs as training data. The model generates outputs, stores them, and then re-trains itself on this stored data, creating a feedback loop that progressively improves reliability and reduces hallucinations over multiple phases

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system performs preliminary actions by generating and storing outputs in advance during training phases. These pre-generated outputs are then used as training data for subsequent phases, allowing the model to learn from its own performance before facing new questions

Inventive Principle:
Principle #10Preliminary action

2Manufacturing precision

If the LLM operates in a single phase without self-learning, then the process is simple and fast, but the accuracy and reliability of outputs remain limited

Engineering Contradiction:
Improveaccuracy of LLM outputsVSAvoidcomplexity of training framework
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The training process is segmented into multiple phases (first phase, second phase, third phase, etc.), where each phase involves generating outputs, storing them, and re-training the model. This segmentation allows the system to progressively improve accuracy while managing complexity through structured iterations

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The framework maintains continuous improvement by repeatedly cycling through generation, storage, and re-training phases. The model continuously learns from its own outputs, ensuring that accuracy improvements are sustained and built upon across multiple phases

Inventive Principle:
Principle #20Continuity of useful action

3Reliability

If the LLM uses self-learning with multiple phases, then the accuracy and reliability improve over time, but the computational cost and time required increase

Engineering Contradiction:
Improvetrustworthiness of LLM outputsVSAvoidtime required for self-learning process
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The LLM performs self-learning by using its own outputs as training data without requiring external intervention. The model autonomously generates outputs, stores them, re-trains itself, and improves its performance, eliminating the need for manual data collection and annotation processes

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS20240362416A1Self-teaching large language models
Publication Date: 2024.10.31 MICROSOFT TECHNOLOGY LICENSING LLC
  • US20240362416A1 patent drawing
  • US20240362416A1 patent drawing
  • US20240362416A1 patent drawing

AI summary

The present disclosure relates to methods and systems for self-teaching a large language model (LLM). The methods and systems use a self-learning framework with a plurality of phases. In each phase of the self-learning framework, the LLM generates a diverse set of outputs for a question and an aggregation is performed on the diverse set of outputs generate a phase output. The phase output from a previous phase is used as an input to the LLM in a next phase.