TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Watermarking for Out-of-distribution Detection

Watermarking for Out-of-distribution Detection

Qizhou Wang, Feng Liu, Yonggang Zhang, Jing Zhang, Chen Gong, Tongliang Liu, Bo Han

2022-10-27Out-of-Distribution Detection
PaperPDFCode(official)

Abstract

Out-of-distribution (OOD) detection aims to identify OOD data based on representations extracted from well-trained deep models. However, existing methods largely ignore the reprogramming property of deep models and thus may not fully unleash their intrinsic strength: without modifying parameters of a well-trained deep model, we can reprogram this model for a new purpose via data-level manipulation (e.g., adding a specific feature perturbation to the data). This property motivates us to reprogram a classification model to excel at OOD detection (a new task), and thus we propose a general methodology named watermarking in this paper. Specifically, we learn a unified pattern that is superimposed onto features of original data, and the model's detection capability is largely boosted after watermarking. Extensive experiments verify the effectiveness of watermarking, demonstrating the significance of the reprogramming property of deep models in OOD detection.

Results

TaskDatasetMetricValueModel
Out-of-Distribution DetectionImageNet-1k vs TexturesAUROC84Watermarking (WRN-40-2 w/ MSP)
Out-of-Distribution DetectionImageNet-1k vs TexturesFPR9561.2Watermarking (WRN-40-2 w/ MSP)
Out-of-Distribution DetectionImageNet-1k vs TexturesAUROC80.8Watermarking (WRN-40-2 w/ Energy)
Out-of-Distribution DetectionImageNet-1k vs TexturesFPR9567.75Watermarking (WRN-40-2 w/ Energy)
Out-of-Distribution DetectionImageNet-1k vs PlacesAUROC82.03Watermarking (WRN-40-2 w/ MSP)
Out-of-Distribution DetectionImageNet-1k vs PlacesFPR9570.59Watermarking (WRN-40-2 w/ MSP)
Out-of-Distribution DetectionImageNet-1k vs PlacesAUROC79.85Watermarking (WRN-40-2 w/ Energy)
Out-of-Distribution DetectionImageNet-1k vs PlacesFPR9571.85Watermarking (WRN-40-2 w/ Energy)

Related Papers

Safe Domain Randomization via Uncertainty-Aware Out-of-Distribution Detection and Policy Adaptation2025-07-08FA: Forced Prompt Learning of Vision-Language Models for Out-of-Distribution Detection2025-07-06Out-of-distribution detection in 3D applications: a review2025-07-01Generative Adversarial Evasion and Out-of-Distribution Detection for UAV Cyber-Attacks2025-06-26Enclosing Prototypical Variational Autoencoder for Explainable Out-of-Distribution Detection2025-06-17A Variational Information Theoretic Approach to Out-of-Distribution Detection2025-06-17DIsoN: Decentralized Isolation Networks for Out-of-Distribution Detection in Medical Imaging2025-06-10EviNet: Evidential Reasoning Network for Resilient Graph Learning in the Open and Noisy Environments2025-06-08