USENIX Security2025Top-tier venue
CertPHash: Towards Certified Perceptual Hashing via Robust Training
Yuchen Yang, Qichang Liu, Christopher Brix, Huan Zhang, Yinzhi Cao
Abstract
Perceptual hashing (PHash) systems-e.g., Apple's Neural-Hash, Microsoft's PhotoDNA, and Facebook's PDQ-are widely employed to screen illicit content. Such systems generate hashes of image files and match them against a database of known hashes linked to illicit content for filtering. One important drawback of PHash systems is that they are vulnerable to adversarial perturbation attacks leading to hash evasion or collision. It is desirable to bring provable guarantees to PHash systems to certify their robustness under evasion or collision attacks. However, to the best of our knowledge, there are no existing certified PHash systems, and more importantly, the training of certified PHash systems is challenging because of the unique definition of model utility and the existence of both evasion and collision attacks. In this paper, we propose CERTPHASH, the first certified PHash system with robust training. CERTPHASH includes three different optimization terms, anti-evasion, anti-collision, and functionality. The anti-evasion term establishes an upper bound on the hash deviation caused by input perturbations, the anti-collision term sets a lower bound on the distance between a perturbed hash and those from other inputs, and the functionality term ensures that the system remains reliable and effective throughout robust training. Our results demonstrate that CERTPHASH not only achieves non-vacuous certification for both evasion and collision with provable guarantees but is also robust against empirical attacks. Furthermore, CERT-PHASH demonstrates strong performance in real-world illicit content detection tasks.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
- Automatic Perturbation Analysis for Scalable Certified Robustness and Beyond cites Certified Robustness to Adversarial Examples with Differential Privacy
- Automatic Perturbation Analysis for Scalable Certified Robustness and Beyond cites Towards Stable and Efficient Training of Verifiably Robust Neural Networks
- Fast and Complete: Enabling Complete Neural Network Verification with Rapid and Massively Parallel Incomplete Verifiers cites Automatic Perturbation Analysis for Scalable Certified Robustness and Beyond
- Fast and Complete: Enabling Complete Neural Network Verification with Rapid and Massively Parallel Incomplete Verifiers cites Towards Stable and Efficient Training of Verifiably Robust Neural Networks
- Towards Stable and Efficient Training of Verifiably Robust Neural Networks cites Certified Robustness to Adversarial Examples with Differential Privacy
Builds on17
- Certified Robustness to Adversarial Examples with Differential PrivacyMathias Lécuyer, Vaggelis Atlidakis, Roxana Geambasu, Daniel Hsu et al.S&P 2019 · 1,022 citations
- HopSkipJumpAttack: A Query-Efficient Decision-Based AttackJianbo Chen, Michael I. Jordan, Martin J. WainwrightS&P 2020 · 797 citations
- Automatic Perturbation Analysis for Scalable Certified Robustness and BeyondKaidi Xu, Zhouxing Shi, Huan Zhang, Yihan Wang et al.NeurIPS 2020 · 415 citations
- Towards Stable and Efficient Training of Verifiably Robust Neural NetworksHuan Zhang, Hongge Chen, Chaowei Xiao, Sven Gowal et al.ICLR 2020 · 384 citations
- Fast and Complete: Enabling Complete Neural Network Verification with Rapid and Massively Parallel Incomplete VerifiersKaidi Xu, Huan Zhang, Shiqi Wang, Yihan Wang et al.ICLR 2021 · 250 citations
Related papers
- Squint Hard Enough: Attacking Perceptual Hashing with Adversarial Machine LearningJonathan Prokos, Neil Fendley, Matthew Green, Roei Schuster et al.USENIX Security 2023
- Atkscopes: Multiresolution Adversarial Perturbation as a Unified Attack on Perceptual Hashing and BeyondYushu Zhang, Yuanyuan Sun, Shuren Qi, Zhongyun Hua et al.USENIX Security 2025
- It's Not What It Looks Like: Manipulating Perceptual Hashing based ApplicationsQingying Hao, Licheng Luo, Steve T. K. Jan, Gang WangCCS 2021 · 36 citations
- Breaking Widely Deployed Perceptual Hash Functions: Black-Box Collisions in Apple NeuralHash and Microsoft PhotoDNADiane Leblanc-Albarel, Bart PreneelUSENIX Security 2026
- Adversarial Detection Avoidance Attacks: Evaluating the robustness of perceptual hashing-based client-side scanningShubham Jain, Ana-Maria Cretu, Yves-Alexandre de MontjoyeUSENIX Security 2022
