Self-Supervised Multi-Task Pretraining Improves Image Aesthetic Assessment

Jan Pfister, Konstantin Kobs, Andreas HothoWorkshops @ CVPR 2021

Introduction

In modern computer vision, Image Aesthetic Assessment (IAA)—the task of automatically rating the visual appeal of a photograph—has traditionally relied on models pretrained on ImageNet. While ImageNet pretraining is a standard starting point for many tasks, it presents a fundamental conflict for aesthetics. ImageNet is designed for object classification, where the goal is to achieve invariance to style. A model trained to identify a "cat" must ignore lighting, contrast, and composition to succeed.

However, in the realm of aesthetics, these "nuisances" are the primary features. By using ImageNet weights, researchers start with models that have been explicitly trained to ignore the very details—brightness, color balance, and framing—that define aesthetic quality. This paper proposes a shift away from classification-centric pretraining toward an aesthetic-aware, self-supervised approach.

Methodology

The researchers introduce a self-supervised, multi-task pretraining pipeline that leverages synthetic distortions to teach models about aesthetic quality without requiring human labels. The core premise is that applying a distortion (like blur or overexposure) to a high-quality image almost universally reduces its aesthetic value.

The multi-task pretraining pipeline showing how distorted image pairs are used for ranking, classification, and regression tasks.

As shown in the figure above, the model (MobileNetV2) is trained on three concurrent "pretext" tasks:

  1. Ranking Task: The model compares two versions of the same image with different distortion intensities and predicts which is superior.
  2. Classification Task: The model identifies the type of distortion applied (e.g., crop, blur, or brightness change).
  3. Regression Task: The model estimates the specific numerical intensity of the distortion.

The final objective uses Earth Mover’s Distance (EMD) loss, which allows the network to predict a distribution of scores rather than a single mean value, better capturing the subjective nature of human aesthetic judgment.

Datasets

To ensure the self-supervised ranking task is effective, the starting images must be of high quality. The authors curated the Pexels Dataset, containing 130,000 professional-grade images from Pexels.com. Distorting a low-quality image might inadvertently improve it, which would confuse the model; the Pexels dataset provides a reliable "gold standard" baseline. For fine-tuning and evaluation, the authors used the AVA (Aesthetics Visual Analysis) dataset, the industry benchmark containing 250,000 human-rated images.

Key Results and Insights

The proposed aesthetic-aware pretraining significantly outperformed standard ImageNet initialization across several dimensions:

  • Superior Accuracy: The model achieved higher Linear Correlation Coefficients (LCC) and Spearman Correlation Coefficients (SRCC) on the AVA benchmark compared to ImageNet-pretrained baselines.
  • Faster Convergence: One of the most striking results was the efficiency gain. The proposed method reached peak performance up to 47% faster than the baseline.
Comparison of training epochs required for convergence between ImageNet pretraining and the proposed ranking + regression method.
  • Data Efficiency: The model demonstrated a 20% reduction in the need for labeled training data. It could match the performance of an ImageNet-initialized model while using significantly fewer expensive human-sourced labels.
  • Regression vs. Classification: The authors found that the regression task (predicting intensity) was more beneficial than simple classification. Learning the "gradient" of quality—how much a change affects an image—is more useful for aesthetics than merely identifying the type of change.

Conclusion

This research demonstrates that for tasks where style is the signal, classification-based pretraining is a sub-optimal shortcut. By embracing the variations in lighting, contrast, and composition through self-supervised multi-task learning, models can develop a more nuanced "eye" for aesthetics. This approach not only improves accuracy but also makes the training process more efficient and less dependent on massive human-labeled datasets.

Summary updated

BibTeX
@inproceedings{pfister2021self,
  author = {Jan Pfister and Konstantin Kobs and Andreas Hotho},
  title = {{Self-Supervised Multi-Task Pretraining Improves Image Aesthetic Assessment}},
  booktitle = {Workshops @ CVPR},
  year = {2021},
  doi = {10.1109/cvprw53098.2021.00091},
}
Figure