Generate robust automated learning systems and test trained automated learning systems

By constructing a reverse automated learning system and a dual neural network to detect and verify the robustness of input values, the problem that existing systems are vulnerable to adversarial perturbations is solved, and the robustness of adversarial examples and system robustness are achieved. improvement.

CN110554602BActive Publication Date: 2024-10-01ROBERT BOSCH GMBH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201811268424.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-09-26
Filing Date
2018-10-29
Publication Date
2024-10-01
Estimated Expiration
2038-10-29

AI Technical Summary

Technical Problem

Existing automated learning systems are susceptible to deception in the face of adversarial perturbations. Existing defense methods are costly and may not cover all possible input images, resulting in insufficient system robustness to adversarial perturbations.

Method used

By building a reverse automated learning system, dual neural networks and objective functions are used to detect and verify whether input values ​​will cause changes in output values, thereby determining the system's robustness to small modifications, and optimizing parameters through training data to enhance System robustness.

Benefits of technology

This ensures the system's robustness in the face of all possible adversarial examples, reduces the risk of misclassification, and improves the system's ability to detect and defend against adversarial perturbations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110554602B_ABST
    Figure CN110554602B_ABST
Patent Text Reader

Abstract

Generate a robust automated learning system and test the trained automated learning system. The present invention relates to a method for training a neural network 100, a method for testing a neural network 100, and a method for detecting adversarial examples that may deceive the neural network 100. The superimposed classification is back-propagated through a second neural network 500, and the output value of the second neural network 500 is used to determine whether the input of the neural network 100 is an adversarial example. The setting method of the present invention is based on such utilization of the second neural network 500. The present invention further relates to a computer program and a device configured to implement the method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates in particular to a method for generating an automated learning system with guaranteed robustness against adversarial input modifications. The present invention furthermore relates to an apparatus and a computer program configured to implement the method. Prior art

[0002] German patent application DE 10 2018 200 724, which has not yet been prepublished, discloses a method for determining a universal adversarial perturbation for an automated learning system. The universal adversarial perturbation is determined depending on a number of training images and corresponding target semantic segmentations. The universal adversarial perturbation is configured to be deceptive to a neural network when it is superimposed on any input image of the neural network.

[0003] German patent application DE 10 2018 208 763, which has not yet been prepublished, discloses a method for training a neural network in order to achieve robustness of the trained neural network against adversarial perturbations. The method comprises the steps of training the neural network, determining a general adversarial perturbation, and retraining the neural network depending on the general adversarial perturbation.

[0004] It is possible to make people disappear in images due to adversarial image modifications that are invisible to the human eye, such as in "Universal adversarial perturbations against semantic image segmentation" by Metzen et al. The IEEE International Conference on Computer Vision International Conference on Computer Vision and Computer Vision (ICCV) 2017).

[0005] Advantages of the present invention

[0006] Nowadays, autonomous driving can be based on cameras, which sense the environment of the autonomous vehicle. Intelligent image processing includes neural networks processing images of such cameras in order to control the autonomous vehicle depending on the sensed images. However, it is possible that intelligent image processing, in particular neural networks, are deceived by disturbed images. The perturbation can be an adversarial image modification, such as described above in the prior art section. The perturbed image is able to deceive the neural network, although the modified image does not differ from the original depicted scene for the human eye. Therefore, neural networks are highly vulnerable to adversarial attacks. A possible defense is to retrain the neural network with additionally generated adversarial modifications of the corresponding training images. This is disadvantageous because it is time-consuming and costly to generate image modifications that may deceive the neural network, and there is a high probability that modifications are still there, which are not covered by the manual adversarial examples, but which can still deceive the neural network. In particular, with this approach, it is impossible to provide the robustness of the neural network against all possible adversarial perturbations of the input image.

[0007] The present invention proposes a method for determining whether a neural network is provably robust against perturbations such as adversarial perturbations. Thus, the present invention allows the design of a classifier that is guaranteed to be robust to adversarial perturbations even when an attacker is given full knowledge of the classifier. This guarantee is valid over the entire space of possible adversarial examples of the input. Summary of the invention

[0008] According to a first aspect of the invention, a method for testing an automated learning system is disclosed. What is tested is whether the automated learning system is robust against modifications less than or equal to a given magnitude. This means that all arbitrary and / or possible modifications taking into account the magnitude constraint do not change the output value of the automated learning system to a given target output value. Furthermore, it can be tested whether at least one modification of a test input value of the automated learning system changes an output value of the automated learning system that corresponds to, preferably is equal to, a given target output value.

[0009] The output value of the automated learning system corresponds to the target output value, and it can be understood that the output value is equal to the target output value, or the output value has its maximum value at the same range or location as the target output value.

[0010] A test input value subjected to a small modification causes the automated learning system to output a target output value when it is fed into the automated learning system and propagated through the automated learning system. The modification of the test input value is less than or equal to a given modification magnitude. In particular, the modification is a small modification if and only in this case the magnitude of the modification is less than or equal to a predetermined modification magnitude. The automated learning system comprises at least an input layer and an output layer, the input layer receiving the test input value and the output layer outputting an output value of the automated learning system. The output value of the automated learning system may be characterized as follows: classifying the test input value into at least one of several classes.

[0011] The method for testing an automated learning system comprises the following steps:

[0012] - determining a second, preferably superimposed, output value which depends on the target output value and on an output value which is assigned to the test input value and which can characterize the true classification of the test input value (in particular the label assigned to the test input value). The superimposed output value can characterize the superimposed classification and can characterize the second classification.

[0013] It is proposed that the second output value is a superimposed output value, and wherein it is determined depending on either: a difference between the output value and a target output value, or a difference between a determined automated learning system output value and a target output value.

[0014] - Based on the automated learning system, a second automated learning system is provided. The second automated learning system has the same layers, in particular the same architecture, in particular the same connected layers in reverse order as the automated learning system. Each layer of the second automated learning system corresponds, preferably exactly, to a corresponding layer of the automated learning system.

[0015] The output layer of the second automated learning system corresponds to the input layer of the automated learning system, i.e. the output of the second automated learning system is output by the output layer of the second automated learning system, and the output layer corresponds to the input layer of the automated learning system. The input layer of the second automated learning system corresponds to the output layer of the automated learning system, i.e. the input of the second automated learning system is fed into the input layer of the second automated learning system, and the input layer corresponds to the output layer of the automated learning system.

[0016] - Propagating the second output value via a second automated learning system.

[0017] - determining, depending on the output value resulting from the propagation of the second output value through the second automated learning system, on the modification magnitude, and on the test input value, whether the modification results in an automated learning system output value corresponding to the target output value.

[0018] An advantage of this aspect is that due to the reuse of the automated learning system as a second automated learning system, the robustness of the automated learning system can be efficiently determined.

[0019] If the automated learning system does not determine the target output value but determines the correct output value, the automated learning system is robust to each possible modification with respect to the restriction that the modification is less than or equal to a given magnitude. The target output value may be selected depending on different aspects of the invention. In a first aspect, the given target output value is different from the labeled output value corresponding to the test input value. In a second aspect, the output value is different from the output value determined by the automated learning system depending on the test input value.

[0020] Preferably, the automated learning system comprises hidden layers connected to each other by providing output values ​​as input values ​​for at least one hidden layer. An input layer may be connected to at least one hidden layer. The input layer receives as input at least one output value of a hidden layer and / or an output of the input layer.

[0021] wherein the hidden layers of the second automated learning system are ordered in the reverse order of the hidden layers of the automated learning system; that is, each hidden layer of the automated learning system provides an intermediate value at its output, which is passed to the input of a subsequent hidden layer, and the layer of the second automated learning system corresponding to the subsequent hidden layer provides an intermediate value at its output, which is passed to the layer of the second automated learning system corresponding to the hidden layer. In other words, the signal fed into the input layer of the second automated learning system is propagated through a series of corresponding layers in the reverse order of the layers of the automated learning system.

[0022] The magnitude characterizes the strength or intensity of the modification of the input value. The magnitude may be a value characterizing the modification. An example of a modification may be an adversarial perturbation. The modification may be measured by determining a canonical value of the modification. Preferably, the modification is measured relative to the original input value without modification.

[0023] The architecture of the automated learning system may be described by layers, and preferably by the way the layers are arranged and connected to each other. The same architecture thus means that the second automated learning system comprises the same arrangement of layers similar to the automated learning system.

[0024] The automated learning system may be computer-implemented, for example as a (deep) neural network or a convolutional neural network or a recurrent neural network or a capsule network or a support vector machine, or a Gaussian process.

[0025] What is proposed is to utilize an automated learning system for a machine learning system. A machine learning system may be an intelligent machine, such as a robot, which learns to solve a predefined task, for example by exploring its environment and learning from feedback through its environment or from given feedback.

[0026] It is proposed to determine the objective function depending on the output value of the second automated learning system, and on the modification magnitude, and on the test input value. The determined objective function is then compared with a predetermined threshold. Depending on the result of the comparison it is determined whether a small modification of the test input value does not cause the output value of the test input value to correspond to the target output value. If the determined objective function exceeds the predetermined threshold, it is determined that the small modification does not cause the output value of the test input value to correspond to the target output value.

[0027] Advantageously, the trained automated learning system is tested. Under the trained automated learning system, it is understood that the automated learning system is able to solve a given task, and the manner of solving is self-learned by the automated learning system, particularly captured in the parameterization of the automated learning system. Typically, the automated learning system learns complex relationships within the data, such as sensor values, and utilizes the learned relationships to solve a given task. The trained automated learning system for classification is advantageously parameterized after the training process, so that the complete training data set is preferably correctly classified according to the classes assigned to the training input values. However, the training process should be terminated after a given criterion is reached so that the training data set is not memorized.

