Data processing systems and methods for detection of anomalous data

Training a binary classifier with synthetic anomalous images generated by competing diffusion models improves anomaly detection accuracy in machine learning systems, addressing the challenge of identifying unusual input data and preventing unpredictable behavior.

WO2024184153A1PCT designated stage expired Publication Date: 2024-09-12CONTINENTAL AUTOMOTIVE TECHNOLOGIES GMBH
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
PCT/EP2024/055101
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-09
Filing Date
2024-02-28
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

Existing anomaly detection systems in machine learning face challenges in accurately identifying unusual input data not seen during training, leading to unpredictable results, particularly in high-dimensional data such as images, due to complex inferential procedures and high rates of false positives and negatives.

Method used

A binary classifier is trained using a dataset that includes synthetic anomalous images generated by competing diffusion models, specifically by iteratively applying signal gradients from two reverse diffusion networks, allowing for the detection of anomalous data that deviates from the training dataset.

Benefits of technology

This approach enhances the accuracy of anomaly detection by generating a diverse range of synthetic images that are far outside the training distribution, reducing false positives and negatives, and ensuring that anomalous data is correctly identified, thus preventing unpredictable behavior in machine learning systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure EP2024055101_12092024_PF_FP_ABST
    Figure EP2024055101_12092024_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure relates to computer-implemented methods of detecting anomalous data that deviates from a first training dataset, comprising: a) generating synthetic anomalous images from images of randomly generated noise using a first reverse diffusion network and a second reverse diffusion network; b) generating a second training dataset comprising a plurality of images from the first training dataset and the plurality of synthetic anomalous images; c) training a binary classifier using the second training dataset, the binary classifier configured to classify a received image as normal data or anomalous data that deviates from the first training dataset; d) using the binary classifier to determine whether a received image is normal data or anomalous data. The invention further relates to methods of generating synthetic anomalous data, methods of training of the binary classifier, data processing systems, and data structures, computer programs, machine-readable storage media, or data carrier signals.
Need to check novelty before this filing date? Find Prior Art

Description

202205593 1 DATA PROCESSING SYSTEMS AND METHODS FOR DETECTION OF ANOMALOUS DATA TECHNICAL FIELD

[0001] The present disclosure relates generally to the detection of anomalous data, and more specifically to the generation of synthetic anomalous data for the training of a binary classifier for detecting anomalous data. BACKGROUND

[0002] For machine learning systems deployed in the real world, giving unusual input data not seen during training of such machine learning system may lead to unpredictable results. For example, a robot deployed in the real world may not detect an unusual type of debris on the ground, thus leading to a potential collision. Thus, there is interest in developing an auxiliary system that can detect whether there is any meaningful deviation from the operating envelope the system was designed, trained and validated for, referred to as “anomaly detection”.

[0003] An example of an anomaly detector is direct density modelling wherein the anomaly detector directly predicts how similar an example is to the training corpus according to some metric. However, such metric is very hard to fine tune for high dimension data such as image data. Another example of an anomaly detector is a variational autoencoder (VAE), wherein some representation of a data point is corrupted and then a neural network is used to attempt to reconstruct the data point. If the neural network accurately reconstructs the data, such data is more likely to be data that is similar to the training corpus. Yet another example of an anomaly detector is a generative adversarial network (GAN), wherein an image generation network that is not trained very well (or “bad GAN”) is used to generate unrealistic image, which then allows anomaly detection to be formulated as an ordinary supervised learning problem. Yet another example of an anomaly detector is a zero-shot detector, wherein a neural network is trained to detect arbitrary objects that may not be present in the training data.

[0004] However, the existing anomaly detectors have complicated inferential procedures that are hard to tune and are empirically subject to false positives and negatives.202205593 2 SUMMARY

[0005] Embodiments of the present disclosure incorporate a binary classifier that is trained on a dataset comprising synthetic anomalous data generated by competing diffusion models. Diffusion models are a way to generate novel images based on an unlabelled dataset. A diffusion model employs a neural network that is trained to denoise an input image. Once such a network is trained, the denoiser (or reverse diffusion network) may be executed over and over again on a randomly generated noise image to obtain a synthetic image. In the present disclosure, synthetic anomalous images are generated by iteratively applying signal gradients from the reverse diffusion networks of two diffusion models trained on an unlabelled input dataset, preferably the same unlabelled input dataset.

[0006] It shall be noted that all embodiments of the present disclosure concerning a method might be carried out with the order of the steps as described, nevertheless this has not to be the only and essential order of the steps of the method. The herein presented methods can be carried out with another order of the disclosed steps without departing from the respective method embodiment, unless explicitly mentioned to the contrary hereinafter.

[0007] To solve the above technical problems, the present disclosure provides a data processing system comprising at least one sensor and at least one processor configured to implement a machine learning model trained on a first training dataset, the at least one processor further configured to perform the following steps to detect anomalous data: a) receiving an image from at least one sensor; b) using a binary classifier to classify the received image as normal data or anomalous data that deviates from the first training dataset on which the machine learning model was trained on, wherein the binary image classifier was trained on a second training dataset comprising a plurality of images from the first training dataset and a plurality of synthetic anomalous images generated from images of randomly generated noise using a first reverse diffusion network and a second reverse diffusion network; and c) repeating steps a) and b) if the received image is classified as normal data, otherwise sending a notification to an operator if the received image is classified as anomalous data.

[0008] The data processing system of the present disclosure is advantageous over known methods as the data processing system may be able to more efficiently or accurately identify202205593 3 anomalous data or unusual input data that was not seen during training of the machine learning model, therefore ensuring that anomalous data is not input into the machine learning model and preventing unpredictable behaviour of the data processing system. In general, the usage of diffusion models is advantageous as diffusion models may be able to generate a wider or better diversity of generated or synthetic images compared to equivalent GAN or autoregressive models and are able to generate images that are far outside the training distribution. Therefore, the usage of two reverse diffusion networks (or two competing diffusion models) for anomalous image generation in the present disclosure is advantageous over the usage of equivalent GAN or autoregressive models for anomalous image generation due to the potential wider diversity of anomalous images generated by the present disclosure which may lead to a binary classifier that is more accurate at detecting anomalous data during deployment due to a larger diversity of images available during training.

[0009] A preferred data processing system of the present disclosure is a data processing system as described above, wherein the second training dataset on which the binary classifier used in step b) further comprises a plurality of synthetic normal images generated from images of randomly generated noise using the first reverse diffusion network or the second reverse diffusion network.

