# US 2023/0274089 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/0274089 A1
- Document ID: US20230274089A1
- Status: Published application
- Kind: A1
- Application number: 18/301,573
- 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/US20230274089A1

## CPC

- G06F 40/279: Recognition of textual entities
- G06N 3/0475: Generative networks
- G06F 40/40: Processing or translation of natural language (natural language analysis G06F40/20; semantic analysis G06F40/30)
- G06N 3/042: Knowledge-based neural networks; Logical representations of neural networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 5/04: Inference or reasoning models
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/08: Learning methods
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## 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 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 (e.g. text 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.

### Claim 2 (depends on 1)

The method of claim 1, in which the processing system translates at least some of the continuation data into the structured, machine-readable representation of data to analyse the translated continuation data.

### Claim 3 (depends on 1)

The method of claim 1, in which the processing system translates the continuation data into the structured, machine-readable representation of data to analyse the translated continuation data.

### Claim 4 (depends on 2)

The method of claim 2, in which the processing system analyses the translated continuation data for at least one of factual inaccuracies, contradictions, and, where necessary or beneficial, provides corrected output for use in the continuation output provided by the LLM, through the processing system providing an updated prompt.

### Claim 5 (depends on 2)

The method of claim 2, in which the processing system analyses the translated continuation data and, where necessary or beneficial, provides corrected output for use in the continuation output that is presented to a user.

### Claim 6 (depends on 1)

The method of claim 1, in which the processing system analyses the internal, logical self-consistency, including a correct time ordering of events, of the continuation output and, where necessary or beneficial, provides logically self-consistent output, for use in the continuation output that is provided to a user.

### Claim 7 (depends on 1)

The method of claim 1, in which the processing system analyses the internal, logical self-consistency of the continuation output and, where necessary or beneficial, provides logically self-consistent output, for use in the continuation output that is provided to a user.

### Claim 8 (depends on 1)

The method of claim 1, in which the processing system analyses the correspondence of the continuation output generated by the LLM to how people understand the real world or reason in the real world and, where necessary or beneficial, provides reasoned output, corresponding to how people understand the real world or reason in the real world, for use in the continuation output that is provided to a user.

### Claim 9 (depends on 1)

The method of claim 1, in which the processing system analyses the continuation output for bias and, where necessary or beneficial, provides reduced bias or bias-free output, for use in the continuation output that is provided to a user.

### Claim 10 (depends on 1)

The method of claim 1, in which the processing system analyses the continuation output for the absence of relevant dynamic or real-time information and, where necessary or beneficial, provides any missing or useful dynamic or real-time information for use in the continuation output that is provided to a user.

### Claim 11 (depends on 1)

The method of claim 1, in which the processing system analyses the continuation output for any reasoned text and, where necessary or beneficial, provides improved reasoned text for use in the continuation output that is provided to a user.

### Claim 12 (depends on 1)

The method of claim 1, in which the LLM is answering a question and in which the processing system analyses the answer to that question in the continuation output and where necessary or beneficial, provides an improved answer for use in the continuation output that is provided to a user.

### Claim 13 (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 14 (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 15 (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 where accuracy is important.

### Claim 16 (depends on 1)

The method of claim 1, when used to improve one or more of: the accuracy of the output of the LLM; 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 17 (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 18 (depends on 1)

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

### Claim 19 (depends on 1)

The method of claim 1, in which the LLM is an autoregressive language model.

### Claim 20 (depends on 1)

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

### Claim 21 (depends on 1)

The method of claim 1, when used for: generation of program code.

### Claim 22 (depends on 1)

The method of claim 1, when used for: the solution of any problem that can be described in natural language.

### Claim 23 (depends on 1)

The method of claim 1, when used for any of the following: 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 24 (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 25

A method of learning, e.g. knowledge, in structured form comprising the steps of:
(i) Providing an LLM trained on a large corpus of natural language documents;
(ii) Providing the LLM with a prompt that will elicit desired knowledge;
(iii) Eliciting a continuation of the prompt from the LLM;
(iv) Translating the continuation into the structured form;
(v) Storing the continuation translated into structured form in a data retrieval system, e.g. configured to enable storage and retrieval of knowledge in structured form.

### Claim 26 (depends on 25)

The method of claim 25 where the structured form is a universal language.

### Claim 27 (depends on 25)

The method of claim 25, where the knowledge is factual knowledge

### Claim 28 (depends on 25)

The method of claim 25, where the knowledge is common sense knowledge.

### Claim 29 (depends on 25)

The method of claim 25, where the structured form represents valid reasoning steps that could be utilised by an automated system to reason.

### Claim 30 (depends on 25)

The method of claim 25, where the structured form represents valid reasoning steps that are usable by an automated system to reason.