[0028] In an alternative embodiment, the method according to the first aspect may be used to endorse an automated learning system.

[0029] The automated learning system may be a classifier. The automated learning system, in particular the classifier, is configured to determine an output value that characterizes the classification of an input value into at least one of several classes. In another embodiment, the automated learning system is configured to perform segmentation or regression.

[0030] The term classification may be understood broadly. Classification may be that the automated learning system assigns at least one class to each input value of the automated learning system, wherein the class characterizes the nature and / or features and / or the object of the input value. Segmentation may be considered as a special kind of classification, wherein for segmentation at least some elements of the input value are assigned to at least one class and semantic regions may be assigned to at least one of several classes. Image captioning and object recognition / detection may also be considered as special kinds of classification. The term regression means that the input values ​​of the automated learning system will be continued by the automated learning system in an appropriate manner.

[0031] The automated learning system input values ​​configured to perform classification or regression are not limited to the given examples, they can be selected as desired. The automated learning system output values ​​configured to perform classification or regression can characterize the classification or regression of the corresponding input value of the automated learning system.

[0032] What is proposed is to publish a robustness proof when a modification does not result in an automated learning system output value corresponding to a target output value.

[0033] Note that the robustness proof may also be generated after implementing other aspects of the invention.

[0034] According to a second aspect of the invention, a method is disclosed for detecting modifications, in particular adversarial examples, of test input values ​​that result in an output value determined by an automated learning system that corresponds to a target output value. The target output value may be different from the determined automated learning system output value.

[0035] The second aspect can be used to detect whether a test input value to an automated learning system may have been modified using small modifications, in particular adversarial examples of the test input value, so that the output value of the test input value, i.e., the output value output by the automated learning system when the test input value is fed into the automated learning system and propagated through the automated learning system, results in an output value corresponding to the target output value.

[0036] For a different aspect of the invention, it is proposed to determine an objective function which depends on the output value of the second automated learning system, and on the modification magnitude, and on the test input value.

[0037] The objective function characterizes a guaranteed lower bound on the solution for determining whether a modification changes the output value to a target output value.

[0038] According to a third aspect of the invention, a method is disclosed for determining the maximum possible magnitude of modification to a test input value that does not cause a change in a corresponding output value to a target output value. The output value is the value output by the automated learning system when the test input value, particularly the test input value subject to modification, is fed into the automated learning system and propagated through the automated learning system.

[0039] This aspect is advantageous because the strongest modification magnitude that does not, for example, misclassify the input into the wrong class can be determined, such that it can be proven that the output of the automated learning system cannot be flipped to the target output value by the modified input value.

[0040] It is proposed to determine several different second output values ​​for several different target output values, respectively, which are different from the determined output value or from the output value assigned to the test input value. The second output values ​​are propagated through an automated learning system, which outputs a plurality of corresponding output values, wherein the objective function is determined depending on the plurality of corresponding output values, i.e. depending on all output values ​​of the plurality of corresponding output values.

[0041] This has the advantage of ensuring that no input value modification within a given modification magnitude will deceive the automated learning system, since no other class can be provably determined by the automated learning system to be caused by the input value modification.

[0042] According to a fourth aspect of the present invention, a method for training an automated learning system is disclosed. The method comprises the following steps:

[0043] - Provide a given modification magnitude and training data, which includes training input values ​​and corresponding training output values. The training output values ​​can represent the true / labeled classification of the corresponding input values.

[0044] -Providing a second automated learning system based on the automated learning.

[0045] - Determine for each training input value a corresponding second output value which depends on the target output value and on the output value corresponding to the corresponding training input value, i.e. the output value output by the automated learning system when the corresponding training input value is fed into the automated learning system and propagated through the automated learning system.

[0046] - feeding the second output value as an input value to a second automated learning system and propagating the second output value through the second automated learning system.

[0047] - determining at least an objective function which depends on a given modification magnitude, and on at least one of the training input values, and on at least one output value of the second automated learning system determined by propagating a second output value corresponding to said at least one of the respective training input values.

[0048] - determining a loss function which depends on the determined objective function and at least on the training output values ​​corresponding to the respective training input values ​​used to determine the objective function.

[0049] - Adjusting the parameters of the automated learning system in order to optimize, in particular minimize, the loss function with respect to a given optimization criterion.

[0050] The loss function measures or characterizes the difference between two values, in particular by a mathematical distance measure. The loss function may be a cross entropy loss, a hinge loss or a zero-one loss. Advantageously, the optimization is performed over a sum of loss functions, wherein each loss function is determined over at least one objective function.

[0051] According to a fourth aspect, the method further comprises the step of determining a maximum modification level of the trained automated learning system using the method according to the third aspect of the invention. If the maximum safe modification level is less than a predetermined second threshold, continuing the training of the trained automated learning system. This may include the step of resetting the values ​​of some or all of the trained parameters of the automated learning system before continuing the training.

[0052] For each aspect, it is proposed that each transformation of a layer is characterized by a corresponding function. The second transformation is characterized by a second function which is related to the conjugate of the function, in particular the Fenchel conjugate function.

[0053] The function can map the input value of the corresponding layer to the corresponding output value or associate the input value set with the corresponding output value set according to the transformation. The function can be defined by some parameters.

[0054] For each aspect, it is proposed to define an indicator function for each layer of the automated learning system, wherein for each layer, if the input of the layer is (directly) connected to exactly one other layer of the automated learning system then the corresponding indicator function is set to zero. If not, the indicator function may be chosen to be equal to a value interpreted as "infinity", wherein the second function is determined depending on the indicator function. Preferably, it is an approximation of the conjugate function of the indicator function.

[0055] Note that if no skip connections are used, the conjugate function concerned is the exact conjugate function of the indicator function.

[0056] For each aspect, it is proposed to determine the objective function depending on a first term and a second term, wherein the first term represents the product of the output of the second automated learning system multiplied by the input value of the automated learning system, and the second term represents a given specification of the output value of the second automated learning system weighted by the modification magnitude.

[0057] Note that when the first specification (e.g. -norm) to determine the magnitude of the modification of the input value of the automated learning system, then the given norm is the dual norm of the first norm (e.g. -norm). The dual norm is defined as: .

[0058] For each aspect, it is proposed that one of the layers is connected to at least two other layers and receives output values ​​of the connected layers as its input values. For each aspect, it is proposed that at least one transformation is characterized by a nonlinear function, in particular a rectified linear function (a so-called ReLu function). For each aspect, it is proposed that at least one transformation is partially a linear transformation characterized by parameters.

[0059] For each aspect, it is proposed that the input values ​​of at least the layer whose transformation is characterized by the non-linear function have a finite set of admissible input values, characterized by an upper bound and a lower bound.

[0060] This has the advantage that the values ​​are bounded, resulting in a more accurate objective function.

[0061] For each aspect, it is proposed that the automated learning system includes a batch normalization layer. The transformation of the batch normalization layer is characterized by shifting the mean and variance of the input values ​​by a given mean and a given variance.

[0062] Note that preferably a given mean and a given variance are given individually for each element of the input values.

[0063] For each aspect, it is proposed that the finite set of permissible input values ​​is furthermore restricted to input values ​​satisfying the linear inequality.

[0064] The set of input values ​​is thereby further restricted. Thus, a more accurate objective function can be determined. In addition, the parameters capture the correlation of bounds and produce tighter bounds around the set of allowable values, and thus bounds on the adversarial polyhedron at the output of the automated learning system, improved performance, especially for large automated learning systems with many layers. In addition, the bounds on the activation function are tighter, resulting in smaller errors, and training leading to more robust automated learning systems can be achieved.

[0065] For each aspect, it is proposed that one of the parameters is a matrix comprising the upper and lower bounds of the previously connected layers.

[0066] For each aspect, it is proposed that the threshold for the objective function is not less than zero, and preferably not greater than a predetermined positive bias.

[0067] The bias characterizes the tolerance or safety margin of a decision, e.g., whether an automated learning system is robust against adversarial examples, thereby increasing the reliability of the objective function.

[0068] For the fourth aspect, it is proposed that layers are grouped and the grouped layers are trained separately from each other.

[0069] This has the advantage of reducing the impact of the magnitude of the modification in the objective function. Later, the entire cascade can be trained.

[0070] In particular, according to each aspect of the present invention, a physical actuator of a technical system can be controlled depending on an output value of an automated learning system. In the case where an automated learning system has been tested according to the first aspect of the present invention, the physical actuator can be controlled at least in parallel or in real time by the output value of the automated learning system. In addition, the input value of the automated learning system can be tested according to the second aspect, regardless of whether it is an adversarial example. If it is determined that the input value is not an adversarial example, the physical actuator can be controlled depending on the output value of the automated learning system, otherwise the output value of the automated learning system can be rejected. The physical actuator can be part of a technical system. The technical system can be, for example, an at least partially autonomous machine, robot, vehicle, machine tool, factory, or flying object (such as a drone). The physical actor can be part of an engine or a brake.

[0071] It is proposed to have a computer-implemented method, wherein at least a processor implements the steps of the method of the different aspects of the invention.The automated learning system may also be implemented in hardware or a mixture of hardware and software.

[0072] In another embodiment, the output value of the automated learning system can be used to determine a control signal or a control command. The control signal or the control command can be used to control a physical actuator. The physical actuator can be controlled corresponding to the control signal or the control command. In another embodiment, the control unit controls the physical actuator. The control unit can be configured to determine the control signal or the control command depending on the output of the automated learning system. It is also possible that the control unit controls the physical actuator directly or indirectly depending on the output value of the automated learning system.