[0010] The above-described aspect of the present disclosure has the advantage that the inclusion of a plurality of synthetic normal images generated from images of randomly generated noise using the first reverse diffusion network or the second reverse diffusion network into the training dataset on which the binary classifier was trained on may result in a binary classifier that is more accurate at classifying any input data due to the increase in quality and quantity of training data. This could thus potentially result in a data processing system that may be more accurate at identifying and dealing with anomalous data.

[0011] A preferred data processing system of the present disclosure is a data processing system as described above or as described above as preferred, wherein the data processing system is a robot, and wherein step c) further comprises stopping movement of the robot and displaying the received image to an operator if the received image is classified as anomalous data.

[0012] The above-described aspect of the present disclosure has the advantage that potential collisions, crashes, or otherwise undesired behaviour may be avoided in the event that202205593 4 anomalous data is identified by stopping movement of the robot while the results of the binary classifier are sent to an operator for verification, thus ensuring that appropriate action may be taken in response to the identified potential anomalous data / scenario / input.

[0013] A preferred data processing system of the present disclosure is a data processing system as described above or as described above as preferred, wherein the at least one processor is further configured to perform the following steps if the received image is classified as anomalous data and a notification is sent to an operator in step c): d) receiving input from the operator on whether the received image classified as anomalous data is a true anomaly or a false anomaly; and e) sending a notification to a third party if the received image is a true anomaly, otherwise temporarily disabling the binary classifier if the received image is a false anomaly.

[0014] The above-described aspect of the present disclosure has the advantage that the incorporation of a human operator acts as a safeguard to ensure that the binary classifier has correctly identified any anomalous data.

[0015] A preferred data processing system of the present disclosure is a data processing system as described above or as described above as preferred, wherein step e) further comprises disabling the binary classifier in the current iteration and repeating steps a) and b) if the received image is a false anomaly.

[0016] The above-described aspect of the present disclosure has the advantage that disabling the binary classifier in the current iteration allows the data processing system to continue receiving images and determine whether such image is an anomalous data.

[0017] A preferred data processing system of the present disclosure is a data processing system as described above or as described above as preferred, wherein step e) further comprises adding the received image to the second training dataset if the received image is a false anomaly.

[0018] The above-described aspect of the present disclosure has the advantage that adding the received image identified as a false anomaly to the second training dataset may increase the accuracy of future versions of the binary classifier trained on the second training dataset, therefore potentially resulting in a data processing system that is more accurate at identifying anomalous data.202205593 5

[0019] The above-described advantageous aspects of a data processing system of the present disclosure also hold for all aspects of a below-described computer-implemented method of the present disclosure. All below-described advantageous aspects of a computer- implemented method of the present disclosure also hold for all aspects of an above-described data processing system of the present disclosure.

[0020] The present disclosure also relates to a computer-implemented method of generating synthetic anomalous images for a second training dataset for training a binary image classifier configured to classify an input image as normal data or anomalous data that deviates from a first training dataset on which a machine learning model was trained on, in particular the binary classifier for use by a data processing system according to the present disclosure, the method comprising: receiving an input dataset comprising a plurality of unlabelled images; training a first reverse diffusion network and a second reverse diffusion network using the input dataset; and generating synthetic anomalous images from images of randomly generated noise using the first reverse diffusion network and the second reverse diffusion network.

[0021] The computer-implemented method of the present disclosure is advantageous over known methods as the binary classifier trained on the resulting training dataset comprising synthetic anomalous data generated using the first reverse diffusion network and second reverse diffusion network may be more accurate at classifying input data into normal data or anomalous data due to the larger diversity of synthetic anomalous data generated using the first reverse diffusion network and second reverse diffusion network.

[0022] A preferred method of the present disclosure is a computer-implemented method as described above, wherein generating a plurality of synthetic anomalous images from images of randomly generated noise comprises iteratively adding a combination of a first gradient signal from the first reverse diffusion network and a second gradient signal from the second reverse diffusion network to the images of randomly generated noise.

[0023] The above-described aspect of the present disclosure has the advantage that iteratively adding a combination of the first gradient signal and the second gradient signal may encourage the generation of synthetic anomalous images that comprise true anomalies (e.g., semantic anomalies) as compared to superficial visual artifacts (e.g., superficial202205593 6 anomalies), therefore generating images that have a higher probability of containing true anomalies as compared to superficial visual artifacts. In general, a binary classifier would mainly learn to detect the superficial visual artifacts as such artifacts are easier to identify than true anomalies. By using the two diffusion models to generate an image dataset with a higher proportion of true anomalies as compared to superficial visual artifacts, the binary classifier is encouraged to learn to detect true anomalies during training, therefore potentially resulting in a trained binary classifier that is more accurate at classifying input data into normal data or anomalous data.

[0024] A preferred method of the present disclosure is a computer-implemented method as described above or as described above as preferred, wherein generating a plurality of synthetic anomalous images from images of randomly generated noise comprises iteratively adding a non-linear combination of a first gradient signal from the first reverse diffusion network and a second gradient signal from the second reverse diffusion network to the images of randomly generated noise.

[0025] The above-described aspect of the present disclosure has the advantage that generating images using a non-linear combination of the first gradient signal from the first reverse diffusion network and the second gradient signal from the second reverse diffusion network may allow the process and system of generation of synthetic anomalous images to be better tuned, in particular by having more parameters (as compared to a linear combination) when combining the first gradient signal and second gradient signal that may be adjusted to improve performance of generation of synthetic anomalous images.

[0026] A preferred method of the present disclosure is a computer-implemented method as described above or as described above as preferred, wherein the first reverse diffusion network is larger than the second reverse diffusion network, and the first gradient signal from the first reverse diffusion network comprises a scale factor of <0 and the second gradient signal from the second reverse diffusion network comprises a scale factor of >1.

[0027] The above-described aspect of the present disclosure has the advantage that having a scale factor of <0 and >1 respectively for the first gradient signal and second gradient signal encourages the generation of images that fall within a data distribution convergence area of the second reverse diffusion network (or diffusion model) but outside of a data distribution convergence area of the first reverse diffusion network (or diffusion model),202205593 7 therefore encouraging the generation of synthetic anomalous images which may then be used for training the binary classifier to be more accurate at classifying data into normal data and anomalous data.

[0028] A preferred method of the present disclosure is a computer-implemented method as described above or as described above as preferred, wherein the first reverse diffusion network is larger than the second reverse diffusion network, and the scale factor of the first gradient signal from the first reverse diffusion network and the scale factor of the second gradient signal from the second reverse diffusion network sum up to 1.

[0029] The above-described aspect of the present disclosure has the advantage that the generation of synthetic anomalous data may be easier and / or more efficient as scaling of the overall step size is avoided. In general, diffusion models have complicated and / or carefully tuned step size schedules that vary according to the phase of the reverse diffusion, and the step size schedule is probably one of the main factors that may influence the quality of the images generated. Therefore, by ensuring that the scale factors sum up to 1, the overall magnitude of the update would remain the same and the step size schedule of the generation of synthetic anomalous images would correspond to the step size schedule used during training, thus likely resulting in high quality images without scaling of the overall step size.

