[Paper Review] Self-Supervised Feature Learning by Learning to Spot Artifacts
This paper proposes a self-supervised feature learning method that trains a discriminator to distinguish real images from those with synthetic artifacts created by corrupting encoded features and repairing them via a limited-capacity network. By forcing the discriminator to detect both global inconsistencies and missing feature entries, the model learns high-quality, transferable representations that achieve state-of-the-art performance on ImageNet, Pascal VOC, and STL-10 benchmarks without human annotations.
We introduce a novel self-supervised learning method based on adversarial training. Our objective is to train a discriminator network to distinguish real images from images with synthetic artifacts, and then to extract features from its intermediate layers that can be transferred to other data domains and tasks. To generate images with artifacts, we pre-train a high-capacity autoencoder and then we use a damage and repair strategy: First, we freeze the autoencoder and damage the output of the encoder by randomly dropping its entries. Second, we augment the decoder with a repair network, and train it in an adversarial manner against the discriminator. The repair network helps generate more realistic images by inpainting the dropped feature entries. To make the discriminator focus on the artifacts, we also make it predict what entries in the feature were dropped. We demonstrate experimentally that features learned by creating and spotting artifacts achieve state of the art performance in several benchmarks.
Motivation & Objective
- To develop a self-supervised method for learning transferable visual features without human-annotated data.
- To design a pretext task that encourages learning of semantically meaningful object representations by training a model to detect synthetic artifacts.
- To generate realistic yet corrupted images by damaging encoded features and using a repair network with limited capacity.
- To improve discriminator generalization by making it predict which feature entries were dropped, focusing attention on object-level details.
- To achieve state-of-the-art transfer learning performance across multiple standard benchmarks.
Proposed method
- Pre-train a high-capacity autoencoder to learn image representations, then freeze its encoder.
- Corrupt the encoded features by randomly dropping entries to create synthetic artifacts.
- Augment the decoder with a repair network that inpaints the missing entries, but with limited capacity to prevent full recovery.
- Train the discriminator adversarially to classify real images versus corrupted images, while also predicting the mask of dropped entries.
- Restrict the repair network's updates to only the dropped feature locations using the true mask, limiting global consistency.
- Extract features from the discriminator's intermediate layers for transfer learning, using linear classifiers on downstream tasks.
Experimental results
Research questions
- RQ1Can a self-supervised learning method based on detecting synthetic artifacts outperform existing pretext tasks in transfer learning?
- RQ2Does requiring the discriminator to predict the location of dropped features improve feature quality and generalization?
- RQ3Can a repair network with limited capacity generate realistic images while preserving global inconsistencies detectable by the discriminator?
- RQ4Does the proposed method achieve state-of-the-art performance on standard benchmarks like ImageNet, Pascal VOC, and STL-10?
- RQ5Are the features learned by the discriminator more semantically meaningful than those from standard GAN or autoencoder setups?
Key findings
- The proposed method achieves 19.5% top-1 accuracy on ImageNet with a linear classifier on frozen features, outperforming all prior self-supervised methods listed in Table 4.
- On the Places dataset, the method achieves 37.3% top-1 accuracy on the conv5 layer, the highest among all compared methods in Table 5.
- The discriminator learns to focus on object parts such as heads and legs, as shown by Grad-CAM visualization, indicating semantic attention.
- Features from the first convolutional layer of the discriminator achieve 23.3% accuracy on Places, slightly exceeding supervised ImageNet pre-training on the same layer.
- The method outperforms prior self-supervised approaches like those of Noroozi et al. [29] and Zhang et al. [45] across all evaluated benchmarks.
- Qualitative analysis shows that the discriminator learns edge detectors and object-part-aware features, similar to supervised models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.