# US 2022/0284066 A1 · Attentive pseudo-relevance feedback network for query categorization

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

- Number: US 2022/0284066 A1
- Document ID: US20220284066A1
- Status: Published application
- Kind: A1
- Application number: 17/685,130
- Filed: 2022-03-02
- Published: 2022-09-08
- Earliest claimed: 2021-03-03
- Assignees: Home Depot Product Authority, LLC
- Applicants: Home Depot Product Authority, LLC
- Inventors: Ali Ahmadvand; Sayyed M. Zahiri; Simon Hughes; Khalifeh Al Jadda; Surya Kallumadi; Eugene Agichtein
- Web page: https://patentgrep.com/patent/US20220284066A1

## CPC

- G06F 16/9535: Search customisation based on user profiles and personalisation
- G06F 16/3322: {using system suggestions (G06F16/3325 takes precedence)}
- G06F 16/906: Clustering; Classification
- G06F 16/9532: Query formulation
- G06F 16/9538: Presentation of query results
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method of providing results from a search engine comprises generating an initial set based on a query received from a user; generating an attention value based on the query and on the initial set; applying the attention value to the initial set; and presenting a set of results in response to the query, wherein the results are generated according to the application of the attention value to the initial set.

## Claims

### Claim 1

A method of providing results from a search engine, the method comprising:
generating an initial set based on a query received from a user;
generating an attention value based on the query and on the initial set;
applying the attention value to the initial set to generate a set of results; and
presenting a set of results in response to the query.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
deriving one or more fields corresponding to each document of the initial set; and
determining field embeddings representative of each of the one or more fields.

### Claim 3 (depends on 2)

The method of claim 2, wherein determining the field embeddings comprises:
determining a word-level embeddings for each word in the field;
adjusting the word-level embeddings based on character-level embeddings; and
determining the field embeddings based on the adjusted word-level embeddings.

### Claim 4 (depends on 2)

The method of claim 2, wherein the attention value is a set attention value, and wherein generating the set attention value comprises:
generating a field attention value based on the field embeddings and the query;
generating a document attention value based on the field attention value and the query; and
generating the set attention value based on the document attention value.

### Claim 5 (depends on 1)

The method of claim 1, wherein applying the attention value to the initial set comprises:
determining document embeddings for each document in the initial set;
applying the attention value to the document embeddings; and
determining a category based on the application of the attention value.

### Claim 6 (depends on 5)

The method of claim 5, wherein the set of results comprise a subset of the initial set based on the category.

### Claim 7 (depends on 1)

The method of claim 1, wherein the set of results comprise at least one of:
a query recommendation;
a revised subset of documents from the initial set; or
a document of the revised subset of documents.

### Claim 8

A system for providing results from a search engine, the system comprising:
a non-transitory, computer-readable medium storing instructions; and
a processor configured to execute the instructions to:
generate an initial set based on a query received from a user;
generate an attention value based on the query and on the initial set;
apply the attention value to the initial set to generate a set of results; and
present a set of results in response to the query.

### Claim 9 (depends on 8)

The system of claim 8, wherein the processor is further configured to:
derive one or more fields corresponding to each document of the initial set; and
determine a field embeddings representative of each of the one or more fields.

### Claim 10 (depends on 9)

The system of claim 9, wherein determining the field embeddings comprises:
determining a word-level embeddings for each word in the field;
adjusting the word-level embeddings based on character-level embeddings; and
determining the field embeddings based on the adjusted word-level embeddings.

### Claim 11 (depends on 9)

The system of claim 9, wherein the attention value is a set attention value, and wherein generating the set attention value comprises:
generating a field attention value based on the field embeddings and the query;
generating a document attention value based on the field attention value and the query; and
generating the set attention value based on the document attention value.

### Claim 12 (depends on 8)

The system of claim 8, wherein applying the attention value to the initial set comprises:
determining document embeddings for each document in the initial set;
applying the attention value to the document embeddings; and
determining a category based on the application of the attention value.

### Claim 13 (depends on 12)

The system of claim 12, wherein the set of results comprise a subset of the initial set based on the category.

### Claim 14 (depends on 8)

The system of claim 8, wherein the set of results comprise at least one of:
a query recommendation;
a revised subset of documents from the initial set; or
a document of the revised subset of documents.

### Claim 15

A method of configuring a search engine, the method comprising:
generating an initial set of results from a query;
extracting a subset of relevant documents from the initial set of results;
generate a set attention value based on the query and on the set;
generating a classification based on a combination of the query-set attention value and the subset of relevant documents; and
presenting a revised set of results based on the classification.

### Claim 16 (depends on 15)

The method of claim 15, wherein generating the set attention value comprises:
generating a field attention value based on the query and a set of fields; and
generating a document attention value based on the query and on the field attention value,
wherein the set attention value is generated based on the document attention value.

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
determining field embeddings based on the set of fields,
wherein the field attention value is based on the field embeddings.

### Claim 18 (depends on 17)

The method of claim 17, wherein determining the field embeddings comprises:
determining a word-level embeddings for each word in the field of the set of fields;
adjusting the word-level embeddings based on character-level embeddings; and
determining the field embeddings based on the adjusted word-level embeddings.

### Claim 19 (depends on 15)

The method of claim 15, wherein the revised set of results comprise at least one of:
a query recommendation;
a revised subset of documents from the initial set; or
a document of the revised subset of documents.

### Claim 20 (depends on 15)

The method of claim 15, wherein the classification is determined by a dense layer based on the combination.
