# US 2026/0277895 A1 · Utilizing large language model (llm) in responding to multifaceted queries

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

- Number: US 2026/0277895 A1
- Document ID: US20260277895A1
- Status: Published application
- Kind: A1
- Application number: 19/684,688
- Filed: 2026-05-21
- Published: 2026-09-17
- Earliest claimed: 2023-10-10
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Asaf Revach; Hongrae Lee; Zhengzhong Liang
- Web page: https://patentgrep.com/patent/US20260277895A1

## CPC

- G06F 16/24535: {of sub-queries or views}
- G06F 16/3329: Natural language query formulation
- G06F 16/24542: {Plan optimisation}
- G06F 16/3344: {using natural language analysis}
- G06F 40/40: Processing or translation of natural language (natural language analysis G06F40/20; semantic analysis G06F40/30)
- G06N 3/045: Combinations of networks
- G06N 3/08: Learning methods
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Implementations leverage a generative model (e.g., a large language model (LLM)) to generate a plurality of candidate subqueries for multifaceted natural language (NL) based input, where each of the candidate subqueries is potentially directed to a facet or problem of the multifaceted NL based input. Those implementations further select, from the plurality of candidate subqueries and using one or more evaluation metrics, a subset of the candidate queries. Those implementations further, in response to selecting the subset of the candidate queries, obtain, for each of the candidate subqueries of the selected subset, at least one corresponding search result. Those implementations further generate a response to the NL based input based on the corresponding search results for the candidate subqueries of the subset, and cause the response to be rendered responsive to the NL based input.

## Claims

### Claim 1

A method implemented by one or more processors, the method comprising:
receiving natural language (NL) based input associated with a client device;
in response to receiving the NL based input:
generating a plurality of candidate subqueries for the NL based input based on processing, using a generative model, a subquery generation prompt that is based on the NL based input;
selecting, from the plurality of candidate subqueries and using one or more evaluation metrics, a subset of the candidate subqueries generated using the generative model,
wherein the one or more evaluation metrics that are utilized in selecting the subset of the candidate subqueries evaluate diversity among the candidate subqueries and/or evaluate relevance of each of the candidate subqueries to the NL based input;
obtaining, for each of the candidate subqueries of the subset, at least one corresponding search result; and
processing the corresponding search results for the candidate subqueries of the subset, using the generative model or an additional generative model, to generate a response to the NL based input ; and
causing the response to be rendered at the client device responsive to the NL based input.

### Claim 2 (depends on 1)

The method of claim 1, wherein one or more of the evaluation metrics that are utilized in selecting the subset of the candidate subqueries evaluate diversity among the candidate subqueries.

### Claim 3 (depends on 2)

The method of claim 2, wherein an evaluation metric, of one or more of the evaluation metrics that evaluate diversity among the candidate subqueries, evaluates diversity of a first subquery of the candidate subqueries to a second subquery, of the candidate subqueries, that is already selected for inclusion in the subset.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
generating, using an encoding neural network model, a first encoding of the first subquery; and
generating, using the encoding neural network model, a second encoding of the second subquery;
wherein generating the evaluation metric is based at least in part on a distance measure between the second encoding and the first encoding; and
wherein the encoding neural network model is more computationally efficient than is the generative model.

### Claim 5 (depends on 1)

The method of claim 1, wherein one or more of the evaluation metrics that are utilized in selecting the subset of the candidate subqueries evaluate relevance of each of the candidate subqueries to the NL based input.

### Claim 6 (depends on 1)

The method of claim 1, wherein the response to the NL based input includes a shortened summary of the search results.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
in response to receiving the NL based input:
determining, based on one or more criteria, whether to generate and execute multiple subqueries based on the NL based input;
wherein generating the plurality of candidate subqueries, selecting the subset of the candidate subqueries, obtaining the corresponding search results, generating the response to the NL based input, and/or causing the response to be rendered at the client device responsive to the NL based input are only performed in response to determining to generate and execute the multiple subqueries based on the NL based input.

### Claim 8 (depends on 7)

The method of claim 7, wherein the one or more criteria include a length criterion that is based on a quantity of tokens of the NL based input.

### Claim 9 (depends on 7)

The method of claim 7, wherein the one or more criteria include one or more search result quality criteria.

### Claim 10 (depends on 7)

The method of claim 7, wherein the one or more criteria include a current server load criterion.

### Claim 11

A system comprising: one or more hardware processors; and memory storing instructions that, when executed by the one or more hardware processors, cause the one or more hardware processors to: receive natural language (NL) based input associated with a client device; determine, based on one or more criteria, whether to generate multiple subqueries for the NL based input; in response to determining to generate the multiple subqueries for the NL based input: generate a plurality of candidate subqueries for the NL based input based on processing a subquery generation prompt using a generative model; select, from the plurality of candidate subqueries and using one or more evaluation metrics, a subset of the candidate subqueries generated using the generative model, obtain, for each of the candidate subqueries of the subset, at least one corresponding search result; and process, using a generative model, the corresponding search results for the candidate subqueries of the subset to generate a response to the NL based input; and cause the response to be rendered at the client device responsive to the NL based input.

### Claim 12 (depends on 11)

The system of claim 11, wherein the response includes a shortened summary, of the search results, that is generated based on processing the corresponding search results using the generative model.

### Claim 13 (depends on 12)

The system of claim 12, wherein the response visually indicates the candidate subqueries of the subset.

### Claim 14 (depends on 11)

The system of claim 11, wherein the response visually indicates a corresponding correlation between at least one of the corresponding search results and a corresponding one of the candidate subqueries of the subset.

### Claim 15 (depends on 11)

The system of claim 11, wherein the one or more criteria include a length criterion that is based on a quantity of tokens of the NL based input.

### Claim 16 (depends on 11)

The system of claim 11, wherein the one or more criteria include one or more search result quality criteria.

### Claim 17 (depends on 11)

The system of claim 11, wherein the one or more criteria include a current server load criterion.

### Claim 18 (depends on 11)

The system of claim 11, wherein in processing, using the generative model, the corresponding search results for the candidate subqueries of the subset to generate the response to the NL based input one or more of the processors are to process, along with the corresponding search results, a prompt requesting summarization.