[0073] The input values ​​to the automated learning system may be received from sensors, or may be received externally via the Internet or another data transmission system or communication system.

[0074] In a further aspect of the invention, a computer program is proposed, which is configured to implement any of the previously mentioned aspects of the invention. The computer program comprises commands which, when executed on a computer, cause the computer to implement a method having all its steps according to the different aspects of the invention. Furthermore, a computer readable medium is proposed on which the computer program is stored. Furthermore, a device is proposed, which is configured to implement the method of the invention.

[0075] In another aspect of the present invention, a product is provided, which is obtained by implementing one of the methods of the first to fourth aspects of the present invention.

[0076] Embodiments of the above-mentioned aspects of the present invention are described in the following description with reference to the following figures. BRIEF DESCRIPTION OF THE DRAWINGS

[0077] Figure 1 shows a schematic depiction of a neural network with input values ​​and possible perturbations of the input values, and output values ​​with an adversarial polyhedron;

[0078] Figure 2 Two schematic depictions of output values, each with an adversarial polyhedron and a decision boundary are shown;

[0079] Figure 3 An embodiment of a flow chart of a method for determining an objective function is schematically shown;

[0080] Figure 4 schematically illustrates an embodiment of a flow chart of a method for determining upper and lower bounds of an activation function and a schematic depiction of a neural network with skip connections;

[0081] Figure 5 An illustrative embodiment of a flow chart of a method for propagating input values ​​through a dual neural network is shown, and furthermore a schematic depiction of a dual neural network is shown;

[0082] Figure 6 Schematically illustrates an embodiment of a flow chart of a method for training a neural network by means of an objective function;

[0083] Figure 7 An illustrative embodiment of a flow chart of a method for determining a random Cauchy projection is shown;

[0084] Figure 8 An embodiment of a flow chart of a method for detecting adversarial examples during neural network perturbations is schematically illustrated;

[0085] Fig. 9 An illustrative embodiment of a flow chart of a method for finding a maximum allowable perturbation of input value(s) is shown;

[0086] Fig.10 An illustrative embodiment of a flow chart of a method for determining tighter bounds for an activation function is shown;

[0087] Fig.11 schematically illustrates an embodiment of a flow chart of a method for operating an at least partially autonomous robot using a neural network;

[0088] Fig.12 is an actuator control system having an automated learning system for controlling the actuator;

[0089] Fig.13 It is an actuator control system that controls a partially autonomous robot;

[0090] Fig.14 It is an actuator control system that controls manufacturing machines;

[0091] Fig.15 is an actuator control system for controlling an automated personal assistant;

[0092] Fig.16 is an actuator control system that controls an access control system;

[0093] Fig.17 is an actuator control system that controls the monitoring system;

[0094] Fig.18 An actuator control system for controlling an imaging system, in particular a medical imaging system;

[0095] Fig.19 is a training system configured to train a robust neural network. DETAILED DESCRIPTION

[0096] Figure 1 A schematic depiction of an embodiment of an automated learning system as a neural network 100 is shown. The neural network 100 includes several layers 110. Each layer 110 includes a neuron 120 having an input 150 and an output. The input value received at the input 150 of a neuron 120 is referred to as an activation of the neuron 120.

[0097] The neuron 120 determines an output value depending on its activation. Furthermore, the neuron comprises an activation function 130 which is used to determine an output value depending on the activation of the respective neuron 120. Figure 1 The activation function 130 depicted in is a rectified linear function (so-called ReLu).

[0098] The layers of the neural network 100 are connected to each other (directly) via connections 140. Connections 140 connect the outputs of neurons of a first connected layer with inputs corresponding to neurons of a second connected layer and provide output values ​​as input values ​​to the connected neurons of the second connected layer. Preferably, connection 140 multiplies the output value by a parameter and provides the multiplied output value as input value. One of the layers 110 is an input layer of the neural network 100. The input layer receives input values ​​151 of the neural network 100 as input values. The neural network 100 further comprises an output layer. The output value provided at the output 170 of the output layer is an output value 171 of the neural network 100.

[0099] like Figure 1As depicted in , the layers 110 may be arranged in rows, wherein the layers are connected to subsequent layers accordingly. The neural network 100 may include a batch normalization layer and / or a max pooling layer and / or a linear pooling layer.

[0100] The input values ​​151 of the neural network 100 can be scalars, vectors, matrices, or tensors. For example, the input values ​​can be pictures or audio signals or sensor values. The output values ​​171 can be vectors in this embodiment, which, for example, represent the following: classifying the input values ​​into one of several classes. In this embodiment, each output 170 of the output layer represents one of the classes. Depending on the size of the corresponding layer 110, the activation can be a scalar, a vector, a matrix, or a tensor.

[0101] consider k layer, the neural network is given by the following equation :

[0102]

[0103] The neural network has the input value and , and from the layer j To Layer i Function , and parameterization θ .

[0104] like Figure 1 As shown in FIG. 1 , the input value 151 of the neural network 100 may vary within a given range (input perturbation 160 ). For example, due to measurement noise, the input value may vary, which may be represented by the perturbation value The input value may also change due to adversarial modification of the input value. The modification can be limited to a local area, for example, only modifying the semantic area of ​​the input image, which is also represented by the perturbation value Characterization. Disturbance value Can be a modified maximum or a modified mean.

[0105] exist Figure 1 The maximum disturbance is schematically depicted in FIG. 1 by a bounded input disturbance 160. The bounded input disturbance 160 can be mathematically described as:

[0106]

[0107] in B (x) represents the input constraint for the maximum allowable input disturbance 160, and Modification of the p-norm limits representing the input value x .Revise This can be, for example, noise or an adversarial perturbation of the input value x, where the modification Describe all possible modifications due to, for example, noise or adversarial examples of the input value x. can be considered as a modification of the input value (x) The upper bound of .

[0108] In order to determine whether there is a possibility of deceiving the neural network 100 B (x) Input value x modification , the following optimization problem must be solved:

[0109]

[0110] The input value x has been assigned the given class , and the target class and Target Class can be chosen arbitrarily and is different from a given class The result of equation (3) is a scalar that describes The most adversarial input value within , which is classified as the target class by the neural network , although the input value Belongs to a given class If the scalar is positive, then there is no input value. adversarial examples that deceive the neural network due to misclassification of adversarial examples. If the scalar is positive, then there exists a Guaranteed robustness of all modifications within.

[0111] According to equation (3), the optimization problem can be solved for different classes. If the result of the optimization problem according to equation (3) is positive for all target classes different from the given class, then there are no input values ​​that may be misclassified by the neural network 100. Adversarial modification of the normative limits The important point is that if the minimum value of equation (3) is positive, then There are no adversarial examples.

[0112] Since solving the optimization problem according to Eq. (3) would be very inefficient, the problem can be bounded, in particular by a dual optimization problem. Note that the solution to the dual problem is a feasible dual solution and provides a guaranteed lower bound on the solution to the original optimization problem as given in Eq. (3).

[0113] The dual problem can be constructed by adding constraints to the original optimization problem, for example using Lagrange multiplication.

[0114] For this case, when skip connections are used, the constraints of Equation (3) depend on each other. Therefore, an indicator function is used to determine the dual optimization problem. The indicator function can be given as:

[0115]

[0116] against .

[0117] The "pseudo" conjugate function of the indicator function related to the Fenchel conjugate function is given by:

[0118]

[0119] against . Note that the conjugate function of equation (5) is not the exact conjugate function of equation (4), so is called a "pseudo" conjugate function.

[0120] The "pseudo" conjugate of the indicator function can be upper bounded by:

[0121]

[0122]

[0123] Using the previous equations, the optimization problem according to equation (3) can be rewritten as the lower bound of equation (3). The lower bound is expressed as follows:

[0124]

[0125] in is the value of The dual norm of the norm.

[0126] The term can be written as the objective function J :

[0127]

[0128] The objective function can be efficiently determined by using the dual neural network given by the following equation of Equation (7) J :

[0129]

[0130] in is a dual layer that characterizes the dual transformation through the dual activation function of the layer.

[0131] In the following, two different dual layers are shown as examples. The dual layer can be expressed as:

[0132]

[0133] For ReLu activation function The dual layer of the layer is given by:

[0134]

[0135] in is a diagonal matrix:

[0136]

[0137] and The sets of negative, positive, and zero-crossing activations are labeled respectively. These activation sets depend on the lower and upper bounds of the corresponding activations. , and can be considered as an auxiliary constraint. If the upper bound of the activation is less than zero, then the activation corresponds to the set of activations with negative activations If the lower bound is positive, then the activation corresponds to the set of activations with positive activations If the lower and upper bounds cross zero, then the activation corresponds to the set .exist Figure 4 The method for determining the lower and upper bounds is shown in .

[0138] As already discussed, if the objective function is positive, then there are no input values ​​that deceive the neural network 100. However, if the objective function is negative, it is impossible to ensure that the input value Whether the modification changes the input value classification to the target classification. Figure 2 , the output values ​​171 of the neural network 100 are joined by the output adversarial polyhedron 180. The output adversarial polyhedron 180 is a non-convex set due to the nonlinear activation function, such as the ReLu activation function, of the neural network 100. For simplicity, the nonlinear activation function can be approximated, which leads to the approximation of the output adversarial polyhedron 180.

[0139] The ReLu activation function can be approximated by bounding the ReLu with a convex hull. The convex hull is described by three linear equations, one for negative input values, one for positive input values, and a third linear equation that closes these two linear equations to the region spanned by the convex hull.

