RAG Context Prioritization for Fresh and Precise LLM Responses

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Large Language Models (LLMs) and Retrieval-Augmented Generation (RAG) systems face issues such as outdated knowledge, low precision in information retrieval, and hallucinations, which affect the quality and reliability of responses.

Innovation Solution

A Retrieval-Augmented Generation system that includes a user query vectorization process, a vectorized database with document chunks and metadata, and a completion LLM that considers priority scores and metadata to enhance response accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Duration of action of stationary object

If RAG systems retrieve information from databases, then the knowledge freshness is improved, but the retrieval precision deteriorates due to low precision misaligned retrieved chunks

Engineering Contradiction:
Improveknowledge freshnessVSAvoidretrieval precision
Core Design Contradiction:
Duration of action of stationary objectVSMeasurement precision

Solution Approach 1:

The patent segments documents into chunks and further organizes them by creating multiple representations (text, embedding, graph nodes) with associated metadata. This segmentation allows the system to retrieve specific high-quality information segments rather than relying on entire documents, addressing the low precision issue while maintaining knowledge freshness through selective retrieval of relevant segments.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies local quality by assigning different weights and priorities to different chunks and representations based on their relevance and quality. The system identifies and emphasizes high-quality local representations (such as semantically relevant chunks with high embedding similarity) while downweighting lower-quality representations, thereby improving retrieval precision without sacrificing the freshness benefit.

Inventive Principle:
Principle #3Local quality

2Reliability

If RAG systems use retrieved information, then the response relevance is improved, but hallucinations increase due to lost in the middle problem

Engineering Contradiction:
Improveresponse relevanceVSAvoidhallucinations
Core Design Contradiction:
ReliabilityVSObject-generated harmful factors

Solution Approach 1:

The patent implements feedback mechanisms where the system evaluates the quality and relevance of retrieved information and adjusts the generation process accordingly. The LLM is guided to prioritize and verify information from high-quality retrieved chunks while being aware of potential hallucinations, allowing the system to feedback-loop and correct itself based on the retrieved context quality.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent performs preliminary actions by pre-processing documents into multiple representations and pre-ranking chunks based on relevance metrics before the actual generation occurs. This preliminary organization and filtering of information reduces the cognitive load on the LLM during generation, minimizing hallucinations by presenting only the most relevant pre-processed information in a structured format.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If LLMs are trained with frozen knowledge, then the training efficiency is improved, but the knowledge up-to-dateness deteriorates

Engineering Contradiction:
Improvetraining efficiencyVSAvoidknowledge up-to-dateness
Core Design Contradiction:
ProductivityVSDuration of action of stationary object

Solution Approach 1:

The patent performs preliminary action by pre-processing and organizing external knowledge sources into structured representations (chunks, embeddings, graph data) before they are needed for generation. This allows the LLM to maintain its efficient frozen training state while the system dynamically queries and integrates fresh external knowledge, effectively decoupling training efficiency from knowledge up-to-dateness.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary layer consisting of external databases, knowledge graphs, and retrieval systems that mediate between the frozen LLM and the need for up-to-date knowledge. This intermediary allows the LLM to retain its training efficiency while the intermediary components provide continuous knowledge updates and contextual information during inference, resolving the contradiction between training efficiency and knowledge freshness.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS20260003897A1Retrieval augmented generation systems and methods
Publication Date: 2026.01.01 SMITH & NEPHEW INC
  • US20260003897A1 patent drawing
  • US20260003897A1 patent drawing
  • US20260003897A1 patent drawing

AI summary

The disclosed Retrieval Augmented Generation systems and methods include a system with several components. First, a user interface generates a query for a large language model (LLM). The system features prompt generator circuitry that accesses a database containing documents, each with priorities linked to various factors. This circuitry retrieves context and factor priorities from these documents in response to the query. The system also includes an LLM interface that submits a query to the LLM, incorporating the original query, retrieved context, and factor priorities. The system then receives a response from the LLM, which includes data related to the documents and factor priorities. Finally, an output interface presents the user with response data from the LLM, detailing information about the documents and the retrieved factor priorities.