# US 2025/0209276 A1 · Method and system for evaluating artificial intelligence models via perturbations

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

- Number: US 2025/0209276 A1
- Document ID: US20250209276A1
- Status: Published application
- Kind: A1
- Application number: 18/396,014
- Filed: 2023-12-26
- Published: 2025-06-26
- Earliest claimed: 2023-12-26
- Assignees: JPMorgan Chase Bank, N.A.
- Applicants: JPMorgan Chase Bank, N.A.
- Inventors: William WATSON; Naan CHO; Tucker Richard BALCH; Manuela VELOSO
- Web page: https://patentgrep.com/patent/US20250209276A1

## CPC

- G06F 40/30: Semantic analysis
- G06F 9/543: {User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]}
- G06F 16/3329: Natural language query formulation
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 18/24765: {Rule-based classification}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for facilitating automated model evaluation based on question perturbations is disclosed. The method includes receiving, via an application programming interface, inputs that include an inquiry in a natural language format; generating, via a rephrasing model, questions based on the inquiry, each of the questions corresponding to a lexical variant of the inquiry; determine, via response models, an initial response for each of the questions and the inquiry; clustering the initial response for each of the questions and the inquiry into blocks based on shared characteristics; and computing metrics for each of the blocks.

## Claims

### Claim 1

A method for facilitating automated model evaluation based on question perturbations, the method being implemented by at least one processor, the method comprising:
receiving, by the at least one processor via an application programming interface, at least one input, each of the at least one input including an inquiry in a natural language format;
generating, by the at least one processor via a rephrasing model, at least one question based on the inquiry, each of the at least one question corresponding to a lexical variant of the inquiry;
determining, by the at least one processor via at least one response model, an initial response for each of the at least one question and the inquiry;
clustering, by the at least one processor, the initial response for each of the at least one question and the inquiry into at least one block based on at least one shared characteristic; and
computing, by the at least one processor, at least one metric for each of the at least one block.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
ranking, by the at least one processor, the at least one block based on the computed at least one metric; and
identifying, by the at least one processor, a final response for the inquiry based on a result of the ranking.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
generating, by the at least one processor, at least one classification report for the inquiry based on the computed at least one metric,
wherein the at least one metric includes a supervised metric and an unsupervised metric.

### Claim 4 (depends on 1)

The method of claim 1, wherein each of the at least one question relates to a natural language query that incorporates semantic meaning extracted from the inquiry, the semantic meaning including subject matter that corresponds to the inquiry.

### Claim 5 (depends on 1)

The method of claim 1, wherein the generating of the at least one question based on the inquiry further comprises:
applying, by the at least one processor via the rephrasing model, a predetermined transformation algorithm to the inquiry to generate each of the at least one question,
wherein the predetermined transformation algorithm perturbs the inquiry to retain at least one semantic quality of the inquiry.

### Claim 6 (depends on 1)

The method of claim 1, wherein the initial response for each of the at least one question and the inquiry is independently determined by one of the at least one response model, the initial response including at least one crowdsourced answer from a dataset.

### Claim 7 (depends on 1)

The method of claim 1, wherein the at least one metric includes at least one from among an accuracy metric that relates to a baseline accuracy, a robustness metric that relates to correctness of at least one rater, a plurality voting metric that relates to aggregated responses by a mode of a corresponding answer set, an agreement metric that relates to the initial response, and a reliability metric that relates to a measure of internal consistency.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
associating, by the at least one processor, feedback data with the corresponding initial response when an agreement metric is below a predetermined agreement threshold, the feedback data including the at least one metric; and
determining, by the at least one processor via the at least one response model, a subsequent response for each of the at least one question and the inquiry based on the feedback data.

### Claim 9 (depends on 1)

The method of claim 1, wherein each of the at least one response model and the rephrasing model includes at least one from among a large language model, a deep learning model, a neural network model, a natural language processing model, a machine learning model, a mathematical model, and a process model.

### Claim 10

A computing device configured to implement an execution of a method for facilitating automated model evaluation based on question perturbations, the computing device comprising:
a processor;
a memory; and
a communication interface coupled to each of the processor and the memory,
wherein the processor is configured to:
receive, via an application programming interface, at least one input, each of the at least one input including an inquiry in a natural language format;
generate, via a rephrasing model, at least one question based on the inquiry, each of the at least one question corresponding to a lexical variant of the inquiry;
determine, via at least one response model, an initial response for each of the at least one question and the inquiry;
cluster the initial response for each of the at least one question and the inquiry into at least one block based on at least one shared characteristic; and
compute at least one metric for each of the at least one block.

### Claim 11 (depends on 10)

The computing device of claim 10, wherein the processor is further configured to:
rank the at least one block based on the computed at least one metric; and
identify a final response for the inquiry based on a result of the ranking.

### Claim 12 (depends on 10)

The computing device of claim 10, wherein the processor is further configured to:
generate at least one classification report for the inquiry based on the computed at least one metric,
wherein the at least one metric includes a supervised metric and an unsupervised metric.

### Claim 13 (depends on 10)

The computing device of claim 10, wherein each of the at least one question relates to a natural language query that incorporates semantic meaning extracted from the inquiry, the semantic meaning including subject matter that corresponds to the inquiry.

### Claim 14 (depends on 10)

The computing device of claim 10, wherein, to generate the at least one question based on the inquiry, the processor is further configured to:
apply, via the rephrasing model, a predetermined transformation algorithm to the inquiry to generate each of the at least one question,
wherein the predetermined transformation algorithm perturbs the inquiry to retain at least one semantic quality of the inquiry.

### Claim 15 (depends on 10)

The computing device of claim 10, wherein the processor is further configured to independently determine the initial response for each of the at least one question and the inquiry via one of the at least one response model, the initial response including at least one crowdsourced answer from a dataset.

### Claim 16 (depends on 10)

The computing device of claim 10, wherein the at least one metric includes at least one from among an accuracy metric that relates to a baseline accuracy, a robustness metric that relates to correctness of at least one rater, a plurality voting metric that relates to aggregated responses by a mode of a corresponding answer set, an agreement metric that relates to the initial response, and a reliability metric that relates to a measure of internal consistency.

### Claim 17 (depends on 10)

The computing device of claim 10, wherein the processor is further configured to:
associate feedback data with the corresponding initial response when an agreement metric is below a predetermined agreement threshold, the feedback data including the at least one metric; and
determine, via the at least one response model, a subsequent response for each of the at least one question and the inquiry based on the feedback data.

### Claim 18 (depends on 10)

The computing device of claim 10, wherein each of the at least one response model and the rephrasing model includes at least one from among a large language model, a deep learning model, a neural network model, a natural language processing model, a machine learning model, a mathematical model, and a process model.

### Claim 19

A non-transitory computer readable storage medium storing instructions for facilitating automated model evaluation based on question perturbations, the storage medium comprising executable code which, when executed by a processor, causes the processor to:
receive, via an application programming interface, at least one input, each of the at least one input including an inquiry in a natural language format;
generate, via a rephrasing model, at least one question based on the inquiry, each of the at least one question corresponding to a lexical variant of the inquiry;
determine, via at least one response model, an initial response for each of the at least one question and the inquiry;
cluster the initial response for each of the at least one question and the inquiry into at least one block based on at least one shared characteristic; and
compute at least one metric for each of the at least one block.

### Claim 20 (depends on 19)

The storage medium of claim 19, wherein, when executed by the processor, the executable code further causes the processor to:
rank the at least one block based on the computed at least one metric; and
identify a final response for the inquiry based on a result of the ranking.
