hottub.patents
US 12,717,830 B2#3155945 Most CitedActiveUnited States (USPTO)Utility

Compressing information provided to a machine-trained generative model

0Forward Citations (#3155945 Global)
0.0/yrCitation Velocity (#3155945 Global)
0.00Citation PageRank (#3155945 Global)
11Prior Art Cited
17Claims (3 Indep. · 14 Dep.)
10Drawings / Sheets

Abstract

A technique is described for compressing input information fed to a machine-trained generative model. The technique includes: receiving original input information having a plurality of sentences; performing word-level encoding of the original input information using a first part of a machine-trained transformer model, to provide word-level encoded information; performing sentence-level encoding of the word-level encoded information using a second part of the machine-trained transformer model, to provide scores associated with the first plurality of sentences; selecting a subset of the sentences in the original input information based on the scores, to provide modified input information; and providing the modified input information to the machine-trained generative model. The operation of word-level encoding performs parallel processing on portions of the original input information. Overall, the compressing operation enables the machine-trained generative model to process the original input information with reduced resources and latency.

Interactive Citation Constellation Global Citation Ranking

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

Claims (17 — 3 Independent, 14 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method for interacting with a machine-trained generative model, comprising: receiving original input information, the original input information including a first plurality of sentences; performing word-level encoding of the original input information using a first part of a machine-trained transformer model, to provide word-level encoded information; performing sentence-level encoding of the word-level encoded information using a second part of the machine-trained transformer model, to provide scores associated with the first plurality of sentences, each score identifying a relevance of a corresponding sentence to an interpretation of a meaning of the first plurality of sentences of the original input information as a whole, wherein model weights used in the first part and the second part of the machine-trained transformer model are trained together; selecting a subset of the first plurality of sentences in the original input information based on the scores, to provide modified input information having a second plurality of sentences, the second plurality of sentences having fewer sentences than the first plurality of sentences; and providing the modified input information to the machine-trained generative model, the machine-trained generative model being trained to convert the modified input information into output information that is consumable by an output device, further comprising partitioning the original input information into a plurality of windows, each window having a given length that encompasses a part of the original input information, wherein the performing word-level encoding includes converting the plurality of windows to a plurality of instances of word-level encoded information, and wherein the performing sentence-level encoding includes converting the plurality of instances of word-level encoded information to the plurality of scores.

  2. Claim 2Depends on #1

    The method of claim 1, wherein each window that has a preceding window overlaps the preceding window by a prescribed amount of information.

  3. Claim 3Depends on #1

    The method of claim 1, wherein the word-level encoding converts the plurality of windows to the plurality of instances of word-level encoded information in parallel.

  4. Claim 4Depends on #1

    The method of claim 1, wherein, after tokenizing the original input information into tokens, the plurality of windows includes a plurality of classification tokens, each particular classification token being associated with a particular sentence in the first plurality of sentences, wherein the plurality of instances of word-level encoded information include a plurality of classification embeddings that represent respective transformed counterparts of the plurality of classification tokens, and wherein the performing sentence-level encoding includes converting the plurality of classification embeddings into the scores associated with the first plurality of sentences.

  5. Claim 5Depends on #1

    The method of claim 1, wherein the selecting includes: choosing a group of sentences in the first plurality of sentences that have scores that satisfy a prescribed suitability criterion; and ordering sentences in the group of sentences according to an order in which the sentences in the group appear in the first plurality of sentences.

  6. Claim 6Depends on #1

    The method of claim 1, wherein a first sentence in the original input information is included as a first sentence in the modified input information.

  7. Claim 7Depends on #1

    The method of claim 1, wherein the modified input information has a size that is less than or equal to an input size constraint associated with the machine-trained generative model.

  8. Claim 8Depends on #1

    The method of claim 1, wherein the machine-trained transformer model includes an attention operation for processing input embedding information by determining relevance of a first part of the input embedding information when interpreting a second part of the input embedding information.

  9. Claim 9Depends on #1

    The method of claim 1, wherein the machine-trained generative model includes an attention operation for processing input embedding information by determining relevance of a first part of the input embedding information when interpreting a second part of the input embedding information.

  10. Claim 10Depends on #1

    The method of claim 1, wherein the machine-trained generative model performs abstractive summarization of the modified input information to reduce a size of the modified input information, the abstractive summarization involving changing a wording of at least one sentence in the modified input information, and wherein the machine-trained generative model is a chat engine, question-answering engine, or reading comprehension engine.

  11. Claim 11Depends on #1

    The method of claim 1, wherein the machine-trained transformer model includes weights that have been trained based on training examples, wherein each of the training examples provides a document and a subset of sentences in the document which are suited to producing a summary of the document, and wherein the subset of sentences constitute ground-truth information against which model-predicted summary information generated by the machine-trained transformer model has been compared.

  12. Claim 12Depends on #1

    The method of claim 1, wherein the machine-trained transformer model is trained separately from the machine-trained generative model.

  13. Claim 13Independent Claim

    A computing system for performing abstractive summarization, comprising: a data store for storing computer-readable instructions; a processing system for executing the computer-readable instructions in the data store, to perform operations including: receiving original input information, the original input information including a first plurality of sentences; performing word-level encoding of the original input information using a first part of a machine-trained transformer model, to provide word-level encoded information; performing sentence-level encoding of the word-level encoded information using a second part of the machine-trained transformer model, to provide scores associated with the first plurality of sentences, each score identifying a relevance of a corresponding sentence to an interpretation of a meaning of the first plurality of sentences of the original input information as a whole, wherein model weights used in the first part and the second part of the machine-trained transformer model are trained together; selecting a subset of the first plurality of sentences in the original input information based on the scores, to provide modified input information having a second plurality of sentences, the second plurality of sentences having fewer sentences than the first plurality of sentences; and performing abstractive summarization of the modified input information using a machine-trained generative model to reduce a size of the modified input information, the abstractive summarization involving changing a wording of at least one sentence in the modified input information, further comprising partitioning the original input information into a plurality of windows, each window having a given length that encompasses a part of the original input information, wherein the performing word-level encoding includes converting the plurality of windows to a plurality of instances of word-level encoded information, and wherein the performing sentence-level encoding includes converting the plurality of instances of word-level encoded information to the plurality of scores.

  14. Claim 14Depends on #13

    The computing system of claim 13, wherein each window that has a preceding window overlaps the preceding window by a prescribed amount of information.

  15. Claim 15Depends on #13

    The computing system of claim 13, wherein the word-level encoding converts the plurality of windows to the plurality of instances of word-level encoded information in parallel.

  16. Claim 16Depends on #13

    The computing system of claim 13, wherein, after tokenizing the original input information into tokens, the plurality of overlapping windows includes a plurality of classification tokens, each particular classification token being associated with a particular sentence in the first plurality of sentences, wherein the plurality of instances of word-level encoded information include a plurality of classification embeddings that represent respective transformed counterparts of the plurality of classification tokens, and wherein the performing sentence-level encoding includes converting the plurality of classification embeddings into the scores associated with the first plurality of sentences.

  17. Claim 17Independent Claim

    A computer-readable storage medium for storing computer-readable instructions, a processing system executing the computer-readable instructions to perform operations, the operations comprising: receiving original input information, the original input information including a first plurality of sentences; partitioning the original input information into a plurality of windows, each window having a given length that encompasses a part of the original input information, and each window that has a preceding window overlapping the preceding window by a prescribed amount of information; performing word-level encoding by converting the plurality of windows to a plurality of instances of word-level encoded information, the word level-encoding being performed by at least two instances of processing resources that operate in parallel on two respective windows; performing sentence-level encoding by converting the plurality of instances of word-level encoded information to a plurality of scores, each score identifying a relevance of a corresponding sentence to an interpretation of a meaning of the first plurality of sentences of the original input information as a whole, wherein model weights used in the performing word-level encoding and performing sentence-level encoding are trained together; selecting a subset of the first plurality of sentences in the original input information based on the scores, to provide modified input information having a second plurality of sentences, the second plurality of sentences having fewer sentences than the first plurality of sentences; and providing the modified input information to a machine-trained generative model, the machine-trained generative model being trained to convert the modified input information into output information that is consumable by an output device, wherein, after tokenizing the original input information into tokens, the plurality of windows includes a plurality of classification tokens, each particular classification token being associated with a particular sentence in the first plurality of sentences, wherein the plurality of instances of word-level encoded information include a plurality of classification embeddings that represent respective transformed counterparts of the plurality of classification tokens, and wherein the performing sentence-level encoding includes converting the plurality of classification embeddings into the scores associated with the first plurality of sentences.

Technical Overview & Description

BACKGROUND A generative artificial intelligence (AI) model includes machine-trained weights that express patterns in a large corpus of training data. The generative model leverages the patterns to convert input information into new information. A chat engine, for example, can use a generative model to synthesize an answer, given an input question. The answer does not necessarily have any direct counterpart in the training data used to train the chat engine. An increasing number of applications incorporate generative models. However, this type of technology is resource-intensive in nature. Further, generative models often require a significant amount of time to deliver their output information. Some applications address these issues by limiting the amount of input information that can be fed to a generative model at any one time. For example, a chat engine can limit the size of a prompt that is fed to the chat engine to a prescribed number of tokens. In some cases, these types of provisions compromise the quality of output information produced by the generative model. SUMMARY A technique is described for compressing input information fed to a machine-trained generative model. The operation of compressing enables the generative model to process the input information with reduced resources and latency, compared to the case in which the input information has not been compressed. At the same time, the operation of compressing does not negatively impact the quality of output results provided by the generative model. In some implementations, the technique includes an extractive summarization phase which converts original input information to modified input information. The modified input information has a smaller size than the original input information. The technique then supplies the modified input information to the generative model instead of the original input information. The extractive summarization stage itself has three parts. In a first part, the technique perfor

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.

Non-Patent Literature (10)

  • Xu, Sheng, Xingfa Shen, Fumiyo Fukumoto, Jiyi Li, Yoshimi Suzuki, and Hiromitsu Nishizaki. 2020.
  • “
  • Paraphrase Identification with Lexical, Syntactic and Sentential Encodings
  • ”
  • Applied Sciences 10, No. 12: 4144. https://doi.org/10.3390/app10124144 (Year: 2020).
  • International Search Report and Written Opinion for PCT Application No. PCT/US2024/036293, mailing date Oct. 14, 2024, 13 pages.
  • Wingate, et al.,
  • “
  • Prompt Compression and Contrastive Conditioning for Controllability and Toxicity Reduction in Language Models,
  • ”