Seeing Is Not Always Believing: Invisible Collision Attack and Defence on Pre-Trained Models
Minghang Deng, Zhong Zhang, Junming Shao

TL;DR
This paper introduces an invisible attack on pre-trained models using MD5 collision techniques, demonstrating its effectiveness and proposing a defensive strategy to detect such attacks, highlighting new security risks in PTMs.
Contribution
The paper presents a novel MD5 collision-based attack on PTMs and a simple defensive method, addressing security vulnerabilities in pre-trained models.
Findings
The attack can generate two models with identical MD5 checksums that are functionally different.
The attack is flexible, covert, and model-independent, making it hard to detect.
The proposed defensive strategy can effectively recognize MD5 collision-based attacks.
Abstract
Large-scale pre-trained models (PTMs) such as BERT and GPT have achieved great success in diverse fields. The typical paradigm is to pre-train a big deep learning model on large-scale data sets, and then fine-tune the model on small task-specific data sets for downstream tasks. Although PTMs have rapidly progressed with wide real-world applications, they also pose significant risks of potential attacks. Existing backdoor attacks or data poisoning methods often build up the assumption that the attacker invades the computers of victims or accesses the target data, which is challenging in real-world scenarios. In this paper, we propose a novel framework for an invisible attack on PTMs with enhanced MD5 collision. The key idea is to generate two equal-size models with the same MD5 checksum by leveraging the MD5 chosen-prefix collision. Afterwards, the two ``same" models will be deployed on…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Advanced Malware Detection Techniques
MethodsAttention Is All You Need · Cosine Annealing · WordPiece · Linear Warmup With Cosine Annealing · Linear Layer · Softmax · Discriminative Fine-Tuning · Residual Connection · Attention Dropout · Refunds@Expedia|||How do I get a full refund from Expedia?
