hottub.patents
US 12,468,878 B2#3397009 Most CitedActiveUnited States (USPTO)Utility

Methods and systems for generation of text using large language model with indications of unsubstantiated information

0Forward Citations (#3397009 Global)
0.0/yrCitation Velocity (#3397009 Global)
0.00Citation PageRank (#3397009 Global)
9Prior Art Cited
8Claims (1 Indep. · 7 Dep.)
0Drawings / Sheets

Abstract

Methods and systems for prompting a large language model (LLM) to generate a description of an object with indications of any unsubstantiated information are disclosed. A prompt is generated to a LLM to generate a description of an object, where the prompt includes one or more object attributes to include in the generated description. The prompt also includes an instruction for the LLM to annotate any portions of the generated description that are, involve, and/or include unsubstantiated information according to a defined format. The prompt is provided to the LLM and the generated description is received. The generated description is parsed to identify, based on the defined format, one or more annotated portions indicating unsubstantiated information. The generated description is presented for display via a user device.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 0.

Claims (8 — 1 Independent, 7 Dependent)

  1. Claim 1Independent Claim

    A system comprising: a processing unit configured to execute computer-readable instructions to cause the system to: generate a prompt to a large language model (LLM) to generate a description of an object, the prompt including one or more object attributes to include in the generated description, and also including an instruction for the LLM to annotate, according to a defined format, any portions of the generated description that include unsubstantiated information; provide the prompt to the LLM; causing the LLM to generate the generated description; receive the generated description; parse the generated description to identify, based on the defined format, one or more annotated portions indicating unsubstantiated information; and present the generated description for display via a user device.

  2. Claim 2Depends on #1

    The system of claim 1, wherein the generated description is presented in a user interface (UI) in which at least one of the identified one or more annotated portions is modifiable.

  3. Claim 3Depends on #2

    The system of claim 2, wherein the processing unit is configured to execute computer-readable instructions to further cause the system to, prior to presenting the UI: identify, for a given one annotated portion in the generated description, an unsubstantiated object attribute; query a database to search for the unsubstantiated object attribute; modify the generated description by replacing the given one annotated portion with a found object attribute received in a response to the query; and present the modified generated description in the UI.

  4. Claim 4Depends on #3

    The system of claim 3, wherein there is a plurality of found object attributes received in the response to the query, and wherein the generated description is modified by replacing the given one annotated portion with a UI element for selecting one of the plurality of found object attributes.

  5. Claim 5Depends on #2

    The system of claim 2, wherein the UI further includes an input field for receiving user input to edit the one or more annotated portions.

  6. Claim 6Depends on #5

    The system of claim 5, wherein the processing unit is configured to execute computer-readable instructions to further cause the system to: identify at least two annotated portions in the generated description requiring a same user input; provide one input field for receiving user input to edit the at least two annotated portions; and update the at least two annotated portions with information inputted in the one input field.

  7. Claim 7Depends on #1

    The system of claim 1, wherein the prompt to the LLM includes at least one example of an annotation according to the defined format.

  8. Claim 8Depends on #7

    The system of claim 7, wherein the at least one example is generated by: retrieving, from a database of the system, an example object description and a set of example object attributes for an example object; modifying the example object description by replacing one selected example object attribute in the example object description with an annotation in accordance with the defined format; modifying the set of example object attributes by removing the one selected example object attribute; and generating the at least one example to include the modified set of example object attributes and the modified example object description.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS The present disclosure claims priority from U.S. provisional patent No. 63/483,668, filed Feb. 7, 2023, entitled “ METHODS AND SYSTEMS FOR GENERATION OF TEXT USING LARGE LANGUAGE MODEL WITH INDICATIONS OF UNSUBSTANTIATED INFORMATION; and U.S. provisional patent No. 63/482,399, filed Jan. 31, 2023, entitled “ METHODS AND SYSTEMS FOR GENERATION OF TEXT USING LARGE LANGUAGE MODEL WITH INDICATIONS OF ABSENT INFORMATION ” , the entireties of which are all hereby incorporated by reference. FIELD The present disclosure relates to machine learning, and, more particularly, to generation of prompts to large language models (LLM), and, yet more particularly, to prompting an LLM to include indications of unsubstantiated information in the generated text that can be parsed. BACKGROUND A large language model (LLM) is a type of machine learning (ML) model that is capable of generating text output, including natural language text output. A LLM may be provided with a prompt, which may be a natural language instruction that instructs the LLM to generate a desired output, including natural language text or other generative output in various desired formats. SUMMARY Large language model (LLM)-based services for generating text, in general, may generate an output (e.g., text) that is factually incorrect or otherwise unsubstantiable (sometimes referred to as the “ hallucination ” phenomenon). A human user may not realize that the generated text contains errors (e.g., the user has not read the text closely or the user does not have access to the facts necessary to identify the errors). Additionally, it may not be practical for a human to closely review every word of a LLM-generated text for potential errors, particularly if the LLM is being used to generate a large number of text outputs. Conventionally, to generate a description of an object (e.g., a location, an image, a video, a piece of music, a tangible thing, etc.), a user may prompt a LLM to

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 (9)

Non-Patent Literature (10)

  • Liu, Tianyu, et al.
  • “
  • A token-level reference-free hallucination detection benchmark for free-form text generation.
  • ”
  • arXiv preprint arXiv:2104.08704 (2021). (Year: 2021).
  • Newman, Benjamin, Prafulla Kumar Choubey, and Nazneen Rajani.
  • “
  • P-adapters: Robustly extracting factual information from language models with diverse prompts.
  • ”
  • arXiv preprint arXiv:2110.07280 (2021). (Year: 2021).