Large language models providing evidence mappings for generated output
Abstract
A data set comprising a plurality of records is obtained. A given record of the data set includes a source set of text tokens to be analyzed, and a corresponding annotated analysis result. An annotation corresponding to a text sequence of the result indicates a portion of the source set which comprises evidence for the text sequence. A machine learning model is trained using the data set to generate annotated analysis results of source text sets. A first annotated analysis result corresponding to a first source set of tokens is generated using a trained version of the model, and provided via a programmatic interface.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 31 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A system, comprising: one or more computing devices; wherein the one or more computing devices include instructions that upon execution on or across the one or more computing devices cause the one or more computing devices to: identify, at a network-accessible service of a cloud provider network, a pre-trained version of a particular large language model (LLM) which is to be used to generate summaries of dialogs between two or more dialog participants; obtain, at the network-accessible service, a data set comprising a plurality of records, wherein an individual record of the plurality of records comprises (a) an instruction prompt requesting a creation of an annotated summary of a transcript of a dialog between a first dialog participant and at least a second dialog participant, (b) the transcript of the dialog, and (c) an annotated summary of the transcript, wherein the annotated summary comprises a plurality of text sequences, wherein the annotated summary comprises a respective anno
- Claim 2Depends on #1
The system as recited in claim 1, wherein the first dialog is a dialog between a medical professional and a patient.
- Claim 3Depends on #1
The system as recited in claim 1, wherein the first annotation of the first annotated summary indicates the portion of the first transcript using a numeric citation format, wherein according to the numeric citation format, respective turns of the first dialog are assigned respective numerals.
- Claim 4Depends on #1
The system as recited in claim 1, wherein the one or more computing devices include further instructions that upon execution on or across the one or more computing devices further cause the one or more computing devices to: generate the transcript of the first dialog at the cloud provider network in response to receiving audio of the first dialog at the cloud provider network.
- Claim 5Depends on #1
The system as recited in claim 1, wherein the one or more computing devices include further instructions that upon execution on or across the one or more computing devices further cause the one or more computing devices to: determine, prior to generation of the first annotated summary of the first transcript, a set of valid annotation options for indicating evidence in the first annotated summary; and constrain the fine-tuned version of the LLM to include, in the first annotated summary when performing inference computations used to generate the first annotated summary, no other annotation options than members of the set of valid annotation options.
- Claim 6Independent Claim
A computer-implemented method, comprising: obtaining, at a network-accessible service, a data set comprising a plurality of records, wherein an individual record of the plurality of records comprises at least (a) a transcript of a dialog between a first dialog participant and a second dialog participant, and (b) an annotated summary of the dialog, wherein the annotated summary comprises a plurality of text sequences, wherein the annotated summary comprises a respective annotation corresponding to individual text sequences of the plurality of text sequences, and wherein a particular annotation corresponding to a particular text sequence indicates a portion of the transcript which comprises evidence for the particular text sequence; training, by the network-accessible service and using the data set comprising the particular annotation that indicates the portion of the transcript which comprises evidence for the particular text sequence, a large language model (LLM) to generate annotated
- Claim 7Depends on #6
The computer-implemented method as recited in claim 6, wherein a particular record of the plurality of records includes an instruction prompt requesting generation of an annotated summary of a particular transcript included in the particular record.
- Claim 8Depends on #7
The computer-implemented method as recited in claim 7, further comprising: extracting one or more keywords from the particular transcript, wherein the instruction prompt includes an instruction to include the one or more keywords in the annotated summary of the particular transcript.
Technical Overview & Description
BACKGROUND Large language models (LLMs) are becoming increasingly capable of performing tasks such as answering questions expressed in natural language, summarizing text and the like. In some cases, however, LLMs may introduce incorrect or nonsensical statements referred to as “ hallucinations ” in their output. The presence of hallucinations in LLM-generated text can in general lead to lowering end users' trust in LLM capabilities, and in some use cases (e.g., in scenarios in which LLMs are used for health-related applications) may potentially lead to non-trivial negative real-world impacts. BRIEF DESCRIPTION OF DRAWINGS FIG. 1 illustrates an example system environment in which a cloud-based analytics service may host a variety of machine learning models including large language models (LLMs) which provide evidence for the content of summarized conversations, according to at least some embodiments. FIG. 2 illustrates example evidence relationships between a summary of a doctor-patient conversation and a transcript of the conversation, according to at least some embodiments. FIG. 3 illustrates an example workflow for generating annotated summaries of conversations using an LLM of a cloud-based analytics service, according to at least some embodiments. FIG. 4 illustrates an overview of the phases of training an LLM, according to at least some embodiments. FIG. 5 illustrates an example input record which may be used for instruction fine-tuning of a pre-trained LLM to obtain an annotated summarization LLM that provides evidence for its summaries of conversations, according to at least some embodiments. FIG. 6 illustrates examples of instruction prompt variants which may be used during instruction fine-tuning of an LLM for annotated summarization, according to at least some embodiments. FIG. 7 illustrates an example scenario in which a portion of LLM output used for indicating evidence for summary contents may be constrained during inference, according to at least some
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (31)
Non-Patent Literature (10)
- U.S. Appl. No. 18/344,739, filed Jun. 29, 2023, Devang Kulshresthra, et al.
- Google DeepMind,
- “
- Teaching language models to support answers with verifiedquotes
- ”
- , Mar. 16, 2022, pp. 1-40.
- Pei Zhouo, et al.,
- “
- Think Before You Speak: Explicitly Generating Implicit Commonsense Knowledge for ResponseGeneration,
- ”