# US 2026/0087364 A1 · Noise-based hallucination detection in generative artificial intelligence models

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

- Number: US 2026/0087364 A1
- Document ID: US20260087364A1
- Status: Published application
- Kind: A1
- Application number: 18/975,920
- Filed: 2024-12-10
- Published: 2026-03-26
- Earliest claimed: 2024-09-26
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Litian LIU; Roland MEMISEVIC; Reza POURREZA; Sunny Praful Kumar PANCHAL; Apratim BHATTACHARYYA
- Web page: https://patentgrep.com/patent/US20260087364A1

## CPC

- G06N 3/094: Adversarial learning
- G06N 3/0475: Generative networks
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Techniques and apparatus for generating content using a generative artificial intelligence model are described. An example method generally includes receiving an input prompt for processing using a generative artificial intelligence model. An output of a layer of the generative artificial intelligence model is generated based on the input prompt and noise injected into the layer of the generative artificial intelligence model. A response to the input prompt is generated based on the output of the layer of the generative artificial intelligence model. Based on a probability distribution associated with the response to the input prompt, a likelihood that the response is a hallucinatory output of the generative artificial intelligence model is determined, and the generated response is output based on the determined likelihood that the response is a hallucinatory output.

## Claims

### Claim 1

A processing system for machine learning, comprising:
one or more memories comprising processor-executable instructions; and
one or more processors coupled to the one or more memories and configured to execute the processor-executable instructions and cause the processing system to:
receive an input prompt for processing using a generative artificial intelligence model;
generate an output of a layer of the generative artificial intelligence model based on the input prompt and noise injected into the layer of the generative artificial intelligence model;
generate a response to the input prompt based on the output of the layer of the generative artificial intelligence model;
determine, based on a probability distribution associated with the response to the input prompt, a likelihood that the response is a hallucinatory output of the generative artificial intelligence model; and
output the generated response based on the determined likelihood that the response is a hallucinatory output.

### Claim 2 (depends on 1)

The processing system of claim 1, wherein the response comprises an output of a current inferencing round and outputs of one or more prior inferencing rounds of the generative artificial intelligence model.

### Claim 3 (depends on 1)

The processing system of claim 1, wherein the one or more processors are configured to execute the processor-executable instructions and further cause the processing system to:
receive a second input prompt for processing using the generative artificial intelligence model;
generate a second output of the layer of the generative artificial intelligence model based on the second input prompt and other noise injected into the layer of the generative artificial intelligence model;
generate a response to the second input prompt based on the second output of the layer of the generative artificial intelligence model;
determine, based on a second probability distribution associated with the response to the input prompt and the response to the second input prompt, a second likelihood that one or more of the response to the input prompt or the response to the second input prompt is a hallucinatory output of the generative artificial intelligence model; and
take one or more actions with respect to at least one of the response to the input prompt or the response to the second input prompt based on the determined second likelihood that one or more of the response to the input prompt or the response to the second input prompt is a hallucinatory output.

### Claim 4 (depends on 1)

The processing system of claim 1, wherein the layer of the generative artificial intelligence model comprises a transformer layer and wherein the noise is injected into an attention block of the transformer layer.

### Claim 5 (depends on 1)

The processing system of claim 1, wherein the noise is injected into a feedforward block of the layer.

### Claim 6 (depends on 1)

The processing system of claim 1, wherein to generate the output of the layer of the generative artificial intelligence model, the one or more processors are configured to execute the processor-executable instructions and cause the processing system to add noise to an intermediate output of the layer of the generative artificial intelligence model.

### Claim 7 (depends on 1)

The processing system of claim 1, wherein the generative artificial intelligence model comprises a neural network including one or more transformer layers and a prediction layer and wherein the layer of the generative artificial intelligence model comprises a layer from the one or more transformer layers.

### Claim 8 (depends on 1)

The processing system of claim 1, wherein to determine the likelihood that the response is a hallucinatory output of the generative artificial intelligence model, the one or more processors are configured to execute the processor-executable instructions and cause the processing system to determine whether an entropy associated with candidate responses to the input prompt exceeds a threshold entropy.

### Claim 9 (depends on 8)

