# US 2026/0093782 A1 · Anomaly detection-aided ai classifier training

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

- Number: US 2026/0093782 A1
- Document ID: US20260093782A1
- Status: Published application
- Kind: A1
- Application number: 18/903,764
- Filed: 2024-10-01
- Published: 2026-04-02
- Earliest claimed: 2024-10-01
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Ravikiran Vidhyaranya KRISHNAPRASAD; Karthik Gokare SOMASHEKHAR
- Web page: https://patentgrep.com/patent/US20260093782A1

## CPC

- G06F 18/241: relating to the classification model, e.g. parametric or non-parametric approaches
- G06N 20/00: Machine learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Systems and methods include use of anomaly detection rules may be initially used to detect anomalies in received data instances and to label the instances as anomalous or not anomalous. Once a sufficiently-large set of labeled data instances is available, the labeled data instances are used to train a classification model. The trained classification model and the anomaly detection rules are used to label received data instances as anomalous or not anomalous. The model is re-trained periodically using received labeled data instances until its performance exceeds a threshold. At this point, the trained model only is used to label subsequently-received data instances the instances as anomalous or not anomalous.

## Claims

### Claim 1

A system comprising:
a memory storing processor-executable program code; and
at least one processing unit to execute the processor-executable program code to cause the system to:
receive a plurality of data instances, each of the plurality of data instances comprising a value for each of a plurality of fields and a label indicating whether the data instance is anomalous or not anomalous;
train a classification model based on the plurality of data instances;
evaluate a first performance of the trained classification model;
determine that the first performance of the trained classification model is above a first performance threshold and below a second performance threshold;
in response to the determination that the performance of the trained classification model is above the first performance threshold and below the second performance threshold:
receive a first data instance comprising a first value for each of the plurality of fields;
determine, based on anomaly detection rules, a first anomaly value indicating whether the first data instance is anomalous or not anomalous;
determine, using the trained classification model, a second anomaly value indicating whether the first data instance is anomalous or not anomalous;
determine, based on the first anomaly value and the second anomaly value, a third anomaly value indicating whether the first data instance is anomalous or not anomalous;
present the first data instance and the third anomaly value;
receive a confirmation of whether the presented first data instance is anomalous;
based on the confirmation, associate a first label with the first data instance to generate a first labeled data instance;
determine to re-train the classification model;
re-train the classification model based on the first labeled data instance;
evaluate a second performance of the re-trained classification model;
determine that the second performance of the re-trained classification model is above the second performance threshold;
in response to the determination that the performance of the trained classification model is above the second performance threshold:
determine to use the re-trained classification model and not the anomaly detection rules to determine whether a data instance is anomalous or not anomalous;
receive a second data instance comprising a second value for each of the plurality of fields;
determine, using the re-trained classification model and not the anomaly detection rules, a fourth anomaly value indicating that the second data instance is not anomalous; and
in response to the determination of the fourth anomaly value indicating that the second data instance is not anomalous, transmit the second data instance to an instance processing system.

### Claim 2 (depends on 1)

The system of claim 1, the at least one processing unit to execute the processor-executable program code to cause the system to:
prior to receipt of the plurality of data instances, receive a second plurality of data instances, each of the second plurality of data instances comprising a third value for each of the plurality of fields and a label indicating whether the data instance is anomalous or not anomalous;
determine that the number of the second plurality of data instances is greater than a first instance threshold;
in response to the determination that the number is greater than the first instance threshold:
train the classification model based on the second plurality of data instances;
evaluate a third performance of the classification model trained based on the second plurality of data instances;
determine that the third performance is below the first performance threshold;
in response to the determination that the third performance is below the third performance threshold:
determine to use the anomaly detection rules and not the classification model trained based on the second plurality of data instances to determine whether a data instance is anomalous or not anomalous;
receive a third data instance comprising a fourth value for each of the plurality of fields; and
determine, using the anomaly detection rules and not the classification model trained based on the second plurality of data instances, a fifth anomaly value indicating whether the third data instance is anomalous or not anomalous.

### Claim 3 (depends on 2)

The system of claim 2, the at least one processing unit to execute the processor-executable program code to cause the system to:
present the third data instance and the fifth anomaly value;
receive a confirmation of whether the presented third data instance is anomalous; and
based on the confirmation of whether the presented third data instance is anomalous, associate a third label with the third data instance to generate a third labeled data instance,
wherein the plurality of data instances based on which the classification model is trained comprises the third labeled data instance.

### Claim 4 (depends on 3)

The system of claim 3, wherein the determination to re-train the classification model comprises determination that a third number of a third plurality of data instances exceeds a first instance threshold, the third plurality of data instances comprising the first labeled data instance, and each of the third plurality of data instances comprising a third value for each of the plurality of fields and a label indicating whether the data instance is anomalous or not anomalous, and
wherein re-training of the classification model comprises re-training of the classification model based on the third plurality of data instances.