[0140] exist Figure 2 The approximation of the output adversarial polyhedron is shown in FIG. 1 by a bounded convex polyhedron 200 .

[0141] also, Figure 2 A decision boundary 201 is shown that intersects the output adversarial polyhedron 180 and the bounded convex polyhedron 200. This implies that the output value 171 of the neural network 100 may be misclassified if it is within the region 200 of the output adversarial polyhedron 180. If the modification of the input value results in a shift of the output value of the neural network 100 into the region 220, this will result in a misclassification of the input value. For this case, the objective function will be negative because the shift of the output value 171 may result in another classification when it intersects the decision boundary 201. For this case, there is no robustness against the modification of the input value misclassification.

[0142] If the second decision boundary 202 only intersects with the convex polyhedron 200 of the restricted boundary, but not with the output adversarial polyhedron 180, then the objective function J is also negative, although the input value Any modification of will not result in misclassification, because all possible output values ​​are within the output adversarial polyhedron 180 that is not divided by the second decision boundary 202. In this case, there will be robustness against input value misclassification modification. However, due to the approximation of the output adversarial polyhedron 180, the objective function (J) Inaccurate.

[0143] Therefore, if the objective function J is negative, it is not possible to determine whether the input modification is likely to deceive the neural network 100. Only for positive objective functions can a guaranteed determination be made that the input value modification does not deceive the neural network 100.

[0144] Figure 3 The objective function used to determine equation (8) is shown J Schematic flow chart 300 of a method.

[0145] The method starts at step 301. In step 301, an input value is provided , and the input value The real classification , and target classification , and given disturbance .

[0146] Then, in step 302, the variables according to equation (3) are determined .

[0147] In the subsequent step 303, the input value propagates through the neural network 100 and determines upper and lower bounds on the activation of the neuron (or activation function) .exist Figure 4 The methods used to determine these limits are shown in method.

[0148] After step 303 is completed, step 304 is implemented. In this step, a dual neural network is constructed according to equation (9). Then, step 305 is implemented. In this step, the variable propagates through the dual neural network according to equation (9). Figure 5 A more detailed description of steps 304 and 305 is given in FIG.

[0149] In step 306, depending on the input value And depends on the output value of the dual neural network And the given disturbance To determine the objective function according to equation (8) J .

[0150] Figure 4 A neural network 100 with skip connections 410 is shown. In this embodiment of the neural network 100, all neurons may have a ReLu activation function. In addition, Figure 4 An embodiment of a flowchart 400 of a method for determining upper and lower bounds on input values ​​of a layer of a neural network 100 having skip connections 410 is shown, in particular a method for determining upper and lower bounds on activations of neurons having a ReLu activation function.

[0151] The method for determining upper and lower bounds for input values ​​of a layer begins at step 401. In this step, an input value is provided and disturbance , and initialize different variables according to the following equations:

[0152]

[0153] For this example, Matrix with all columns labeled Other specifications are also conceivable.

[0154] In step 402, a loop is started on the layers of the neural network. The loop is performed by Initialize, and repeat until i equal k-1 In the first step 403 of the loop, the activation set is determined depending on the values ​​of the upper and lower bounds of layer (i). .

[0155] Then, in step 404, the new term is initialized according to the following equation:

[0156]

[0157] Then (step 405), the existing terms are propagated according to the following equation:

[0158]

[0159] In step 406, the limit is calculated as:

[0160]

[0161] Additionally, in step 406, the loop index is increased i .if i equal , then implement step 407. In this step, the upper and lower bounds are returned. .otherwise , repeat steps 403 to 406. Note that if not every neuron has a nonlinear activation function, there is no need to determine a bound for every neuron.

[0162] Note that if the neural network includes other nonlinear activation functions, then Eq. (16) can be modified with respect to Eq. (6) by replacing Replace each and In addition, the dual transformation must be applied in steps 404 and 405 .

[0163] Figure 5 A dual neural network 510 with dual jump connections 510 is shown. In this embodiment of the dual neural network 510, based on Figure 4 The neural network 100 shown in FIG. 1 is used to create a dual neural network 510. In addition, Figure 5 A method for constructing a dual neural network 510 and propagating input values ​​through the dual neural network 510 according to equation (9) is shown. -c Flowchart 500 of an embodiment of a method.

[0164] The method starts at step 501 by creating a dual neural network 510. Exemplarily, the architecture of the neural network 100 is copied, and the input layer and output layer of the neural network 100 are reconfigured as the output layer and input layer of the dual neural network 510, respectively. This means that when the input value -c When propagated through the dual network 510, the inputs of the dual neural network 510 are propagated backward relative to the propagation of the inputs of the neural network 100. Note that when Figure 5 When the dual network in is rotated 180 degrees, the input value of the dual neural network is propagated forward through the dual neural network relative to the neural network 100.

[0165] In step 502, the activation function of each layer is replaced by the corresponding dual activation function. The dual activation function can be determined according to equation (6) or equations (10) to (12).

[0166] In the subsequent step 503, the input of the dual neural network 510 receives the variable c As input, or according to equation (9), using As input value to determine the objective function J as a solution to the dual problem.

[0167] Thereafter (step 504), the input of the dual neural network 510 is propagated layer by layer through the dual network 500. After the output layer has determined its output value in step 504, in the subsequent step 506, the output value is returned as the output value of the dual neural network 510.

[0168] Figure 6 An embodiment of a flowchart 600 of a method for training a neural network 100 to be guaranteed robust to adversarial perturbations of input values ​​of the neural network 100 is shown.

[0169] The training method starts at step 601. Here, the training data includes N Training input values ,as well as N Training output value , which are assigned to the training input values Output value Can be the corresponding input value The true classification of . The disturbance value is also given in step 601 . Note that including N The training data for input and output values ​​is called a batch. If more than one batch is available, the method can be repeated for each batch. Additionally or alternatively, the method can be repeated several times for the same batch until a given criterion is met. Note that the training method can also be used for unsupervised learning, where according to the unsupervised learning approach, the training data should be structured and / or labeled accordingly. It is also conceivable that each training input value can have more than one corresponding training output value .

[0170] Then, in step 602, the training data is trained on cycle.

[0171] In step 603, for the i Training input value , is different from the actual classification assigned Each desired target classification Generate the variables according to equation (3) . For each desired target category variable can be expressed as a matrix: Each variable identified in the matrix Can be used to determine the i Training input value The objective function J Then, according to Figure 3 The objective function is determined by the method shown in .

[0172] Then (step 604), determine the loss function , which characterizes the objective function determined With the training output value The difference between . Preferably, a 0-1 loss function is used. It is also possible to use several different loss functions for different output values ​​of the neural network 500, objective functions and / or for different utilizations of the training output values. The index of the loop i is increased by one, and steps 603 and 604 are repeated until index i equal N As defined in step 602.

[0173] When the loop on all training data is finished, step 605 is implemented. Here, each determined loss function is summed, and the sum over all loss functions is optimized, for example:

[0174]

[0175] Equation (17) can be optimized by gradient descent. Gradient descent determines the parameters of the neural network (100) Changes In order to minimize the loss function Advantageously, the parameter Changes is used to adjust the parameter, and step 605 is repeated until the parameter The changes identified until it is less than a given threshold.

[0176] Figure 7 Schematically shows a method for increasing efficiency and making Figure 6 Flowchart 700 of a method for accelerating the training of the neural network 100 described in the embodiment of the present invention, in particular, accelerating step 603. It is also possible to use this method to Figure 3 Step 306 is accelerated.

[0177] Recapitulating the objective function defined by equation (8): . The second and third items ( ) depends on the entire dual neural network 500 and is therefore computationally expensive. Figure 7 The method shown in can efficiently approximate these terms.

[0178] In a first step 701, lower and upper bounds for each layer of the dual network 500 are given.

[0179] In the next step 702, using Initialize the matrix with the size .matrix The elements of are sampled from a Cauchy distribution. Note that the matrix Corresponds to limit.

[0180] Then, in step 703, the layer The loop on starts at the loop index i .

[0181] In step 704, in the index Iterate on, where for index j For each value of , determine a new random matrix , and determine This corresponds to propagating through the dual network Random vectors (and additional vectors, such as ).

[0182] After step 704 has been completed, step 705 is implemented. In step 705, the new matrix is ​​determined and (Determined according to equation (19) ). Then, index i Increase by one, and repeat steps 704 and 705 until Until satisfied.

[0183] In step 706, for the term of the ReLu layer and item can be computed more efficiently. For the dual norm equals In the canonical case, this can be computed efficiently as follows:

[0184]

[0185] in yes Standard Cauchy random matrix with the median on the second axis.

[0186] The second term of the ReLu function is expressed as:

[0187]

[0188]

[0189] Figure 8 shows the input value for detecting x 800 is an embodiment of a method for detecting possible adversarial examples.

[0190] In a first step 801, the neural network 100 determines an output value depending on the input value .

[0191] In step 802, the objective function is determined for all possible target classifications according to the following equation J :

[0192]

[0193] In the subsequent step 803, the objective function J Compare with a threshold. For example: , then there are no input modifications that can be misclassified by the neural network 100. If the objective function J is positive, so the comparison is true, which is characterized as follows: There are no modifications to the input image that can be misclassified. Otherwise, if the objective function is not positive, the comparison is false.

