Hybrid RAG Retrieval With Knowledge Graphs for Rich Document Queries

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing retrieval-augmented generation (RAG) systems for large language models (LLMs) in video conferencing are limited by context window size, lack mechanisms for handling long-term dependencies, and fail to integrate structured knowledge effectively, leading to incomplete or inaccurate responses.

Innovation Solution

A hybrid RAG approach that combines probabilistic ranking, embedding-based retrieval, and structured data incorporation using a knowledge graph to enhance LLM responses, enabling long-term dependencies and improved semantic understanding.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If traditional RAG systems are used with LLMs, then the system can process queries using available context, but the context window size limits the amount of information that can be retrieved and processed

Engineering Contradiction:
Improvecontext window capacityVSAvoidretrieved information completeness
Core Design Contradiction:
Quantity of substanceVSLoss of information

Solution Approach 1:

The patent segments the context window into multiple sessions, where each session has its own context window. The system divides retrieved documents and information across multiple sessions, allowing the LLM to process information in manageable chunks while maintaining access to broader information through session memory and knowledge graphs.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent adds temporal and structural dimensions to the retrieval system by implementing session-based contexts with knowledge graphs that capture entity relationships across sessions. This multi-dimensional approach allows the system to retrieve and organize information beyond the linear constraints of a single context window.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Duration of action of stationary object

If traditional RAG systems are used, then the system can handle simple queries, but it lacks mechanisms for handling long-term dependencies across multiple sessions

Engineering Contradiction:
Improvesession memory durationVSAvoidresponse accuracy
Core Design Contradiction:
Duration of action of stationary objectVSReliability

Solution Approach 1:

The system performs preliminary actions by pre-processing retrieved documents into structured formats and pre-building knowledge graphs that capture entity relationships before queries are submitted. This preparation enables the LLM to efficiently access and utilize long-term dependencies across sessions without requiring extensive processing during query execution.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces session memory and knowledge graphs as intermediary structures between the retrieval system and the LLM. These intermediaries store and organize information across sessions, maintaining contextual relationships and enabling the LLM to access long-term dependencies while improving response accuracy through structured information presentation.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Adaptability or versatility

If traditional RAG systems are used, then the system can retrieve documents, but it fails to integrate structured knowledge effectively

Engineering Contradiction:
Improveknowledge integration capabilityVSAvoidresponse precision
Core Design Contradiction:
Adaptability or versatilityVSMeasurement precision

Solution Approach 1:

The patent transforms retrieved unstructured documents into structured knowledge representations by changing the parameter format from raw text to organized entities, relationships, and attributes. This transformation enables the system to integrate structured knowledge effectively, allowing the LLM to query and utilize information with higher precision through defined schemas and relationship types.

Inventive Principle:
Principle #35Parameter changes

4Quantity of substance

If the system retrieves more documents to improve completeness, then more information is available, but retrieval accuracy and relevance decrease

Engineering Contradiction:
Improveretrieved document volumeVSAvoidretrieval accuracy
Core Design Contradiction:
Quantity of substanceVSMeasurement precision

Solution Approach 1:

The system segments the retrieval process into multiple stages with different ranking strategies. Initial retrieval fetches a broader set of documents, then subsequent ranking and filtering stages segment and prioritize these documents based on relevance criteria, allowing the system to process large volumes while maintaining high accuracy through progressive refinement.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces intermediate ranking and filtering mechanisms that act as mediators between bulk document retrieval and final selection. These intermediaries apply multiple ranking criteria and relevance filters to large document sets, enabling the system to retrieve comprehensive information while maintaining high accuracy through layered evaluation processes.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS12554780B1Hybrid retrieval augmented generation for rich document queries using a large language model
Publication Date: 2026.02.17 ZOOM COMMUNICATIONS INC
  • US12554780B1 patent drawing
  • US12554780B1 patent drawing
  • US12554780B1 patent drawing

AI summary

Techniques for implementing hybrid retrieval augmented generation for rich document queries using a large language model (“LLM”) are disclosed. In an example method, a computing system receives documents which are added to databases. The computing system receives a query, from which tokens are generated. The computing system determines a first ranking of the documents using a probabilistic ranking method and a second ranking of the documents in response to a vector database query using an embedded representation. The computing system determines a third ranking of the documents based on the first ranking and the second ranking. The computing system selects top documents from the third ranking. The computing system determines a knowledge graph based on the top documents. The computing system outputs the query, the top documents, and at least a portion of the knowledge graph to an LLM. The computing system receives and outputs a response.