# US 2024/0256536 A1 · Bottleneck aware query alteration for search

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

- Number: US 2024/0256536 A1
- Document ID: US20240256536A1
- Status: Published application
- Kind: A1
- Application number: 18/101,849
- Filed: 2023-01-26
- Published: 2024-08-01
- Earliest claimed: 2023-01-26
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Yi-Cheng PAN
- Web page: https://patentgrep.com/patent/US20240256536A1

## CPC

- G06F 16/24534: {Query rewriting; Transformation}
- G06F 16/9532: Query formulation
- G06F 16/3322: {using system suggestions (G06F16/3325 takes precedence)}
- G06F 16/9535: Search customisation based on user profiles and personalisation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods for resolving a performance bottleneck of a query search to improve search results are provided. In particular, a computing device may receive a user search query from a user, generate query alteration candidates based on the user search query using an index-based language model, determine whether the user search query includes a bottleneck term that is likely to cause the performance bottleneck of the query search, wherein the bottleneck term includes one or more words or phrases, optimize, in response to determination that the user search query includes the bottleneck term, the query alteration candidates to resolve the performance bottleneck, update the index-based language model by updating confidence scores associated with the query alteration candidates, generate search results based on the optimized query alteration candidates, and provide the search results to the user.

## Claims

### Claim 1

A method for resolving a performance bottleneck of a query search to improve search results, the method comprising:
receiving a user search query from a user;
generating query alteration candidates based on the user search query;
determining whether the user search query includes a bottleneck term that is likely to cause the performance bottleneck of the query search, wherein the bottleneck term includes one or more words or phrases;
optimizing, in response to determining that the user search query includes the bottleneck term, the query alteration candidates to resolve the performance bottleneck;
generating search results based on the optimized query alteration candidates; and
providing the search results to the user.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining whether the user search query includes the bottleneck term includes:
determining whether the user search query includes a searchable term that has a frequency count exceeding a predetermined bottleneck threshold; and
identifying, in response to determining that the frequency count of the searchable term does not exceed the predetermined bottleneck threshold, the searchable term as the bottleneck term that is likely to return no result and cause the performance bottleneck of the query search.

### Claim 3 (depends on 2)

The method of claim 2, wherein the frequency count of the searchable term indicates how often the searchable term was included in previous search queries that returned search results.

### Claim 4 (depends on 2)

The method of claim 2, further comprising updating the frequency counts of the searchable terms associated with one or more query alteration candidates from the optimized query alteration candidates that were used to return the search result.

### Claim 5 (depends on 2)

The method of claim 2, wherein optimizing the query alteration candidates to resolve the performance bottleneck includes selecting one or more query alteration candidates that include searchable terms that have frequency counts exceeding the predetermined bottleneck threshold.

### Claim 6 (depends on 2)

The method of claim 2, wherein optimizing the query alteration candidates to resolve the performance bottleneck includes:
determining whether the query alteration candidates include the identified bottleneck term in the user query;
determining, in response to determining that the query alteration candidates does not include the identified bottleneck term in the user query, whether the query alteration candidates create a new performance bottleneck;
updating confidence scores of the query alteration candidates; and
selecting, in response to determining that the query alteration candidates does not create a new performance bottleneck, one or more query alteration candidates to generate the optimized query alteration candidates based on the confidence scores.

### Claim 7 (depends on 6)

The method of claim 6, further comprising generating, in response to determining that the query alteration candidates include the identified bottleneck term, a notification to the user, wherein the notification indicates that the user query cannot return search results because of the identified bottleneck term in the user query.

### Claim 8 (depends on 6)

The method of claim 6, further comprising generating in response to determining that the query alteration candidates create the new performance bottleneck, a notification to the user, wherein the notification indicates that the user query cannot return search results because of the identified bottleneck term in the user query.

### Claim 9 (depends on 1)

The method of claim 1, wherein generating query alteration candidates based on the user search query includes generating query alteration candidates based on the user search query using an index-based language model.

### Claim 10 (depends on 9)

The method of claim 9, further comprising updating the index-based language model by updating confidence scores associated with the query alteration candidates.

### Claim 11

