[Paper Review] Training DNN Model with Secret Key for Model Protection
This paper proposes a key-based model protection method for deep neural networks (DNNs) that uses block-wise pixel shuffling with a secret key as a preprocessing step before training. The protected model maintains near-baseline accuracy when the correct key is used, but performance drops drastically with incorrect keys or plain inputs, and it resists fine-tuning attacks, all without training or inference overhead.
In this paper, we propose a model protection method by using block-wise pixel shuffling with a secret key as a preprocessing technique to input images for the first time. The protected model is built by training with such preprocessed images. Experiment results show that the performance of the protected model is close to that of non-protected models when the key is correct, while the accuracy is severely dropped when an incorrect key is given, and the proposed model protection is robust against not only brute-force attacks but also fine-tuning attacks, while maintaining almost the same performance accuracy as that of using a non-protected model.
Motivation & Objective
- To address the vulnerability of trained DNN models to theft and misuse, even when ownership verification is possible.
- To develop a model protection mechanism that prevents unauthorized use of a stolen model, not just ownership identification.
- To design a lightweight, non-intrusive method that does not alter the network architecture or add computational overhead.
- To ensure robustness against brute-force and fine-tuning attacks while maintaining high model accuracy when the correct key is used.
- To simplify key management compared to existing passport-based or watermarking schemes with added network layers.
Proposed method
- Preprocess input images using block-wise pixel shuffling with a secret key before training and inference.
- Apply the same key to both training and inference phases to ensure consistency in model behavior.
- Use a fixed block size (M ∈ {2, 4, 8}) to shuffle pixels in non-overlapping blocks across the input image.
- The shuffling operation is deterministic and reversible only with the correct key, ensuring that incorrect keys disrupt model performance.
- Train the DNN (ResNet-18) on the preprocessed images without modifying the network architecture or optimizer settings.
- The method is compatible with standard training techniques such as data augmentation, mixed-precision training, and cyclic learning rates.
Experimental results
Research questions
- RQ1Can a DNN model be protected from unauthorized use by integrating a secret key into the input preprocessing stage?
- RQ2Does the proposed method maintain high accuracy when the correct key is used, compared to a non-protected baseline?
- RQ3How effective is the method in degrading model performance when an incorrect key is used or when plain images are fed?
- RQ4Can the protected model resist fine-tuning attacks where an adversary attempts to retrain the model with a forged key?
- RQ5How does the proposed method compare in performance and overhead to existing key-based or watermarking-based model protection schemes?
Key findings
- With the correct key, the protected model achieved 94.70% accuracy on CIFAR-10, very close to the baseline model's 95.45% accuracy.
- When tested with an incorrect key, the accuracy dropped to 25.84% for M=2, 20.01% for M=4, and 14.98% for M=8, indicating strong key dependency.
- Performance also dropped significantly when testing with plain (unprocessed) images, confirming that the model cannot be used without proper preprocessing.
- The method remained robust against fine-tuning attacks: even with 1000 images from the training set, the best accuracy with a forged key was only 45.46%, far below the correct-key performance.
- The proposed method outperforms the passport-based scheme [3] in usability and efficiency, achieving comparable accuracy without the need for additional network layers or complex key management.
- The method incurs no training or inference overhead, as it does not modify the network and only adds a lightweight preprocessing step.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.