The processing system of claim 8, wherein the one or more processors are configured to execute the processor-executable instructions and cause the processing system to output the generated response based on the determined entropy being less than the threshold entropy.

### Claim 10

A processor-implemented method for machine learning, comprising:
receiving an input prompt for processing using a generative artificial intelligence model;
generating an output of a layer of the generative artificial intelligence model based on the input prompt and noise injected into the layer of the generative artificial intelligence model;
generating a response to the input prompt based on the output of the layer of the generative artificial intelligence model;
determining, based on a probability distribution associated with the response to the input prompt, a likelihood that the response is a hallucinatory output of the generative artificial intelligence model; and
outputting the generated response based on the determined likelihood that the response is a hallucinatory output.

### Claim 11 (depends on 10)

The method of claim 10, wherein the response comprises an output of a current inferencing round and outputs of one or more prior inferencing rounds of the generative artificial intelligence model.

### Claim 12 (depends on 10)

The method of claim 10, further comprising:
receiving a second input prompt for processing using the generative artificial intelligence model;
generating a second output of the layer of the generative artificial intelligence model based on the second input prompt and other noise injected into the layer of the generative artificial intelligence model;
generating a response to the second input prompt based on the second output of the layer of the generative artificial intelligence model;
determining, based on a second probability distribution associated with the response to the input prompt and the response to the second input prompt, a second likelihood that one or more of the response to the input prompt or the response to the second input prompt is a hallucinatory output of the generative artificial intelligence model; and
taking one or more actions with respect to at least one of the response to the input prompt or the response to the second input prompt based on the determined second likelihood that one or more of the response to the input prompt or the response to the second input prompt is a hallucinatory output.

### Claim 13 (depends on 10)

The method of claim 10, wherein the layer of the generative artificial intelligence model comprises a transformer layer and wherein the noise is injected into an attention block of the transformer layer.

### Claim 14 (depends on 10)

The method of claim 10, wherein the noise is injected into a feedforward block of the layer.

### Claim 15 (depends on 10)

The method of claim 10, wherein generating the output of the layer of the generative artificial intelligence model comprises adding noise to an intermediate output of the layer of the generative artificial intelligence model.

### Claim 16 (depends on 10)

The method of claim 10, wherein the generative artificial intelligence model comprises a neural network including one or more transformer layers and a prediction layer and wherein the layer of the generative artificial intelligence model comprises a layer from the one or more transformer layers.

### Claim 17 (depends on 10)

The method of claim 10, wherein determining the likelihood that the response is a hallucinatory output of the generative artificial intelligence model comprises determining whether an entropy associated with candidate responses to the input prompt exceeds a threshold entropy.

### Claim 18 (depends on 17)

The method of claim 17, wherein the generated response is output based on the determined entropy being less than the threshold entropy.

### Claim 19

A processing system comprising:
means for receiving an input prompt for processing using a generative artificial intelligence model;
means for generating an output of a layer of the generative artificial intelligence model based on the input prompt and noise injected into the layer of the generative artificial intelligence model;
means for generating a response to the input prompt based on the output of the layer of the generative artificial intelligence model;
means for determining, based on a probability distribution associated with the response to the input prompt, a likelihood that the response is a hallucinatory output of the generative artificial intelligence model; and
means for outputting the generated response based on the determined likelihood that the response is a hallucinatory output.

### Claim 20 (depends on 19)

The processing system of claim 19, further comprising:
means for receiving a second input prompt for processing using the generative artificial intelligence model;
means for generating a second output of the layer of the generative artificial intelligence model based on the second input prompt and other noise injected into the layer of the generative artificial intelligence model;
means for generating a response to the second input prompt based on the second output of the layer of the generative artificial intelligence model;
means for determining, based on a second probability distribution associated with the response to the input prompt and the response to the second input prompt, a second likelihood that one or more of the response to the input prompt or the response to the second input prompt is a hallucinatory output of the generative artificial intelligence model; and
means for taking one or more actions with respect to at least one of the response to the input prompt or the response to the second input prompt based on the determined second likelihood that one or more of the response to the input prompt or the response to the second input prompt is a hallucinatory output.
