Evaluating data sets based on uncertain regions
By generating uncertainty areas and evaluating data sets based on specific assumptions, the inaccuracy of the misclassification problem of artificial intelligence algorithms in the rail transit field is solved, enabling efficient and reliable data set evaluation that meets high safety standards.
Patent Information
- Application Number
- CN202410322302.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-22
- Filing Date
- 2024-03-20
- Publication Date
- 2024-09-24
AI Technical Summary
Existing artificial intelligence algorithms used for data set evaluation in the field of rail transit have inaccuracies in the misclassification problem, resulting in a decline in safety standards and inability to meet high safety requirements.
By generating uncertainty regions and evaluating the data set based on this, assumptions A1-A4 (data point separation, super-region boundary definition, local uniform distribution and existence of limits) are used to improve the reliability of the misclassification probability, using a different approach than classical statistics Methods are evaluated.
It achieves efficient and reliable evaluation of data sets, significantly reduces the amount of training data, improves the accuracy of misclassification probability, and is suitable for security applications.
Smart Images

Figure CN118690191A
Abstract
Description
Technical Field
[0001] The invention relates to a computer-implemented method for evaluating data sets relating to physical processes, in particular physical processes in the field of rail traffic technology. The invention also relates to a device for data processing and a computer program product.
[0002] The present invention may therefore relate to the technical field of data set evaluation, in particular in the field of rail traffic technology. Background Art
[0003] Many technical functions and physical processes can be described with the aid of data sets. Artificial intelligence (AI) algorithms or machine learning (ML) algorithms are increasingly being used to analyze (but also to generate) these data sets (machine learning will be considered a form of artificial intelligence in the following). These algorithms are also being used for safety applications, for example in the field of rail technology. However, the safety requirements in this area are particularly high, for understandable reasons.
[0004] Currently, using AI algorithms for security applications is still considered challenging because known algorithms are (largely) unable to achieve the corresponding safety certifications.
[0005] However, it can be particularly advantageous here to evaluate the data set (or training data set) in a reliable manner, so that convincing evidence of accuracy or misclassification is obtained.
[0006] However, traditionally, there are essentially only purely statistical methods for this purpose. Currently, the probability of error (and threshold value) determined accordingly in the misclassification is too imprecise to be of practical use, since the probability converges only with the rate (if n is the number of data points, the rate n is expected). However, these estimates to date do not utilize the characteristics of the corresponding problem, such as the form of the distribution, nor do they make any specific assumptions about the problem. One of the consequences of this is that the safety standards of artificial intelligence applications are adapted or lowered. However, this is not desirable from the perspective of safety risks.
[0007] The document “JENS BRABAND ET AL: “On Safety Assessment of Artificialntelligence”, ARXIV.ORG, CORNELL UNIVERSITY LIBRARY, 201OLIN LIBRARY CORNELL UNIVERSITY ITHACA, NY 14853, February 29, 2020 (2020-02-29), XP081611032” describes how to conduct safety assessments on systems with artificial intelligence (AI). Summary of the invention
[0008] There is a need to evaluate data sets in an efficient and reliable manner.
[0009] A method, a device for data processing and a computer program product are described below.
[0010] According to a first aspect of the invention, a method (especially computer-implemented) for evaluating a data set (especially evaluating, checking the probability of misclassification of a data set) is described, the method comprising:
[0011] i) Providing data sets involving technical / physical processes or generating data sets with the aid of technical / physical processes (e.g. detecting and / or simulating signals in rail traffic technology), said data sets having:
[0012] a) a plurality of first data points that can be assigned to a first label (or mark, feature, parameter) (e.g. a red traffic light), wherein the first data points (at least partially) form at least one first local cluster area, and
[0013] b) a plurality of second data points which can be assigned to a second label (eg a green traffic light), wherein the second data points at least partially form at least one second local cluster area,
[0014] wherein the first data point and the second data point are separable (or non-overlapping);
[0015] ii) generating an uncertainty region (e.g., a surface in a two-dimensional problem space having a length L and a width w, or generally a hypersurface having (m-1)-dimensional volume and distance for the m-dimensional case) between at least a first local cluster region of the first data point and a second local cluster region of the second data point; and
[0016] iii) Evaluate the dataset based on the generated uncertainty regions.
[0017] A second aspect of the invention describes a method comprising:
[0018] i) perform a physical process (e.g. detect a signal), (here)
[0019] ii) generating data sets based on physical processes (particularly with the help of artificial intelligence algorithms), and
[0020] iii) Evaluate the dataset as above.
[0021] A third aspect of the present invention describes a device for data processing, which has at least one processor and is configured to execute the above method.
[0022] A fourth aspect of the present invention describes a computer program product having instructions which, when a computer executes the program, cause the computer to execute the above method.
[0023] In the context of this article, the term "data set" refers in particular to a plurality of data (points). The data (e.g. signals, time series, etc.) can also be multidimensional. These data are particularly related to technical functions or physical processes. In one example, the data are detected or measured in the context of the physical process. For example, a signal is detected or the number of axes passing by is measured by an axle counter. In another example, a simulation / emulation data set is simulated, but still relates to a technical function, such as a simulated signal or the movement of an axle. The data set can be a measurement result, but can also be, for example, verification data or training data.
[0024] According to an exemplary embodiment, the present invention may be based on the concept that if multiple hypotheses (see below) are applicable to a dataset (or the dataset is transformed so that these hypotheses are applicable), and the evaluation is based on uncertainty regions between (local) cluster regions of data points with the same label, then the dataset can be evaluated in an efficient and reliable manner.
[0025] These assumptions (or settings) are explained below. Here, n is the size of the data set (or the number of data points), and m is the dimension of the data or the dimension of the problem space of the data set.
[0026] In particular, the following assumptions should be made for the dataset (or should be satisfied (or should be satisfied through data transformation)):
[0027] Assumption A1: In m-dimensional space, n data points are separated by a set of (m-1)-dimensional hyperregions or hyperplanes (L). In two-dimensional space, the hyperregion is, for example, a length, and in three-dimensional space, the hyperregion is, for example, a surface.
[0028] Assumption A2: The superregion and / or the boundary region (w) of the superregion (L) (or surface area / surface volume) can be defined / measured and is finite (in particular, does not have complex edges, such as Mandelbrot (fractals), etc.).
[0029] Assumption A3: Data points that can be assigned to a label tend to form clusters or local cluster regions. In other words, data points of another label (basically) only appear in the vicinity of the super region used for separation (therefore, A3 is the result of A1).
[0030] Assumption A4: Near the boundary region of the hyperregion, the distribution of data points is locally uniform (through the same continuous distribution F). When x approaches zero, F -1The limit of (x) exists and is finite.
[0031] In contrast to known statistical methods, the distribution of data points around (near, adjacent to) the border region (of the superregion) is taken into account in the present case. This method makes it possible to provide a surprisingly efficient evaluation method, which, for example, provides a measure for measuring the reliability of misclassification. This is achieved in a preferred embodiment by using the rate n instead of the rate Convergence (see Statistical Methods above). This is extremely surprising, but can be explained by assumptions (A1-A4) that differ from those of classical statistical learning theory.
[0032] A particular advantage is also that the results are very general, which, for example, allows the amount of training data to be reduced significantly.
[0033] Exemplary Embodiments
[0034] According to one embodiment, the evaluation has:
[0035] Estimate the probability that a data point is assigned to an incorrect label. In other words, one of the first data points is assigned to the second label and / or one of the second data points is assigned to the first label. In a practical example, a red traffic light (as a first label) may be confused or misclassified with a green traffic light (as a second label). Such a misclassification (for example, by an artificial intelligence system) can obviously have serious consequences. Therefore, it is particularly important to determine the probability of misclassification as accurately as possible.
[0036] Surprisingly, the described evaluation method is able to achieve this (at least partially) more efficiently and more reliably than existing statistical methods. In other words, a measure for measuring the probability of a misclassification is determined. In summary, the described evaluation method makes it possible to efficiently and reliably evaluate data sets (especially from the field of rail transportation, in which safety requirements play an important role), as well as training data sets.
[0037] According to another embodiment, the generation of the uncertainty region also has: determining (defining) a finite super region (L) of the uncertainty region. This super region exists and can be clearly determined between cluster regions (see assumptions A1 and A2 above). In this article, the term "super region" is independent of the dimension of the corresponding problem space. The term "super region" mainly refers to a known hyperplane, but the dimension should not be limited, and the dimension depends on the corresponding problem space of the data set. The super region in the two-dimensional problem space is the length, the super region in the three-dimensional problem space is the face (i.e., hyperplane or hypersurface), the super region in the four-dimensional problem space is the volume, and so on.
[0038] In an exemplary example, a plurality of existing methods can be used to determine the super region, such as Delaunay triangulation, limit (value) search method, maximum margin hyperplane method, etc. The above enumeration of this example is not exclusive. Thus, existing efficient methods can be directly implemented.
[0039] According to another embodiment, the generation of the uncertainty region further comprises: determining or estimating a border region (w) of the uncertainty region (or super region). In particular, it is assumed that the distribution of the data points in the border region follows a fixed but unknown random distribution. For example, the (upper) quantile of the minimum distance distribution is estimated as a determination measure. Surprisingly, such an estimation (based on a random distribution) can work particularly efficiently and reliably. An exemplary and detailed embodiment of the estimation of the border region is combined with Figures 2 to 5 See below.
[0040] According to another embodiment, the data set comes from the field of rail traffic technology. The data set relates in particular to at least one of the following technical functions or physical processes: signal, in particular light signal (in particular traffic light), axle counter, switch machine. This can have the advantage that data sets related to economically important technical functions, in particular from the railway field, can be evaluated / characterized with the aid of the method. As mentioned above, the factor of safety is particularly important in this field.
[0041] According to another embodiment, the data set has at least 100,000 data points, in particular at least 500,000 data points, further in particular at least 1,000,000 data points, further in particular at least 10,000,000 data points. Surprisingly, studies have shown that the reliability of the assessment (of misclassification) increases significantly when n (the number of data points) is particularly high.
[0042] This can be illustrated in the following illustrative example. First consider a data set with n=10,000 data points. In statistical learning theory, the limits of the evaluation are in the order of 0.01, but in the present method they are in the order of 0.0001 (both results must be multiplied by an unknown constant in the range of 10-100). However, neither of these can be used for safety applications (in the railway sector). However, if n is now increased to 1,000,000 data points, the results according to statistical learning theory are in the order of 0.001, i.e. still too unreliable for safety applications. However, in the method described, the limits are in the order of 0.000001, which makes it suitable for basic safety demonstrations in this example.
[0043] According to another embodiment, the problem space of the data set (100) is defined in two or more dimensions, in particular three or more dimensions (n). This can have the advantage that the separation of the data points can be improved. In particular, the assumptions can be met well in some cases, or a high degree of separability of the data points can be achieved. This measure can also improve the presence of local cluster areas.
[0044] According to another embodiment, the method has the following features: Reducing the used dimensionality. This can have the advantage that resources (especially computing power) can be saved. Reducing the dimensionality of the problem space can be directly achieved with the aid of existing methods, such as principal component analysis. In other words, the dimensionality of the problem (the dimensionality of the problem space) is reduced, for example by feature extraction, so that only the most important features of the data are considered.
[0045] According to another embodiment, the method has the following features: The used dimension is increased. As explained above, this can improve the separability and the formation of clusters. This can also be achieved directly with the aid of existing methods for transforming data (points).
[0046] It may also be difficult to separate the data points in the sub-data sets. It may be advantageous to transform the data points, in particular to transform them so that the dimensionality is increased. This allows the data points to be separated (separated) more efficiently. Transformations are known which also allow linear separation, but in which additional dimensions must be introduced. This is known, for example, from statistical learning theory and is referred to there as the "kernel technique".
[0047] According to another embodiment, the method comprises: separating at least one sub-data set (or subspace) from the data set (or problem space). In one embodiment, this is particularly performed as follows, so that for the sub-data set, the distribution of data points around the uncertainty region is (essentially) locally uniform.
[0048] According to a further embodiment, the method comprises: combining the evaluation of at least two partial data sets, thereby ultimately enabling a reliable overall result to be obtained despite the separation.
[0049] According to an exemplary embodiment, if at least A1 and A2 are applicable to the data set (or at least credible), the following steps may be performed, for example:
[0050] 1) If necessary, the problem space of the dataset can be divided into subsets (sub-datasets) to which A4 applies. The number and empirical distribution of data points are determined for each separated sub-dataset.
[0051] 2) For each sub-data set (subset), the surface area (surface volume) L and uncertainty width w of the boundary of the hyperplane can be calculated.
[0052] 3) Information about the sub - datasets can be collected and summarized to obtain an overall result for the entire problem space of the dataset.
[0053] According to another embodiment, the evaluation has: determining whether the dataset complies with a predefined safety standard, especially in the field of rail transit technology. This can have the advantage that the dataset (especially the probability of misclassification) can be evaluated efficiently and reliably. For this purpose, especially in the field of rail transport technology, it may be necessary to set a relatively high measure for measuring data reliability, so that traditional statistical methods (see above) cannot meet this measure. However, this can unexpectedly be achieved by the evaluation method described herein.
[0054] In an exemplary embodiment, safety requirements such as 10 -5 should be met. This means that the training - and validation results should not have a higher inefficiency. Assuming that the empirical result R emp is of this order of magnitude. Then the upper limit R emp + Δ may be particularly important,
[0055] so that the actual error rate R is below this threshold, and the statistical confidence value is at least p. That is, it may be necessary to ensure that R emp + Δ < s, then it is known that the safety requirements are met with a confidence value of p. If the validation result is assumed to be appropriate, the results for the length Δ of the confidence interval can be considered for different methods.
[0056] The following table compares the described evaluation method with existing statistical methods such as the Chernoff method, the normal confidence method, and the Vapnik method in this regard. In the evaluation method (Evaluierungsverfahren) described here, the overall result is given, because different from other methods, Δ cannot be separated.
[0057]
[0058]
[0059] According to another embodiment, the method has the use of an artificial intelligence algorithm. In the context of the present application, the term "artificial intelligence" may refer in particular to computer-based methods that simulate the cognitive functions of the human mind, especially learning and problem solving. A variety of different mathematical algorithms and computational models have been developed to implement AI functions, such as "machine learning", "deep learning", neural networks, genetic algorithms, kernel regression, etc. The main purpose of these methods can be seen to be to improve existing algorithms by training with training data, thereby producing a learning effect and improving the algorithm's problem-solving ability over time. This can be done with or without human intervention (e.g., improvement).
[0060] According to another embodiment, the (assessed, in particular regarded as reliable) data set is used as training data for an algorithm for artificial intelligence. In order to achieve an acceptable reliability of the algorithm to be trained, in particular an artificial intelligence algorithm, the training data may be particularly important. According to another embodiment, the training data is provided to the artificial intelligence algorithm.
[0061] It should be noted that embodiments of the invention have been described with reference to various subject matters. In particular, some embodiments have been described with reference to method claims, whereas other embodiments have been described with reference to device claims. However, a person skilled in the art will deduce from the foregoing and the following description that, unless otherwise stated, any combination of features relating to different subject matters, in addition to any combination of features belonging to a certain category of subject matter, is also considered to be disclosed by the present document. This is in particular between features of method claims and features of device claims.
[0062] The aspects defined above and further aspects of the invention result from the examples of various embodiments to be described below and will be explained with reference to examples of various embodiments. The invention is described in more detail below with reference to embodiments, but the invention is not limited to these embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 A data set having a first data point and a second data point is shown, which can each be assigned a label according to an exemplary embodiment of the present invention.
[0064] Figure 2 An uncertainty region between a first cluster region and a second cluster region according to an exemplary embodiment of the present invention is shown.
[0065] Figure 3 The figure schematically shows an uncertainty region between a first cluster region and a second cluster region in a one-dimensional problem space according to an exemplary embodiment of the present invention.
[0066] Figure 4 The uncertain region between the first cluster region and the second cluster region in the two-dimensional problem space according to an exemplary embodiment of the present invention is schematically shown.
[0067] Figure 5 A plurality of uncertainty regions according to an exemplary embodiment of the present invention are schematically shown, wherein the uncertainty regions respectively define a first cluster region.
[0068] Figure 6 A data set with complex separation between cluster regions according to an exemplary embodiment of the present invention is shown.
[0069] Figure 7 An exemplary embodiment of the present invention is shown. Figure 6 The data set is divided.
[0070] Figure 8 The dimensionality reduction and separation of sub-data sets according to an exemplary embodiment of the present invention are schematically illustrated. DETAILED DESCRIPTION
[0071] The views in the accompanying drawings are exemplary. It should be noted that in different figures, similar or identical elements or features are provided with the same reference numerals or reference numerals that differ from the corresponding reference numerals only in the first digit. In order to avoid unnecessary repetition, elements or features that have already been explained in connection with the previously described embodiments will not be explained in the following description.
[0072] Furthermore, spatially relative terms, such as "front" and "rear", "upper" and "lower", "left" and "right", are used to describe the relationship between one element and another element as shown in the figures. Therefore, the spatially relative terms can be applicable to orientations different from the orientations shown in the figures. Obviously, these spatially relative relative terms only refer to the simplification of the description and the orientations shown in the figures, and are not necessarily restrictive, because the device according to the embodiments of the present invention can adopt an orientation different from the orientation shown in the figures, especially when used.
[0073] Figure 1 A data set 100 according to an exemplary embodiment of the present invention is schematically shown. The data set 100 is generated by means of physical processes related to signals in rail traffic technology. The first label is a red traffic light and the second label is a green traffic light. The data set 100 has a plurality of first data points 101 corresponding to the first label (here black dots) and a plurality of second data points 102 corresponding to the second label (here white dots).
[0074] In other words, the dataset 100 contains n data points with simple labels (eg, red and green in the traffic light recognition problem).
[0075] In this example, the problem space of the data set 100 has two dimensions. It is assumed (or believed) that the first data point 101 and the second data point 102 are separable (assumption A1).
[0076] The data set 100 should be evaluated so that an error limit is found for the probability of misclassification. For example, such misclassification occurs when a red point is classified as a green point.
[0077] Furthermore, it is assumed (or believed) that the boundary line between the two sets of data (the first data point and the second data point) is sufficiently smooth, measurable, and has a finite length L. Therefore, highly irregular shapes such as the Mandelbrot set (fractal) are excluded (Assumption A2).
[0078] Finally, it is assumed (or believed) that the data points 101, 102 form a cluster (or called a cluster) with the same label. In other words, around a data point with a certain label, there is a high probability that there are data points with the same label. In the illustrative example, there are no data points with other labels within the triangle of data points with the same label. It is therefore assumed that data points with the same label usually have adjacent data points with the same label (assumption A3). This has been theoretically implied by (A1), but it is not always explained when collecting data. A3 means that there is a sufficiently large and representative data set.
[0079] Figure 2 The uncertainty region U in the data set 100 according to an exemplary embodiment of the present invention is schematically shown. Assuming that the first and second data points are separated, there is no single optimal solution for the classification problem. However, there is a region locally between the cluster region of the first data point and the second data point, in which the classification is uncertain.
[0080] exist Figure 2 The example shows a theoretical boundary L, which is known to exist (A1) and is definable (A2). The purpose is to quantify the uncertainty region U, for example, to determine its area in a two-dimensional problem space. Then the corresponding super region is one-dimensional (length). One way is to calculate the area, which is the length L of the super region multiplied by the width w. According to A3, it is assumed that the probability that data points with different labels are in the same cluster area is small. However, the distribution of data points is uncertain.
[0081] Figure 3The uncertainty region U in the one-dimensional problem space of a data set 100 according to an exemplary embodiment of the present invention is schematically shown. There is a boundary O between the first cluster region (left side) of the first data point 101 and the second cluster region (right side) of the second data point 102. In this one-dimensional example, it is worth noting that the uncertainty region U between the boundary O and the second cluster region.
[0082] Assume that the second data point 102 has a positive iid (independent and identically distributed) distribution. Therefore, the data points are independently and identically distributed as random variables (each random variable has the same probability distribution). It is also assumed that the minimum value of the random variable is a suitable measure for measuring w / 2.
[0083] Exponential distribution: For an exponential iid random variable with parameter λ, the minimum value follows an exponential distribution with parameter nλ, so that the mean is 1 / (nλ). Therefore, the one-sided percentile for significance level p can be determined as (1):
[0084]
[0085] Therefore, (1) at rate n (rather than ) approaches zero rapidly. The other parameters are constant.
[0086] Uniform distribution: For comparison purposes, we can assume that the distribution of the data points is uniform for a given interval. It follows that the minimum value (1,n) is distributed and the mean value is 1 / (n+1). This gives us the following percentiles (2):
[0087]
[0088] Although (2) is significantly different from (1), after performing Taylor expansion, similar results as in (1) can be obtained for small values of (1-p).
[0089] General distribution: The distribution of the minimum is usually not known, however, from extreme value theory it is known that the marginal distribution of the bounded minimum problem is the Weibull distribution. This distribution depends on two parameters, where λ is the scaling parameter and k is the shape parameter, e.g., k=1 represents an exponential distribution:
[0090]
[0091] The percentiles of the Weibull distribution are given by:
[0092]
[0093] This seems similar to (1), however further assumptions about the shape of the distribution may need to be made.
[0094] However, since even the moment of the minimum of the N(0,1) distribution has no closed form solution It may therefore be difficult to obtain at least an approximation of the expected minimum or the variance of the minimum for a general distribution.
[0095] However, the so-called probability integral transform may help. It is known that every continuous probability distribution F can be expressed as X = F -1 (U) is generated from a uniform distribution. This is used, for example, to generate random numbers in general in Monte Carlo simulations. This relationship is known to apply to order statistics and in particular to the minimum value X (1) =F -1 (U (1) ). Thus, if you want to compute quantities of a general distribution, you can use this approach. For the uniform distribution, the exact quantiles of (2) and useful approximations of (1) are known.
[0096] The uniform percentiles are labeled q p . Then the relevant percentile for the general case is given by F -1 (q p ) is given. However, as n increases, q p tends to zero, so F -1 The behavior near zero is particularly important. For continuous positive distributions, we can assume the column expansion: F -1 (x)≈ax. If the distribution F is near zero, there should be no constant term. Then, a is determined only by the derivative (F -1 )'(0) gives that if the probability density of F is f, then (F -1 )'(0) is equal to 1 / F'(0)=1 / f(0).
[0097] Finally, we can conclude (3):
[0098]
[0099] However, (3) implies that for general distributions, percentiles are also similar to (1), or that (1) already has the general form when f(0) is substituted for λ. By comparison, (3) is convincing because for the exponential distribution, f(0) = 0, which means that the expected value is infinite. For the uniform distribution itself, f(0) = 1, so (3) is equal to (2).
[0100] In general, f(0) = 0 simply means that the probability mass is so small that it approaches zero, and the column expansion does not hold, so one cannot use an approximation and must determine the inverse of F directly. However, if more is known about F or about how f behaves near zero, then perhaps a more convincing result for the distribution with f(0) = 0 can be obtained by column expansion of F or by a more detailed study of the marginal properties (e.g., by L'Hôpital's rule).
[0101] However, for all distributions where f(0) ≠ 0, both (3) and (1) show that the convergence rate is in the range of 1 / n, rather than in the range of (in the statistical method) This means, in particular, that a significant improvement is achieved over the above assumptions. For example, much less training data is required.
[0102] Figure 4 Schematically illustrates an uncertainty region U in a two-dimensional problem space of a data set 100 according to an exemplary embodiment of the present invention. Figure 3 This adds another dimension compared to the example of , where we still only analyze the uncertainty region next to the boundary 0. Assuming the length of the linear segment is L, and w represents the approximate percentile of the marginal distribution, then Lw can be used as a local estimate of the uncertainty region.
[0103] like Figure 1 As shown, in order to extend this local estimate to the entire problem, more assumptions may be needed. First, it can be assumed that all marginal distributions are similar locally, but not necessarily equal (A4). Then Figure 2 As shown, it is assumed that the area of the uncertainty region is approximately Lw, where L is the length of the boundary curve. It may be worth discussing whether the uncertainty region will not be underestimated if all n data points are considered and the minimum value of all data points is used.
[0104] Figure 5 A plurality of uncertainty regions are schematically shown, which respectively separate a first cluster region 110 having a first data point from a region 120 having a second data point (see FIG. Figure 1 Data set 100). It can be assumed that the data points are identically and independently distributed and A4 is satisfied. In addition, A1 to A3 also seem to be credible, so the boundary curve can be estimated.
[0105] like Figure 3 and Figure 4, only one side of the boundary curve may be important here. A possibility of estimating the super area (here the length L) can be realized, for example, with the help of Delaunay triangulation (especially automatically). The data points are connected to form triangles, wherein two results are possible: the three vertices of the triangle are assigned the same label, or one of the vertices is assigned a label different from the other two vertices. The triangles with the same label are correctly classified, while the other triangles are close to the boundary. L can be estimated based on the other triangles (for example, by adding up the longest sides of these triangles).
[0106] Figure 6 A data set 100 is shown having complex cluster regions 110, 120 which may be challenging to separate according to an exemplary embodiment of the present invention. Figure 6 The data set is Figure 1 The dataset in has higher complexity and there is no uniform overall distribution.
[0107] Although it can be assumed that the distribution is normal, in reality it may be significantly more complicated, since there is actually a mixture of normal distributions that are truncated at the boundaries. Therefore, assumption A4 no longer applies.
[0108] To overcome this high complexity, the problem space can be partitioned. Figure 7 Shows Figure 6 Detailed view of , wherein a regular division into 16 sub-problems is shown. This is only exemplary, and other divisions, such as triangles, may also be used instead.
[0109] It is known how many data points n exist in each partition i,j , so that the probability of a new data point falling into a partition can be estimated: i,j =n i,j / n. Accordingly, the overall probability of misclassification (overall result) m can be first determined for each partition, for example
[0110] m=∑ i,j p i,j m i,j
[0111] We can assume that the data represents the true distribution, so we can select partitions with only one label, such as Figure 7 3, 4, or 3, 3 in . For some partitions, such as 1, 2 or 4, 2, a simple approach may be chosen, while 2, 4 or 4, 4 may be more challenging. More data can be tested, or it can be assumed that m i,j In this partition it is 1. This is also feasible if the number of data points in the partition is small. Figure 6For example, there may be n=10,000 first data points (red labels) in the data set 100 , of which, however, only one first data point is located in the partition 4 , 4 .
[0112] Assuming the same marginal distributions (in particular, f(0) is nearly the same in all sub-datasets), the overall result simplifies to (in a uniform or equal distribution):
[0113]
[0114] Figure 8 The dimensionality reduction and separation of sub-data sets according to an exemplary embodiment of the present invention are schematically shown. The previous figures involve one-dimensional and two-dimensional problem spaces. However, the number of partitions increases exponentially with the increase in dimensionality. It may therefore be advantageous to consider only the most important features and extract them, for example, by means of principal component analysis. This can reduce the dimensionality.
[0115] exist Figure 8 In the example of , initially there are multiple dimensions (multidimensional, MD). These dimensions are reduced to three dimensions. The sub-data sets 131, 132 (or subspaces) are then separated (or partitioned). Each subspace (here 131) is then considered separately, and m is determined (see above). Finally, the overall result is evaluated by combining the results of the individual spaces.
[0116] It should be noted that the word "having" does not exclude other elements or steps, and the use of the expression "a" does not exclude a plurality. Moreover, the elements described in different embodiments may be combined with each other. It should also be noted that the reference numerals in the claims should not be construed as limiting the scope of protection of the claims.
[0117] Regardless of the grammatical gender of a particular term, people with male, female, or other gender identities are included.
Claims
1. A computer-implemented method, the method comprising: Perform physical processes, and detecting data of the physical process, generating a data set (100) based on the physical process; Evaluating the probability of misclassification of the data set (100), the method comprising the following steps: A data set (100) is provided, the data set having A plurality of first data points (101) can be associated with a first tag, wherein the first data points (101) at least partially form at least one first local cluster region (110), and A plurality of second data points (102) can be associated with a second tag, wherein the second data points (102) at least partially form at least one second local cluster region (120), wherein the first data point (101) and the second data point (102) are separable; generating an uncertainty region between at least a first local cluster region (110) of the first data point (101) and a second local cluster region (120) of the second data point (102); and The data set (100) is evaluated based on the generated uncertainty region by determining a boundary region (w) of the uncertainty region based on a random distribution.
2. The method according to claim 1, wherein: The assessment includes: Estimate the probability that the data point (101, 102) is assigned to the wrong label, In particular, a first data point among the first data points (101) is assigned to the second label and / or a second data point among the second data points (102) is assigned to the first label.
3. The method according to claim 1 or 2, wherein: The generation of the uncertainty region further includes: Determine the finite super-region (L) of the uncertainty region, In particular, the determination of the super area (L) at least includes: Delaunay triangulation method, limit search method, and maximum margin hyperplane method.
4. A method according to any one of the preceding claims, wherein: The boundary region (w) of the uncertainty region is determined based on a random distribution by estimating the quantile of the minimum spacing distribution.
5. The method according to any one of the preceding claims, in, The data set (100) comes from the field of rail transportation technology. The data set relates in particular to at least one of the following: a signal, in particular a light signal, an axle counter, a switch machine.
6. The method according to any one of the preceding claims, in, The data set (100) has at least 100,000 data points, in particular at least 500,000 data points, and further in particular at least 1,000,000 data points.
7. The method according to any one of the preceding claims, in, A problem space of the data set (100) is defined in two or more dimensions, in particular three or more dimensions (n).
8. The method according to any one of the preceding claims, further comprising: In particular, the used dimensions are reduced with the help of principal component analysis.
9. The method according to any one of the preceding claims, further comprising: In particular, the dimensions used are increased by transforming the data.
10. The method according to any one of the preceding claims, further comprising: separating at least one sub-dataset (131, 132) from the data set (100), In particular, this is done such that for the sub-data set (131) the distribution of the data points around the uncertainty region is substantially locally uniform.
11. The method according to any one of the preceding claims, further comprising: Evaluations of at least two sub-data sets (131, 132) are merged.
12. A method according to any one of the preceding claims, wherein: The assessment includes: It is determined whether the data set (100) complies with a predetermined safety standard, in particular in the field of rail traffic technology.
13. A method comprising: Perform physical processes; In particular, generating a data set (100) based on a physical process with the aid of an artificial intelligence algorithm, and The data set (100) is evaluated according to one of the preceding claims. 14 . A device for data processing, comprising at least one processor and being configured to execute the method according to claim 1 . 15 . A computer program product comprising instructions which, when the program is executed by a computer, cause the computer to execute the method according to claim 1 .
