Skip to main navigation Skip to search Skip to main content

CERTPHASH: Towards Certified Perceptual Hashing via Robust Training

  • Yuchen Yang
  • , Qichang Liu
  • , Christopher Brix
  • , Huan Zhang
  • , Yinzhi Cao

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Perceptual hashing (PHash) systems-e.g., Apple’s NeuralHash, 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, CERTPHASH demonstrates strong performance in real-world illicit content detection tasks.

Original languageEnglish (US)
Title of host publicationProceedings of the 34th USENIX Security Symposium
PublisherUSENIX Association
Pages7839-7856
Number of pages18
ISBN (Electronic)9781939133526
StatePublished - 2025
Event34th USENIX Security Symposium, USENIX Security 2025 - Seattle, United States
Duration: Aug 13 2025Aug 15 2025

Publication series

NameProceedings of the 34th USENIX Security Symposium

Conference

Conference34th USENIX Security Symposium, USENIX Security 2025
Country/TerritoryUnited States
CitySeattle
Period8/13/258/15/25

All Science Journal Classification (ASJC) codes

  • Safety, Risk, Reliability and Quality
  • Computer Networks and Communications
  • Information Systems

Fingerprint

Dive into the research topics of 'CERTPHASH: Towards Certified Perceptual Hashing via Robust Training'. Together they form a unique fingerprint.

Cite this