RAG Recommendation Retrieval Using Vector Databases for Fresh Item Data

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing recommender systems fail to provide accurate and timely recommendations due to outdated training data and resource-intensive re-training requirements, leading to inaccurate results and a lack of engagement.

Innovation Solution

A retrieval-augmented generation approach using a vector database to supplement a language model, allowing for real-time updates of item information without re-training, ensuring accurate recommendations by leveraging a vector database for item attributes and generating query vectors based on user preferences.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If an LLM is trained on item information, then recommendation accuracy is improved, but re-training is required when new items become available, which is resource-intensive and time-consuming

Engineering Contradiction:
Improverecommendation accuracyVSAvoidre-training time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system separates the LLM from the item information storage by introducing a vector database. The LLM handles understanding and generation, while the vector database stores and provides item information. This segmentation allows independent updates of item information without affecting the LLM.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

A retrieval component is introduced as an intermediary between the LLM and item information. This retrieval component queries the vector database to obtain current item information, which is then provided to the LLM. This intermediary enables the system to use up-to-date information without re-training the LLM.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If an LLM is trained on item information, then recommendation accuracy is improved, but computing resources are consumed during re-training when new items are added

Engineering Contradiction:
Improverecommendation accuracyVSAvoidcomputing resources for re-training
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The system divides functionality between the LLM and vector database, allowing item information to be updated independently. This eliminates the need for resource-intensive re-training of the LLM when new items are added to the catalog.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The vector database automatically stores and retrieves item information as needed, without requiring external re-training processes. The retrieval-augmented generation system self-updates by querying the vector database for current item information.

Inventive Principle:
Principle #25Self-service

3Productivity

If existing recommender systems use item selections as preference information, then recommendations can be generated, but the experience is not engaging and recommendations are not particularly similar to personal preferences

Engineering Contradiction:
Improverecommendation generationVSAvoidpersonal preference accuracy
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system changes the input parameters from simple item selections to natural language queries. This allows users to express specific preferences and requirements in their own words, enabling more accurate and engaging recommendations that closely match personal preferences.

Inventive Principle:
Principle #35Parameter changes

4Ease of operation

If an LLM generates recommendations directly, then natural language processing is enabled, but inaccurate results or hallucinations may occur

Engineering Contradiction:
Improvenatural language interfaceVSAvoidrecommendation accuracy
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The retrieval component acts as an intermediary that provides verified item information from the vector database to the LLM. This grounds the LLM's generation in factual data, reducing hallucinations while maintaining natural language processing capabilities.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system replaces the LLM's internal knowledge retrieval mechanism with an external vector database query mechanism. This substitution ensures that item information comes from a reliable, up-to-date source rather than the LLM's potentially outdated training data.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS12481710B2Recommendation system using retrieval-augmented generation
Publication Date: 2025.11.25 NVIDIA CORP
  • US12481710B2 patent drawing
  • US12481710B2 patent drawing
  • US12481710B2 patent drawing

AI summary

In various examples, a technique for recommending items is disclosed that includes receiving a request to recommend an item. The technique further includes generating, based on the request, one or more query tags, the one or more query tags including one or more preferred tags, at least one of the preferred tags specifying an item of interest. The technique also includes generating one or more subqueries based on the one or more query tags. The technique still further includes generating, based on the one or more subqueries, a query vector in an embedding space of the vector database. The technique further includes identifying, in the vector database and using the query vector, a plurality of candidate items. The technique still further includes selecting a recommended item from the plurality of candidate items based on the request.