Hierarchical Retrieval Units for LLM Context Window Limits

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Large language models (LLMs) face limitations due to a limited context window, leading to computational inefficiencies and loss of information when processing large documents, especially when dealing with multimodal content like tables and non-textual elements, which existing chunking techniques often handle inadequately, resulting in incomplete context and fidelity issues.

Innovation Solution

A lossless hierarchical regurgitation technique transforms documents into a structured hierarchical representation, preserving all information and organizing it into manageable retrieval units, allowing LLMs to access and utilize information with greater completeness and structural integrity, thereby overcoming context window limitations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of information

If LLMs process larger context windows to handle more document information, then information completeness improves, but computational load and energy consumption increase excessively

Engineering Contradiction:
Improveinformation completenessVSAvoidcomputational load and energy consumption
Core Design Contradiction:
Loss of informationVSUse of energy by moving object

Solution Approach 1:

The patent divides the document into multiple hierarchical levels (document → sections → subsections → paragraphs → sentences). This segmentation allows the system to process and retrieve only relevant portions rather than the entire document, reducing computational load while maintaining information completeness. The hierarchical structure enables selective access to specific segments based on query relevance.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements nested hierarchical levels where sections contain subsections, which contain paragraphs, which contain sentences. Each level is embedded within the previous level, creating a nested structure. This allows the system to navigate from coarse-grained sections to fine-grained sentences efficiently, processing only the necessary depth required for each query, thereby reducing overall computational requirements.

Inventive Principle:
Principle #7Nested doll (Nesting)

2Productivity

If traditional chunking methods divide documents into smaller units, then processing efficiency improves, but semantic coherence and contextual structure are disrupted

Engineering Contradiction:
Improveprocessing efficiencyVSAvoidsemantic coherence and contextual structure
Core Design Contradiction:
ProductivityVSLoss of information

Solution Approach 1:

The patent segments documents using semantically meaningful boundaries (sections, subsections, paragraphs, sentences) rather than arbitrary fixed-size chunks. This segmentation preserves the natural hierarchical structure and semantic coherence of the original document while creating manageable units for efficient processing and retrieval.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a hierarchical dimension to the chunking process, organizing segments into multiple levels (document → sections → subsections → paragraphs → sentences). This hierarchical dimension allows the system to maintain semantic coherence within each level while enabling efficient processing by navigating through the hierarchy, thus resolving the conflict between processing efficiency and semantic preservation.

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

3Productivity

If summarization techniques are used to compress document content, then context length requirements reduce, but fidelity and exact recall of facts are lost

Engineering Contradiction:
Improvecontext length efficiencyVSAvoidfidelity and exact recall
Core Design Contradiction:
ProductivityVSLoss of information

Solution Approach 1:

The patent segments the document into hierarchical units without summarizing or compressing the content. Each segment (section, subsection, paragraph, sentence) retains the original text verbatim, ensuring complete fidelity and exact recall capability. The segmentation alone provides the compression effect by enabling selective retrieval of only relevant segments rather than processing the entire document.

Inventive Principle:
Principle #1Segmentation

4Quantity of substance

If hierarchical structures are built with compressed representations, then storage requirements reduce, but critical details are lost

Engineering Contradiction:
Improvestorage requirementsVSAvoidcritical details
Core Design Contradiction:
Quantity of substanceVSLoss of information

Solution Approach 1:

The patent segments the document into hierarchical units and stores each segment as a discrete unit with its own metadata (level, position, parent-child relationships). This segmentation allows the system to store only the necessary hierarchical structure information rather than compressed representations, preserving all critical details while achieving storage efficiency through selective retrieval of relevant segments based on query needs.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12517941B1Retrieval-augmented generation for large language models
Publication Date: 2026.01.06 POMA AI GMBH
  • US12517941B1 patent drawing
  • US12517941B1 patent drawing
  • US12517941B1 patent drawing

AI summary

A document preparation method involves creating a hierarchical representation of an input document without summarizing or omitting any content. The method uses a generative language model to generate the hierarchical representation and stores it in a repository for later use by a client generative language model. This allows for more accurate and complete generation of text, enabling the use of retrieval units to enhance the output of the client generative language model while efficiently exploiting its limited context window.