A computing device for resolving a performance bottleneck of a query search to improve search results, the computing device comprising:
a processor; and
a memory having a plurality of instructions stored thereon that, when executed by the processor, causes the computing device to:
receive a user search query from a user;
generate query alteration candidates based on the user search query using an index-based language model;
determine whether the user search query includes a bottleneck term that is likely to cause the performance bottleneck of the query search, wherein the bottleneck term includes one or more words or phrases;
optimize, in response to determination that the user search query includes the bottleneck term, the query alteration candidates to resolve the performance bottleneck;
update the index-based language model by updating confidence scores associated with the query alteration candidates;
generate search results based on the optimized query alteration candidates; and
provide the search results to the user.

### Claim 12 (depends on 11)

The computing device of claim 11, wherein to determine whether the user search query includes the bottleneck term includes to:
determine whether the user search query includes a searchable term that has a frequency count exceeding a predetermined bottleneck threshold; and
identify, in response to determination that the frequency count of the searchable term does not exceed the predetermined bottleneck threshold, the searchable term as the bottleneck term that is likely to return no result and cause the performance bottleneck of the query search.

### Claim 13 (depends on 12)

The computing device of claim 12, wherein the frequency count of the searchable term indicates how often the searchable term was included in previous search queries that returned search results.

### Claim 14 (depends on 12)

The computing device of claim 12, wherein the computing device is further configured to update the frequency counts of the searchable terms associated with one or more query alteration candidates from the optimized query alteration candidates that were used to return the search result.

### Claim 15 (depends on 12)

The computing device of claim 12, wherein to optimize the query alteration candidates to resolve the performance bottleneck includes to select one or more query alteration candidates that include searchable terms that have frequency counts exceeding the predetermined bottleneck threshold.

### Claim 16 (depends on 15)

The computing device of claim 15, wherein to optimize the query alteration candidates to resolve the performance bottleneck includes:
determine whether the query alteration candidates include the identified bottleneck term in the user query;
determine, in response to determination that the query alteration candidates does not include the identified bottleneck term in the user query, whether the query alteration candidates create a new performance bottleneck;
update confidence scores of the query alteration candidates; and
select, in response to determination that the query alteration candidates does not create a new performance bottleneck, one or more query alteration candidates to generate the optimized query alteration candidates based on the confidence scores.

### Claim 17

A computer-readable storage medium storing instructions for resolving a performance bottleneck of a query search to improve search results, the instructions when executed by one or more processors of a computing device, cause the computing device to:
receive a user search query from a user;
generate query alteration candidates based on the user search query;
determine whether the user search query includes a bottleneck term that is likely to cause the performance bottleneck of the query search, wherein the bottleneck term includes one or more words or phrases;
optimize, in response to determination that the user search query includes the bottleneck term, the query alteration candidates to resolve the performance bottleneck;
generate search results based on the optimized query alteration candidates; and
provide the search results to the user.

### Claim 18 (depends on 17)

The computer-readable storage medium of claim 17, wherein to determine whether the user search query includes the bottleneck term includes to:
determine whether the user search query includes a searchable term that has a frequency count exceeding a predetermined bottleneck threshold; and
identify, in response to determination that the frequency count of the searchable term does not exceed the predetermined bottleneck threshold, the searchable term as the bottleneck term that is likely to return no result and cause the performance bottleneck of the query search.

### Claim 19 (depends on 18)

The computer-readable storage medium of claim 18, wherein to optimize the query alteration candidates to resolve the performance bottleneck includes to select one or more query alteration candidates that include searchable terms that have frequency counts exceeding the predetermined bottleneck threshold.

### Claim 20 (depends on 19)

The computer-readable storage medium of claim 19, wherein to optimize the query alteration candidates to resolve the performance bottleneck includes to:
determine whether the query alteration candidates include the identified bottleneck term in the user query;
determine, in response to determination that the query alteration candidates does not include the identified bottleneck term in the user query, whether the query alteration candidates create a new performance bottleneck;
update confidence scores of the query alteration candidates; and
select, in response to determination that the query alteration candidates does not create a new performance bottleneck, one or more query alteration candidates to generate the optimized query alteration candidates based on the confidence scores.