### Claim 5 (depends on 1)

The system of claim 1, wherein the determination to re-train the classification model comprises determination that a second number of a second plurality of data instances exceeds a first instance threshold, the second plurality of data instances comprising the first labeled data instance, and each of the second plurality of data instances comprising a third value for each of the plurality of fields and a label indicating whether the data instance is anomalous or not anomalous, and
wherein re-training of the classification model comprises re-training of the classification model based on the second plurality of data instances.

### Claim 6 (depends on 1)

The system of claim 1, wherein the confirmation of whether the presented first data instance is anomalous comprises a confirmation that the presented first data instance is not anomalous, and the at least one processing unit to execute the processor-executable program code to cause the system to:
in response to the confirmation that the presented first data instance is not anomalous, transmitting the first data instance to the instance processing system.

### Claim 7 (depends on 6)

The system of claim 6, wherein the instance processing system comprises a payment processing system.

### Claim 8

A computer-implemented method comprising:
receiving a plurality of data instances, each of the plurality of data instances comprising a value for each of a plurality of fields and a label indicating whether the data instance is anomalous or not anomalous;
training a classification model based on the plurality of data instances;
evaluating a first performance of the trained classification model;
determining that the first performance of the trained classification model is above a first performance threshold and below a second performance threshold;
in response to determining that the performance of the trained classification model is above the first performance threshold and below the second performance threshold:
receiving a first data instance comprising a first value for each of the plurality of fields;
determining, based on anomaly detection rules, a first anomaly value indicating whether the first data instance is anomalous or not anomalous;
determining, using the trained classification model, a second anomaly value indicating whether the first data instance is anomalous or not anomalous;
determining, based on the first anomaly value and the second anomaly value, a third anomaly value indicating whether the first data instance is anomalous or not anomalous;
presenting the first data instance and the third anomaly value;
receiving a confirmation of whether the presented first data instance is anomalous;
based on the confirmation, associating a first label with the first data instance to generate a first labeled data instance;
re-training the classification model based on the first labeled data instance;
evaluating a second performance of the re-trained classification model;
determining that the second performance of the re-trained classification model is above the second performance threshold;
in response to determining that the performance of the trained classification model is above the second performance threshold:
determining to use the re-trained classification model and not the anomaly detection rules to determine whether a data instance is anomalous or not anomalous;
receiving a second data instance comprising a second value for each of the plurality of fields; and determining, using the re-trained classification model and not the anomaly detection rules, a fourth anomaly value indicating whether the second data instance is anomalous or not anomalous; and
in response to determining the fourth anomaly value indicating that the second data instance is not anomalous, transmitting the second data instance to an instance processing system.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
prior to receipt of the plurality of data instances, receiving a second plurality of data instances, each of the second plurality of data instances comprising a third value for each of the plurality of fields and a label indicating whether the data instance is anomalous or not anomalous;
determining that the number of the second plurality of data instances is greater than a first instance threshold;
in response to determining that the number is greater than the first instance threshold:
training the classification model based on the second plurality of data instances;
evaluating a third performance of the classification model trained based on the second plurality of data instances;
determining that the third performance is below the first performance threshold;
in response the determining that the third performance is below the third performance threshold:
determining to use the anomaly detection rules and not the classification model trained based on the second plurality of data instances to determine whether a data instance is anomalous or not anomalous;
receiving a third data instance comprising a fourth value for each of the plurality of fields; and
determining, using the anomaly detection rules and not the classification model trained based on the second plurality of data instances, a fifth anomaly value indicating whether the third data instance is anomalous or not anomalous.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
presenting the third data instance and the fifth anomaly value;
receiving a confirmation of whether the presented third data instance is anomalous; and
based on the confirmation of whether the presented third data instance is anomalous, associating a third label with the third data instance to generate a third labeled data instance,
wherein the plurality of data instances based on which the classification model is trained comprises the third labeled data instance.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
determining to re-train the classification model by determining that a third number of a third plurality of data instances exceeds a first instance threshold, the third plurality of data instances comprising the first labeled data instance, and each of the third plurality of data instances comprising a third value for each of the plurality of fields and a label indicating whether the data instance is anomalous or not anomalous, and
wherein re-training the classification model comprises re-training the classification model based on the third plurality of data instances.

### Claim 12 (depends on 8)

The method of claim 8, further comprising:
determining to re-train the classification model by determining to re-train the classification model comprises determining that a second number of a second plurality of data instances exceeds a first instance threshold, the second plurality of data instances comprising the first labeled data instance, and each of the second plurality of data instances comprising a third value for each of the plurality of fields and a label indicating whether the data instance is anomalous or not anomalous, and
wherein re-training the classification model comprises re-training the classification model based on the second plurality of data instances.

### Claim 13 (depends on 8)

