# US 2023/0274094 A1 · Computer implemented methods for the automated analysis or use of data, including use of a large language model

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

- Number: US 2023/0274094 A1
- Document ID: US20230274094A1
- Status: Published application
- Kind: A1
- Application number: 18/301,560
- Filed: 2023-04-17
- Published: 2023-08-31
- Earliest claimed: 0001-01-01
- Assignees: Unlikely Artificial Intelligence Limited
- Applicants: Unlikely Artificial Intelligence Limited
- Inventors: William TUNSTALL-PEDOE; Robert HEYWOOD; Seth WARREN; Paul DARIAS; Duncan REYNOLDS; Ayush SHAH; Luci KRNIC; Ziyi ZHU
- Web page: https://patentgrep.com/patent/US20230274094A1

## CPC

- G06F 40/35: Discourse or dialogue representation
- G06F 40/40: Processing or translation of natural language (natural language analysis G06F40/20; semantic analysis G06F40/30)
- G06F 40/30: Semantic analysis
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods are provided, such as a method of interacting with a large language model (LLM), including the step of a processing system using a structured, machine-readable representation of data that conforms to a machine-readable language, such as a universal language, to provide new context data for the LLM, in order to improve the output, such as continuation text output, generated by the LLM in response to a prompt; and such as a method of interacting with a LLM, including the step of providing continuation data generated by the LLM to a processing system that uses a structured, machine-readable representation of data that conforms to a machine-readable language, such as a universal language, in which the processing system is configured to analyse the continuation output generated by the LLM in response to a prompt to enable an improved version of that continuation output to be provided to a user. Related computer systems are provided.

## Claims

### Claim 1

A method of interacting with a large language model (LLM), including the step of a processing system using a structured, machine-readable representation of data that conforms to a machine-readable language, such as a universal language, to provide new context data for the LLM, in order to improve the output, such as continuation text output, generated by the LLM in response to a prompt.

### Claim 2 (depends on 1)

The method of claim 1, including injecting the new context data as input, into the prompt.

### Claim 3 (depends on 1)

The method of claim 1, in which the LLM provides output based on the new context data.

### Claim 4 (depends on 1)

The method of claim 1, including injecting into the prompt the new context data as input, in which the new context data is a correction and/or a change of continuation text output generated by the LLM.

### Claim 5 (depends on 4)

The method of claim 4, in which the LLM provides output based on the inputted correction and/or change of continuation text output generated by the LLM.

### Claim 6 (depends on 1)

The method of claim 1, in which the new context data is provided as at least part of a prompt to the LLM.

### Claim 7 (depends on 1)

The method of claim 1, in which the factual accuracy and/or factual scope of the output is improved by the new context data.

### Claim 8 (depends on 1)

The method of claim 1, in which the internal, logical self-consistency (e.g. correct time ordering of events) of the output is improved by the new context data.

### Claim 9 (depends on 1)

The method of claim 1, in which the correspondence of the output generated by the LLM to how people understand the real world or reason in the real world is improved by the new context data.

### Claim 10 (depends on 1)

The method of claim 1, in which bias in the output is improved by the new context data.

### Claim 11 (depends on 1)

The method of claim 1, in which the new context data provided to the LLM includes dynamic or real-time information.

### Claim 12 (depends on 1)

The method of claim 1, in which the new context data provided to the LLM includes reasoned text, e.g. text derived from a non-statistical reasoning process.

### Claim 13 (depends on 1)

The method of claim 1, in which the LLM is answering a question and the new context data provided to the LLM is an answer to that question.

### Claim 14 (depends on 1)

The method of claim 1, in which the new context text provided to the LLM is labelled with a level of certainty or uncertainty, or trust or lack of trust.

### Claim 15 (depends on 1)

The method of claim 1, in which the new context text provided to the LLM is labelled with a level of brevity.

### Claim 16 (depends on 1)

The method of claim 1, in which the new context text provided to the LLM is labelled with a level of formality.

### Claim 17 (depends on 1)

The method of any claim 1, in which the new context text provided to the LLM is labelled with a use or non-use of profanity.

### Claim 18 (depends on 1)

The method of claim 1, in which the new context text provided to the LLM is labelled with the age or other details of the person being addressed by the LLM.

### Claim 19 (depends on 1)

The method of claim 1, in which the continuation output from the LLM is at least partially translated to the machine-readable language and is analysed for factual inaccuracies or other contradictions.

### Claim 20 (depends on 1)

The method of claim 1, in which a classifier operates to identify when a prompt is likely to result in a continuation output where accuracy is important, and/or when accuracy is important in the continuation output, and to then use the processing system to improve the factual accuracy and/or factual scope of that continuation output.

### Claim 21 (depends on 1)

The method of claim 1, in which the continuation output from the LLM is a partial continuation, namely an output made before the LLM has stopped generating or whilst the LLM is still generating.

### Claim 22 (depends on 1)

The method of claim 1, when used to improve one or more parameters of the output of the LLM: the factual accuracy and/or factual scope of the output; the internal, logical self-consistency (e.g. correct time ordering of events) of the output; correspondence of the output generated by the LLM to how people understand the real world or reason in the real world; bias reduction or removal in the output; inclusion of dynamic or real-time information.

### Claim 23 (depends on 1)

The method of claim 1, when used to improve one or more parameters of the output of the LLM: level of formality, level of brevity (e.g. briefer when the language is to be spoken), suitability for speaking via a text to speech system, other style language, level of certainty.

### Claim 24 (depends on 1)

The method of claim 1, in which the LLM is a generative AI based system.

### Claim 25 (depends on 1)

The method of claim 1, in which the LLM is an autoregressive language model, such as a Generative Pre-trained Transformer.

### Claim 26 (depends on 1)

The method of claim 1, when used for any of the following: generation of program code, the solution of any problem that can be described in natural language, the generation of poetry, lyrics, creative writing, the generation of other forms of writing such as essays, summaries of knowledge, summaries of longer texts, essays, scientific papers; question answering; internet search.

### Claim 27 (depends on 1)

The method of claim 1, including identifying output content that breaches predefined policies by translating the output into the machine-readable language before it is displayed to the user and then checking the machine-readable language representation against the policies.

### Claim 28 (depends on 1)

The method of claim 1, including the step of training the LLM on the output from a processing system using a structured, machine-readable representation of data that conforms to a machine-readable language, such as a universal language.

### Claim 29 (depends on 1)

The method of claim 1, including a computer implemented method of augmenting search results, including the steps of:
(i) receiving a search query;
(ii) an (e.g. internet) search engine processing the search query to generate (e.g. internet) search results;
(iii) transforming the search results into a structured, machine-readable representation of data that conforms to a machine-readable language, such as a universal language;
(iv) processing the transformed search results using a processing system which uses the structured, machine-readable representation of data that conforms to the machine-readable language, such as a universal language, to produce output;
(v) supplying the output of step (iv) as input to the large language model (LLM), and the LLM generating continuation data output in response to the input.

### Claim 30 (depends on 29)

The method of claim 29, including the step of outputting to a user interface the LLM generated continuation data output.
