Abstract
Large-scale datasets are important for the development of deep learning models. Such datasets usually require a heavy workload of annotations, which are extremely time-consuming and expensive. To accelerate the annotation procedure, multiple annotators may be employed to label different subsets of the data. However, the inconsistency and bias among different annotators are harmful to the model training, especially for qualitative and subjective tasks. To address this challenge, in this paper, we propose a novel contrastive regression framework to address the disjoint annotations problem, where each sample is labeled by only one annotator and multiple annotators work on disjoint subsets of the data. To take account of both the intra-annotator consistency and inter-annotator inconsistency, two strategies are employed. Firstly, a contrastive-based loss is applied to learn the relative ranking among different samples of the same annotator, with the assumption that the ranking of samples from the same annotator is unanimous. Secondly, we apply the gradient reversal layer to learn robust representations that are invariant to different annotators. Experiments on the facial expression prediction task, as well as the image quality assessment task, verify the effectiveness of our proposed framework.
Introduction
Training robust regression models for subjective tasks, such as facial expression recognition or image quality assessment, is often hindered by the inherent biases of human annotators. A common approach to scale data collection is "disjoint annotation," where different annotators label non-overlapping subsets of the data. However, this creates a significant challenge: a "harsh" grader might assign a low score to an image that an "easy" grader would score highly. Standard regression models using Mean Squared Error (MSE) often fail in this scenario because they struggle to reconcile these inconsistent absolute values.
As shown in Figure 1, the mapping from latent true scores to labeled scores varies significantly between annotators. This paper introduces the Disjoint Contrastive Regression (DCR) framework to overcome this by focusing on relative rankings and adversarial feature learning.
The DCR Framework
The proposed DCR framework is designed to extract objective signals from subjective labels by focusing on relative rankings and annotator-invariant features.
1. Disjoint Margin Ranking Loss
Instead of forcing the model to predict absolute scores that are inherently biased, DCR focuses on the relative order of samples. The framework employs a ranking loss that only compares pairs of images labeled by the same annotator. This approach leverages "intra-annotator consistency"—the principle that while an individual's absolute scale might be shifted, their relative ranking of items is typically consistent.
2. Distribution Regularization
To prevent the model from collapsing (e.g., predicting the same value for all inputs) when learning solely from rankings, a regularization term is added. This term constrains the predicted scores in each batch to follow a standard Normal Distribution $N(0, 1)$, ensuring the output remains within a meaningful range.
3. Adversarial Invariant Learning
To ensure the model's internal features are purely representative of the image content rather than the annotator's identity, DCR uses a Gradient Reversal Layer (GRL). A classification head attempts to predict which annotator provided the label based on the image embedding. Simultaneously, the GRL forces the embedding network to learn features that "confuse" this classifier, effectively stripping away annotator-specific bias and resulting in annotator-invariant representations.
Experimental Results
The researchers evaluated DCR on several subjective datasets, including AFEW-AV and Aff-Wild for facial expressions, and CSIQ and TID2013 for image quality. To simulate real-world disjoint labeling, they introduced synthetic biases and perturbations to the ground truth scores.
Key findings include:
- Significant Performance Gains: On the AFEW-AV dataset, the Pairwise Ranking Accuracy (PRA) improved from a baseline of 63.38% to 89.22%.
- Improved Correlation: On the TID2013 image quality dataset, the Spearman correlation (SROCC) rose from 0.336 to 0.829.
- Versatility: DCR proved to be a "plug-and-play" enhancement. When integrated with existing state-of-the-art models like MetaIQA, it consistently improved performance across all metrics (PRA, SROCC, and PLCC).
Conclusion
Disjoint Contrastive Regression offers a powerful solution for training regression models on large-scale, subjectively labeled datasets. By prioritizing relative rankings and using adversarial techniques to eliminate annotator bias, the framework achieves high accuracy without the prohibitive cost of redundant labeling. Future research will focus on extending these principles to video data and testing on naturally disjoint datasets in unconstrained environments.
Summary updated