Method for training and/or verifying a robustness of an artificial neural network
Abstract
A device, a method and a computer program for training and/or verifying the robustness of an artificial neural network. The artificial neural network is designed to determine an output variable. The method includes: predefining an input variable for the network which has a plurality of dimensions. For each dimension of the input variable or for each dimension of an output of a linear layer of the artificial neural network without an activation function to which the input variable is mapped by the artificial neural network, the method includes a determination of an upper input variable limit for which a disturbance variable model by which the input variable is able to be mapped to a disturbed input variable has the highest possible value in the dimension, and a determination of a lower input variable limit for which the disturbance variable model has the lowest value possible in the dimension.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A method for training and/or verifying a robustness of an artificial neural network in which the artificial neural network is configured to determine an output variable, the method comprising the following steps: predefining an input variable for the artificial neural network that has a plurality of dimensions, for each dimension of the input variable or for each dimension of an output of a linear layer of the artificial neural network without an activation function to which the input variable is mapped by the artificial neural network, performing: determining an upper input variable limit for which a disturbance model by which the input variable is able to be mapped to a disturbed input variable has a highest possible value in the dimension, and determining a lower input variable limit for which the disturbance variable model has a lowest possible value in the dimension; for each dimension of the output variable, performing: determining a lower output variable limit for the output var
- Claim 2Depends on #1
The method as recited in claim 1, wherein the input variable represents a digital image or a video or a radar image or a LiDAR image or an ultrasonic image or an infrared image.
- Claim 3Depends on #1
The method as recited in claim 1, wherein the output variable represents a signal for actuating a physical system or a computer-controlled machine or a data transmission system or a robot or a vehicle or a household appliance or a driven tool of a production machine or a personal assistance system or an access control system or a monitoring system or a medical imaging system.
- Claim 4Depends on #1
The method as recited in claim 1, wherein: the output variable classifies sensor data for detecting objects in the sensor data or for a semantic segmentation, or the output variable provides a regression for sensor data for detection of objects in the sensor data or for a semantic segmentation; and wherein the objects represent markings or objects on or of road surfaces, including objects representing street signs or pedestrians or vehicles.
- Claim 5Depends on #1
The method as recited in claim 1, wherein for each dimension of the input variable, the lower input variable limit of the dimension for which a first scalar product of a negative unit vector of the dimension with the input variable has the highest possible value is determined, and for each dimension of the input variable, the upper input variable limit of the dimension for which a second scalar product of a unit vector of the dimension with the input variable has the highest possible value is determined.
- Claim 6Depends on #5
The method as recited in claim 5, wherein the artificial neural network provides a bias for the input variable or the output, the lower input variable limit and the upper input variable limit being corrected as a function of the bias.
- Claim 7Depends on #1
The method as recited in claim 1, wherein the output of the linear layer of the artificial neural network without an activation function is defined by a matrix, and for each dimension of the output, a first product is defined which is determined by a multiplication of a negative transpose of the matrix with a unit vector of the dimension, and the method provides that the lower input variable limit of the dimension for which a first scalar product of the first product with the input variable has a highest possible value is determined, and for each dimension of the output, a second product is defined which is determined by a multiplication of a transpose of the matrix with the unit vector of the dimension, and the method provides that the upper input variable limit of the dimension for which a second scalar product of the second product with the input variable has the highest possible value is determined.
- Claim 8Depends on #6
The method as recited in claim 6, wherein the linear layer of the artificial neural network without an activation function is an input layer of the artificial neural network, or a multitude of linear layers without an activation function is situated between an input of the artificial neural network and the output of the linear layer of the artificial neural network without an activation function.
Technical Overview & Description
CROSS REFERENCE The present application claims the benefit under 35 U.S.C. § 119 of German Patent Application No. 10 2021 208 520.2 filed on Aug. 5, 2021. BACKGROUND INFORMATION Artificial neural networks are used to enable autonomous driving and other autonomous actions that machines can perform. The training and verification of the robustness of such artificial neural networks is essential for the reliability and safety of these technical systems. For an integration of systems in which already pretrained artificial neural networks are used and possibly for further training for a special task, a system integrator does not always have access to all aspects of the training process and/or verification process of a subcontractor. It is therefore desirable to enable the training and/or verification of the robustness of such an artificial neural network. One such possibility, for instance, is described in the paper by Eric Wong, Frank R. Schmidt, Jan Hendrik Metzen, J. Zico Kolter “ Scaling provable adversarial defenses ” , which may be obtained at https://arxiv.org/abs/1805.12514. One possibility, for example, is described in the paper by Sven Gowal, Krishnamurthy Dvijotham, Robert Stanforth, Rudy Bunel, Chongli Qin, Jonathan Uesato, Relja Arandjelovic, Timothy Mann, Pushmeet Kohli “ On the Effectiveness of Interval Bound Propagation for Training Verifiably Robust Models ” , which can be obtained at https://arxiv.org/abs/1810.12715. SUMMARY With the aid of the method and the device and the computer program according to the present invention, a robust artificial neural network is trained or the robustness of an artificial neural network is verified. A method for training and/or verifying a robustness of an artificial neural network, the artificial neural network being designed to determine an output variable, is provided according to the present invention. In accordance with an example embodiment of the present invention, the method includes the following: predefining an
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (2)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- Neto et al., NPL1 (
- “
- ANN-based intelligent control system for simultaneous feed disturbances rejection and product specification changes in extractive distillation process
- ”
- Published Nov. 5, 2020 by ASME Publishing 13 Pages (Year: 2020).
- Bagheri et al., NPL2 (
- “
- Input-Output Analysis and Control Design Applied to a Linear Model of Spatially Developing Flows
- ”
- Published 2009 by Elsevier Publishing 27 Pages (Year: 2009).