Embedding Model Retraining for Domain-Specific Data Retrieval

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Large language models struggle to effectively address domain-specific queries due to their general-purpose training, leading to challenges in providing relevant information in specialized domains like manufacturing, finance, and healthcare.

Innovation Solution

A retriever model is fine-tuned using synthetic training data generated by a large language model to identify relevant and irrelevant chunks of information, enhancing the embedding model's ability to provide precise context to a generative model.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If large language models are used for general-purpose training, then they can handle a wide variety of queries, but they struggle to effectively address domain-specific queries

Engineering Contradiction:
Improvequery handling capabilityVSAvoiddomain-specific accuracy
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The system segments the query processing into two distinct components: a retriever model for identifying relevant information chunks and a generative model for producing responses. The retriever model is specifically fine-tuned for domain-specific information retrieval, while the generative model handles response generation. This segmentation allows each model to specialize in its respective function, improving domain-specific accuracy while maintaining overall versatility.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The framework creates a universal retrieve-then-read pipeline that can handle both general-purpose and domain-specific queries through the combination of the fine-tuned retriever model and the generative model. The retriever model's embedding space is designed to accommodate diverse query types while prioritizing domain-specific relevance, enabling the system to maintain adaptability across different query domains.

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Quantity of substance

If synthetic training data is generated using large language models, then the training data quantity increases, but the quality and relevance of training samples may be compromised

Engineering Contradiction:
Improvetraining data volumeVSAvoidtraining sample quality
Core Design Contradiction:
Quantity of substanceVSManufacturing precision

Solution Approach 1:

The system employs feedback mechanisms where the retriever model's performance on domain-specific queries is continuously evaluated. Synthetic training data is generated and refined based on performance metrics, with particular attention to whether the retrieved chunks accurately address domain-specific queries. This feedback loop ensures that while synthetic data volume increases, the quality and relevance are maintained through iterative improvement.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The retriever model is pre-trained on domain-specific corpora before being fine-tuned with synthetic training data. This preliminary action ensures that the model already has a strong foundation in domain-specific terminology and concepts, allowing synthetic training data to build upon rather than compromise the quality of domain-specific knowledge.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12518171B2Data generation and retraining techniques for fine-tuning of embedding models for efficient data retrieval
Publication Date: 2026.01.06 GOLDMAN SACHS & CO LLC
  • US12518171B2 patent drawing
  • US12518171B2 patent drawing
  • US12518171B2 patent drawing

AI summary

A method includes obtaining chunks of information and generating training samples for an embedding model using the chunks of information. Generating the training samples includes using at least one large language model to generate training samples in which different ones of the chunks of information are and are not relevant to different potential queries. The method also includes training the embedding model using the training samples. In some cases, the embedding model may represent a retriever model. For example, an input query may be obtained at the retriever model, and the retriever model may be configured to identify a specified number of chunks of information relevant to the input query. One or more of the chunks of information may be provided from the retriever model to a generative model, and the generative model may be used to create a response to the input query.