[0194] Optionally, step 804 is performed. In this step, the output value of the neural network 100 is released or rejected depending on the comparison result. For example, if the comparison result is true, the output value Can be used to control technical systems (for more information, see Fig.12 Alternatively, when the result of step 803 is true, an authorization signal or a robustness proof may be generated. The authorization signal or the robustness proof may be used to Preferably, the authorization signal and / or the robustness certificate are encrypted to prevent malicious manipulation.

[0195] Fig. 9 Schematic diagram showing the method for determining the maximum disturbance value Flowchart 900 of a method of making it impossible for the output value of the neural network 100 to possibly flip to another class than the determined class by the neural network 100. This can also be viewed as a measure of how far the decision boundary is from the neural network output.

[0196] In a first step 901, the neural network 100 determines an output value depending on the input value .

[0197] In step 902, all possible targets are classified Determine the objective function J .

[0198] Then (step 903), the maximum disturbance value is determined . This can be determined according to the following equation:

[0199]

[0200] In particular, equation (21) can be solved by utilizing Newton's method. Optionally or alternatively, a binary search can be used to solve equation (21). Another way to solve equation (21) can be by incrementally increasing while the objective function remains positive. .

[0201] Optionally, if a maximum perturbation value for a given input value is determined, steps 901 to 903 can be repeated for another input value. If more than two maximum perturbations are determined for different input values, step 904 can be implemented. Here, the determined minimum perturbation value is ascertained and returned. Depending on the perturbation value returned, a robustness proof can be generated. This robustness proof can be used in one of the methods, where a given perturbation value is required. .

[0202] Fig.10 An embodiment of a flow chart 1000 of a method for determining tighter bounds for an activation function, in particular for a neuron having a ReLu activation function, is schematically shown.

[0203] The method starts at step 1001. In this step, a neural network 100 is given, wherein the neural network can be formed by having a ReLu activation function and an exemplary batch normalization layer. In addition, in step 1001, an input value is provided x and disturbance .

[0204] In the subsequent step 1002, for each layer , specifically determine the upper and lower bounds for each neuron in the layer . Figure 4 Alternatively, the upper and lower bounds can be determined by replacing the variable c The upper bound is determined by propagating through the dual neural network 500, and the variables are passed through the positive diagonal matrix for this case. Given, the positive diagonal matrix can be propagated column by column through the dual neural network 500, and the maximum value of each layer of the propagated diagonal matrix scaled depending on the input value (x) is used as an upper bound. The same process can be achieved by propagating And it is done by determining a maximum value therefrom, which is the lower bound.

[0205] Then, in step 1003, in addition to the upper and lower bounds determined in step 1002, the linear inequality is initialized, and the layer Input value is restricted to the following set of permissible input values: :

[0206]

[0207] matrix The initialization is done by choosing the matrix Any size of the first dimension is done, where the second dimension depends on the size of the layer: Matrix The first dimension of can be related to the corresponding layer in the neural network 100 i The positioning is proportional, and for the corresponding layer i The number of neurons is polynomial.

[0208] Preferably, the first layer of the neural network 100 comprises a matrix , which has the advantage of being able to describe a better approximation of the modification of the canonical bounds of the input values. Deeper layers, such as the last few layers, should include the matrix In order to minimize the error between the output adversarial polyhedron 180 and the bounded convex polyhedron 200. In addition, the deeper the layer of the neural network 100 becomes, the matrix The larger the size should be chosen. The matrix ,Add to Additional constraints are used to restrict the set of permissible input values .

[0209] In the matrix In another embodiment, the matrix may be a convolution matrix.

[0210] In step 1004, the matrix There are elements for determining the matrix There are two options for the elements of . In the first option, the elements are randomly sampled from a given distribution (e.g., a Gaussian distribution aligned around the origin). In the other option, the elements are the upper and lower bounds of the previous layer.

[0211] Linear Inequality Vector can be determined according to the following alternative method: the alternative method is to use Propagate row by row through the dual neural network to determine the vector to determine the upper bound (similar to step 1002, which is used to determine the upper bound by making the matrix I The upper and lower bounds are determined by propagating through a dual neural network).

[0212] In the subsequent step 1005, the optimization matrix For the case where the activation function is given by the ReLu activation function, in the matrix The optimization on the elements of can be done by solving the following equations, in particular by depending on the matrix This is done by element-wise gradient descent:

[0213]

[0214] In other embodiments, the step size of the gradient descent may vary depending on the progress of finding the minimum of equation (23).

[0215] If the matrix The elements of are chosen to be the upper and lower bounds of the previous layer, then the matrix The elements of can be optimized according to equation (23) similarly by using gradient descent. Additionally or alternatively, the initialized matrix can be optimized as follows: Multiply by the inverse matrix representing the transformation of the previous layer. Preferably, the inverse matrix is ​​a matrix including in particular the weights of the previous layer The inverse or pseudo-inverse, left inverse or right inverse.

[0216] In step 1005, the matrix is ​​optimized After the elements of . For example, as done in step 1004.

[0217] In an optional subsequent step, the upper and lower bounds may be updated, for example according to step 1002. It is possible to repeat steps 1005 and 1006, since the matrix and vector are linked to each other, and if one of them changes, the other must adapt.

[0218] The corresponding dual layer of the dual neural network i The dual transformation of can be obtained by the matrix Together with the corresponding dual layer i The optimization problem according to Equation (23) must depend on is solved (e.g. by gradient descent) (finding the optimization problem that minimizes Eq. (23) value), is used to determine the dual transformation, which is characterized by equation (23) as the conjugate ReLu function according to the upper bound of equation (6).

[0219] Fig.11 A flowchart 1100 of a method for utilizing a trained neural network 100 for controlling a technical system, such as a partially autonomous robot or vehicle, and optionally detecting adversarial examples before controlling the technical system is depicted. Note that in the subsequent Figures 12 to 18 Different configurations of the technical system are shown by way of example in .

[0220] The method starts at step 1101. This step is used to obtain training data D , including training input images and assigned training output values. The training input images can be images from a camera, and the corresponding training output values ​​can represent the following: classifying the training images into one of several classes, such as classes: pedestrians or different road signs. These training data D Can be provided by the training system, such as Fig.19 As shown in FIG. , the training system is configured according to Figure 6 The neural network 100 is trained using the method described herein.

[0221] Then (step 1102), the neural network 100 Figure 6 The method described above, using the training data of step 1101 D After training the neural network 100, it is used to determine Fig. 9 The maximum perturbation described in The method can be implemented, preferably, each training input image is used to determine the maximum perturbation Step 1102 can be implemented on a server or in the technical system itself. The trained neural network, in particular the parameterization and optional architecture, and the maximum perturbation when applicable It can be transmitted from the server to the technical system and stored in a storage device of the technical system. In addition, the following method can be implemented: the method is used to Figure 3 The trained neural network is tested on whether input image modifications can deceive the trained neural network.

[0222] In step 1103 , a sensor of the technical system, for example a camera, senses the environment and the trained neural network receives sensor values, for example an image.

[0223] In step 1104 , the trained neural network determines an output value depending on the sensor value.

[0224] Step 1105 may be implemented. Here, the received sensor value is checked to see if it is Figure 8 Depending on the result of the detection of the adversarial example, an authentication signal may be generated.

[0225] After step 1104 or step 1105, step 1106 is implemented. Depending on the output value of step 1104, a control signal for the technical system is generated. The control signal may depend on the authentication signal of step 1105. In one embodiment, the control signal is generated only if the authentication signal characterizes that the neural network input is not an adversarial example. In another embodiment, the generated control signal may be discarded depending on the control signal. The engine or brake system of the technical system may be controlled by the control signal of step 1106.

[0226] Fig.12 1 is an embodiment of an actuator 1210 in its environment 1220. The actuator 1210 interacts with an actuator control system 1240. The actuator 1210 and its environment 1220 will be collectively referred to as the actuator system. At preferably evenly spaced distances, the sensor 1230 senses a condition of the actuator system. The sensor 1230 may include several sensors. The output signal S of the sensor 1230 (or the output signal S for each sensor in the case where the sensor 1230 includes multiple sensors) encoding the sensed condition is transmitted to the actuator control system 1240. In another embodiment, the actuator control system 1240 can receive hypothetical sensor values ​​for testing the actuator control system 1240.

[0227] The actuator control system 1240 thus receives a stream of sensor signals S. It calculates, depending on the stream of sensor signals S, a series of actuator control commands A, which are then transmitted to the actuators 1210 .

[0228] The actuator control system 1240 receives a stream of sensor signals S of the sensor 1230 in an optional receiving unit 1250. The receiving unit 1250 transforms the sensor signal S into an input signal x. Alternatively, in the absence of the receiving unit 1250, each sensor signal S can be taken directly as an input signal x. The input signal x can be given, for example, as a selection from the sensor signal S. Alternatively, the sensor signal S can be processed to generate the input signal x. The input signal x can, for example, include a frame of an image, or a video recording. In other words, the input signal x is provided based on the sensor signal S.

[0229] The input signal x is then passed to the automated learning system 1260 , which may be provided, for example, by the neural network 100 .

[0230] The automated learning system 1260 is parameterized by parameters θ, which are stored in and provided by the parameter storage device P.

[0231] The automated learning system 1260 determines an output signal y from the input signal x. The output signal y is transmitted to a conversion unit 1280 which converts the output signal y into a control signal or control command A. The actuator control command A is then transmitted to the actuator 1210 for controlling the actuator 1210 accordingly.

[0232] The actuator 1210 receives the actuator control command A, is controlled accordingly, and performs an action corresponding to the actuator control command A. The actuator 1210 may include control logic that transforms the actuator control command A into another control command, which is then used to control the actuator 1210 .

[0233] In further embodiments, the actuator control system 1240 may include a sensor 1230. The sensor 1230 may be a camera, a radar, or a lidar sensor. The sensor is not limited to those, and other conceivable sensors, such as audio sensors, may also be applicable. In even further embodiments, the actuator control system 1240 may alternatively or additionally include the actuator 1210.

[0234] Furthermore, the actuator control system 1240 may include a processor 45 (or multiple processors), and at least one machine-readable storage medium 46 having stored thereon instructions which, if implemented, cause the actuator control system 1240 to implement a method according to one of the previous figures.

[0235] Alternatively or additionally to the actuator 1210 , embodiments may include a display unit 1210 a which may also be controlled in accordance with the actuator control command A. Alternatively, the display unit 1210 a belongs to a measurement system, wherein an automated learning system is used to determine measurement values ​​depending on input values.

[0236] In a further embodiment of the actuator control system 1240, the actuator control system 1240 includes a robustness proof generator 1247. The robustness proof generator 1247 is configured to generate a robustness proof corresponding to, for example, Figure 8The generated robustness proof may be displayed on the display unit 1210a, or may be used to release the control command A for controlling the actuator 1210. In another embodiment, the actuator control system 1240 includes an adversarial example detector 1248, which performs a Figure 8 method.

[0237] In all of the above embodiments, the automated learning system 1260 may include a classifier configured to classify an input signal x as belonging to one of several predefined classes. In another embodiment, the automated learning system 1260 is configured to classify image regions, or is configured to classify images pixel by pixel.

[0238] Additionally or alternatively, the output signal y or the control signal or the control command A is displayed on the display unit 1210a.

[0239] Fig.13 An embodiment is shown in which an actuator control system 1240 is used to control an at least partially autonomous robot, such as an at least partially autonomous vehicle 1300 , depending on output values ​​of an automated learning system 1260 .

[0240] Sensors 1230 may include one or more video sensors and / or one or more radar sensors and / or one or more ultrasonic sensors and / or one or more lidar sensors and / or one or more positioning sensors (such as, for example, GPS). Some or all of these sensors are preferred, but not necessarily integrated into vehicle 1300.

[0241] Alternatively or additionally, the sensor 1230 may include an information system for determining the state of the actuator system. An example for such an information system is a weather information system that determines the current or future state of the weather in the environment 1220. Further information may be received by the communication system or via the Internet.

[0242] For example, by using the input signal x, the automated learning system 1260 can, for example, detect an object near the at least partially autonomous robot. The output signal y may include information characterizing an object that is located near the at least partially autonomous robot. A control command A may then be determined based on this information, for example, to avoid a collision with the detected object.

[0243] The actuator 1210, which is preferably integrated in the vehicle 1300, may be given by the brakes, propulsion system, engine, drivetrain, or steering of the vehicle 1300. The actuator control command A may be determined such that the actuator (or actuators) 1210 are controlled such that the vehicle 1300 avoids a collision with the detected object. The detected objects may also be classified according to what the automated learning system 1260 thinks they are most likely to be, such as a pedestrian or a tree, and the actuator control command A may be determined depending on the classification.

[0244] In further embodiments, the at least partially autonomous robot may be provided by another mobile robot (not shown), which may move, for example, by flying, swimming, diving or walking. The mobile robot may in particular be an at least partially autonomous lawnmower, or an at least partially autonomous cleaning robot. In all of the above embodiments, the actuator control command A may be determined such that a propulsion unit and / or a steering device and / or a brake of the mobile robot are controlled such that the mobile robot may avoid a collision with the identified object.

[0245] In a further embodiment, the at least partially autonomous robot may be provided by a gardening robot (not shown) which uses a sensor 1230, preferably an optical sensor, to determine the state of plants in the environment 1220. The actuator 1210 may be a nozzle for spraying chemicals. Depending on the identified species and / or the identified state of the plants, the actuator control command A may be determined to cause the actuator 1210 to spray the plants with an appropriate amount of an appropriate chemical.

[0246] In an even further embodiment, the at least partially autonomous robot may be provided by a household appliance (not shown), such as, for example, a washing machine, a stove, an oven, a microwave or a dishwasher. A sensor 1230, such as an optical sensor, may detect the state of an object to be processed by the household appliance. For example, in the case where the household appliance is a washing machine, the sensor 1230 may detect the state of the laundry in the washing machine. The actuator control signal A may then be determined depending on the material of the laundry detected.

[0247] Fig.14 1 is an embodiment in which an actuator control system 1240 is used to control a manufacturing machine 1411, such as a punch cutter, a cutting machine or a barrel drill of a manufacturing system 200, for example as part of a production line. Depending on the output value of an automated learning system 1260 of the actuator control system 1240, the actuator control system 1240 controls the actuator 1210, which in turn controls the manufacturing machine 1413.

[0248] The sensor 1230 may be given by an optical sensor that captures, for example, properties of the manufactured product 1412. The automated learning system 1260 may determine the state of the manufactured product 1412 or the manufactured product 1412 itself from these captured properties. The actuator 1210 controlling the manufacturing machine 1411 may then be controlled depending on the determined state of the manufactured product 1412 for subsequent manufacturing steps of the manufactured product 1412 determined by the automated learning system 1260 or determined by the actuator control system 1240. Alternatively, it is conceivable to control the actuator 1210 during the manufacture of the subsequently manufactured product 1412 depending on the determined state of the manufactured product 1412.

[0249] exist Fig.15 1 is an embodiment in which the actuator control system 1240 is used to control the automated personal assistant 1502. In a preferred embodiment, the sensor 1230 may be an acoustic sensor that receives voice commands of the human user 1501. The sensor 1230 may also include an optical sensor, such as for receiving video images of the user's 1501 gestures.

[0250] The actuator control system 1240 then determines an actuator control command A for controlling the automated personal assistant 1502. The actuator control command A is determined based on the sensor signal S of the sensor 1230. The sensor signal S is transmitted to the actuator control system 1240. For example, the automated learning system 1260 may be configured to implement a gesture recognition algorithm to identify gestures made by the user 1501, or it may be configured to implement a voice command recognition algorithm to identify verbal commands issued by the user 1501. The actuator control system 1240 may then determine the actuator control command A for transmission to the automated personal assistant 1502. It then transmits the actuator control command A to the automated personal assistant 1502.

[0251] For example, the actuator control command A may be determined from an identified user gesture or an identified user voice command recognized by the automated learning system 1260. It may then include information that causes the automated personal assistant 1502 to retrieve information from a database and output the retrieved information in a form suitable for receipt by the user 1501.

[0252] In another embodiment, it is contemplated that, instead of the automated personal assistant 1502, the actuator control system 1240 controls a household appliance (not shown), which is controlled according to the identified user gesture or the identified user voice command. The household appliance may be a washing machine, a stove, an oven, a microwave, or a dishwasher.

[0253] exist Fig.16 16 is an embodiment in which an actuator control system controls an access control system 1602. The access control system may be designed to physically control access. It may, for example, include a door 1601. The sensor 1230 is configured to detect scenes relevant to determining whether access will be granted. It may, for example, be an optical sensor for providing image or video data for detecting a face. The automated learning system 1260 may be configured to interpret the image or video data, for example by matching the identity with known persons stored in a database, thereby determining the identity of the person. The actuator control signal A may then be determined, for example, based on the determined identity, depending on the interpretation of the automated learning system 1260. The actuator 1210 may be a lock that grants access or not depending on the actuator control signal A. Non-physical, logical access control is also possible. In another embodiment, the actuator control system controls a heating system, wherein the actuator control system is configured to determine the climate desired by the owner depending on measured temperature and / or humidity values ​​and optionally on a weather forecast or time of day.

[0254] exist Fig.17 1 is an embodiment in which the actuator control system 1240 controls the monitoring system 1701. This embodiment is largely equivalent to Fig.16 . Therefore, only the different aspects will be described in detail. The sensor 1230 is configured to detect the scene under surveillance. The actuator control system does not necessarily control the actuator 1210, but the display 1210a. For example, the automated learning system 1260 can determine whether the scene detected by the optical sensor 1230 is suspicious. The actuator control signal A transmitted to the display 1210a can then be configured, for example, to cause the display 1210a to highlight objects that are considered suspicious by the automated learning system 1260.

[0255] Fig.18 1 is an embodiment of an actuator control system 1240 for controlling an imaging system 1800, such as an MRI device, an x-ray imaging device, or an ultrasound imaging device. The sensor 1230 may be, for example, an imaging sensor whose sensed image is interpreted by the automated learning system 1260. The actuator control signal A may then be selected based on the interpretation to control the display 1210a. For example, the automated learning system 1260 may interpret a region of the sensed image as being potentially abnormal. In this case, the actuator control signal A may be determined to cause the display 1210a to display the image and highlight the region of the potential abnormality.

[0256] Fig.19An embodiment of a training system 1900 is shown in FIG. 1 , which is used to (re)train the automated learning system 1260. In particular, the training system is configured to implement Figure 6 The training data unit 1901 determines an input signal x, which is passed to the automated learning system 1260. For example, the training data unit 1901 can access a computer-implemented database Q, in which a set T of training data is stored. The set T includes pairs of input signals x and corresponding expected labeled output signals. The training data unit 1901 selects samples from the set T, for example randomly. The input signal x of the selected sample is passed to the automated learning system 1260. The desired output signal is passed to the evaluation unit 1902 .

[0257] The automated learning system 1260 is configured to calculate output signals y from the input signals x. These output signals x are also passed to the evaluation unit 1902 .

[0258] The modification unit 1903 determines the updated parameters depending on the input from the evaluation unit 1902. . Updated parameters is transmitted to the parameter storage device P, and is used to replace the current parameter θ of the automated learning system, or according to the updated parameter to adjust the parameters.

[0259] For example, it is conceivable that the evaluation unit 1902 depends on the output signal y and the desired output To determine the loss function The modification unit 1903 can then use, for example, stochastic gradient descent to calculate the updated parameter To optimize the loss function .

[0260] Furthermore, the training system 1900 may include a processor 1904 (or multiple processors), and at least one machine-readable storage medium 1905 having stored thereon instructions that, if implemented, cause the actuator control system 1900 to implement a method according to an aspect of the present invention.

[0261] Preferably, the processor 1904 includes at least a central processing unit ( C entral P rocessing U nit, CPU), image processing unit ( G raphics P rocessing U nit, GPU) and / or Tensor Processing Unit (T ensor P rocessing U nit, TPU). Alternatively, the processor 1904 can be partitioned into a distributed computer system that is connected to each other via a communication system, such as the Internet. The computer system may include back-end components, such as data servers, and middleware components, such as application / client servers, and front-end components, such as computers with graphic interfaces and / or sensors, such as cameras or sensor networks.

Claims

1. A method for testing an automated learning system (100), wherein the method determines whether a small modification Δ to a test input value x of the automated learning system (100) causes an output value y of the automated learning system (100) to change pred Corresponding to the predefined target output value y targ , wherein a modification to a test input value x is a small modification Δ if its magnitude is less than or equal to a predetermined modification magnitude ∈, The automated learning system (100) comprises an input layer for receiving a test input value x and a layer for outputting an output value y of the automated learning system (100). pred The output layer of the method comprises the following steps: - Determine the output value y depending on the predefined target targ and a second output value c of the reference output value, wherein the reference output value is a) the output value y assigned to the test input value x ture or b) the output value y of the automated learning system (100) pred one of the; - providing a second automated learning system (500) based on the automated learning system (100), wherein each layer of the second automated learning system (500) corresponds to a corresponding layer (110) of the automated learning system (100), wherein the output layer of the second automated learning system (500) corresponds to the input layer of the automated learning system (100), and the input layer of the second automated learning system (500) corresponds to the output layer of the automated learning system (100); - feeding the second output value c into the input layer of the second automated learning system (500), and propagating the second output value c through the second automated learning system (500); - Determining, in dependence on the output value resulting from the propagation of the second output value c through the second automated learning system (500), whether a small modification Δ to the test input value x can cause the output value of the automated learning system (100) to correspond to a predefined target output value y targ , The automated learning system (100) receives input data characterizing a state of a technical system and / or parameters for controlling the technical system, and actuators (1210) of the technical system are controlled depending on output values ​​of the automated learning system (100).