[0030] The present disclosure also relates to a computer-implemented method of detecting anomalous data that deviates from a first training dataset, comprising: a) generating a plurality of synthetic anomalous images from images of randomly generated noise using a first reverse diffusion network and a second reverse diffusion network; b) generating a second training dataset comprising a plurality of images from the first training dataset and the plurality of synthetic anomalous images; c) training a binary classifier using the second training dataset, wherein the binary classifier is configured to classify a received image as normal data or anomalous data that deviates from the first training dataset; and d) using the binary classifier to determine whether a received image is normal data or anomalous data.

[0031] The computer-implemented method of the present disclosure is advantageous over known methods as the binary classifier trained may be able to more efficiently or accurately202205593 8 identify anomalous data or unusual input data that was not seen in the first training dataset. In general, the usage of diffusion models is advantageous as diffusion models may be able to generate a wider or better diversity of generated or synthetic images compared to equivalent GAN or autoregressive models and are able to generate images that are far outside the training distribution. Therefore, the usage of two reverse diffusion networks (or two competing diffusion models) for anomalous image generation in the present disclosure is advantageous over the usage of equivalent GAN or autoregressive models for anomalous image generation due to the potential wider diversity of anomalous images generated by the present disclosure which may lead to a binary classifier that is more accurate at detecting anomalous data during deployment due to a larger diversity of images available during training

[0032] A preferred computer-implemented method of the present disclosure is a computer- implemented method as described above, wherein step b) of generating the second training dataset further comprises: generating a plurality of synthetic normal images from images of randomly generated noise using the first reverse diffusion network or the second reverse diffusion network; and adding the plurality of synthetic normal images to the second training dataset.

[0033] The above-described aspect of the present disclosure has the advantage that the inclusion of a plurality of synthetic normal images generated from images of randomly generated noise using the first reverse diffusion network or the second reverse diffusion network into the training dataset on which the binary classifier was trained on may result in a binary classifier that is more accurate at classifying any input data due to the increase in quality and quantity of training data. This could thus potentially result in a binary classifier that may be more accurate at identifying and dealing with anomalous data.

[0034] A preferred computer-implemented method of the present disclosure is a computer- implemented method as described above or as described above as preferred, wherein step a) of generating a plurality of synthetic anomalous images comprises: receiving an input dataset comprising a plurality of unlabelled images; training a first reverse diffusion network and a second reverse diffusion network using the input dataset; and202205593 9 generating synthetic anomalous images from images of randomly generated noise using the first reverse diffusion network and the second reverse diffusion network.

[0035] The above-described aspect of the present disclosure has the advantage that the binary classifier trained on the resulting training dataset comprising synthetic anomalous data generated using the first reverse diffusion network and second reverse diffusion network may be more accurate at classifying input data into normal data or anomalous data due to the larger diversity of synthetic anomalous data generated using the first reverse diffusion network and second reverse diffusion network.

[0036] A preferred computer-implemented method of the present disclosure is a computer- implemented method as described above or as described above as preferred, wherein generating a plurality of synthetic anomalous images from images of randomly generated noise comprises iteratively adding a combination of a first gradient signal from the first reverse diffusion network and a second gradient signal from the second reverse diffusion network to the images of randomly generated noise.

[0037] The above-described aspect of the present disclosure has the advantage that iteratively adding a combination of the first gradient signal and the second gradient signal may encourage the generation of synthetic anomalous images that comprise true anomalies (e.g., semantic anomalies) as compared to superficial visual artifacts (e.g., superficial anomalies), therefore generating images that have a higher probability of containing true anomalies as compared to superficial visual artifacts. In general, a binary classifier would mainly learn to detect the superficial visual artifacts as such artifacts are easier to identify than true anomalies. By using the two diffusion models to generate an image dataset with a higher proportion of true anomalies as compared to superficial visual artifacts, the binary classifier is encouraged to learn to detect true anomalies during training, therefore potentially resulting in a trained binary classifier that is more accurate at classifying input data into normal data or anomalous data.

[0038] A preferred computer-implemented method of the present disclosure is a computer- implemented method as described above or as described above as preferred, wherein generating a plurality of synthetic anomalous images from images of randomly generated noise comprises iteratively adding a non-linear combination of a first gradient signal from202205593 10 the first reverse diffusion network and a second gradient signal from the second reverse diffusion network to the images of randomly generated noise.

[0039] The above-described aspect of the present disclosure has the advantage that generating images using a non-linear combination of the first gradient signal from the first reverse diffusion network and the second gradient signal from the second reverse diffusion network may allow the process and system of generation of synthetic anomalous images to be better tuned, in particular by having more parameters (as compared to a linear combination) when combining the first gradient signal and second gradient signal that may be adjusted to improve performance of generation of synthetic anomalous images.

[0040] A preferred method of the present disclosure is a computer-implemented method as described above or as described above as preferred, wherein the first reverse diffusion network is larger than the second reverse diffusion network, and the first gradient signal from the first reverse diffusion network comprises a scale factor of <0 and the second gradient signal from the second reverse diffusion network comprises a scale factor of >1.

[0041] The above-described aspect of the present disclosure has the advantage that having a scale factor of <0 and >1 respectively for the first gradient signal and second gradient signal encourages the generation of images that fall within a data distribution convergence area of the second reverse diffusion network (or diffusion model) but outside of a data distribution convergence area of the first reverse diffusion network (or diffusion model), therefore encouraging the generation of synthetic anomalous images which may then be used for training the binary classifier to be more accurate at classifying data into normal data and anomalous data.

[0042] A preferred method of the present disclosure is a computer-implemented method as described above or as described above as preferred, wherein the first reverse diffusion network is larger than the second reverse diffusion network, and the scale factor of the first gradient signal from the first reverse diffusion network and the scale factor of the second gradient signal from the second reverse diffusion network sum up to 1.

[0043] The above-described aspect of the present disclosure has the advantage that the generation of synthetic anomalous data may be easier and / or more efficient as scaling of the overall step size is avoided. In general, diffusion models have complicated and / or carefully202205593 11 tuned step size schedules that vary according to the phase of the reverse diffusion, and the step size schedule is probably one of the main factors that may influence the quality of the images generated. Therefore, by ensuring that the scale factors sum up to 1, the overall magnitude of the update would remain the same and the step size schedule of the generation of synthetic anomalous images would correspond to the step size schedule used during training, thus likely resulting in high quality images without scaling of the overall step size.

