Auxiliary device and method for automatically generating training data for a time series of sensor data
By dividing and analyzing the time segments of historical sensor data, the most frequently occurring neighborhood patterns are determined, and training data that conforms to the normal operating mode of the technical system is generated. This solves the problems of manual marking and time window setting in the existing technology, and improves efficiency. Quality and accuracy of training data.
Patent Information
- Application Number
- CN202180074175.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-10-29
- Filing Date
- 2021-10-27
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2041-10-27
AI Technical Summary
When existing technologies generate sensor data time series for training artificial intelligence models, manual labeling and time window settings are cumbersome and inaccurate, resulting in low quality training data and difficulty in effectively representing the normal behavior of technical systems.
By obtaining historical sensor data, divide time segments and determine segment types for similar data distribution, iteratively determine the most frequently occurring neighborhood patterns as reference patterns, and select segmented subsequences sorted according to the reference patterns as training data to ensure that the training data reflects Normal operating mode of technical systems.
It achieves the rapid and reliable generation of high-quality training data, ensuring that the artificial intelligence system is properly trained on normal mode time sensor data, avoiding misleading data distribution, and improving the accuracy of abnormal behavior detection.
Smart Images

Figure CN116457740B_ABST
Abstract
Description
[0001] The present disclosure relates to auxiliary devices and methods for automatically generating training data of time series of sensor data, further referred to as temporal sensor data, which are applied to train an artificial intelligence system for detecting abnormal behavior of a technical system.
[0002] In various technical fields, it is necessary to monitor the operation of technical systems. For example, in the field of oil or gas production, heavy industry, transportation and automation systems, a large number of machines, drives and also controllers are monitored in order to detect or even predict abnormal operation and thereby enable, for example, preventive maintenance to ensure high availability of the technical systems.
[0003] It is desirable to efficiently monitor a large number of machines using a monitoring mechanism based at least in part on artificial intelligence (further abbreviated as AI). Such an AI-based mechanism analyzes time series of data obtained by various sensors monitoring multiple parameters of the machine, automatically identifies abnormal behavior, and triggers measures to address the problem causing the abnormal behavior, such as by issuing a warning to an operator.
[0004] EP3706048A1 discloses another AI-based anomaly detection and prediction method.
[0005] The AI models (e.g., machine learning models or neural networks) used to detect anomalies are trained using time series of sensor data representing the operational data of the monitored machines. The performance of these applied AI models and the quality of their outputs depend critically on the selected data used to train the AI models.
[0006] In order to train such AI models, it is usually necessary to provide manually labeled training data. In such labeled data, the labels identify time windows in which the time series data exhibit a specific type of dynamics, i.e., similar data distributions, which indicate abnormal or regular behavior. Manual labeling is a tedious process. In addition, the manual setting of the time window width is often inaccurate and often resolves to setting the time window too wide, thus covering not only the behavior of interest, but also other data.
[0007] EP3671576 A1 discloses a method for determining a time window in time series data of a system component, which time window is further referred to as a segment. Time series data received from at least one component or from at least one sensor is divided into segments of the time series. By using a hidden Markov model, segments showing similar characteristics (i.e. data distribution) are assigned to the same cluster of several clusters. Clusters are constructed based on a predefined probabilistic description model.
[0008] In many application areas, the selection of suitable data for training AI systems has been done manually, either based on random principles (e.g., shuffling methods), or by selecting parts of the overall available time series data of the machine data to be monitored. In the shuffling method, the overall time series data is divided into several segments, and these segments are reassembled in an interchanged order to construct new time series data that are similar to the original overall time series data.
[0009] US2017 / 184643 A1 discloses a training data generation device for providing training data for an electrical equipment monitoring system. The electrical equipment monitoring system determines the power consumption of a single electrical device based on the sum measurement of the power consumption of a large number of different electrical devices. A group is set, that is, a unit in which representative power values and characteristic quantities are determined, so that the power consumption value is shown when the electrical device is used in a normal state. Representative power values and characteristic quantities are determined for each group. A group including power consumption values that are rarely shown when the electrical device is used in a normal form is not set, and training data corresponding to the power consumption values is not generated. The number of training data segments is reduced, but training data corresponding to power consumption values with a high incidence is generated. However, these processes are very time-consuming and susceptible to erroneous or inappropriate data selection. Therefore, the purpose of the present application is to generate training data of a data time series in a fast and reliable manner, which training data represents the normal behavior of the monitored technical system with a high probability.
[0010] This object is solved by the features of the independent claim. The dependent claims contain further developments of the invention.
[0011] A first aspect relates to an auxiliary device for automatically generating training data of a time series of sensor data, further referred to as temporal sensor data, which is applied to train an artificial intelligence system for detecting abnormal behavior of a technical system, the auxiliary device comprising at least one processor configured to execute
[0012] - obtaining at least one historical temporal sensor data measured at said technical system or a similar technical system,
[0013] - dividing the historical temporal sensor data into a sequence of temporal segments and assigning one of a number of different segment types to each segment, wherein each segment type is characterized by a similar data distribution of the temporal sensor data,
[0014] for each segment, iteratively determining a neighborhood pattern of segment types, the neighborhood pattern comprising the segment types of a first number of adjacent preceding segments, the segment type of the segment (i.e. the considered) and the segment types of a second number of adjacent subsequent segments,
[0015] - determining the most frequently occurring neighborhood pattern from all determined neighborhood patterns as a reference pattern for the normal operation of the technical system,
[0016] - selecting a subsequence of segments from the historical temporal sensor data ordered according to a reference pattern, and
[0017] - Output segmented subsequences to be used as training data.
[0018] An artificial intelligence system (further referred to as an AI system) is a device that runs an artificial intelligence-based model, such as a machine learning model that detects abnormal behavior of a technical system. A technical system can be any mechanical device, such as a pump, turbine, press, motor, drive, but it can also be an electronic device, such as a control device, a field device or other equipment in an automated factory. The historical temporal sensor data reflects a technical system in operation over a period of time (e.g., days, months or years), which operates in a common, mainly normal operating mode. The time segmented sequence consists of consecutive segments without any time gap between two segments. If the ratio of a neighborhood pattern related to all neighborhood patterns determined in the historical temporal sensor data is equal to or exceeds a predefined threshold, the neighborhood pattern is determined as a reference pattern, i.e., the most frequently occurring neighborhood pattern. Outputting a segmented subsequence to be applied as training data means, in other words, providing a segmented subsequence as an output of an auxiliary device to be used as input temporal sensor data for training an AI system.
[0019] The selection of segmented subsequences sorted according to reference patterns from historical time sensor data is based on the assumption that the technical system is working in normal operation most of the time. A technical system working in normal operation can be interpreted as the sum of continuous operating modes, where the data distribution changes, but the operating modes appear in the same order and repeatedly. Therefore, determining the most frequently occurring neighborhood patterns and selecting segmented subsequences sorted according to these reference patterns from historical time data is likely to be time sensor data reflecting the technical system in normal operation. Therefore, using these selected segmented subsequences to train an artificial intelligence system shows a high probability of reflecting the desired operating mode. The device also has the advantage that interruptions in the normal mode are filtered out and do not appear in the selected subsequences that are output and used as training data. This ensures that the artificial intelligence system is properly trained on the normal mode time sensor data without misleading the destructive sensor data distribution.
[0020] According to an embodiment, the secondary device further comprises a user interface configured to receive the first and second amounts from a user of the device.
[0021] This allows to tune and optimize the training data generation depending on the input historical sensor data and the different technical systems to be monitored by the trained AI system. If the technical system in normal operation shows few different modes, the first and second quantities can be set to low quantities, while for technical systems showing several normal operation modes, the user can input higher first and second quantities. The first and second quantities can have the same value or different values.
[0022] According to the invention, the secondary device is configured such that the neighborhood pattern consists of at least two different segmentation types.
[0023] This allows simple neighborhood patterns to be defined in historical temporal sensor data. Thus, at most one of the first and second quantities can have a value of zero.
[0024] According to a further embodiment, partitioning the historical temporal sensor data into a sequence of time segments and assigning one of several different segment types to each segment is performed by applying an unsupervised segmentation algorithm to the historical temporal sensor data.
[0025] The unsupervised segmentation algorithm is based on an unsupervised clustering algorithm applicable to time series data. The unsupervised segmentation algorithm automatically determines clusters of segments that show similar data distributions within the segments. The types of clusters are not predefined, but they are determined by the unsupervised segmentation algorithm itself. The segments themselves consist of consecutive temporal sensor data points. As a result of this feature, the historical temporal sensor data consists of consecutive segments of temporal sensor data, where neighborhood segments have different segmentation types.
[0026] According to a further embodiment, the auxiliary device is configured such that the selection of the segmented subsequence is performed by applying a greedy algorithm depending on neighborhood patterns on the historical temporal sensor data.
[0027] A greedy algorithm is any algorithm that follows a problem-solving heuristic that makes a local optimal choice at each stage. A greedy algorithm provides fast processing of a sequence of allocations according to a predefined pattern (here, a reference pattern).
[0028] According to further embodiments, the segments of each segment type may have various time lengths.
[0029] This allows for the fact that only the order of the segment types of the segments is relevant, not the duration of each segment.
[0030] According to a further embodiment, several subsequences ordered according to the same reference pattern are concatenated into an extended sequence, and the extended subsequence is output as training data.
[0031] This provides longer training data in time and includes more variation in the training data relative to the temporal length of the segments.
[0032] According to a further embodiment, the auxiliary device is configured such that at least two different reference patterns are determined and a separate segment subsequence is selected for each different reference pattern and each of these subsequences is output, wherein each subsequence comprises segments ordered according to the respective reference pattern.
[0033] This provides the advantage that more variations in the historical temporal sensor data are included in the training data. These variations correspond to different normal operating modes, ie sub-modes of the normal operation of the technology showing different data structures.
[0034] According to a further embodiment, the secondary device is configured such that subsequences of different reference patterns are concatenated to form a hybrid spread subsequence and the hybrid spread subsequence is published as output.
[0035] Especially in the case where the segments according to a reference pattern are very short in time, subsequences of longer duration can be assembled by such concatenation.
[0036] According to a further embodiment, the auxiliary device is configured such that a connected portion of two concatenated subsequences of the mixed extended subsequence of the temporal sensor data is resampled to smooth the transition between the concatenated subsequences.
[0037] This prevents any discontinuities and / or breaks in the output segments (i.e., the training data) that could lead to incorrect interpretations in the artificial intelligence system.
[0038] A second aspect relates to a training system for training an artificial intelligence system for detecting abnormal behavior of a technical system, the training system comprising: a data providing unit configured to prepare and provide historical time sensor data measured at the technical system or a similar technical system; an auxiliary device having the aforementioned features; and an artificial intelligence system comprising at least one processor configured to receive segmented subsequences and apply the segmented subsequences to train an artificial intelligence function for detecting abnormal behavior.
[0039] A third aspect relates to a method for automatically generating training data of a temporal series of sensor data, further referred to as temporal sensor data, which is applied to train an artificial intelligence system for detecting abnormal behavior of a technical system, comprising
[0040] - obtaining at least one historical temporal sensor data measured at an installation or a similar technical system,
[0041] - dividing the historical temporal sensor data into a sequence of temporal segments and assigning one of a number of different segment types to each segment, wherein each segment type is characterized by a similar data distribution of the temporal sensor data,
[0042] for each segment, iteratively determining a neighborhood pattern of segment types, the neighborhood pattern comprising the segment types of a first number of adjacent preceding segments and the segment type of the segment (i.e. under consideration) and the segment types of a second number of adjacent subsequent segments,
[0043] - determining the most frequently occurring neighborhood pattern from all determined neighborhood patterns as a reference pattern for the normal operation of the technical system,
[0044] - selecting a subsequence of segments from the historical temporal sensor data ordered according to a reference pattern, and
[0045] - Outputs segmented subsequences for application to training data.
[0046] A fourth aspect relates to a computer program product directly loadable into the internal memory of a digital computer, comprising software code portions for performing the steps of the method when the product is run on said digital computer.
[0047] The present invention will be explained in more detail with reference to the accompanying drawings. Similar objects will be marked with the same reference numerals.
[0048] Figure 1 An application scenario for automatically generating training data is schematically illustrated.
[0049] Figure 2 An auxiliary device according to an embodiment of the present disclosure is schematically illustrated.
[0050] Figure 3 A flow chart for illustrating a method according to an embodiment of the present disclosure is shown.
[0051] Figure 4 The selection of segment subsequences according to an embodiment of the present disclosure is schematically illustrated.
[0052] Figure 5 shows historical temporal sensor data and selected subsequences according to another embodiment of the present disclosure; and
[0053] Figure 6 A block diagram for illustrating the structure of a technical system according to the present disclosure is shown.
[0054] Note that in the detailed description of the following embodiments, the drawings are schematic only, and the illustrated elements are not necessarily shown to scale. Rather, the drawings are intended to illustrate the functions and collaboration of the components. Here, it is to be understood that any connection or coupling of a functional block, device, component, or other physical or functional element may also be achieved by an indirect connection or coupling, such as via one or more intermediate elements. The connection or coupling of an element or component may be achieved, for example, by a wired, wireless connection, and / or a combination of a wired and wireless connection. The functional block may be implemented by dedicated hardware, by firmware, by software, and / or by a combination of dedicated hardware and firmware or software.
[0055] Figure 1 An application scenario including a technical system 100, a data providing unit 200, an auxiliary device 300 and an AI system 400 is shown. The technical system 100 can be, for example, a pump for oil and gas production, a turbine in a power plant, a mechanical, hydraulic or electrical drive in heavy industry or a production plant, or an electronic device in an automation system, such as a controller or a field device. Physical parameters of the technical system 100, such as pressure, temperature, vibration, throughput, are measured by sensors monitoring the technical system 100 over time. The sensor signals measured over time are further referred to as time series of sensor data or simply time sensor data. The time sensor data may also indicate a derived parameter resulting from a combination of several sensor signals and represent a derived parameter of the technical system 100. The resulting one or several time series of sensor data are transmitted and stored in the data providing unit 200, such as in a database. The stored time sensor data is named historical time sensor data because the data was measured in the past. An example of historical sensor data is in Figure 1 It is illustrated by reference numeral 201.
[0056] The auxiliary device 300 is configured to receive the historical sensor data 201, and divide the historical temporal sensor data 201 into segments, and assign a segment type from a set of different segment types to each segment. At least one segment subsequence is selected, which includes segments ordered according to a reference pattern and is published as an output to be used as training data to train an artificial intelligence system 400 for detecting abnormal behavior. Such a trained AI system can be used to monitor the same technical system 100 that delivers the historical temporal sensor data for generating training data, or it can be used to monitor a technical system similar to the technical system 400.
[0057] One or several selected subsequences of the historical temporal sensor data 201 represent a technical system 100 that shows normal behavior. These subsequences are selected based on the assumption that the technical system 100 operates in a normal mode very often and that temporal sensor data representing a normal mode should appear very often in the acquired historical sensor data 201. In a technical system such as an industrial machine, a normal mode can be interpreted as the sum of continuous sub-patterns in which the data distribution changes, but the sub-patterns appear in the same order and repeatedly. Based on this assumption, the auxiliary device determines a reference pattern of a continuous sequence of segment types that appears most frequently in all historical temporal sensor data. Each segment represents a time window of temporal sensor data that shows a sensor data distribution characterized by one of several sub-patterns, and the assigned segment type represents the type of the sub-pattern. The sequence of determined continuous segment types is called a neighborhood pattern.
[0058] The auxiliary device 300 selects a segmented subsequence sorted according to the reference pattern and outputs the segmented subsequence as training data, which can be input into the AI system 400 to train the AI system for detecting abnormal behavior of the technical system 100 or similar technical systems.
[0059] The trained AI system 400 can monitor the operation of the technical system 100 marked by the dashed arrow, as temporal sensor data detected during the current operation of the technical system 100 is obtained as input by the AI system 400, which delivers a probability value indicating whether the technical system 100 is operating normally or abnormally.
[0060] Figure 2 The auxiliary device 300 comprises at least one processor configured to form a data input interface 301, a selection unit 302, a data output interface 303 and a user interface 304. The data input interface 301 is configured to obtain the historical temporal sensor data 201, for example in the form of a sequence of vectors of temporal sensor data, wherein each vector refers to a dedicated pointing time and the elements of the vectors represent sensor values for each monitoring parameter measured by the sensor or sensor data derived from a combination of measured parameters.
[0061] The selection unit 302 is as follows Figure 3 The historical temporal sensor 201 data is processed as described in more detail in , and one or several selected segmented subsequences in the historical temporal sensor data 201 are transmitted via the data output interface 303 to be applied as training data.
[0062] In order to adapt the selection unit 302 to historical sensor data of different technical systems, which show different behaviors and in particular different numbers of normal behavior patterns, the user interface 304 is configured to receive settings, such as values of the first and / or second number segments considered for evaluating the neighborhood.
[0063] The selection unit 302 is configured to perform segmentation and selection of subsequences by applying AI-based functions.
[0064] The steps performed by the selection unit 301 and the corresponding method for automatically generating training data for temporal sensor data are described in Figure 3 Shown in.
[0065] In a first step S1 , historical temporal sensor data measured at the technical system 100 or a similar technical system are obtained via the data input interface 301 .
[0066] In step S2, the historical temporal sensor data is divided into a sequence of time segments. One of several different segment types is assigned to each segment. Each segment type is characterized by a similar data distribution of the temporal sensor data. The historical temporal sensor data is divided into a sequence of time segments by applying an unsupervised segmentation algorithm to the historical temporal time series data, and one of several different segment types is assigned to each segment.
[0067] In an example embodiment of an unsupervised segmentation algorithm, the algorithm divides historical sensor data into sensor data units and determines features through a dedicated feature definition, i.e., data sequences with similar data distributions. Units with similar features are assigned to a cluster. Clusters are constructed based on a predefined probabilistic description model, preferably a hidden Markov model. Those sensor data units that show the same state of the hidden Markov model for a certain continuous amount of time are assigned to a segment.
[0068] A further preferred embodiment of the unsupervised segmentation algorithm applies a feature-based dynamic network, wherein the relationship between two different sensors for each combination of two different sensors and for each time window is estimated by determining a matrix of a multivariate probability model. Each precision matrix element represents the relationship between two sensors. The time course of the precision matrix elements is determined by solving an optimization problem under the constraints that the precision matrix should be sparse (i.e., a low-rank matrix) and that the precision matrix elements should change smoothly over time.
[0069] In step S3, the selection unit 302 traverses the detected segments to identify a repetitive sequence of segment types called a neighborhood pattern. In detail, for each segment, a neighborhood pattern of segment types is determined and stored, the neighborhood pattern comprising a first number of adjacent preceding segments and a segment type of the segment actually considered and a second number of adjacent subsequent segments. In other words, for each segment, the segment type of the successor segment or more correctly the successor segment and the segment type of the processor segment are determined. As a result, for each detected segment, there is a history of its successor and predecessor segment types. The neighborhood pattern consists of at least two different segment types. The first number of adjacent preceding segments and the second number of adjacent subsequent segments can be predefined and adapted via the user interface 303.
[0070] In step S4, the most frequently occurring neighborhood pattern from all determined neighborhood patterns is determined as a reference pattern. The reference pattern represents the normal operation of the technical system. In other words, based on the historical results, the AI function of the selection unit 302 traverses the detected predecessor and successor results and looks for segments that appear in the same order and frequently appear in the historical temporal sensor data 201. The detected neighborhood pattern is determined and can no longer be manually expanded from the right or from the left.
[0071] In step S5, at least one subsequence of segments ordered according to the reference pattern is selected from the historical sensor data. Preferably, the selection of the subsequence of segments is performed by applying a greedy algorithm depending on the neighborhood pattern on the historical temporal sensor data. The greedy algorithm solves a maximization problem and provides the historical temporal sensor data as input of a subsequence of temporal sensor data of maximum length in time, which subsequence consists only of segments according to the reference pattern and has no temporal gaps between them. This means that the selected subsequence consists of the historical sensor data segments showing the reference pattern without any gaps between these segments. If a segmentation type that is not part of the reference pattern or that is not in the order specified in the reference pattern follows the sequence of segments according to the reference pattern, the selected subsequence of segments is terminated.
[0072] Several reference patterns can be detected from among the neighborhood patterns.The criterion of a neighborhood pattern as a reference pattern is, for example, a threshold value of the minimum share of the considered neighborhood pattern occurring in all determined neighborhood patterns of the historical time data.
[0073] By concatenating several subsequences ordered according to the same reference pattern into an extended subsequence, the length of the selected segmented subsequence can be extended, i.e., time extension, and then the extended subsequence is output as training data. In the case of determining several reference patterns, the length of the subsequence can be extended by concatenating subsequences that refer to different reference patterns. Figure 4Details of the structure and content of selected segment subsequences are shown in .
[0074] In the final step S6, the segmented subsequences are output for applying the segmented subsequences as training data to, for example, Figure 1 The AI system 400 depicted in .
[0075] In a simplified way, Figure 4 At least a part of historical temporal sensor data 201 divided into consecutive segments 211, ..., 222 is shown. The historical temporal sensor data 201 consists of several temporal sensor data SD1, ..., SDn, for example, representing different parameters of a technical system. A segment type among segment types A, B, C, D is assigned to each of the segments 211, ..., 222. For example, segment type A is assigned to segment 211 and segment type B is assigned to segment 212.
[0076] The neighborhood pattern is determined by considering, for each segment, the segment types of a first number of segments adjacent to and preceding the segment under consideration, the segment type of the segment under consideration, and the segment types of a second number of segments adjacent to and following the segment under consideration. The minimum number of segment types in a neighborhood pattern is two. In the example provided, the first number is zero and the second number is one. As a result, the neighborhood pattern consists of two segment types, namely the segment type of the segment under consideration and the segment type of the adjacent subsequent segment. For example, in Figure 4 , the detected neighborhood pattern for the considered segment 211 is the neighborhood pattern (A, B), for the considered segment 212, the neighborhood pattern is (B, A), for the considered segment 216, the neighborhood pattern is (A, C), for the considered segment 217, the neighborhood pattern is (C, D), and so on.
[0077] The neighborhood pattern (A, B) consists of an ordered pair of segment types, where segment type A follows segment type B. The neighborhood pattern (A, B) is frequently found and determined as a reference pattern. Further, a neighborhood pattern (D, A) consisting of an ordered sequence of segment types D, A is determined as a frequently occurring reference pattern. The detected reference pattern is then mapped back to the historical time sensor data 201 by marking those segments that are sorted according to the reference pattern. Subsequence SS1 is generated by the reference pattern (A, B) and includes segments 211 and 212, and subsequence SS2 is generated by the reference pattern (D, A) and includes segments 218 and 219.
[0078] The segments of the segment type can have various lengths, see for example the segments 211, 216, 219, 221 of segment type B. Similar subsequences corresponding to the same reference pattern can show different time lengths. In one option, the greedy algorithm can determine the longest subsequence in time, which subsequence only includes instances of the segment ordered according to the reference pattern, such as SS1. In a second option, the greedy algorithm selects an extended subsequence of all adjacent subsequences ordered according to the same reference pattern. Figure 4 In the example, segments 211, 212, 213, 214, and 215 are concatenated into an extended subsequence ESS1, and segments 218, 219, 220, and 221 are concatenated into an extended subsequence ESS2. Subsequences ESS1 and ESS2 are output as training data.
[0079] As a further option, subsequences of different reference patterns are concatenated to form a hybrid extended subsequence, and the hybrid extended subsequence is output as training data. Figure 4 In the example shown in , a hybrid extended subsequence MESS1 is selected by concatenating an extended subsequence ESS2 comprising two adjacent subsequences of the reference pattern containing segment types D, A with a subsequence comprising segments 221, 222 according to the reference pattern (A, B). The connected parts of the two concatenated subsequences of the hybrid extended concatenated subsequence of the temporal sensor data are reassembled to smooth the transition between the different subsequences. Such reassembly is performed in the example historical temporal sensor data 210 at the end of the subsequence 13 between the segments 214 and 215.
[0080] Figure 5 Another embodiment of the historical time sensor data 202 is shown, which includes time sensor data SD11, time sensor data SD12 until time sensor data SD1n. The historical time sensor data 202 is segmented, and a segment type is assigned to each segment indicated by different shading. A selected subsequence 203 of the historical time sensor data 220 is output as training data. In this embodiment, two reference patterns are determined, the first one includes an ordered sequence type (A, B), and the second one includes an ordered sequence type (A, C). According to the reference pattern (A, B), the subsequence SS10 includes two segments. The extended subsequence ESS10 includes several continuous segments showing the reference pattern (A, B). A mixed extended subsequence MESS10 is generated by concatenating an extended subsequence of the reference pattern (A, B) with a subsequence of the reference pattern (A, C) and with another extended subsequence of the reference pattern (A, B). The connected part of the concatenated subsequence is resampled to smooth the data distribution in this part of the subsequence.
[0081] Each of the subsequence SS10, the mixed extended subsequence MESS10 or the extended subsequence ESS10 and the further subsequences marked as selected subsequences 203 may be output and used as training data.
[0082] Figure 6 An embodiment of a training system 500 for training an artificial intelligence system 400 for detecting a technical system (e.g. Figure 1 The technical system 500 comprises a data providing unit 200 configured to prepare and provide historical time sensor data measured at the technical system 100 or a similar technical system, as described above in Figure 2 The auxiliary device 300 and the artificial intelligence system 400 described in the embodiment of the present invention are described in detail. The artificial intelligence system 400 includes at least one processor configured to receive the segmented subsequences output by the auxiliary device 200 and apply the segmented subsequences to train an artificial intelligence function for detecting abnormal behavior. The resulting anomaly detection model learns the normal behavior of the technical system. In the testing phase of the anomaly detection model, each input time sensor data distribution that deviates significantly from the recommended training data will be classified as an anomaly.
[0083] The training system 500 additionally provides a means for manually selecting training data through a user interface, such as user interface 304. The user can manually mark the requested training data or adjust the proposed subsequences as automatically obtained by the auxiliary device. The algorithm in the background merges these subsequences and remembers the combination of merged segments and applies it to later incoming data.
[0084] It is to be understood that the above description of the examples is intended to be illustrative and that the concepts described are susceptible to various modifications. For example, the concepts described can be applied to provide training data for artificial intelligence systems of different types of machines or machine systems. The historical temporal sensor data may include a time series of data measured by different sensors measuring different parameters used to monitor a machine or machine system.
Claims
1. Auxiliary device (300) for automatically generating training data of a temporal series of sensor data, further referred to as temporal sensor data, which is applied to train an artificial intelligence system for detecting abnormal behavior of a technical system (100), comprising at least one processor configured to execute - obtaining (S1) historical temporal sensor data measured at one or more technical systems (100), - partitioning (S2) the historical temporal sensor data into a sequence of temporal segments and assigning to each segment one of a number of different segment types, wherein each segment type is characterized by a similar data distribution of the temporal sensor data, for each segment, iteratively determining (S3) a neighborhood pattern of segment types, said neighborhood pattern comprising the segment types of a first number of adjacent preceding segments and the segment type of said segment and the segment types of a second number of adjacent subsequent segments, - determining (S4) the most frequently occurring neighborhood pattern from all determined neighborhood patterns as a reference pattern for normal operation of the technical system, - selecting (S5) from the historical temporal sensor data a subsequence of segments ordered according to a reference pattern, and - output (S6) the segmented subsequences to be used as training data, The neighborhood pattern consists of at least two different segment types.
2. The auxiliary device of claim 1, further comprising a user interface (304) configured to receive the first and second quantities from a user.
3. An auxiliary device according to any of the preceding claims, wherein the partitioning of the historical time sensor data into a sequence of time segments is performed by applying an unsupervised segmentation algorithm to the historical time sensor data and assigning one of several different segment types to each segment.
4. An auxiliary device according to claim 1 or 2, wherein the selection of the segment subsequence is performed by applying a greedy algorithm depending on neighborhood patterns on historical temporal sensor data.
5. An auxiliary device according to claim 1 or 2, wherein the segments of each segment type can have various time lengths.
6. The auxiliary device according to claim 1 or 2, wherein several subsequences ordered according to the same reference pattern are concatenated into an extended subsequence, and the extended subsequence is output as training data.
7. An auxiliary device according to claim 1 or 2, wherein at least two different reference patterns are determined, and a separate segment subsequence is selected for each different reference pattern, and each subsequence is output, wherein each subsequence comprises segments ordered according to the corresponding reference pattern.
8. The auxiliary device according to claim 7, wherein subsequences of different reference patterns are concatenated to form a hybrid spread subsequence, and the hybrid spread subsequence is output.
9. The assistive device of claim 8, wherein a connected portion of two concatenated subsequences of the hybrid extended concatenated subsequence of the temporal sensor data is resampled to smooth the transition between the subsequences.
10. A training system (500) for training an artificial intelligence system (400), the artificial intelligence system (400) being used to detect abnormal behavior of a technical system (100), the training system (500) comprising: a data providing unit (200) configured to prepare and provide historical temporal sensor data measured at one or more technical systems (100), The auxiliary device (300) according to any one of claims 1 to 9, and the artificial intelligence system (400) comprises at least one processor configured to - receiving a subsequence of segments, and -Apply segmented subsequences to train artificial intelligence functions for detecting anomalous behavior.
11. A method for automatically generating training data of a temporal series of sensor data, further referred to as temporal sensor data, which is applied to train an artificial intelligence system (400) for detecting abnormal behavior of a technical system (100), comprising - obtaining (S1) historical temporal sensor data measured at one or more technical systems (100), - partitioning (S2) the historical temporal sensor data into a sequence of temporal segments and assigning to each segment one of a number of different segment types, wherein each segment type is characterized by a similar data distribution of the temporal sensor data, for each segment, iteratively determining (S3) a neighborhood pattern of segment types, said neighborhood pattern comprising the segment types of a first number of adjacent preceding segments and the segment type of said segment and the segment types of a second number of adjacent subsequent segments, - determining (S4) the most frequently occurring neighborhood pattern from all determined neighborhood patterns as a reference pattern for normal operation of the technical system, - selecting (S5) from the historical temporal sensor data a subsequence of segments ordered according to a reference pattern, and - output (S6) the segmented subsequences to be used as training data, The neighborhood pattern consists of at least two different segment types.
12. A computer program product directly loadable into the internal memory of a digital computer, comprising software code portions for performing the steps of claim 11 when said product is run on said digital computer.