The method of claim 8, wherein the confirming whether the presented first data instance is anomalous comprises confirming that the presented first data instance is not anomalous, the method further comprising:
in response to the confirmation that the presented first data instance is not anomalous, transmit the first data instance to an instance processing system.

### Claim 14 (depends on 13)

The method of claim 13, wherein the instance processing system is a payment processing system.

### Claim 15

One or more computer-readable media storing program code, the program code executable by a computing system to cause the computing system to:
receive a plurality of data instances, each of the plurality of data instances comprising a value for each of a plurality of fields and a label indicating whether the data instance is anomalous or not anomalous;
train a classification model based on the plurality of data instances;
evaluate a first performance of the trained classification model;
determine that the first performance of the trained classification model is above a first performance threshold and below a second performance threshold;
in response to the determination that the performance of the trained classification model is above the first performance threshold and below the second performance threshold:
receive a first data instance comprising a first value for each of the plurality of fields;
determine, based on anomaly detection rules, a first anomaly value indicating whether the first data instance is anomalous or not anomalous;
determine, using the trained classification model, a second anomaly value indicating whether the first data instance is anomalous or not anomalous;
determine, based on the first anomaly value and the second anomaly value, a third anomaly value indicating whether the first data instance is anomalous or not anomalous;
present the first data instance and the third anomaly value;
receive a confirmation of whether the presented first data instance is anomalous;
based on the confirmation, associate a first label with the first data instance to generate a first labeled data instance;
determine to re-train the classification model;
re-train the classification model based on the first labeled data instance;
evaluate a second performance of the re-trained classification model;
determine that the second performance of the re-trained classification model is above the second performance threshold;
in response to the determination that the performance of the trained classification model is above the second performance threshold:
determine to use the re-trained classification model and not the anomaly detection rules to determine whether a data instance is anomalous or not anomalous;
receive a second data instance comprising a second value for each of the plurality of fields; and
determine, using the re-trained classification model and not the anomaly detection rules, a fourth anomaly value indicating whether the second data instance is anomalous or not anomalous; and
in response to the determination of the fourth anomaly value indicating that the second data instance is not anomalous, transmit the second data instance to an instance processing system.

### Claim 16 (depends on 15)

The one or more computer-readable media of claim 15, the program code executable by the computing system to cause the computing system to:
prior to receipt of the plurality of data instances, receive a second plurality of data instances, each of the second plurality of data instances comprising a third value for each of the plurality of fields and a label indicating whether the data instance is anomalous or not anomalous;
determine that the number of the second plurality of data instances is greater than a first instance threshold;
in response to the determination that the number is greater than the first instance threshold:
train the classification model based on the second plurality of data instances;
evaluate a third performance of the classification model trained based on the second plurality of data instances;
determine that the third performance is below the first performance threshold;
in response to the determination that the third performance is below the third performance threshold:
determine to use the anomaly detection rules and not the classification model trained based on the second plurality of data instances to determine whether a data instance is anomalous or not anomalous;
receive a third data instance comprising a fourth value for each of the plurality of fields; and
determine, using the anomaly detection rules and not the classification model trained based on the second plurality of data instances, a fifth anomaly value indicating whether the third data instance is anomalous or not anomalous.

### Claim 17 (depends on 16)

The one or more computer-readable media of claim 16, the program code executable by the computing system to cause the computing system to:
present the third data instance and the fifth anomaly value;
receive a confirmation of whether the presented third data instance is anomalous; and
based on the confirmation of whether the presented third data instance is anomalous, associate a third label with the third data instance to generate a third labeled data instance,
wherein the plurality of data instances based on which the classification model is trained comprises the third labeled data instance.

### Claim 18 (depends on 17)

The one or more computer-readable media of claim 17, wherein the determination to re-train the classification model comprises determination that a third number of a third plurality of data instances exceeds a first instance threshold, the third plurality of data instances comprising the first labeled data instance, and each of the third plurality of data instances comprising a third value for each of the plurality of fields and a label indicating whether the data instance is anomalous or not anomalous, and
wherein re-training of the classification model comprises re-training of the classification model based on the third plurality of data instances.

### Claim 19 (depends on 15)

The one or more computer-readable media of claim 15, wherein the determination to re-train the classification model comprises determination that a second number of a second plurality of data instances exceeds a first instance threshold, the second plurality of data instances comprising the first labeled data instance, and each of the second plurality of data instances comprising a third value for each of the plurality of fields and a label indicating whether the data instance is anomalous or not anomalous, and
wherein re-training of the classification model comprises re-training of the classification model based on the second plurality of data instances.

### Claim 20 (depends on 15)

The one or more computer-readable media of claim 15, wherein the confirmation of whether the presented first data instance is anomalous comprises a confirmation that the presented first data instance is not anomalous, and the program code executable by the computing system to cause the computing system to:
in response to the confirmation that the presented first data instance is not anomalous, transmit the first data instance to the instance processing system.