[0044] A preferred method of the present disclosure is a computer-implemented method as described above or as described above as preferred, wherein step d) of using the binary classifier to determine whether a received image is normal data or anomalous data comprises: i) receiving an image from at least one sensor; ii) using the binary classifier to classify the received image as normal data (204) or anomalous data that deviates from the first training dataset; and iii) repeating steps i) and ii) if the received image is classified as normal data, otherwise sending a notification to an operator if the received image is classified as anomalous data.

[0045] The above-described aspect of the present disclosure has the advantage that the incorporation of a human operator acts as a safeguard to ensure that the binary classifier has correctly identified any anomalous data.

[0046] A preferred method of the present disclosure is a computer-implemented method as described above or as described above as preferred, wherein step iii) further comprises displaying the received image to an operator if the received image is classified as anomalous data.

[0047] The above-described aspect of the present disclosure has the advantage that the incorporation of a human operator acts as a safeguard to ensure that the binary classifier has correctly identified any anomalous data.

[0048] A preferred method of the present disclosure is a computer-implemented method as described above or as described above as preferred, further comprising: iv) receiving input from the operator on whether the received image classified as anomalous data is a true anomaly or a false anomaly; and202205593 12 v) sending a notification to a third party if the received image is a true anomaly, otherwise temporarily disabling the binary classifier if the received image is a false anomaly.

[0049] The above-described aspect of the present disclosure has the advantage that the incorporation of a human operator acts as a safeguard to ensure that the binary classifier has correctly identified any anomalous data.

[0050] A preferred method of the present disclosure is a computer-implemented method as described above or as described above as preferred, wherein step v) comprises disabling the binary classifier in the current iteration and repeating steps i) and ii) if the received image is a false anomaly.

[0051] The above-described aspect of the present disclosure has the advantage that disabling the binary classifier in the current iteration allows the method to continue in a next iteration and use the binary classifier to receive images and determine whether such image is an anomalous data.

[0052] A preferred method of the present disclosure is a computer-implemented method as described above or as described above as preferred, wherein step v) further comprises adding the received image to the second training dataset if the received image is a false anomaly.

[0053] The above-described aspect of the present disclosure has the advantage that adding the received image identified as a false anomaly to the second training dataset may increase the accuracy of future versions of the binary classifier trained on the second training dataset, therefore potentially resulting in a data processing system that is more accurate at identifying anomalous data.

[0054] The above-described advantageous aspects of a data processing system or computer- implemented method of the present disclosure also hold for all aspects of below-described data structure of the present disclosure. All below-described advantageous aspects of a data structure of the present disclosure also hold for all aspects of an above-described data processing system or computer-implemented method of the present disclosure.

[0055] The present disclosurealso relates to a data structure generated by the computer- implemented method of the present disclosure.202205593 13

[0056] The above-described advantageous aspects of a data processing system, computer- implemented method, or data structure of the present disclosure also hold for all aspects of below-described data processing system of the present disclosure. All below-described advantageous aspects of a data processing system of the present disclosure also hold for all aspects of an above-described data processing system, computer-implemented method, or data structure of the present disclosure.

[0057] The present disclosure also relates to a data processing system comprising at least one sensor and at least one processor configured to perform the steps of the computer- implemented method of the present disclosure.

[0058] The above-described advantageous aspects of a data processing system, computer- implemented method, or data structure of the present disclosure also hold for all aspects of below-described computer program, a machine-readable storage medium, or a data carrier signal of the present disclosure. All below-described advantageous aspects of a computer program, a machine-readable storage medium, or a data carrier signal of the present disclosure also hold for all aspects of an above-described data processing system, computer- implemented method, or data structure of the present disclosure.

[0059] The present disclosure also relates to a computer program, a machine-readable storage medium, or a data carrier signal that comprises instructions, that upon execution on a data processing system and / or control unit, cause the data processing system and / or control unit to perform the steps according to the present disclosure. The machine-readable medium may include any medium and / or mechanism for storing or transmitting information in a form readable by a machine (e.g., a computing device). The machine-readable medium may be any medium, such as for example, read-only memory (ROM); random access memory (RAM); a universal serial bus (USB) stick; a compact disc (CD); a digital video disc (DVD); a data storage device; a hard disk; electrical, acoustical, optical, or other forms of propagated signals (e.g., digital signals, data carrier signal, carrier waves), or any other medium on which a program element as described above can be transmitted and / or stored.

[0060] As used in this summary, in the description below, in the claims below, and in the accompanying drawings, the term “sensor” includes any sensor that detects or responds to some type of input from a perceived environment or scene. Examples of sensors include202205593 14 cameras, video cameras, light sensors, colour sensors, or red, green, blue, and distance (RGBD) sensors. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] These and other features, aspects, and advantages will become better understood with regard to the following description, appended claims, and accompanying drawings where:

[0062] Fig. 1A is a simplified functional block diagram of a data processing system, in accordance with embodiments of the present disclosure;

[0063] Fig. 1B is a simplified hardware block diagram of the data processing system, in accordance with embodiments of the present disclosure;

[0064] Fig. 2 is a schematic illustration of a method of detecting anomalous data that deviates from a training dataset on which a machine learning model was trained on, in accordance with embodiments of the present disclosure;

[0065] Fig. 3 is a schematic illustration of a method of generating synthetic anomalous images, in accordance with embodiments of the present disclosure; and

[0066] Fig. 4 is a schematic illustration of the generation of a synthetic anomalous image from images of randomly generated noise using first reverse diffusion network and second reverse diffusion network, in accordance with embodiments of the present disclosure.

[0067] In the drawings, like parts are denoted by like reference numerals.

[0068] It should be appreciated by those skilled in the art that any block diagrams herein represent conceptual views of illustrative systems embodying the principles of the present subject matter. Similarly, it will be appreciated that any flow charts, flow diagrams, state transition diagrams, pseudo code, and the like represent various processes which may be substantially represented in computer readable medium and executed by a computer or processor, whether or not such computer or processor is explicitly shown. DETAILED DESCRIPTION

[0069] In the summary above, in this description, in the claims below, and in the accompanying drawings, reference is made to particular features (including method steps)202205593 15 of the present disclosure. It is to be understood that the disclosure in this specification includes all possible combinations of such particular features. For example, where a particular feature is disclosed in the context of a particular aspect or embodiment of the present disclosure, or a particular claim, that feature can also be used, to the extent possible, in com-bination with and / or in the context of other particular aspects and embodiments of the present disclosure, and in the disclosures generally.

[0070] In the present document, the word “exemplary” is used herein to mean “serving as an example, instance, or illustration.” Any embodiment or implementation of the present subject matter described herein as “exemplary” is not necessarily be construed as preferred or advantageous over other embodiments.

[0071] While the disclosure is susceptible to various modifications and alternative forms, specific embodiment thereof has been shown by way of example in the drawings and will be described in detail below. It should be understood, however that it is not intended to limit the disclosure to the forms disclosed, but on the contrary, the disclosure is to cover all modifications, equivalents, and alternative falling within the scope of the disclosure.

[0072] The present disclosure is directed to data processing systems, methods, data structures, computer programs, machine-readable storage media, data carrier signals for detection of anomalous data. The data processing system may comprise at least one sensor configured to capture images. The data processing system may be configured to implement a machine learning model trained on a first training dataset. The data processing system may be a robot capable of movement, such as a mobile robot or a robot arm. The detection of anomalous data may be carried out with a binary classifier as an anomaly detector. The binary classifier may be trained to classify input image data as normal data or anomalous data, which is data that deviates from the data of the first training dataset on which the implemented machine learning model was trained on. The binary classifier may be trained on a dataset comprising, amongst other data, synthetic anomalous data generated from randomly generated noise using two reverse diffusion networks, or two competing diffusion models. The two reverse diffusion networks may be trained on the same input dataset with similar training parameters. The two reverse diffusion networks may have different sizes, with one reverse diffusion network comprising more layers or neurons than the other reverse diffusion network.202205593 16

[0073] The following description sets forth exemplary methods, parameters, and the like. It should be recognized, however, that such description is not intended as a limitation on the scope of the present disclosure but is instead provided as a description of exemplary embodiments.

[0074] Although the following description uses terms “first,” “second,” etc. to describe various elements, these elements should not be limited by the terms. These terms are only used to distinguish one element from another. For example, a first reverse diffusion network could be termed a second reverse diffusion network, and, similarly, a reverse diffusion network could be termed a first reverse diffusion network, without departing from the scope of the various described embodiments. The first reverse diffusion network and the second reverse diffusion network are both reverse diffusion network, but they are not the same reverse diffusion network.

[0075] The illustrated steps are set out to explain the exemplary embodiments shown, and it should be anticipated that on-going technological development will change the manner in which particular functions are performed. These examples are presented herein for purposes of illustration, and not limitation. Further, the boundaries of the functional building blocks have been arbitrarily defined herein for the convenience of the description. Alternative boundaries can be defined so long as the specified functions and relationships thereof are appropriately performed. Alternatives (including equivalents, extensions, variations, deviations, etc., of those described herein) will be apparent to persons skilled in the relevant art(s) based on the teachings contained herein. Such alternatives fall within the scope and spirit of the disclosed embodiments. The terms “comprises”, “comprising”, “includes” or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a setup, device or method that includes a list of components or steps does not include only those components or steps but may include other components or steps not expressly listed or inherent to such setup or device or method. In other words, one or more elements in a system or apparatus proceeded by “comprises… a” does not, without more constraints, preclude the existence of other elements or additional elements in the system or method. It must also be noted that as used herein and in the appended claims, the singular forms “a,” “an,” and “the” include plural references unless the context clearly dictates otherwise.202205593 17

[0001] Fig.1A is a simplified functional block diagram of a data processing system 100, in accordance with embodiments of the present disclosure. In some embodiments, data processing system 100 may be used for control of a robot. In some embodiments, data processing system 100 may be a robot. System 100 may be used in a robot for various tasks, e.g., for navigation, manipulation, or articulation.

[0002] According to some embodiments of the present disclosure, system 100 may be configured to receive at least one image 104 to generate at least one output 112. In some embodiments, the at least one image 104 may be generated by and received from at least one sensor 124 (see Fig.1B). In some embodiments, the at least one image 104 may be generated by and received from at least one sensor 124 arranged or positioned on the data processing system to image an environment that the data processing system is interacting with. In some embodiments, the data processing system may be a robot and the at least one sensor 124 may be a sensor on the robot arranged or positioned on the robot to image an environment that the robot is interacting with.

[0003] According to some embodiments of the present disclosure, data processing system 100 may comprise a machine learning module 116 and an anomaly detector module 120, the machine learning module 116 and anomaly detector module 120 configured to receive the at least one image 104 as input and generate at least one output 112. In some embodiments, the machine learning module 116 and anomaly detector module 120 may be coupled to each other. In some embodiments, machine learning module 116 may be configured to implement at least one machine learning model 118 trained using a first training dataset to generate output 112. It is contemplated that machine learning model 118 may be any known machine learning model or algorithm that was trained at least in part with a training dataset. For example, where the data processing system 100 is a robot, the machine learning model 118 may be an object detection model, examples of which may be found in the MMDetection toolbox available at https: / / github.com / open-mmlab / mmdetection, such as RetinaNet, DETR, and YOLOX, and the object detection model may be trained on a first training dataset such as the KITTI dataset available at https: / / www.cvlibs.net / datasets / kitti / , or the Waymo dataset available at https: / / waymo.com / open / using known training methods such as supervised learning on labelled real data, supervised learning on synthetic data, or semi- supervised learning on partially labelled / weakly labelled data. For example, where the data processing system 100 is a robot, the machine learning model 118 may be a semantic202205593 18 segmentation model, example of which may be found in the MMSegmentation toolbox available at https: / / github.com / open-mmlab / mmsegmentation, such as DeepLabv3 or Segformer, and the semantic segmentation model may be trained on a first training dataset such as the KITTI dataset available at https: / / www.cvlibs.net / datasets / kitti / , or the Waymo dataset available at https: / / waymo.com / open / using known training methods such as supervised learning on labelled real data, supervised learning on synthetic data, or semi- supervised learning on partially labelled / weakly labelled data.

[0004] In some embodiments, machine learning module 116 may be configured to receive the at least one image 104 as input and generate, using machine learning model 118, an output 112 of an action to be taken by the data processing system 100. In some embodiments, machine learning module 116 may be configured to receive the at least one image 104 as input and generate, using machine learning model 118, an output 112 of an image to be displayed. In some embodiments, anomaly detector module 120 may be configured to receive the at least one image 104 and classify the at least one image as normal data or anomalous data that deviates from the first training dataset that was used to train the machine learning model 118. For example, for a data processing system 100 or a robot or autonomous vehicle, anomalous data may include unusual objects or debris that may not have appeared in the training dataset of the robot or autonomous vehicle’s perception system. In some embodiments, anomaly detector module 120 and machine learning module 116 may receive and process the image(s) simultaneously or sequentially. In some embodiments, anomaly detector module 120 may be coupled to machine learning module 116 such that only received images 104 that were classified by anomaly detector module 120 as normal data is input into machine learning module 116.

