Method for recognizing theft of trained machine learning modules, and theft reporting system
Patent Information
- Application Number
- EP2022814463
- Authority / Receiving Office
- EP · EP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-12-03
- Filing Date
- 2022-11-15
- Publication Date
- 2024-08-21
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Training neural networks for complex machines is time-consuming and requires significant resources, making it challenging to protect these models from unauthorized dissemination and theft, especially when third-party models are involved.
A method that involves adding a digital watermark to the output signals of a machine learning module by an additional output layer, allowing verification of authenticity without access to the training process or model parameters, and can be applied flexibly to various machine learning models, including those from third-party providers.
This approach effectively protects machine learning modules from unauthorized use by embedding a digital watermark in the output signals, ensuring only authorized copies are used for machine control, without requiring access to the training process or model parameters, and can be implemented in edge computing environments.
Smart Images

Figure 1.1
Abstract
Description
[0001] Description
[0002] Method for theft detection of trained machine learning modules and theft detection system
[0003] Complex machines, such as robots, engines, production systems, machine tools, gas turbines, wind turbines, or motor vehicles, generally require complex control and monitoring processes for productive and stable operation. For this purpose, machine learning techniques are frequently used in modern machine control systems. For example, a neural network can be trained as a control model to control a machine in an optimized manner.
[0004] However, training neural networks or other machine learning modules to control complex machines often proves to be very complex. Large amounts of training data, considerable computing resources, and a great deal of specific expert knowledge are generally required. Therefore, there is great interest in protecting trained machine learning modules against uncontrolled or unauthorized distribution and, in particular, in detecting theft.
[0005] To detect theft of trained neural networks, it is known to mark their neural weights with a unique digital watermark before they are placed on the market. Using the watermark, an existing neural network can then be checked to determine whether it originated from the user of the watermark. However, the above method requires access to the neural weights or to the training of the neural network. Neural networks trained by third parties cannot be easily marked in this way.
[0006] It is an object of the present invention to provide a method for theft detection of a trained machine learning module and a corresponding theft detection system which are more widely applicable.
[0007] This object is achieved by a method having the features of patent claim 1, by a method having the features of patent claim 8, by a theft alarm system having the features of patent claim 11, by a computer program product having the features of patent claim 12 and by a computer-readable storage medium having the features of patent claim 13.
[0008] According to a first aspect of the invention, for theft detection of a first machine learning module, which is trained to output an output signal for controlling a machine based on an input signal, a masking information is read in, by which a part of the output signal that is tolerable with regard to the control of the machine is specified. Furthermore, the first machine learning module is extended by an additional output layer, into which
[0009] - the output signal is fed in,
[0010] - which inserts a digital watermark into the tolerable part of the output signal based on the masking information and
[0011] - which outputs the modified output signal.
[0012] The extended first machine learning module is then transmitted to a user. When a second machine learning module is received, the masking information is used to check whether the tolerable portion of an output signal from the second machine learning module contains the digital watermark. Depending on the test result, an alarm signal is then issued. Detection of the digital watermark can usually prove the authenticity of the second machine learning module.
[0013] A particular advantage of the invention is that, in order to protect the first machine learning module, no access to its training process or its model parameters is required. Instead, fully trained machine learning modules, particularly those from third parties, can also be protected against uncontrolled distribution. Furthermore, the method according to the invention is flexible in application and, in particular, is not limited to artificial neural networks. In many cases, the method according to the invention can be used as a black-box method.
[0014] According to an advantageous embodiment of the invention, output signals output by the additional output layer can be counted by means of a counter. The digital watermark can then be inserted into the tolerable part of a respective output signal depending on a counter reading of the counter. In this way, the output signal can, for example, be cyclically modified or modulated. In particular, the watermark or parts thereof can only be inserted into a then-present output signal after a predetermined number of output signals. In this way, it can be effectively made more difficult for an unauthorized person to deduce the digital watermark from the output signals.
[0015] According to a further advantageous embodiment of the invention, different parts of the digital watermark can be selected depending on the counter reading and inserted into the tolerable part of a respective output signal. In this way, the digital watermark can, for example, be distributed cyclically across multiple output signals. For a digital watermark represented by a bit string of length N, it is possible to decide which of the N bits is inserted into a respective output signal by calculating a division remainder of the counter reading with respect to N.
[0016] According to a further advantageous embodiment of the invention, the digital watermark can be inserted into the tolerable part of a respective output signal depending on a random process.
[0017] According to a further advantageous embodiment of the invention, an interface between the first machine learning module and the additional output layer can be protected against external access. In particular, the additional output layer with the first machine learning module can be encapsulated in a preferably signature-protected data or program container, e.g., a Docker container. In this way, the watermark protection can be secured against unauthorized manipulation.
[0018] According to a further advantageous embodiment of the invention, the second machine learning module can be used to control the machine, wherein the alarm signal is output if the tolerable part of the output signal of the second machine learning module does not contain the digital watermark. In this way, it can be ensured in many cases that only authorized copies of a machine learning module are used or can be used to control the machine.
[0019] According to a further advantageous embodiment of the invention, the second machine learning module can be installed and controlled in an edge computing environment. Furthermore, it can be checked whether the tolerable part of the output signal of the second machine learning module contains the digital watermark. Depending on the test result, the second machine learning module can then be used to control the machine.
[0020] According to a second aspect of the invention, for theft detection of a first machine learning module, which is trained to output an output signal for controlling a machine based on an input signal, a test input signal that does not occur when controlling the machine is determined. The test input signal is fed into the first machine learning module, and a resulting output signal from the first machine learning module is stored as a digital watermark. The first machine learning module is then transmitted to a user. When a second machine learning module receives a test input signal, it is fed into the second machine learning module, and a check is carried out to determine whether the resulting output signal matches the stored digital watermark. An alarm signal is then output depending on the test result.
[0021] According to an advantageous embodiment of the above method, the first machine learning module can be expanded by an additional input layer. The additional input layer can check an incoming input signal to determine whether it matches the test input signal and, if the test result is positive, cause the first machine learning module to output an output signal by which characteristic properties of the first machine learning module are specified. The characteristic properties can be used as a digital watermark or as a part thereof. For example, in an artificial neural network, a number of neural layers, a number of neurons, or other topology or model parameters can be specified as characteristic properties.Since such model parameters are very likely not to completely match in independently created machine learning modules, a larger set of such model parameters can in many cases serve as a digital fingerprint of a machine learning module and thus also as a watermark.
[0022] According to a further advantageous embodiment of the method according to the invention, an output signal containing the digital watermark can be output via a different output channel than an output signal not containing the digital watermark. In particular, an output signal containing the digital watermark or a signal derived therefrom can be transmitted to the machine as a control signal, while an output signal not containing the digital watermark is output via a service channel. In this way, the machine to be controlled can be protected from control by inauthentic machine learning modules.
[0023] The methods according to the first aspect of the invention and the second aspect of the invention can also be combined. In this way, the reliability of theft detection can be increased in many cases.
[0024] To carry out the method according to the invention, a theft alarm system, a computer program product and a computer-readable, preferably non-volatile storage medium are provided.
[0025] An embodiment of the invention is explained in more detail below with reference to the drawing. In each case, in a schematic representation
[0026] Figure 1 shows a control of a machine using a machine learning module,
[0027] Figure 2 a theft detection system for a machine learning module,
[0028] Figure 3 shows a first embodiment of a test of a machine learning module according to the invention,
[0029] Figure 4 shows a second embodiment of a test of a machine learning module according to the invention,
[0030] Figure 5 shows a third embodiment of a test of a machine learning module according to the invention.
[0031] Insofar as the same or corresponding reference symbols are used in the figures, these reference symbols designate the same or corresponding entities which can be implemented or configured in particular as described in connection with the relevant figure.
[0032] Figure 1 schematically illustrates the control of a machine M by means of a trained machine learning module NN. The machine M can be, in particular, a robot, a motor, a production system, a machine tool, a turbine, an internal combustion engine, and / or a motor vehicle, or can comprise such a machine. For the present exemplary embodiment, it is assumed that the machine M is a production robot.
[0033] The machine M is controlled by a machine control CTL coupled to it. The latter is shown in Figure 1 as external to the machine M. Alternatively, the machine control CTL can also be fully or partially integrated into the machine M.
[0034] The machine control CTL has one or more processors PROC for executing method steps according to the invention as well as one or more memories MEM for storing data to be processed.
[0035] The machine M has a sensor system S that continuously measures operating parameters of the machine M as well as other measured values. The measured values determined by the sensor system S are transmitted from the machine M to the machine control system CTL, together with other operating data of the machine M, in the form of operating signals BS.
[0036] The operating signals BS comprise in particular sensor data and / or measured values from the sensor system S, control signals and / or status signals from the machine M. The status signals each specify an operating status of the machine M or of one or more of its components, preferably over time. In particular, the operating signals BS can be used to quantify a power, a speed, a torque, a movement speed, an exerted or acting force, a temperature, a pressure, a current resource consumption, available resources, pollutant emissions, vibrations, wear and / or a load on the machine M or on components of the machine M. The operating signals BS are preferably each represented by numerical data vectors and transmitted in this form to the machine control system CTL.
[0037] The machine control CTL also has a trained machine learning module NN for controlling the machine M . The machine learning module NN is trained to output an output signal based on an input signal, by means of which the machine M can be controlled in an optimized manner. A variety of efficient machine learning methods are available for training such a machine learning module NN, in particular reinforcement learning methods. The training of the machine learning module NN will be discussed in more detail below. The machine learning module NN can in particular be implemented as an artificial neural network.
[0038] To control the machine M, the operating signals BS or operating data derived therefrom are fed as input signals into an input layer of the trained machine learning module NN. An output signal AS is derived from the input signal by the trained machine learning module NN. The output signal AS or a signal derived therefrom is then transmitted to the machine M as a control signal in order to control it in an optimized manner.
[0039] Figure 2 illustrates a theft detection system for a machine learning module NN .
[0040] The machine learning module NN, e.g., an artificial neural network, is trained in a training system TS to generate an output signal based on an input signal, which can be used to control the machine M in an optimized manner. The training is carried out using a large amount of training data TD, which originates from a database DB or from the machine M or a similar machine.
[0041] Training is generally understood to mean the optimization of a mapping of an input signal from a machine learning module to its output signal. This mapping is optimized during a training phase according to predetermined criteria that have been learned and / or are to be learned. A prediction error can be used as a criterion, particularly for prediction models, and the success of a control action for control models. Through training, for example, the network structures of neurons in a neural network and / or the weights of connections between the neurons can be adjusted or optimized so that the predetermined criteria are met as closely as possible. Training can therefore be viewed as an optimization problem.
[0042] For such optimization problems in the field of machine learning, a variety of efficient optimization methods are available, in particular gradient-based optimization methods, gradient-free optimization methods, backpropagation methods, particle swarm optimization, genetic optimization methods, and / or population-based optimization methods. In particular, artificial neural networks, recurrent neural networks, convolutional neural networks, perceptrons, Bayesian neural networks, autoencoders, variational autoencoders, Gaussian processes, deep learning architectures, support vector machines, data-driven regression models, k-nearest neighbor classifiers, physical models, and / or decision trees can be trained.
[0043] In the case of the machine learning module NN intended to control the machine M, operating signals of the machine M contained in the training data TD are fed to it as input signals. During training, neural weights of the machine learning module NN are adjusted by an optimization method mentioned above such that the machine M is controlled in an optimized manner using the output signals derived by the machine learning module NN from the input signals. To evaluate optimized control of the machine M, a performance of the machine M, e.g. a power, an efficiency, etc., can be measured and used as an optimization criterion.
[0044] The trained machine learning module NN is then transmitted from the training system TS to a security system SEC. The security system SEC serves the purpose of protecting the trained machine learning module NN against uncontrolled or unauthorized distribution by imprinting a digital watermark WM on the trained machine learning module NN or by determining a digital fingerprint of the trained machine learning module NN, which can be used as a digital watermark WM.
[0045] The machine learning module NN (WM) secured by the watermark WM is transferred by the security system SEC to a cloud CL, in particular to an app store of the cloud CL, by means of an upload UL.
[0046] The protected machine learning module NN (WM) is downloaded from the cloud CL or its app store via a download DL by a user who wants to control the machine M with the help of this machine learning module NN (WM).
[0047] For this purpose, the protected machine learning module NN (WM) is installed by the machine controller CTL in an edge computing environment or in the cloud CL and executed in a runtime environment of the edge computing environment or the cloud CL. Operating signals BS from the machine M, as described above, are fed to the machine learning module NN (WM) as input signals. The resulting output signals AS of the machine learning module NN (WM) or signals derived therefrom are transmitted by the machine controller CTL as control signals to the machine M, as also described above.
[0048] The edge computing environment can be implemented as part of an edge computing platform, e.g., Siemens AG's "Industrial Edge." The protected machine learning module NN (WM) can be encapsulated, for example, in a Docker container.
[0049] The machine control CTL also contains a test device CK which is coupled to the machine learning module NN (WM) and which checks whether an output signal AS of the machine learning module NN (WM) is marked with the watermark WM. For the test, the test device CK can in particular carry out a pattern comparison between the output signal AS or a part of it and the watermark WM. The criterion for the presence of the watermark WM can be a match, an approximate match or a similarity between the compared patterns. In particular, a weighted Euclidean distance can be determined between data vectors which represent the compared patterns. The presence of the watermark WM can be signaled, for example, if the Euclidean distance falls below a predetermined threshold.
[0050] If the test device CK detects the watermark WM in the output signals AS, the output signals AS or control signals derived therefrom are transmitted to the machine M via a control channel to control the machine M. Otherwise, the output signals AS are output via a separate service channel of the machine control CTL together with an alarm signal A. In this way, the machine M can be prevented from being controlled by an unauthorized machine learning module, and at the same time, the user or a creator of the machine learning module can be informed of an unauthorized or counterfeit machine learning module via the alarm signal A.
[0051] Alternatively, the testing facility CK can issue an alarm signal upon detection of the watermark WM and transmit it, for example, to a creator of the machine learning module to inform them that an existing machine learning module originates from them and may have been used or placed on the market without authorization.
[0052] Figure 3 illustrates a first embodiment of a verification according to the invention of a trained machine learning module NN, which is preferably designed as an artificial neural network. The latter has an input layer IL, one or more hidden layers HL, and an output layer OL. To protect the trained machine learning module NN, an additional output layer ÖL' is coupled to its output layer OL, preferably by the security system SEC, via an interface I. The additional output layer ÖL' can be a neural layer, a software layer, or a call routine for the trained machine learning module NN.
[0053] The additional output layer ÖL ' serves to insert a unique digital watermark WM into output signals AS of the trained machine learning module NN . In particular, a bit string with a specified length N can be provided as the digital watermark WM . The provided digital watermark WM is stored in the additional output layer ÖL ' .
[0054] The interface I between the trained machine learning module NN and the additional output layer ÖL ', more precisely between the output layer OL and the additional output layer ÖL ', is protected against unauthorized access, e.g., by encryption or obfuscation. The additional output layer OL ' is preferably combined and / or encapsulated with the trained machine learning module NN in as inseparable a manner as possible.
[0055] The additional output layer OL' extends the trained machine learning module NN into a machine learning module NN (WM) protected by the digital watermark WM. The protected machine learning module NN (WM) can preferably be stored or encapsulated in a software or data container that loses its functionality upon separation. In particular, key- or signature-protected software encapsulation or data encapsulation can be used.
[0056] The additional output layer OL' contains, in addition to the digital watermark WM, a piece of masking information MK and a counter CT. The masking information MK specifies a part of the output signal AS that is tolerable with regard to the control of the machine M. In the present exemplary embodiment, the masking information MK specifies those bits of the output signals AS that have the lowest or a low significance. Such bits are often also referred to as least-significant bits.
[0057] The CT counter is used to count the output signals AS or the evaluations of the trained machine learning module NN. Preferably, a maximum counter value is specified for the CT counter. When this value is exceeded, the counter value is reset to an initial value. In this case, the count values of the CT counter are cycled through. For example, the bit length N of the digital watermark WM can be specified as the maximum counter value.
[0058] The machine learning module NN (WM) protected by the digital watermark WM can then be passed on to a user, e.g. as described in connection with Figure 2.
[0059] When the protected machine learning module NN (WM) is used to control the machine M, its operating signals BS are fed into the input layer IL as input signals. The output signals AS of the trained machine learning module NN are derived from the operating signals BS by the input layer IL, the hidden layers HL, and the output layer OL.
[0060] The output signals AS are fed from the output layer OL via the interface I into the additional output layer OL'. As already mentioned above, the input output signals AS or the corresponding evaluations of the trained machine learning module NN are counted by the counter CT. Depending on the respective counter reading of the counter CT, the additional output layer OL' then inserts the digital watermark WM into the part of the output signals AS specified by the masking information MK.
[0061] Preferably, depending on the counter reading, a bit of the digital watermark WM can be selected, and the selected bit can be inserted into the least significant bit of the relevant output signal AS. In particular, for a counter reading K, the K-th bit of the digital watermark WM can be inserted into the least significant bit of the relevant output signal AS. In this way, the digital watermark WM can be distributed cyclically across multiple output signals.
[0062] Alternatively or additionally, it can be provided that only every Lth output signal AS is modified by the digital watermark WM or a portion thereof, where L is a predetermined number of model evaluations. This can make it more difficult for unauthorized persons to reconstruct the digital watermark WM from output signals.
[0063] By inserting the digital watermark WM into the output signals AS of the trained machine learning module NN, the additional output layer ÖL ' generates modified output signals AS (WM), which are output as output signals of the protected machine learning module NN (WM).
[0064] The modified output signals AS (WM) are transmitted to a testing device CK. The testing device CK uses the masking information MK stored there to check whether the modified output signals AS (WM) contain the digital watermark WM stored in the testing device CK in the parts specified by the masking information MK, for example in the least significant bits. If this is the case, the modified output signals AS (WM) or control signals derived therefrom are transmitted to the machine M via a control channel to control the machine M. Otherwise, an alarm signal A is transmitted to an alarm device AL via a service channel. In this way, it can be ensured that only authorized copies of the trained machine learning module are used to control the machine M or can be used for this purpose.
[0065] Figure 4 illustrates a second embodiment of a test according to the invention of an existing trained machine learning module NN. For later testing, at least one test input signal TST that does not occur during the control of the machine M is fed to the trained machine learning module NN as an input signal, preferably by the security system SEC. Such a test input signal TST can in particular be generated randomly and compared with stored operating signals occurring from the operation of the machine M over a representative period of time. If a distance, e.g. a Euclidean distance, to all operating signals that occurred is greater than a predetermined threshold value, a signal generated in this way can be accepted as a test input signal TST.
[0066] The output signal AST derived from the test input signal TST by the trained machine learning module NN is then stored as a digital watermark WM together with the test input signal TST in a test device CK.
[0067] To test an existing trained machine learning module, here NN, by the test device CK, the latter feeds the stored test input signal TST as an input signal into the trained machine learning module NN. An output signal derived from the test input signal TST by the trained machine learning module NN is then transmitted to the test device CK, where it is compared with the stored output signal AST.
[0068] If the output signal resulting from the test input signal TST matches the stored output signal AST, possibly within a specified tolerance range, the verified machine learning module NN is recognized as originating from the creation of the trained machine learning module NN or from the security system SEC. The machine learning module NN verified in this way can then be used for the authorized control of the machine M. Otherwise, as described above, an alarm signal A is transmitted, preferably via a service channel, to an alarm transmitter AL.
[0069] A particular advantage of the above embodiment is that a machine learning module NN to be secured does not need to be modified before being passed on, but can be identified based on its reaction to an anomalous test input signal TST. This identification is based on the observation that the reaction of a trained machine learning module to an input signal that deviates significantly from normal operation is hardly reproducible by a machine learning module trained in another way. Such a reaction can therefore generally be used as a digital fingerprint or as a unique watermark.
[0070] Figure 5 illustrates a third embodiment of a verification of a trained machine learning module according to the invention.
[0071] According to this embodiment, in order to protect a trained machine learning module NN, it is extended by an additional input layer IL ' to form a protected machine learning module NN (WM).
[0072] The additional input layer IL' is coupled to the trained machine learning module NN via an interface protected against unauthorized access, in particular a control interface or information interface. The additional input layer IL' can be designed as a software layer, as an input routine, as a call routine for executing the machine learning module NN and / or as a neural layer. A test input signal TST, which does not occur during the control of the machine M and which can be generated as described above, is stored in the additional input layer IL'.
[0073] Using the stored test input signal TST, the additional input layer IL' checks supplied input signals to determine whether they match the test input signal TST, if necessary within a predefined tolerance range. If this is the case, the additional input layer IL' causes the trained machine learning module NN to output architectural information AI as an output signal using a request signal REQ, which specifies characteristic properties of the trained machine learning module NN. The request signal REQ can be transmitted to the trained machine learning module NN or to an interpreter of the trained machine learning module NN.
[0074] The architecture information AI can preferably be output via a control interface of the trained machine learning module NN. The characteristic properties of the machine learning module NN specified by the architecture information AI can, in particular, relate to its model specification, e.g., a number of neural layers, a number of neurons or other topology parameters, other architecture information, and / or learning parameters of the trained machine learning module NN.
[0075] Many machine learning modules provide an output of architectural information AI by default. In this case, such an output is triggered by the detection of the test input signal TST by the additional input layer IL'.
[0076] The output architecture information AI is stored as a watermark WM in the test facility CK. The machine learning module NN (WM), enhanced by the additional input layer IL', can then be forwarded or uploaded to the cloud CL.
[0077] To test an existing machine learning module, here NN (WM), the test input signal TST is also fed to it as an input signal, at least on a random basis, in addition to the operating signals BS of the machine M. The additional input layer IL' checks the fed-in input signals to see whether they match the test input signal TST, at least within a predefined tolerance range. If there is a match, the additional input layer IL' causes the trained machine learning module NN to output architecture information AI using the request signal REQ. The latter is transmitted from the trained machine learning module NN to the test device CK, where it is compared with the stored watermark WM, i.e. with the stored architecture information AI.
[0078] If there is a match, the tested machine learning module NN (WM) is recognized by the testing facility CK as originating from the creator of the trained machine learning module NN or from the security system SEC. In this case, the existing machine learning module NN (WM) can be used to control the machine M. This means that operating signals BS fed into the machine learning module NN (WM) are passed on to the trained machine learning module NN via the additional input layer IL'. The resulting output signals AS or control signals derived therefrom are then transmitted from the testing facility CK to the machine M.
[0079] If the architecture information AI output by the machine learning module does not match the watermark WM stored in the verification device CK, this machine learning module is considered inauthentic. In this case, an alarm signal A can be transmitted from the verification device CK to an alarm transmitter AL, as described above.
Claims
Patent claims 1. Computer-implemented method for theft detection of a trained machine learning module (NN), wherein a) a first machine learning module (NN) is provided which is trained to output an output signal (AS) for controlling a machine (M) based on an input signal (BS), b) masking information (MK) is read in which a tolerable part of the output signal (AS) with respect to the control of the machine (M) is specified, c) the first machine learning module (NN) is extended by an additional output layer (ÖL'). - into which the output signal (AS) is fed, - which inserts a digital watermark (WM) into the tolerable part of the output signal (AS) based on the masking information (MK) and - which outputs the modified output signal (AS (WM) ), d) the extended first machine learning module (NN (WM) ) is transmitted to a user, e) a second machine learning module (NN (WM) ) is received, f) the masking information (MK) is used to check whether the tolerable part of an output signal (AS ) of the second machine learning module (NN (WM) ) contains the digital watermark (WM ), and g) depending on the test result, an alarm signal (A) is issued .
2. Method according to one of the preceding claims, characterized in that the additional output layer (oil ') - output signals (AS) are counted using a counter (CT), and - the digital watermark (WM) is inserted into the tolerable part of a respective output signal (AS) depending on a counter reading (CT).
3. Method according to claim 2, characterized in that , that, depending on the counter reading, different parts of the digital watermark (WM) are selected and inserted into the tolerable part of a respective output signal (AS).
4. Method according to one of the preceding claims, characterized in that the digital watermark (WM) is inserted into the tolerable part of a respective output signal (AS) depending on a random process.
5. Method according to one of the preceding claims, characterized in that an interface (I) between the first machine learning module (NN) and the additional output layer (ÖL') is protected against external access.
6. Method according to one of the preceding claims, characterized in that the second machine learning module (NN (WM) ) is used to control the machine (M), and that the alarm signal (A) is output if the tolerable part of the output signal (AS ) of the second machine learning module (NN (WM) ) does not contain the digital watermark (WM ).
7. Method according to one of the preceding claims, characterized in that the second machine learning module (NN (WM) ) is installed and controlled in an edge computing environment, that it is checked whether the tolerable part of the output signal (AS ) of the second machine learning module (NN (WM) ) contains the digital watermark (WM ), and that the second machine learning module (NN (WM) ) is used to control the machine (M) depending on the test result .
8. Method for theft detection of a trained machine learning module, wherein a) a first machine learning module (NN) is provided, which is trained to output a signal (AS) to control a machine (M) based on an input signal (BS), b) a test input signal (TST) that does not occur when controlling the machine (M) is determined, c) the test input signal (TST) is fed into the first machine learning module (NN) and a resulting output signal (AST, AI) of the first machine learning module (NN) is stored as a digital watermark (WM), d) the first machine learning module (NN) is transmitted to a user, e) a second machine learning module (NN (WM)) is received, f) the test input signal (TST) is fed into the second machine learning module (NN (WM)) and it is checked whether the resulting output signal (AST, AI) matches the stored digital watermark (WM), and g) depending on the test result, an alarm signal (A) is issued.
9. Method according to claim 8, characterized in that the first machine learning module (NN) is extended by an additional input layer (IL') which - checks an incoming input signal to see if it matches the test input signal (TST) and - if the test result is positive, the first machine learning module (NN) is caused to output an output signal (AI) that specifies characteristic properties of the first machine learning module (NN).
10. Method according to one of the preceding claims, characterized in that an output signal containing the digital watermark (WM) is output via a different output channel than an output signal not containing the digital watermark (WM). 22 11. Theft detection system for trained machine learning modules, configured to execute a method according to any of the preceding claims.
12. Computer program product configured to execute a Method according to any one of claims 1 to 10.
13. Computer-readable storage medium with a computer program product according to claim 12.
