Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Mark My Words: Dangers of Watermarked Images in ImageNet

Kirill Bykov, Klaus-Robert Müller and Marina M.-C. Höhne
Accepted to the ICLR 2023 TrustML-(un)Limited workshop
Paper link

Pre-trained networks, esp. those trained on ImageNet, are widely used in Computer Vision. However, watermarks in ImageNet images can lead to learning artifacts in pre-trained networks. In this paper, we assess the extent of this behavior in popular pre-trained models and identify affected classes. Our analysis shows that multiple ImageNet classes, not just the ``carton'' class, rely on spurious correlations with watermarks. We propose a simple approach to mitigate this issue in fine-tuned networks by ignoring the most watermark-sensitive encodings.


This GitHub repository includes multiple notebooks related to a research paper.

  1. Dataset Generation & Collection of Activations
  2. The first notebook, "Dataset Generation & Collection of Activations," includes code for generating probing datasets and collecting activations from popular ImageNet pretrained models.
  3. Analysis
  4. The second notebook, "Analysis," contains code for performing experiments to evaluate the differentiability of output logit representations and analyzing feature extractor representations.
  5. Ignoring sensitive embeddings
  6. The third notebook, "Ignoring Sensitive Embeddings," includes two sub-notebooks.
    1. Training
    2. The "Training" sub-notebook provides code for training models on the Cal-Tech 256 image classification problem, fine-tuned on DenseNet-161 features. The "Analysis" sub-notebook includes code for analyzing the fine-tuned networks.
    3. Analysis
    4. The "Analysis" sub-notebook includes code for analyzing the fine-tuned networks.

About

Repository for the paper "Mark My Words: Dangers of Watermarked Images in ImageNet"

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages