# US 2025/0378283 A1 · Generative ai with logical reasoning

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

- Number: US 2025/0378283 A1
- Document ID: US20250378283A1
- Status: Published application
- Kind: A1
- Application number: 18/736,332
- Filed: 2024-06-06
- Published: 2025-12-11
- Earliest claimed: 2024-06-06
- Assignees: NVIDIA Corporation
- Applicants: Nvidia Corporation
- Inventors: Kalyanasundaram Krishnamani
- Web page: https://patentgrep.com/patent/US20250378283A1

## CPC

- G06F 40/58: Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
- G06F 16/243: {Natural language query formulation}
- G06F 40/186: Templates
- G06F 40/56: Natural language generation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods are disclosed related to generative AI with logical reasoning. For example, an LLM may be used to convert statements such as natural language statements or lines of software code into logical statements in a logic specification language, a logical reasoning engine may be used to evaluate the logical statements, and an LLM may be used to explain the output of the logical reasoning engine in natural language (e.g., using a system that uses retrieval augmented generation (RAG) and/or a fine-tuned LLM). As such, the present techniques may be utilized to provide a generative AI system that can logically reason about, deduce new facts from, compute logical consequences of, and/or check the consistency of a set of statements such as natural language statements or software code, and provide a logical explanation of how the computation(s) were done.

## Claims

### Claim 1

One or more processors comprising processing circuitry to:
generate, based at least on processing a representation of one or more input statements using one or more large language models (LLMs), one or more logical statements expressed in a logic specification language and representing the one or more input statements;
generate, using a logical reasoning engine corresponding to the logic specification language, a representation of one or more logical assessments of the one or more logical statements;
generate, based at least on processing the representation of the one or more logical assessments using the one or more LLMs, a natural language response for the one or more input statements; and
provide the natural language response as output, wherein the one or more input statements comprise a representation of a query, and the natural language response comprises at least one of: an explanation of, or an answer to a question about, at least a portion of the query.

### Claim 2 (depends on 1)

The one or more processors of claim 1, wherein the processing circuitry is further to generate the representation of the one or more input statements based at least on inserting the one or more input statements into one or more template prompts that instruct the one or more LLMs to convert the one or more input statements into the logic specification language.

### Claim 3 (depends on 1)

The one or more processors of claim 1, wherein the processing circuitry is further to generate the one or more logical statements using a first large language model of the one or more LLMs, the first large language model tuned to the logic specification language.

### Claim 4 (depends on 1)

The one or more processors of claim 1, wherein the logical reasoning engine implements one or more solvers.

### Claim 5 (depends on 1)

The one or more processors of claim 1, wherein the one or more logical assessments of the one or more logical statements represent at least one of: a proof or refutation of at least one of the one or more input statements, a deduced fact based on at least one of the one or more input statements, or a consistency check of at least one of the one or more input statements.

### Claim 6 (depends on 1)

The one or more processors of claim 1, wherein the processing circuitry is further to generate the representation of the one or more logical assessments using one or more prompts generated using retrieval augmented generation and augmented with a representation of content explaining the logic specification language.

### Claim 7 (depends on 1)

The one or more processors of claim 1, wherein the natural language response comprises an explanation of the one or more logical assessments, or an answer to a question associated with the one or more input statements based at least on the one or more logical assessments.

### Claim 8 (depends on 1)

The one or more processors of claim 1, wherein the one or more input statements represent a sequence of image data of a video, wherein the natural language response comprises at least one of: an explanation of, or an answer to a question about, at least a portion of the video.

### Claim 9 (depends on 1)

The one or more processors of claim 1, wherein the one or more input statements represent a sequence of time-series data, wherein the natural language response comprises at least one of: an explanation of, or an answer to a question about, at least a portion of the time-series data.

### Claim 10 (depends on 1)

The one or more processors of claim 1, wherein the processing circuitry is comprised in at least one of:
a control system for an autonomous or semi-autonomous machine;
a perception system for an autonomous or semi-autonomous machine;
a system for performing simulation operations;
a system for performing digital twin operations;
a system for performing light transport simulation;
a system for performing collaborative content creation for 3D assets;
a system for performing deep learning operations;
a system for performing remote operations;
a system for performing real-time streaming;
a system for generating or presenting one or more of augmented reality content, virtual reality content, or mixed reality content;
a system implemented using an edge device;
a system implemented using a robot;
a system for performing conversational AI operations;
a system for generating synthetic data;
a system for generating synthetic data using AI;
a system incorporating one or more virtual machines (VMs);
a system implemented at least partially in a data center; or
a system implemented at least partially using cloud computing resources.

### Claim 11

A system comprising one or more processors to generate, based at least on processing a translated representation of one or more natural language statements using a logical reasoning engine, a representation of one or more logical assessments expressed in a logic specification language of the one or more natural language statements.

### Claim 12 (depends on 11)

The system of claim 11, wherein the one or more processors are further to generate the translated representation of the one or more natural language statements based at least on inserting the one or more natural language statements into one or more template prompts that instruct one or more large language models to convert the one or more natural language statements into the logic specification language.

### Claim 13 (depends on 11)

The system of claim 11, wherein the one or more processors are further to generate the translated representation of the one or more natural language statements using one or more large language models tuned to the logic specification language.

### Claim 14 (depends on 11)

The system of claim 11, wherein the one or more processors are further to generate the representation of the one or more logical assessments based at least on processing the translated representation of the one or more natural language statements using the logical reasoning engine.

### Claim 15 (depends on 11)

The system of claim 11, wherein the one or more logical assessments of the one or more natural language statements represent at least one of: a proof or refutation of at least one of the one or more natural language statements, a deduced fact based on at least one of the one or more natural language statements, or a consistency check of at least one of the one or more natural language statements.

### Claim 16 (depends on 11)

The system of claim 11, wherein the one or more processors are further to generate the representation of the one or more logical assessments using one or more prompts generated using retrieval augmented generation and augmented with a representation of content explaining the logic specification language used by the logical reasoning engine.

### Claim 17 (depends on 11)

The system of claim 11, wherein the one or more processors are further to generate, based at least on processing the representation of the one or more logical assessments using one or more large language models, a natural language response based at least on the one or more logical assessments.

### Claim 18 (depends on 11)

The system of claim 11, wherein the system is comprised in at least one of:
a control system for an autonomous or semi-autonomous machine;
a perception system for an autonomous or semi-autonomous machine;
a system for performing simulation operations;
a system for performing digital twin operations;
a system for performing light transport simulation;
a system for performing collaborative content creation for 3D assets;
a system for performing deep learning operations;
a system for performing remote operations;
a system for performing real-time streaming;
a system for generating or presenting one or more of augmented reality content, virtual reality content, or mixed reality content;
a system implemented using an edge device;
a system implemented using a robot;
a system for performing conversational AI operations;
a system implementing one or more language models;
a system implementing one or more large language models (LLMs);
a system implementing one or more vision language models (VLMs);
a system for generating synthetic data;
a system for generating synthetic data using AI;
a system incorporating one or more virtual machines (VMs);
a system implemented at least partially in a data center; or
a system implemented at least partially using cloud computing resources.

### Claim 19

A method comprising:
obtaining, based at least on processing a translated representation of one or more statements in a particular language using a logical reasoning engine, a representation of one or more logical assessments of the one or more statements; and
obtaining, based at least on processing the representation of the one or more logical assessments using one or more large language models, a response in the particular language or at least one other language for the one or more statements.

### Claim 20 (depends on 19)

The method of claim 19, wherein the method is performed by at least one of:
a control system for an autonomous or semi-autonomous machine;
a perception system for an autonomous or semi-autonomous machine;
a system for performing simulation operations;
a system for performing digital twin operations;
a system for performing light transport simulation;
a system for performing collaborative content creation for 3D assets;
a system for performing deep learning operations;
a system for performing remote operations;
a system for performing real-time streaming;
a system for generating or presenting one or more of augmented reality content, virtual reality content, or mixed reality content;
a system implemented using an edge device;
a system implemented using a robot;
a system for performing conversational AI operations;
a system for generating synthetic data;
a system for generating synthetic data using AI;
a system incorporating one or more virtual machines (VMs);
a system implemented at least partially in a data center, or
a system implemented at least partially using cloud computing resources.
