Heteroassociative Retrieval Store for Scalable AI Document Recall
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing retrieval-augmented generation (RAG) techniques face significant processing delays and memory constraints as database size increases, leading to inefficient and inaccurate responses from large language models (LLMs) due to the need for sophisticated indexing and potential loss of stored data.
Innovation Solution
Implementing a scalable network-type heteroassociative RAG (HRAG) store that encodes documents as matrix elements, allowing efficient retrieval without indexing, maintaining retrieval accuracy even as the number of stored documents grows, using heteroassociations between features and labels to manage storage capacity.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If traditional RAG techniques are used with increasing database size, then more documents can be stored, but processing delays increase and retrieval accuracy decreases
Solution Approach 1:
The patent segments the database into multiple sharded stores distributed across different computing devices. Each shard handles a portion of the documents independently, allowing parallel processing during retrieval operations. This segmentation eliminates the single-point bottleneck in traditional RAG systems, enabling the system to scale database size without proportionally increasing processing delays.
Solution Approach 2:
The patent introduces a hierarchical dimension to the retrieval architecture by implementing multi-stage retrieval processes and layered indexing structures. Instead of linearly searching through all documents, the system navigates through multiple dimensions of organization (e.g., category-level indexes, semantic clusters, and document-level stores), reducing the search space and processing time as database size increases.
2Quantity of substance
If traditional RAG techniques are used with increasing database size, then more documents can be stored, but retrieval accuracy decreases due to loss of stored data
Solution Approach 1:
The patent implements feedback mechanisms where retrieval results are continuously evaluated and used to refine the retrieval process. The system monitors retrieval accuracy metrics and adjusts indexing strategies, query processing parameters, and shard distribution based on performance feedback. This closed-loop approach maintains retrieval accuracy even as the database grows by adapting to emerging patterns and bottlenecks.
Solution Approach 2:
The patent dynamically adjusts various parameters including shard count, memory allocation per device, retrieval depth, and indexing granularity based on database size and query patterns. As the database grows, the system automatically optimizes these parameters to maintain retrieval accuracy, such as increasing the number of shards to distribute the load and adjusting memory buffers to prevent data loss during high-volume operations.
3Ease of operation
If traditional RAG techniques are used, then documents can be stored and retrieved, but sophisticated indexing is required which increases device complexity
Solution Approach 1:
The patent implements self-service mechanisms where the distributed store automatically performs indexing, categorization, and optimization tasks without requiring external intervention. Each computing device autonomously manages its shard's indexing structure and participates in collective optimization processes. This eliminates the need for complex centralized indexing systems while maintaining ease of document retrieval through automated organization and search capabilities.
4Quantity of substance
If database size increases in traditional RAG systems, then more information is available, but memory constraints are exceeded
Solution Approach 1:
The patent divides the database into multiple shards distributed across different computing devices, each with its own memory space. This segmentation allows the system to exceed the memory capacity of any single device while maintaining efficient access to all data. Each device stores only a portion of the total information, preventing any single memory constraint from limiting overall database size.
Solution Approach 2:
The patent introduces a distributed spatial dimension to data storage by allocating different shards to different computing devices in the network. This transforms the memory constraint from a single-device limitation to a system-level resource that can be dynamically allocated and expanded. The system can grow information capacity by adding more devices to the distributed network rather than continuously expanding single-device memory.
Data Source
AI summary
In various examples, systems and techniques are directed to network-based heteroassociative retrieval-augmented generation (HRAG) for efficient augmentation of inputs into artificial intelligence models. Example techniques include storing documents in a network-based store (NBS) having multiple stages of matrix multiplication(s) and non-linear activation(s). Storing documents includes modifying parameter(s) of matrix multiplications of at least one of the stages. The example techniques further include processing, using the NBS, a query to obtain retrieved document(s) associated with the query and at least approximately reproducing stored document(s). The example techniques further include processing, using a language model, a prompt that is based at least on the query and the retrieved document(s).


