IP Library Granted Patent US 11,960,848
Granted Patent B2
US 11,960,848 · App. 18/164,216 · Granted Apr 16, 2024

Machine-learned language models which generate intermediate textual analysis in service of contextual text generation

Inventors: Noam Shazeer (Palo Alto, CA); Daniel De Freitas Adiwardana (Mountain View, CA)
Assignee: GOOGLE LLC
G06F40/35G06F40/20G06F40/284G10L13/02
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,960,848
App. No.
18/164,216
Granted
Apr 16, 2024
Kind
B2
Abstract

The present disclosure is directed to systems and methods that include and/or leverage one or more machine-learned language models that generate intermediate textual analysis (e.g., including usage of structural tools such as APIs) in service of contextual text generation. For example, a computing system can obtain a contextual text string that includes one or more contextual text tokens. The computing system can process the contextual text string with the machine-learned language model to generate one or more intermediate text strings that include one or more intermediate text tokens. The computing system can process the one or more intermediate text strings with the machine-learned language model to generate an output text string comprising one or more output text tokens. The one or more intermediate text strings can include textual analysis of the contextual text string that supports the output text string.

Claims (45)

1. A computing system for operating a machine-learned language model to interact with a search engine to generate output text based on input text, the computing system comprising:

one or more processors;

one or more non-transitory computer-readable media that collectively store:

a machine-learned language model; and

instructions that, when executed by the one or more processors, cause the computing system to perform operations, the operations comprising:

obtaining, by the computing system comprising one or more computing devices, the input text;

processing, by the computing system, the input text with the machine-learned language model to generate intermediate text as an intermediate output of the machine-learned language model, wherein the intermediate text invokes a query service to query results from the search engine;

obtaining, by the computing system, the results from the search engine;

processing, by the computing system, at least one of the results from the search engine with the machine-learned language model to generate the output text; and

providing, by the computing system, the output text as an output.

2. The computing system of claim 1 , wherein the input text comprises a question input by a user, and wherein the output text comprises an answer to the question.

3. The computing system of claim 1 , wherein:

the operations further comprise appending the at least one of the results from the search engine to the input text to generate updated text; and

processing, by the computing system, the at least one of the results from the search engine with the machine-learned language model to generate the output text comprises processing, by the computing system, the updated text with the machine-learned language model to generate the output text.

4. The computing system of claim 1 , wherein at least a portion of the intermediate text is structured according to an application programming interface associated with the search engine.

5. The computing system of claim 1 , wherein the machine-learned language model comprises a transformer model.

6. The computing system of claim 1 , wherein the input text comprises text input by a user.

7. The computing system of claim 1 , wherein the machine-learned language model has been trained using reinforcement learning.

8. A computer-implemented method for operating a machine-learned language model to interact with a search engine to generate output text based on input text, the method comprising:

obtaining, by a computing system comprising one or more computing devices, the input text;

processing, by the computing system, the input text with the machine-learned language model to generate intermediate text as an intermediate output of the machine-learned language model, wherein the intermediate text invokes a query service to query results from the search engine;

obtaining, by the computing system, the results from the search engine;

processing, by the computing system, at least one of the results from the search engine with the machine-learned language model to generate the output text; and

providing, by the computing system, the output text as an output.

9. The computer-implemented method of claim 8 , wherein the input text comprises a question input by a user, and wherein the output text comprises an answer to the question.

10. The computer-implemented method of claim 8 , wherein:

the method further comprises appending the at least one of the results from the search engine to the input text to generate updated text; and

processing, by the computing system, the at least one of the results from the search engine with the machine-learned language model to generate the output text comprises processing, by the computing system, the updated text with the machine-learned language model to generate the output text.

11. The computer-implemented method of claim 8 , wherein at least a portion of the intermediate text is structured according to an application programming interface associated with the search engine.

12. The computer-implemented method of claim 8 , wherein the machine-learned language model comprises a transformer model.

13. The computer-implemented method of claim 8 , wherein the input text comprises text input by a user.

14. The computer-implemented method of claim 8 , wherein the machine-learned language model has been trained using reinforcement learning.

15. One or more non-transitory computer-readable media that collectively store instructions that, when executed by one or more processors of a computing system, cause the computing system to perform operations, the operations comprising:

obtaining, by the computing system, an input text;

processing, by the computing system, the input text with a machine-learned language model to generate intermediate text as an intermediate output of the machine-learned language model, wherein the intermediate text invokes a query service to query results from the search engine;

obtaining, by the computing system, the results from the search engine;

processing, by the computing system, at least one of the results from the search engine with the machine-learned language model to generate an output text; and

providing, by the computing system, the output text as an output.

16. The one or more non-transitory computer-readable media of claim 15 , wherein the input text comprises a question input by a user, and wherein the output text comprises an answer to the question.

17. The one or more non-transitory computer-readable media of claim 15 , wherein:

the operations further comprise appending the at least one of the results from the search engine to the input text to generate updated text; and

processing, by the computing system, the at least one of the results from the search engine with the machine-learned language model to generate the output text comprises processing, by the computing system, the updated text with the machine-learned language model to generate the output text.

18. The one or more non-transitory computer-readable media of claim 15 , wherein at least a portion of the intermediate text is structured according to an application programming interface associated with the search engine.

19. The one or more non-transitory computer-readable media of claim 15 , wherein the input text comprises text input by a user.

20. The one or more non-transitory computer-readable media of claim 15 , wherein the machine-learned language model has been trained using reinforcement learning.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 3, 2023
From: SHAZEER, NOAM; DE FREITAS ADIWARDANA, DANIEL
To: GOOGLE LLC
Reel/Frame 062587/0955 →
Continuity (3)
Continuation 17749844 · May 20, 2022
Provisional Application 63191563 · May 21, 2021
Related Publication 20230177276A1 · Jun 8, 2023
Cited By (8)
US 12,346,828 US 12,430,515 US 12,481,834 US 12,493,740 US 12,541,638 US 12,566,916 US 12,632,669 US 12,737,648