# US 2023/0068342 A1 · Machine learning for similarity scores between different document schemas

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

- Number: US 2023/0068342 A1
- Document ID: US20230068342A1
- Status: Published application
- Kind: A1
- Application number: 17/898,173
- Filed: 2022-08-29
- Published: 2023-03-02
- Earliest claimed: 2021-09-01
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Liviu-Sebastian Matei; Filip Trojan
- Web page: https://patentgrep.com/patent/US20230068342A1

## CPC

- G06F 16/3326: {using relevance feedback from the user, e.g. relevance feedback on documents, documents sets, document terms or passages}
- G06F 16/3346: {using probabilistic model}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A document repository may be searched for documents that are similar to a source document. Multiple queries may be generated based on a type of the source document, and the results may be combined in a unified response. User behavior may then be monitored, and implicit and explicit feedback may be gathered to evaluate the performance of the search. The gathered feedback may indicate how relevant each of the result documents are in comparison to the original source document. This feedback may then be used to adjust search parameters for the source document type, such that the performance of subsequent searches may be improved. A model may also be trained to classify implicit feedback using explicit feedback received from users.

## Claims

### Claim 1

A non-transitory computer-readable medium comprising instructions that, when executed by one or more processors, cause the one or more processors to perform operations comprising:
providing a plurality of documents having similarity scores that are calculated in response to receiving a first document, wherein the similarity scores indicate similarities between the first document and the plurality of documents;
receiving feedback from a user for a second document in the plurality of documents, wherein the feedback indicates whether the second document is relevant to the first document; and
adjusting parameters of a configuration in response to the feedback, wherein the configuration defines how to generate, from the first document, a plurality of queries used to generate the similarity scores for the plurality of documents.

### Claim 2 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the feedback comprises implicit feedback recorded as the user views the second document.

### Claim 3 (depends on 2)

The non-transitory computer-readable medium of claim 2, wherein the implicit feedback comprises a dwell time.

### Claim 4 (depends on 2)

The non-transitory computer-readable medium of claim 2, wherein the operations further comprise providing the implicit feedback to a classification model that determines whether the implicit feedback indicates that the second document is relevant to the first document.

### Claim 5 (depends on 4)

The non-transitory computer-readable medium of claim 4, wherein the feedback further comprises explicit feedback in addition to the implicit feedback, and the operations further comprise training the classification model using the implicit feedback as training data and the explicit feedback as a label for the training data.

### Claim 6 (depends on 5)

The non-transitory computer-readable medium of claim 5, wherein the explicit feedback comprises a user input indicating whether the first document is similar to the second document.

### Claim 7 (depends on 4)

The non-transitory computer-readable medium of claim 4, wherein the classification model determines whether a dwell time indicates that the second document is relevant to the first document.

### Claim 8 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the operations further comprise generating a pop-up window with a display of the second document.

### Claim 9 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein the pop-up window comprises a control that allows the user to provide explicit feedback for the second document.

### Claim 10 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the parameters of the configuration comprise a parameter that indicates a number of shingles used when generating the plurality of queries.

### Claim 11 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the parameters of the configuration comprise a parameter that indicates a number of queries generated when generating the plurality of queries.

### Claim 12 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the parameters of the configuration comprise a parameter that indicates weights applied to the plurality of queries.

### Claim 13 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the parameters of the configuration comprise a learning parameter that controls how much the parameters of the configuration are adjusted in response to the feedback.

### Claim 14 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the operations further comprise:
generating new similarity scores for the plurality of documents after adjusting the parameters of the configuration.

### Claim 15 (depends on 14)

The non-transitory computer-readable medium of claim 14, wherein the operations further comprise:
comparing the new similarity scores to the similarity scores to determine whether adjusting the parameters of the configuration improves the new similarity scores.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein determining whether adjusting the parameters of the configuration improves the new similarity scores comprises:
evaluating an objective function representing a search error.

### Claim 17 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the operations further comprise:
reverting back to original parameters of the configuration when adjusting the parameters of the configuration does not improve the new similarity scores.

### Claim 18 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the operations further comprise:
using adjusted parameters of the configuration when performing subsequent searches of the plurality of documents for documents of a same type as the first document when adjusting the parameters of the configuration improves the new similarity scores.

### Claim 19

A system comprising:
one or more processors; and
one or more memory devices comprising instructions that, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
providing a plurality of documents having similarity scores that are calculated in response to receiving a first document wherein the similarity scores indicate similarities between the first document and the plurality of documents;
receiving feedback from a user for a second document in the plurality of documents, wherein the feedback indicates whether the second document is relevant to the first document; and
adjusting parameters of a configuration in response to the feedback, wherein the configuration defines how to generate, from the first document, a plurality of queries used to generate the similarity scores for the plurality of documents.

### Claim 20

A method of using feedback to improve similarity scores for documents, the method comprising:
providing a plurality of documents having similarity scores that are calculated in response to receiving a first document wherein the similarity scores indicate similarities between the first document and the plurality of documents;
receiving feedback from a user for a second document in the plurality of documents, wherein the feedback indicates whether the second document is relevant to the first document; and
adjusting parameters of a configuration in response to the feedback, wherein the configuration defines how to generate, from the first document, a plurality of queries used to generate the similarity scores for the plurality of documents.