2. The method according to claim 1, wherein the automated learning system (100) is an artificial neural network.

3. The method according to claim 1, wherein a robustness proof is issued if the small modification Δ does not cause the output value of the automated learning system (100) to correspond to the target output value.

4. The method according to claim 3, wherein the physical actuators (1210) of the technical system are controlled as a function of the output value of the automated learning system (100) and as a function of the robustness proof issued in accordance with claim 2.

5. The method according to any one of the preceding claims, further comprising the steps of: - determining the objective function J depending on the output value of the second automated learning system (500), and on the modification magnitude ∈, and on the test input value x; - comparing the determined objective function J with a predetermined threshold; as well as - Determine, depending on the result of the comparison, whether a small modification Δ to the test input value x does not cause the output value y of the test input value x to pred Corresponding to the predefined target output value y targ . The method according to claim 5 , wherein the predetermined threshold for the objective function J is not less than zero.

7. The method according to claim 5, wherein one of a plurality of second output values ​​c is determined for each of a plurality of predefined target output values, wherein each of the plurality of predefined target output values ​​corresponds to a different output value than the reference output value, wherein the plurality of second output values ​​c are propagated through a second automated learning system (500), and the second automated learning system (500) outputs a plurality of corresponding output values, Therein, the objective function J is determined depending on the plurality of corresponding output values.