[0005] Fig. 1B is a simplified hardware block diagram of the data processing system 100, in accordance with embodiments of the present disclosure. It is emphasised that the hardware block diagram illustrated in Fig.1B is only an example and other suitable alternative systems or arrangements may be implemented. System 100 may comprise at least one processor 128. In some embodiments, system 100 may comprise at least one sensor 124. In some embodiments, where the data processing system is a robot, the at least one sensor 124 may be mounted on the robot and arranged to image the environment that the robot is interacting with. In some embodiments, the at least one processor 128 may be configured to carry out the functions of at least one of the machine learning module 116 and anomaly detector202205593 19 module 120. In some embodiments, system 100 may comprise at least one memory 132. In some embodiments, the at least one memory 132 may be configured as a memory buffer to store the at least one image 104 received from the at least one sensor 124. The at least one memory 132 may include a non-transitory computer-readable medium. In some embodiments, the at least one processor 128, the at least one sensor 124 and the at least one memory 132 may be coupled to one another, for example, mechanically or electrically, via a coupling line 136.

[0006] According to some embodiments, system 100 may be coupled to a control unit 140 configured to control the data processing system 100 based on the output 112 determined by system 100. System 100 may be coupled to control unit 140 by manner of one or both of wired or wireless coupling. In some embodiments, the control unit 140 may be a microcontroller embedded in the data processing system 100. In some embodiments, the control unit 140 may be coupled to at least one actuator of the data processing system 100.

[0007] According to some embodiments, system 100 may be coupled to a notification unit 144 configured to generate notifications to an operator based on the output 112 determined by system 100. System 100 may be coupled to notification unit 148 by manner of one or both of wired or wireless coupling. In some embodiments, the notification unit 144 may produce one or more of an auditory or visual alert. In some embodiments, system 100 may be coupled to a display unit 148 that is configured to display the received at least one image 104, or any output 112 from system 100 that may be an image. System 100 may be coupled to display unit 148 by manner of one or both of wired or wireless coupling.

[0008] According to some embodiments, system 100 may be coupled to an input device 152 configured to receive input from an operator. System 100 may be coupled to input device 152 by manner of one or both of wired or wireless coupling. In some embodiments, input device 152 may be a touch screen, a mouse, or a keyboard, or any other device capable of receiving an input from an operator.

[0009] Fig. 2 is a schematic illustration of a method 200 of detecting anomalous data that deviates from a training dataset on which a machine learning model was trained on, in accordance with embodiments of the present disclosure. Method 200 may be implemented by any architecture and / or computing system and / or data processing system. For example, various architectures employing, for example, multiple integrated circuit (IC) chips and / or202205593 20 packages, and / or various computing devices and / or consumer electronic (CE) devices such as multi-function devices, tablets, smart phones, etc., may implement the techniques and / or arrangements described herein. In some embodiments, method 200 may be carried out by data processing system 100, wherein data processing system 100 may comprise means for performing or carrying out one, some, or all of the steps of method 200. In some embodiments, method 200 may be carried out by the at least one processor 128 of data processing system 100.

[0010] According to some embodiments of the present disclosure, method 200 may comprise step S20 wherein an image 104 is received from at least one sensor 124. The at least one sensor 124 may be any sensor, including RGB cameras, and RGB-D cameras (e.g., stereo RGB or RGB with time-of-flight sensors like infrared). In some embodiments, the image 104 may comprise red-green-blue (RGB) data.

[0011] According to some embodiments, method 200 may comprise step S24 wherein a binary classifier is used to classify the image 104 received in step S20 as normal data 204 or anomalous data 208. In some embodiments, step S24 may be carried out by anomaly detector module 120. Anomalous data 208 is data that deviates from a first training dataset, which may be a dataset on which machine learning model 118 was trained on.

[0012] According to some embodiments, the binary classifier may be trained on a second training dataset comprising a plurality of images from the first training dataset on which machine learning model 118 was trained on, as well as a plurality of synthetic anomalous images generated from images of randomly generated noise using a first reverse diffusion network 404 and a second reverse diffusion network 408. In some embodiments, the second training dataset may further comprise a plurality of synthetic normal images generated from images of randomly generated noise using the first reverse diffusion network or the second reverse diffusion network. The synthetic normal images may be generated using the first reverse diffusion network 404 or the second reverse diffusion network 408. In some embodiments, the synthetic normal images may be generated by iteratively applying a signal gradient from the first reverse diffusion network 404. In some embodiments, the synthetic normal images may be generated by iteratively applying a signal gradient from the second reverse diffusion network 408. More information on the generation of synthetic normal images may be found in “Denoising Diffusion Probabilistic Models” by Ho et. al. In some202205593 21 embodiments, 10 to 10,000 iterations or steps may be carried out to generate a synthetic normal image. In some embodiments, the iterations or steps may be carried out based on a stride sampling schedule.

[0013] In some embodiments, the second training dataset may comprise anywhere between 10,000 – 100,000, or even 1 million images. In one example, the second training dataset may comprise the first training dataset and 10,000 – 100,000 synthetic anomalous images. In another example, the second training dataset may comprise 10,000 – 100,000 images from the first training dataset and 10,000 – 100,000 synthetic anomalous images. In yet another example, the second training dataset may comprise the first training dataset, 10,000 – 100,000 synthetic anomalous images, and 10,000 – 100,000 synthetic normal images. In yet another example, the second training dataset may comprise 10,000 – 100,000 images from the first training dataset, 10,000 – 100,000 synthetic anomalous images, and 10,000 – 100,000 synthetic normal images.

[0014] According to some embodiments, the binary classifier may be a convolutional neural network, for example, residual neural networks (ResNet). An example of ResNet may be found in “Deep Residual Learning for Image Recognition” by He et. al. wherein an example of the architecture of ResNet may be found at least in the column with the layer name 101- layer in Table 1 which illustrates a 101-layer residual network, and an example of the training of ResNet may be found at least at Section 3.4. An example of an implementation of ResNet may be found at https: / / pytorch.org / vision / main / _modules / torchvision / models / resnet.html. In some embodiments, the loss function used when training the binary classifier may be a binary cross entropy loss. In some embodiments, when training the binary classifier, the weights and biases may be subsequently updated by an AdamOptimizer with a learning rate of 0.001. It is to be noted that the other parameters of the AdamOptimizer should be set to default values. For example: beta_1 = 0.9 beta_2 = 0.999 eps = 1e-08 weight_decay = 0202205593 22

[0015] The steps described above should be repeated with the next set of observations until all the observations are used for training. This represents the first training epoch. This may be repeated until 10 epochs were done.

