# US 2024/0202189 A1 · Retrieval Augmented Clarification in Interactive Systems

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

- Number: US 2024/0202189 A1
- Document ID: US20240202189A1
- Status: Published application
- Kind: A1
- Application number: 18/081,107
- Filed: 2022-12-14
- Published: 2024-06-20
- Earliest claimed: 2022-12-14
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Hui Wan; Sachindra Joshi; Boaz Carmeli; Marina Danilevsky Hailpern
- Web page: https://patentgrep.com/patent/US20240202189A1

## CPC

- G06F 16/24526: {Internal representations for queries}
- G06F 16/24522: {Translation of natural language queries to structured queries}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques for generating a clarification to distinguish among retrieved content in interactive systems are provided. In one aspect, a method for generating a clarification prompt in an interactive system includes: obtaining a training dataset for generating the clarification prompt from existing question-answering datasets by modifying original queries in the existing question-answering datasets to obtain training examples of under-specified queries; and training a machine learning model using the training dataset how to select latent differentiating factors in content candidates obtained from an under-specified query from a user and, based on the latent differentiating factors, generate the clarification prompt to clarify an intent of the user.

## Claims

### Claim 1

A method for generating a clarification prompt in an interactive system, the method comprising:
obtaining a training dataset for generating the clarification prompt from existing question-answering datasets by modifying original queries in the existing question-answering datasets to obtain training examples of under-specified queries, wherein obtaining the training dataset comprises obtaining a parse tree of an original query q from the existing question-answering datasets and modifying the original query q to obtain a modified query q′ that meets a first criteria and a second criteria; and
training a machine learning model using the training dataset how to select latent differentiating factors in content candidates obtained from an under-specified query from a user and, based on the latent differentiating factors, generate the clarification prompt to clarify an intent of the user.

### Claim 2 (depends on 1)

The method of claim 1, wherein the clarification prompt comprises a follow-up clarification question for the user to answer in order to clarify the intent of the user.

### Claim 3 (depends on 1)

The method of claim 1, wherein the clarification prompt comprises multiple options from which the user can select in order to clarify the intent of the user.

### Claim 4

(canceled)

### Claim 5 (depends on 1)

The method of claim 1, wherein modifying the original query q comprises:
dropping a modifier from the original query q to obtain the modified query q′.

### Claim 6 (depends on 5)

The method of claim 5, wherein the modifier comprises a leaf node of the parse tree.

### Claim 7 (depends on 1)

The method of claim 1, wherein modifying the original query q comprises:
generalizing a part of the original query q through a knowledge-based hierarchy.

### Claim 8 (depends on 1)

The method of claim 1, wherein:
the first criteria comprises an F1 score between a top-K list of passages retrieved from a corpus using the original query q and a top-K list of passages retrieved from the corpus using the modified query q′ that is below a certain threshold; and
the second criteria comprises either the top-K list of passages retrieved from the corpus using the modified query q′ that includes a gold answer or a language model score that shows the modified query q′ to be a natural language question.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
retrieving the content candidates for an under-specified query from the user;
extracting differences among the content candidates, wherein the differences comprise titles, modifiers, properties, or slots;
using the machine learning model, which has been trained using the training dataset, to select one or more of the differences as differentiating factors amongst the content candidates using a computed disambiguation ability as a metric; and
using the differentiating factors to generate the clarification prompt to clarify the intent of the user.

### Claim 10 (depends on 9)

The method of claim 9, wherein the one or more of the properties are selected as the differentiating factor based on information gain.

### Claim 11 (depends on 9)

The method of claim 9, wherein the machine-learning model selects the one or more of the properties as the differentiating factor using the under-specified query from the user.

### Claim 12

A computer program product for generating a clarification prompt in an interactive system, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer to cause the computer to perform:
obtaining a training dataset for generating the clarification prompt from existing question-answering datasets by modifying original queries in the existing question-answering datasets to obtain training examples of under-specified queries, wherein obtaining the training dataset comprises obtaining a parse tree of an original query q from the existing question-answering datasets and modifying the original query q to obtain a modified query q′ that meets a first criteria and a second criteria; and
training a machine learning model using the training dataset how to select latent differentiating factors in content candidates obtained from an under-specified query from a user and, based on the latent differentiating factors, generate the clarification prompt to clarify an intent of the user.

### Claim 13

(canceled)

### Claim 14 (depends on 12)

The computer program product of claim 12, wherein the program instructions when causing the computer to modify the original query q further cause the computer to perform:
dropping a modifier from the original query q to obtain the modified query q′.

### Claim 15 (depends on 2)

The computer program product of claim 2, the program instructions when causing the computer to modify the original query q further cause the computer to perform:
generalizing a part of the original query q through a knowledge-based hierarchy.

### Claim 16 (depends on 12)

The computer program product of claim 12, wherein:
the first criteria comprises an F1 score between a top-K list of passages retrieved from a corpus using the original query q and a top-K list of passages retrieved from the corpus using the modified query q′ that is below a certain threshold; and
the second criteria comprises either the top-K list of passages retrieved from the corpus using the modified query q′ that includes a gold answer or a language model score that shows the modified query q′ to be a natural language question.

### Claim 17 (depends on 12)

The computer program product of claim 12, wherein the program instructions further cause the computer to perform:
retrieving the content candidates for an under-specified query from the user;
extracting differences among the content candidates, wherein the differences comprise titles, modifiers, properties, or slots;
using the machine learning model, which has been trained using the training dataset, to select one or more of the differences as differentiating factors amongst the content candidates using a computed disambiguation ability as a metric; and
using the differentiating factors to generate the clarification prompt to clarify the intent of the user.

### Claim 18

A system for generating a clarification prompt in an interactive system comprising a processor, connected to a memory, operable to perform:
obtaining a training dataset for generating the clarification prompt from existing question-answering datasets by modifying original queries in the existing question-answering datasets to obtain training examples of under-specified queries, wherein obtaining the training dataset comprises obtaining a parse tree of an original query q from the existing question-answering datasets and modifying the original query q to obtain a modified query q′ that meets a first criteria and a second criteria; and
training a machine learning model using the training dataset how to select latent differentiating factors in content candidates obtained from an under-specified query from a user and, based on the latent differentiating factors, generate the clarification prompt to clarify an intent of the user.

### Claim 19

(canceled)

### Claim 20 (depends on 18)

The system of claim 18, wherein the processor is further operable to perform:
retrieving the content candidates for an under-specified query from the user;
extracting differences among the content candidates, wherein the differences comprise titles, modifiers, properties, or slots;
using the machine learning model, which has been trained using the training dataset, to select one or more of the differences as differentiating factors amongst the content candidates using a computed disambiguation ability as a metric; and
using the differentiating factors to generate the clarification prompt to clarify the intent of the user.

### Claim 21 (depends on 18)

The system of claim 18, wherein:
the first criteria comprises an F1 score between a top-K list of passages retrieved from a corpus using the original query q and a top-K list of passages retrieved from the corpus using the modified query q′ that is below a certain threshold; and
the second criteria comprises either the top-K list of passages retrieved from the corpus using the modified query q′ that includes a gold answer or a language model score that shows the modified query q′ to be a natural language question.