8. The method according to claim 5, wherein the objective function J depends on the first term and the second term∈||v1|| * It is determined that the first item represents the output of the second automated learning system (500) The product of the input value of the automated learning system (100) is multiplied, and the second term characterizes a predetermined specification of the output value of the second automated learning system (500) weighted by the modification magnitude ε.

9. The method according to claim 8, wherein the second automated learning system (500) is dependent on a predetermined second normative value of the output To determine the first term of the objective function, where the second norm is approximated by a random Cauchy projection, wherein for the approximation, a random Cauchy matrix is ​​propagated through a second automated learning system (500), wherein the second norm is determined by determining the median over the output values ​​of the propagated random Cauchy matrix, and wherein the second term of the objective function J is also approximated by a random Cauchy projection.

10. The method according to claim 5, wherein each layer of the automated learning system (100) calculates an output value by a predetermined corresponding transformation (130) depending on an input value of the corresponding layer, wherein each layer of the second automated learning system (500) calculates an output value depending on a corresponding predetermined second transformation, where the corresponding function f i to characterize each transformation of a layer of the automated learning system (100), where each second transformation is given by a second function Characterizes that the second function is related to the function f of the corresponding layer of the automated learning system (100) i The conjugation of.

11. The method according to claim 10, wherein the function f i The conjugate of is the Fenchel conjugate function 12. The method according to claim 10, wherein an indicator function χ is defined for each layer i of the automated learning system (100) i ,in, For each layer i, if the input of said layer i is connected to exactly one other layer of the automated learning system (100), the corresponding indicator function χ i Set to zero, The second function Depends on the indicator function x i It was determined that Wherein, for each layer i, if the input of said layer i is connected to at least two other layers of the automated learning system (100), the corresponding indicator function χ i Set to zero.

13. The method according to claim 12, wherein the corresponding indicator function x i Every conjugate function of By using the indicator function χ i The conjugate function of To approximate the upper bound of The upper bound is represented by at least two auxiliary functions g and h. The first auxiliary function h represents the indicator function χ i The conjugate function of The upper bound value of The second auxiliary function g is a predefined constraint used to determine the first auxiliary function h.

14. The method according to claim 13, wherein the determination of the target function J is also dependent on the conjugate function of all layers i in the second automated learning system (500) The upper bound of is the sum over the first auxiliary function h.

15. The method according to claim 5, wherein at least one of the layers is connected to at least two other layers and receives output values ​​of the connected layers as its input values, where at least one of the transformations is a nonlinear function, and wherein at least one of the transformations is in part a linear transformation characterized by parameters W,b, wherein the input values ​​of at least the layer whose transformation is a nonlinear function have a finite set of permissible input values, the finite set of permissible input values ​​being characterized by upper and lower bounds u,l, and in, The second transform of the layer whose transform is the ReLu function is defined as follows: a) if the upper bound u is less than zero, then the second transformation of the input values ​​is a mapping of each input value to the value zero, b) if the lower bound l is greater than zero, then the second transformation of the input values ​​is a linear mapping of each input value onto the same value as the input value, c) If the lower bound l and the upper bound u cross zero, then the second transform is a second linear mapping that weights the input values ​​by the parameter α. The method of claim 15 , wherein the non-linear function is a rectified linear function.

17. The method according to claim 15, wherein the parameter α of the second transformation is selected depending on the upper bound u and the lower bound l, where the linear transformation is given as the multiplication of the input value with the matrix W, where the input value is the transposed matrix W of the matrix W T The second transformation of the linear transformation is represented by the multiplication of The automated learning system (100) further comprises a batch normalization layer, The transformation of the batch normalization layer is characterized by shifting the mean and variance of the input values ​​by a predetermined mean and a predetermined variance, The second transformation of the batch normalization layer is characterized by dividing the input value by a predetermined variance.

18. The method according to any one of claims 15 to 17, wherein the finite set of permissible input values ​​is further restricted to input values ​​satisfying a linear inequality Ax≤b, wherein the linear inequality is characterized at least by a first parameter A and by a second parameter b.

19. The method according to claim 18, wherein the first parameter A characterizes the correlation between elements of the input values ​​of the layer, the transformation of which is characterized by a non-linear function.

20. The method according to claim 18, wherein the first parameter is a matrix A, which includes the upper and lower bounds of the previous layer, wherein the matrix A is multiplied by another matrix representing the transformation of the previous layer, The additional matrix is ​​the pseudo-inverse of the weight matrix of the previous layer.

21. The method of claim 18, wherein the T The second parameter b is determined by multiplying the optimization of a vector or matrix given by the input value of the corresponding layer subject to a predetermined constraint.

22. The method according to claim 21, wherein the matrix A is dependent on the transpose A T The second parameter b is determined by minimizing the multiplication of a vector or matrix given by the input value of the corresponding layer subject to a predetermined constraint.

23. A method for determining not to make the corresponding output value y pred The change corresponds to the predefined target output value y targ A method for determining a maximum safe modification magnitude for a small modification Δ of a test input value x, wherein the method further comprises the following steps: - Determine the output value y depending on the predefined target targ and a second output value c of the reference output value, wherein the reference output value is a) the output value y assigned to the test input value x true or b) the output value y of the automated learning system (100) pred one of the; - providing a second automated learning system (500) based on the automated learning system (100), wherein each layer of the second automated learning system (500) corresponds to a corresponding layer (110) of the automated learning system (100), wherein the output layer of the second automated learning system (500) corresponds to the input layer of the automated learning system (100), and the input layer of the second automated learning system (500) corresponds to the output layer of the automated learning system (100); - feeding the second output value c into the input layer of the second automated learning system (500), and propagating the second output value c through the second automated learning system (500); - depends on the test input value x and on the output value resulting from the propagation of the second output value c through the second automated learning system (500), and on the modification magnitude ∈ To determine the objective function J, - determining a maximum safe modification level depending on the objective function J so that the objective function J does not become less than a predetermined threshold, The automated learning system (100) receives input data characterizing a state of a technical system and / or parameters for controlling the technical system, and actuators (1210) of the technical system are controlled depending on output values ​​of the automated learning system (100). The method of claim 23 , wherein the predetermined threshold for the objective function J is not less than zero.