[0016] According to some embodiments, if the received image 104 was classified as normal data 204 in step S24, steps S20 and S24 may be repeated for a next iteration. In some embodiments, if the received image 104 was classified as normal data 204 in step S24, the received image 104 may be input to machine learning model 118 to generate output 112. Otherwise, if the received image 104 was classified as anomalous data 208 in step S24, method 200 may comprise step S28 wherein a notification is sent to an operator. The notification may be in any form, including an auditory or visual notification to notification unit 144. In some embodiments, the notification may be the display of the received image 104 to the operator on display unit 148. In some embodiments, where the data processing system 100 is a robot, step S28 may comprise stopping movement of the robot and displaying the received image 104 to an operator, for example on display unit 148.

[0017] According to some embodiments, method 200 may comprise step S32, wherein an input is received from the operator on whether the received image classified as anomalous data is a true anomaly 212 or a false anomaly 216. A true anomaly 212 is received image data that deviates from the first training dataset, which may be the training dataset on which machine learning model 118 was trained on, that was correctly classified as anomalous data by the binary classifier in step S24. A false anomaly 216 is received image data that does not deviate from the first training dataset, which may be the training dataset on which machine learning model 118 was trained on (i.e., normal data), that was incorrectly classified as anomalous data by the binary classifier in step S24. In some embodiments, the input may be received through input device 152.

[0018] According to some embodiments, where the received image 104 was determined to be a true anomaly 212 in step S32, a notification may be sent to a third party in step S36. An example of a third party may be an operations team responsible for the operation of the data processing system. Otherwise, where the received image 104 was determined to be a false anomaly 216 in step S32, the binary classifier may be temporarily disabled in the current iteration in step S40, and steps S20 and S24 may be repeated for a next iteration. In some embodiments, where the received image 104 was determined to be a false anomaly in step202205593 23 S32, the received image 104 may be input to machine learning model 118 to generate output 112. In some embodiments, where the received image 104 was determined to be a false anomaly in step 32, the received image 104 may be added to the second training dataset in step S44, wherein the second training dataset may then be used for training a next version of the binary classifier.

[0019] Fig.3 is a schematic illustration of a method 300 of generating synthetic anomalous images, in accordance with embodiments of the present disclosure. Method 300 may be implemented by any architecture and / or computing system and / or data processing system. For example, various architectures employing, for example, multiple integrated circuit (IC) chips and / or packages, and / or various computing devices and / or consumer electronic (CE) devices such as multi-function devices, tablets, smart phones, etc., may implement the techniques and / or arrangements described herein. In some embodiments, method 300 may be used to generate synthetic anomalous images for a second training dataset for training a binary image classifier configured to classify an input image as normal data or anomalous data that deviates from a first training dataset on which machine learning model 118 was trained on, in particular the binary classifier for use by data processing system 100 and / or method 200.

[0020] According to some embodiments, method 300 may comprise step S50 wherein an input dataset of unlabelled images is received. The input dataset may be a collection of image files with no additional metadata needed. An example of an input dataset that may be used is the Waymo Open Dataset available at https: / / waymo.com / open / . Another example of an input dataset that may be issued is the comma2k19 dataset available at https: / / github.com / commaai / comma2k19, which is a dataset of over 33 hours of commute in California’s 280 highway. Another example of an input dataset that may be used is the CityScapes dataset available at https: / / www.cityscapes-dataset.com / dataset-overview / . The input dataset may be a completely separate dataset from the first training dataset used to train machine learning model 118.

[0021] According to some embodiments, method 300 may comprise step S54 wherein a first reverse diffusion network 404 (see Fig.4) and a second reverse diffusion network 408 (see Fig. 4) are trained using the received input dataset. In some embodiments, the first reverse diffusion network 404 and the second reverse diffusion network 408 may be denoising202205593 24 diffusion probabilistic models (DDPM). An example of a denoising diffusion probabilistic model (DDPM) may be found in “Denoising Diffusion Probabilistic Models” by Ho et. al., wherein examples of the architecture and training of the DDPM may be found at least in Section 3, and 4.1, and Section B of the Extra Information. An example of the code that may be used, implemented and / or modified for the DDPM is available at https: / / github.com / hojonathanho / diffusion / blob / master / diffusion_tf / nn.py. In some embodiments, the first reverse diffusion network 404 may be larger or more powerful than the second reverse diffusion network 408. In some embodiments, the first reverse diffusion network 404 may comprise more neurons or layers than the second reverse diffusion network 408. For example, the first reverse diffusion network 404 may have the architecture disclosed in https: / / github.com / hojonathanho / diffusion / blob / master / diffusion_tf / nn.py, wherein every layer (other than the image input and the image output layers) has a feature map size of 128, while the second reverse diffusion network 408 may have an architecture similar to that disclosed in https: / / github.com / hojonathanho / diffusion / blob / master / diffusion_tf / nn.py, except the second reverse diffusion network 408 has a feature map size of 32 (as compared to feature map size of 128 of the first reverse diffusion network 404).

[0022] According to some embodiments, method 300 may comprise step S58 wherein synthetic anomalous images are generated from images of randomly generated noise using the first reverse diffusion network 404 and the second reverse diffusion network 408.

[0023] Fig. 4 is a schematic illustration of the generation of a synthetic anomalous image 412 from images of randomly generated noise 416 using first reverse diffusion network 404 and second reverse diffusion network 408, in accordance with embodiments of the present disclosure. In some embodiments, the images of randomly generated noise 416 may be based on any type of noise, including independently sampled noise (e.g., gaussian noise, uniform noise, cauchy noise, truncated gaussian noise, or laplace noise), correlated noise (e.g., perlin noise, frequency modulated noise such as pink noise or grey noise, or simplex noise), or other types of noise such as blur, masking, or random translational deformations or advections. In some embodiments, the synthetic anomalous image may be generated by iteratively adding a combination of a first gradient signal from the first reverse diffusion network 404 and a second gradient signal from the second reverse diffusion network 408 to an image of randomly generated noise 416.202205593 25

[0024] According to some embodiments, the synthetic anomalous image may be generated by iteratively adding a linear combination of a first gradient signal from the first reverse diffusion network 404 and a second gradient signal from the second reverse diffusion network 408 to an image of randomly generated noise 416. In some embodiments, the synthetic anomalous image may be generated by iteratively adding a non-linear combination of a first gradient signal from the first reverse diffusion network 404 and a second gradient signal from the second reverse diffusion network 408 to an image of randomly generated noise 416. Examples of non-linear combination include root mean square averaging (potentially generalised to a power other than 2, any power), sign comparison (e.g., if the two combined scalars have the same sign, the larger value is taken, otherwise, set to zero). In general the combination function may be any function y=f(x1,x2), such that y monotonically increases as x1 increases, and also that y monotonically increases as x2 increases, is symmetric around x1, is symmetric around x2, and min(x1, x2) < f(x1, x2) < max(x1, x2). For example, the non-linear combination may be an addition of the highest magnitude value from each of the gradient signals in an elementwise fashion based on the ^ ^ ^ ^ aggregation rule ^^^^(^)(|^| + ^^^^(^)^^^^(^)|^|^) ^ , with an assumption of a > b, wherein “a” refers to produced by the first reversediffusion model and “b” refers to the element of the same index from the gradient signal of the second reverse diffusion model, and “p” is an arbitrary parameter such that 0<p<∞. In some embodiments, 1000 to 2000 iterations or steps may be carried out to generate a synthetic anomalous image.

