# US 2021/0286831 A1 · Query expansion in information retrieval systems

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

- Number: US 2021/0286831 A1
- Document ID: US20210286831A1
- Status: Published application
- Kind: A1
- Application number: 16/839,131
- Filed: 2020-04-03
- Published: 2021-09-16
- Earliest claimed: 2020-03-10
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Ivan Girardi; Harold Douglas Dykeman; Andrea Giovannini; Adam Ivankay; Chiara Marchiori; Kevin Thandiackal; Mario Zusag
- Web page: https://patentgrep.com/patent/US20210286831A1

## CPC

- G06F 16/3338: {Query expansion}
- G06F 16/355: Creation or modification of classes or clusters
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/048: Activation functions
- G06N 3/049: Temporal neural networks, e.g. delay elements, oscillating neurons or pulsed inputs
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/0895: Weakly supervised learning, e.g. semi-supervised or self-supervised learning
- G06N 3/09: Supervised learning
- G06N 20/20: Ensemble learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

The present disclosure relates to a method for query expansion. The method comprises: a) receiving a current query having at least one search term; b) inputting the at least one search term of the current query to a set of one or more query expansion modules, wherein the query expansion modules are configured to predict expansion terms of input terms; c) receiving from the set of expansion modules candidate expansion terms of the search term; d) modifying the current query using at least part of the candidate expansion terms, resulting in a modified query having at least one modified search term, The method further comprises repeating steps b) to d) using the modified query as the current query, the repeating being performed until a predefined stopping criterion is fulfilled.

## Claims

### Claim 1

A method for query expansion, the method comprising:
a) receiving a current query having at least one search term;
b) inputting the at least one search term of the current query to a set of query expansion modules, wherein the set of query expansion modules predict expansion terms of input terms;
c) in response to the inputting, receiving from the set of query expansion modules candidate expansion terms of the search term;
d) modifying the current query using at least part of the candidate expansion terms, resulting in a modified query having at least one modified search term; and
e) repeating steps b) to d) using the modified query as the current query, the repeating being performed until a predefined stopping criterion is fulfilled.

### Claim 2 (depends on 1)

The method of claim 1, further comprising: for each candidate expansion term of the candidate expansion terms, modifying the current query using the candidate expansion term, assigning a confidence score to the candidate expansion term using query results of the modified query, and selecting the at least part of the candidate expansion terms based on the confidence scores.

### Claim 3 (depends on 1)

The method of claim 1, wherein the stopping criterion is selected from the group consisting of (i) a number of repetitions reached a predefined maximum number and (ii) a difference between query results of the modified query and the current query is smaller than a predefined threshold.

### Claim 4 (depends on 1)

The method of claim 1, wherein modifying the current query includes adding the at least part of the candidate expansion terms to the current query or using a user defined function for aggregating one or more current terms of the current query and the at least part of the candidate expansion terms.

### Claim 5 (depends on 4)

The method of claim 4, wherein the user defined function is received from a user in response to providing the at least part of the candidate expansion terms to the user.

### Claim 6 (depends on 1)

The method of claim 1, further comprising increasing the set of expansion modules in each iteration of the method by one or more expansion modules.

### Claim 7 (depends on 1)

The method of claim 1, wherein the candidate expansion terms comprising multiple sets of candidate expansions terms of the respective set of query expansion modules, further comprises: combining the sets of candidate expansion terms for obtaining the at least part of the candidate expansion terms, wherein the combining is selected from the group consisting of:
de-duplicating the sets of candidate expansion terms, thereby the at least part of the candidate expansion terms comprises distinct terms;
selecting the at least part of the candidate expansion terms by applying a rule-based selection based on probabilities associated with the candidate expansion terms; and
inputting the sets of candidate expansion terms into a trained deep neural network, named ensemble layer, and obtaining an output comprising the at least part of the candidate expansion terms.

### Claim 8 (depends on 7)

The method of claim 7, wherein each of the set of expansion modules comprises a machine learning model, and wherein the method further comprises training the set of expansion modules and the ensemble layer by jointly training the set of expansion modules and the ensemble layer, so that the ensemble layer is trained by outputs of the set expansion modules or training each of the set of expansion modules and the ensemble layer separately.

### Claim 9 (depends on 1)

The method of claim 1, wherein each query expansion module of the query expansion modules comprises an encoder and an outputting module, wherein the outputting module uses outputs of the encoder generated from the input terms in order to perform a classification of the outputs, or uses outputs representing masked terms of the input terms in order to predict the expansion terms, the outputs being vector representations of the input terms.

### Claim 10 (depends on 9)

The method of claim 9, further comprising training the outputting module and the encoder, the outputting module and the encoder being jointly trained.

### Claim 11 (depends on 9)

The method of claim 9, further comprising training the outputting module and the encoder, each of the encoders being trained using a respective distinct training set.

### Claim 12 (depends on 9)

The method of claim 9, further comprising training the outputting module and the encoder, each of the encoders being trained using a single training set.

### Claim 13 (depends on 9)

The method of claim 9, wherein the encoder is an attention-based encoder.

### Claim 14 (depends on 1)

The method of claim 1, wherein the query expansion module comprises a machine learning model, and wherein the method further comprises generating a training dataset by masking terms of at least one training query multiple times, resulting in masked training queries, and training the query expansion module using the masked training queries which are labeled by respective non-masked training queriers.

### Claim 15 (depends on 14)

The method of claim 14, wherein the masking that is performed is selected from a group consisting of: uniform masking, inverse log-probability masking, and inverse probability masking.

### Claim 16 (depends on 1)

The method of claim 1, wherein each expansion module of the set of expansion modules performs the prediction by a technique that is selected from the group consisting of: finding synonyms of words, finding semantically related words, finding various morphological forms of search terms by stemming each of the search terms of the current query, and fixing spelling errors.

### Claim 17 (depends on 1)

The method of claim 1, the method being automatically performed.

### Claim 18 (depends on 1)

The method of claim 1, wherein each of the query expansion modules comprises an encoder of one of a type selected from the group consisting of: a transformer-based encoder type, a convolutional neural networks (CNNs) based encoder type, a recurrent neural networks (RNNs) based encoder type, and a fully connected network based encoder type.

### Claim 19

A computer program product for query expansion, comprising a computer-readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to perform a method comprising:
a) receiving a current query having at least one search term;
b) inputting the at least one search term of the current query to a set of query expansion modules, wherein the set of query expansion modules predict expansion terms of input terms;
c) in response to the inputting, receiving from the set of query expansion modules candidate expansion terms of the search term;
d) modifying the current query using at least part of the candidate expansion terms, resulting in a modified query having at least one modified search term; and
e) repeating steps b) to d) using the modified query as the current query, the repeating being performed until a predefined stopping criterion is fulfilled.

### Claim 20

A computer system for query expansion, the computer system comprising:
one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage media, and program instructions stored on at least one of the one or more computer-readable tangible storage media for execution by at least one of the one or more processors via at least one of the one or more computer-readable memories, wherein the computer system is capable of performing a method comprising:
a) receiving a current query having at least one search term;
b) inputting the at least one search term of the current query to a set of query expansion modules, wherein the set of query expansion modules predict expansion terms of input terms;
c) in response to the inputting, receiving from the set of query expansion modules candidate expansion terms of the search term;
d) modifying the current query using at least part of the candidate expansion terms, resulting in a modified query having at least one modified search term; and
e) repeating steps b) to d) using the modified query as the current query, the repeating being performed until a predefined stopping criterion is fulfilled.