25. The method according to claim 23 or 24, wherein one of a plurality of second output values ​​c is determined for each of a plurality of predefined target output values, wherein each of the plurality of predefined target output values ​​corresponds to a different output value than the reference output value, wherein the plurality of second output values ​​c are propagated through a second automated learning system (500), and the second automated learning system (500) outputs a plurality of corresponding output values, Therein, the objective function J is determined depending on the plurality of corresponding output values.

26. A method for detecting whether an input value x provided by an automated learning system (100) is abnormal, comprising the following steps: determining a maximum safe modification level by using the method according to any one of claims 23 to 25 ∈ ; determining that the provided input value of the automated learning system (100) is abnormal by testing the automated learning system (100) using the method according to claim 1, The scheduled modification level ∈ is chosen to be no greater than the maximum safe modification level ∈ , and wherein a test input value x is selected to be equal to the input value x, and wherein the input value is determined to be abnormal if the method according to claim 1 produces that the output value of the automated learning system (100) can be changed by subjecting the input value to a small modification Δ.

27. A method for training an automated learning system (100), wherein the method comprises the following steps: - Provides a predetermined level of modification ∈ and training data, the training data including training input values ​​x and corresponding training output values ​​y true both; - providing a second automated learning system (500) based on the automated learning system (100), wherein each layer of the second automated learning system (500) corresponds to a corresponding layer (110) of the automated learning system (100), wherein the output layer of the second automated learning system (500) corresponds to the output layer of the automated learning system (100), and the input layer of the second automated learning system (500) corresponds to the output layer of the automated learning system (100); - For each training input value x i , depending on the predefined target output value and depends on the corresponding training input value x i The corresponding output value To determine the corresponding second output value c i ; - The corresponding second output value c i Each of the two is fed into the input layer of the second automated learning system (500), and the corresponding second output value c is propagated through the second automated learning system (500). i , to generate a corresponding output value of the second automated learning system (500); - depends on the predetermined modification magnitude ∈ and on the training input value x i and at least one of the corresponding output values ​​of the second automated learning system (500) to determine at least the objective function J i ; - Determine the loss function L, which depends on the determined objective function J i , and it also depends at least on the training input value x i The at least one corresponding training output value in - adjusting the parameters of the automated learning system (100) for optimizing the determined loss function L, The automated learning system (100) receives input data characterizing a state of a technical system and / or parameters for controlling the technical system, and actuators (1210) of the technical system are controlled depending on output values ​​of the automated learning system (100).

28. The method of claim 27, wherein for each training input value x i , depends on and is determined by the automated learning system (100) depending on the corresponding training input value x i The output value determined Different multiple different output values ​​determine multiple corresponding different second output values ​​ci , The plurality of different second output values ​​c corresponding to each training input value i is fed into the input layer of the second automated learning system (500) and propagated through the second automated learning system (500), which depends on the training input value x i At least one of, and depending on the input value x propagated and trained by the second automated learning system (500) i The at least one corresponding plurality of different second output values ​​c i The objective function J is determined by obtaining at least one of the output values ​​of the second automated learning system (500).

29. The method according to claim 27 or 28, further comprising the steps of: Determining a maximum safe modification level ε of the trained automated learning system (100) using a method according to claim 23 or according to claim 24 or 25 as dependent on claim 23; and If the maximum safe modification level is less than the predetermined second threshold, the training of the trained automated learning system (100) is continued.

30. The method according to claim 27 or 28 above, wherein layers are grouped, wherein the grouped layers are trained separately from each other.

31. A method for controlling a technical system, wherein an automated learning system (100) is trained using a training method in the context of the method according to claim 23 or 24, wherein the trained automated learning system (100) receives input data characterizing a state of the technical system and / or parameters for controlling the technical system, and wherein an actuator (1210) of the technical system is controlled depending on an output value of the trained automated learning system (100).

32. The method of claim 31, wherein the technical system is a robot, a vehicle, a machine or a power tool.

33. The method according to claim 31, wherein the objective function J depends on the first term and the second term∈||v1|| * It is determined that the first item represents the output of the second automated learning system (500) The product of the input value of the automated learning system (100) is multiplied, and the second term characterizes a predetermined specification of the output value of the second automated learning system (500) weighted by the modification magnitude ε.

34. The method according to claim 33, wherein the second automated learning system (500) is dependent on a predetermined second normative value of the output To determine the first term of the objective function, where the second norm is approximated by a random Cauchy projection, wherein for the approximation, a random Cauchy matrix is ​​propagated through a second automated learning system (500), wherein the second norm is determined by determining the median over the output values ​​of the propagated random Cauchy matrix, and wherein the second term of the objective function J is also approximated by a random Cauchy projection.

35. The method according to any one of claims 31 to 34, wherein each layer of the automated learning system (100) calculates an output value by a predetermined corresponding transformation (130) depending on the input value of the corresponding layer, wherein each layer of the second automated learning system (500) calculates an output value depending on a corresponding predetermined second transformation, where the corresponding function f i to characterize each transformation of a layer of the automated learning system (100), where each second transformation is given by a second function Characterizes that the second function is related to the function f of the corresponding layer of the automated learning system (100) i The conjugation of.

36. The method of claim 35, wherein the function f i The conjugate of is the Fenchel conjugate function 37. The method according to claim 35, wherein an indicator function χ is defined for each layer i of the automated learning system (100) i ,in, For each layer i, if the input of said layer i is connected to exactly one other layer of the automated learning system (100), the corresponding indicator function χ i Set to zero, The second function Depends on the indicator function x i It was determined that Wherein, for each layer i, if the input of said layer i is connected to at least two other layers of the automated learning system (100), the corresponding indicator function χ i Set to zero.

38. The method of claim 37, wherein the corresponding indicator function x i Every conjugate function of By using the indicator function χ i The conjugate function of To approximate the upper bound of The upper bound is represented by at least two auxiliary functions g and h. The first auxiliary function h represents the indicator function χ i The conjugate function of The upper bound value of The second auxiliary function g is a predefined constraint used to determine the first auxiliary function h.

39. The method according to claim 38, wherein the determination of the target function J is also dependent on the conjugate function of all layers i in the second automated learning system (500) The upper bound of is the sum over the first auxiliary function h.

40. A method according to any one of claims 31 to 34, wherein at least one of the layers is connected to at least two other layers and receives output values ​​of the connected layers as its input values, where at least one of the transformations is a nonlinear function, and wherein at least one of the transformations is in part a linear transformation characterized by parameters W,b, wherein the input values ​​of at least the layer whose transformation is a nonlinear function have a finite set of permissible input values, the finite set of permissible input values ​​being characterized by upper and lower bounds u,l, and in, The second transform of the layer whose transform is the ReLu function is defined as follows: a) if the upper bound u is less than zero, then the second transformation of the input values ​​is a mapping of each input value to the value zero, b) if the lower bound l is greater than zero, then the second transformation of the input values ​​is a linear mapping of each input value onto the same value as the input value, c) If the lower bound l and the upper bound u cross zero, then the second transform is a second linear mapping that weights the input values ​​by the parameter α.

41. The method of claim 40, wherein the non-linear function is a rectified linear function.

42. The method of claim 40, wherein the parameter α of the second transformation is selected depending on an upper bound u and a lower bound l, where the linear transformation is given as the multiplication of the input value with the matrix W, where the input value is the transposed matrix W of the matrix W T The second transformation of the linear transformation is represented by the multiplication of The automated learning system (100) further comprises a batch normalization layer, The transformation of the batch normalization layer is characterized by shifting the mean and variance of the input values ​​by a predetermined mean and a predetermined variance, The second transformation of the batch normalization layer is characterized by dividing the input value by a predetermined variance.

43. The method of claim 42, wherein the finite set of permissible input values ​​is further restricted to input values ​​satisfying a linear inequality Ax≤b, wherein the linear inequality is characterized by at least a first parameter A and by a second parameter b.

44. A method according to claim 43, wherein the first parameter A characterizes the correlation between elements of the input values ​​of the layer, the transformation of which is characterized by a non-linear function.

45. A method according to claim 42 or 43, wherein the first parameter is a matrix A, which includes the upper and lower bounds of the previous layer, wherein the matrix A is multiplied by a further matrix representing the transformation of the previous layer, The additional matrix is ​​the pseudo-inverse of the weight matrix of the previous layer.

46. ​​The method of claim 45, wherein the T The second parameter b is determined by multiplying the optimization of a vector or matrix given by the input value of the corresponding layer subject to a predetermined constraint.

47. The method of claim 46, wherein the T The second parameter b is determined by minimizing the multiplication of a vector or matrix given by the input value of the corresponding layer subject to a predetermined constraint.

48. An automated learning system (100) obtained by a training method according to one of the methods of claims 27 to 30.

49. A computer program product comprising instructions which, when executed by a computer, cause the computer to carry out the method according to any one of claims 1 to 46.

50. A computer-readable data carrier comprising a computer program according to claim 49.