[0025] According to some embodiments, the first gradient signal from the larger first reverse diffusion network 404 may comprise a scale factor <0 and the second gradient signal from the smaller second reverse diffusion network 408 may comprise a scale factor of >1 to encourage the generation of images that fall within a data distribution convergence area of the second reverse diffusion network (or diffusion model) but outside of a data distribution convergence area of the first reverse diffusion network (or diffusion model), therefore encouraging the generation of synthetic anomalous images. In other words, the convergence is encouraged away from images that the larger first reverse diffusion network 404 would ordinarily produce, but the smaller second reverse diffusion network 408 is still able to produce. In some embodiments, the scale factors of the signal gradients of the first reverse diffusion network 404 and the second reverse diffusion network 408 may sum up to 1. For202205593 26 example, the scale factor of the signal gradient of the first reverse diffusion network 404 may be -1, and the scale factor of the signal gradient of the second reverse diffusion network 408 may be 2. In some embodiments, the weighted sum of the two gradient signals may be expressed as Equation (1) below in accordance with DDPM conventions disclosed in https: / / sander.ai / 2022 / 05 / 26 / guidance.html: ∇^log ^^(^) = ^^∇^log ^^(^) + ^^∇^log ^^(^) , ^^+ ^^= 1 (1)

[0026] Finally, the language used in the specification has been principally selected for readability and instructional purposes, and it may not have been selected to delineate or circumscribe the inventive subject matter. It is therefore intended that the scope of the invention be limited not by this detailed description, but rather by any claims that issue on an application based here on. Accordingly, the embodiments of the present disclosure are intended to be illustrative, but not limiting, of the scope of the invention, which is set forth in the following claims.

Claims

202205593 27 CLAIMS 1. A computer-implemented method of detecting anomalous data that deviates from a first training dataset, comprising: a) generating a plurality of synthetic anomalous images (412) from images of randomly generated noise (416) using a first reverse diffusion network (404) and a second reverse diffusion network (408); b) generating a second training dataset comprising a plurality of images from the first training dataset and the plurality of synthetic anomalous images; c) training a binary classifier using the second training dataset, wherein the binary classifier is configured to classify a received image as normal data or anomalous data that deviates from the first training dataset; and d) using the binary classifier to determine whether a received image is normal data or anomalous data.

2. The computer-implemented method of claim 1, wherein step b) of generating the second training dataset further comprises: generating a plurality of synthetic normal images from images of randomly generated noise using the first reverse diffusion network or the second reverse diffusion network; and adding the plurality of synthetic normal images to the second training dataset.

3. The computer-implemented method of any of the preceding claims, wherein step a) of generating a plurality of synthetic anomalous images comprises: receiving (S50) an input dataset comprising a plurality of unlabelled images; training (S54) a first reverse diffusion network (404) and a second reverse diffusion network (408) using the input dataset; and generating (S58) synthetic anomalous images (412) from images of randomly generated noise (416) using the first reverse diffusion network and the second reverse diffusion network.

4. The computer-implemented method according to any of the preceding claims, wherein generating a plurality of synthetic anomalous images from images of randomly generated noise comprises iteratively adding a combination of a first gradient signal from the first reverse diffusion network and a second gradient signal from the second reverse diffusion network to the images of randomly generated noise.202205593 28 5. The computer-implemented method according to any of the preceding claims, wherein generating a plurality of synthetic anomalous images from images of randomly generated noise comprises iteratively adding a non-linear combination of a first gradient signal from the first reverse diffusion network and a second gradient signal from the second reverse diffusion network to the images of randomly generated noise.

6. The computer-implemented method according to any of the preceding claims, wherein the first reverse diffusion network is larger than the second reverse diffusion network, and the first gradient signal from the first reverse diffusion network comprises a scale factor of <0 and the second gradient signal from the second reverse diffusion network comprises a scale factor of >1.

7. The computer-implemented method according to any of the preceding claims, wherein the first reverse diffusion network is larger than the second reverse diffusion network, and the scale factor of the first gradient signal from the first reverse diffusion network and the scale factor of the second gradient signal from the second reverse diffusion network sum up to 1.

8. The computer-implemented method according to any of the preceding claims, wherein step d) of using the binary classifier to determine whether a received image is normal data or anomalous data comprises: i) receiving (S20) an image from at least one sensor; ii) using (S24) the binary classifier to classify the received image as normal data (204) or anomalous data (208) that deviates from the first training dataset; and iii) repeating steps i) and ii) if the received image is classified as normal data, otherwise sending (S28) a notification to an operator if the received image is classified as anomalous data.

9. The computer-implemented method according to claim 8, wherein step iii) further comprises displaying the received image to an operator if the received image is classified as anomalous data.

10. The computer-implemented method according to claim 8 or 9, further comprising: iv) receiving (S32) input from the operator on whether the received image classified as anomalous data is a true anomaly (212) or a false anomaly (216); and202205593 29 v) sending (S36) a notification to a third party if the received image is a true anomaly, otherwise temporarily disabling (S40) the binary classifier if the received image is a false anomaly.

11. The computer-implemented method according to claim 10, wherein step v) comprises disabling (S36) the binary classifier in the current iteration and repeating steps i) and ii) if the received image is a false anomaly.

12. The computer-implemented method according to claim 10 or 11, wherein step v) further comprises adding (S44) the received image to the second training dataset if the received image is a false anomaly.

13. A data structure generated by the computer-implemented method of any of claims 1 to 12.

14. A data processing system (100) comprising at least one sensor (124) and at least one processor (128) configured to perform the steps of any one of claims 1 to 12.

15. A computer program, a machine-readable storage medium, or a data carrier signal that comprises instructions, that upon execution on a data processing system and / or control unit, cause the data processing system and / or control unit to perform the steps of any one of claims 1 to 12.

Citation Information

Cited By

  • Power equipment defect image diffusion generation method and system

    CN119130853A

  • Multi-modal small sample data driven anomaly detection method and system and storage medium

    CN119205736A