The Computational cost evaluation specifies the Means that enable a Tester to evaluate the computational cost of:
- Injecting, in terms of memory footprint, time to process an epoch, and number of epochs necessary to insert the watermark.
- Detecting or decoding, in terms of memory footprint and time for the detector or the decoder to produce the expected result.
1 Computational cost of injecting a watermark
The Computational cost evaluation specifies the Means that enable a Tester to evaluate the computational cost of the injection using neural network watermarking method under testing.
The following four elements shall be used to characterize the injection process:
- The memory footprint.
- The time to execute the operation required by one epoch normalized according to the number of batches processed in one epoch.
- In case of the injection is done concurrently with the training of the network, the number of epochs required to insert the watermark.
- The time for the watermarked neural network to compute an inference.
The Tester shall evaluate the Computational cost of the injection according to the following workflow:
- Define a pair of training and testing datasets with a size with at least an order of magnitude more entries than trainable parameters.
- Select:
- The training dataset (if needed).
- A set of M unwatermarked NNs trained on the training dataset.
- D data payloads corresponding to the pre-established payload size.
- Apply the watermarking technology to the M NNs using the D data payloads.
- Record the corresponding M x D set of values characterizing the processing.
- Provide the statistical average of the values over the total number of tests (e. M x D) for one of the informative Testing Environments of Table 3.
2 Computational cost of detecting/decoding
The MPAI Computational cost evaluation specifies the Means that enable a Tester to evaluate the computational cost of the detecting/decoding of a neural network watermarking methods.
We use the total duration and the memory footprint to characterize the detecting/decoding process.
The Tester shall evaluate the Computational cost of detecting/decoding according to the following workflow:
- Select a set of M unwatermarked NNs, D data payloads corresponding to the pre-established payload size and, if needed, the train dataset.
- Apply the watermarking technology to the M NNs with the D data payloads
- Evaluate the Robustness of the detector:
- Apply the Watermark detector to any the M x D NNs.
- Record the corresponding M x D set of values characterizing the processing.
- Evaluate the Robustness of the decoder:
- Apply the Watermark decoder to any the M x D NNs.
- Record the corresponding M x D set of values characterizing the processing.
- Provide the statistical average of the values over the total number of tests (over M x D) for one of the informative Testing Environments of Table 3.
Table 3. Testing Environments (informative)
Testing environment | |
Medium | – Single GPU (16GB/6144 CUDA cores)
– 8 cores CPU (2.6GHz) |
Large | – Double GPU (32GB/12288 CUDA cores)
– 16 cores CPU (3.4GHz) |