# US 2026/0099553 A1 · Method and system for predicting retrieval failure

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0099553 A1
- Document ID: US20260099553A1
- Status: Published application
- Kind: A1
- Application number: 19/349,611
- Filed: 2025-10-03
- Published: 2026-04-09
- Earliest claimed: 2024-10-07
- Assignees: Samsung Sds Co., Ltd.; Seoul National University R&Db Foundation
- Applicants: Samsung Sds Co., Ltd.; Seoul National University R&Db Foundation
- Inventors: Gunhee KIM; Dayoon KO; Jin Hyuk KIM; Min Young LEE; Sung Hak SONG; Jae Hoon LEE; Jinyoung KIM
- Web page: https://patentgrep.com/patent/US20260099553A1

## CPC

- G06F 16/93: Document management systems
- G06F 16/217: {Database tuning (G06F16/2282 takes precedence; database performance monitoring G06F11/3409)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Provided is a method for predicting retrieval failure, the method being performed by a computing system. The method may comprise: selecting one of a plurality of documents in a document corpus as a reference document; selecting one or more positive samples having high relevance to the reference document from among the plurality of documents in the document corpus, using a retrieval model; selecting one or more negative samples having low relevance to the reference document from among the plurality of documents in the document corpus, using the retrieval model; calculating a gradient norm of a contrastive loss using the reference document, a positive sample, and a negative sample; and comparing the gradient norm with a first reference value, and predicting whether the reference document is a retrieval failure-causing document, based on a comparing result.

## Claims

### Claim 1

A method for predicting retrieval failure, the method being performed by a computing system, the method comprising:
selecting one document of a plurality of documents in a document corpus as a reference document;
selecting one or more positive samples having high relevance to the reference document from among the plurality of documents in the document corpus, using a retrieval model;
selecting one or more negative samples having low relevance to the reference document from among the plurality of documents in the document corpus, using the retrieval model;
calculating a gradient norm of a contrastive loss using the reference document, a positive sample, and a negative sample; and
comparing the gradient norm with a first reference value, and predicting whether the reference document is a retrieval failure-causing document, based on a comparing result.

### Claim 2 (depends on 1)

The method of claim 1, further comprising, before selecting the one document as the reference document,
encoding each of the plurality of documents in the document corpus using the retrieval model to generate each embedding vector; and
constructing database based on embedding vectors corresponding to the plurality of documents.

### Claim 3 (depends on 1)

The method of claim 1, wherein the selecting of the positive sample includes:
partially modifying the reference document to generate a modified reference document; and
retrieving documents similar to the modified reference document from the document corpus, using the modified reference document as a retrieval query.

### Claim 4 (depends on 3)

The method of claim 3, wherein the generating of the modified reference document includes:
generating an embedding vector corresponding to the reference document; and
applying probabilistic masking to the generated embedding vector to generate a modified embedding vector.

### Claim 5 (depends on 1)

The method of claim 1, wherein the selecting of the negative sample includes:
retrieving documents similar to each of the one or more positive samples from the document corpus, using each of the one or more positive samples as a retrieval query; and
selecting a document other than the one or more positive samples among the retrieved documents as a hard negative sample.

### Claim 6 (depends on 1)

The method of claim 1, wherein the predicting of whether the reference document is the retrieval failure-causing document includes:
in response to that the gradient norm exceeds the first reference value, determining the reference document as the retrieval failure-causing document.

### Claim 7 (depends on 6)

The method of claim 6, wherein the first reference value is set using training data for training the retrieval model.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
calculating a ratio of documents predicted as retrieval failure-causing documents in the document corpus; and
determining whether to perform re-training of the retrieval model, based on whether the calculated ratio exceeds a second reference value.

### Claim 9

A computing system comprising:
at least one processor;
a memory configured to load a computer program to be executed by the at least one processor therein; and
storage storing the computer program therein,
wherein the computer program includes instructions for:
selecting one of a plurality of documents in a document corpus as a reference document;
selecting one or more positive samples having high relevance to the reference document from among the plurality of documents in the document corpus, using a retrieval model;
selecting one or more negative samples having low relevance to the reference document from among the plurality of documents in the document corpus, using the retrieval model;
calculating a gradient norm of a contrastive loss using the reference document, a positive sample, and a negative sample; and
comparing the gradient norm with a first reference value, and predicting whether the reference document is a retrieval failure-causing document, based on a comparing result.

### Claim 10 (depends on 9)

The computing system of claim 9, wherein the computer program further includes instructions for:
encoding each of the plurality of documents in the document corpus using the retrieval model to generate each embedding vector; and
constructing database based on embedding vectors corresponding to the plurality of documents.

### Claim 11 (depends on 10)

The computing system of claim 10, wherein the selecting of the positive sample includes:
partially modifying the reference document to generate a modified reference document; and
retrieving documents similar to the modified reference document from the document corpus, using the modified reference document as a retrieval query.

### Claim 12 (depends on 11)

The computing system of claim 11, wherein the generating of the modified reference document includes:
generating an embedding vector corresponding to the reference document; and
applying probabilistic masking to the generated embedding vector to generate a modified embedding vector.

### Claim 13 (depends on 9)

The computing system of claim 9, wherein the selecting of the negative sample includes:
retrieving documents similar to each of the one or more positive samples from the document corpus, using each of the one or more positive samples as a retrieval query; and
selecting a document other than the one or more positive samples among the retrieved documents as a hard negative sample.

### Claim 14 (depends on 9)

The computing system of claim 9, wherein the predicting of whether the reference document is the retrieval failure-causing document includes:
in response to that the gradient norm exceeds the first reference value, determining the reference document as the retrieval failure-causing document.

### Claim 15 (depends on 9)

The computing system of claim 9, wherein the computer program further includes instructions for:
calculating a ratio of documents predicted as retrieval failure-causing documents in the document corpus; and
determining whether to perform re-training of the retrieval model, based on whether the calculated ratio exceeds a second reference value.

### Claim 16

A non-transitory computer-readable medium storing a computer program, wherein when the computer program is executed by a computing system, the computer program causes the computing system to:
select one of a plurality of documents in a document corpus as a reference document;
select one or more positive samples having high relevance to the reference document from among the plurality of documents in the document corpus, using a retrieval model;
select one or more negative samples having low relevance to the reference document from among the plurality of documents in the document corpus, using the retrieval model;
calculate a gradient norm of a contrastive loss using the reference document, a positive sample, and a negative sample; and
compare the gradient norm with a first reference value, and predict whether the reference document is a retrieval failure-causing document, based on a comparing result.
