Themis: A Fair Evaluation Platform for Computer Vision Competitions

Zinuo Cai, Jianyong Yuan, Yang Hua, Tao Song, Hao Wang, Zhengui Xue, Ningxin Hu, Jonathan Ding, Ruhui Ma, Mohammad Reza Haghighat, Haibing Guan

Abstract

Computer vision competitions often face challenges in maintaining fairness while protecting intellectual property. Existing platforms either allow for manual labeling of test data or require participants to share their proprietary code. We present THEMIS, a novel evaluation platform that utilizes a collaboratively trained noise generator to perturb test images. This process renders the data unrecognizable to humans ("human-hostile") while preserving the features necessary for machine learning models to be accurately ranked ("model-friendly"). Our evaluation on standard benchmarks demonstrates that THEMIS maintains ranking stability with minimal accuracy loss, providing a scalable and secure solution for competitive machine learning.

Introduction

In competitive machine learning environments like Kaggle, ensuring a level playing field is a persistent challenge. Current evaluation paradigms generally fall into three categories, each with significant drawbacks. Platform A releases both data and labels, which is insecure. Platform B (e.g., Kaggle) keeps labels private but releases test data, allowing participants to perform "surreptitious manual labeling"—manually tagging images to gain an unfair advantage. Platform C (e.g., CodaLab) requires participants to upload their models to the organizer's infrastructure. While this prevents manual labeling, it imposes high computational costs on organizers and raises intellectual property (IP) concerns for participants.

THEMIS is designed to bridge these gaps by providing a platform that is computationally efficient, protects participant IP, and prevents manual labeling by transforming test data into a format that is unusable by humans but remains interpretable by AI models.

The THEMIS Methodology

The core innovation of THEMIS is a Noise Generator trained through a collaborative process between the competition organizer and the participants. The workflow consists of three distinct stages:

  1. Local Training: Participants train their models using a standard, "plain" training dataset provided by the organizer.
  2. Collaborative Training: The organizer initializes a noise generator that adds independent Gaussian noise to the training data. In a collaborative loop, participants run this noisy data through their local models and return gradients to the organizer. These gradients are used to tune the noise generator so that it obscures human-perceptible structures while preserving the specific mathematical features used by the models for classification.
  3. Evaluation: Once the generator is trained, the organizer applies it to the secret test set. These "perturbed" images are released to participants, who then submit their predictions for ranking.
The three-stage workflow of THEMIS: Local Training, Collaborative Training, and Evaluation.

The system optimizes a loss function that balances the scale of the noise (to ensure human-hostility) against the preservation of relative model rankings.

Experimental Evaluation

We evaluated THEMIS across three standard computer vision benchmarks: UTKFace (gender classification), CIFAR-10, and CIFAR-100. The datasets were partitioned into training, validation, and test sets using a 4:1:1 ratio to simulate a realistic competition scenario.

Key Insights

A central tenet of THEMIS is that for competition purposes, rank preservation is more critical than absolute accuracy. The platform ensures that if Model A outperforms Model B on clean data, it will continue to do so on the perturbed data. This is achieved by exploiting the discrepancy between human perception (which relies on global textures and structures) and CNN perception (which focuses on specific high-dimensional features).

Results

The experimental results confirm that THEMIS effectively balances data privacy with evaluation utility. On the UTKFace dataset, models like ResNet-56 and VGG16 maintained accuracies above 82% on noisy data that was visually indecipherable to humans.

Crucially, the "Trained Noisy Sets" produced by THEMIS resulted in almost zero change in participant rankings compared to evaluations on plain test sets. As shown in the table below, the rank displacement ($\Delta_{rank}$) was zero in most cases, with only minor fluctuations for models with nearly identical performance levels.

Comparison of model accuracy and ranking across plain, untrained noisy, and trained noisy datasets.

In contrast, using "Untrained Noisy" data (noise not tuned via collaborative training) led to chaotic rankings and a massive drop in accuracy (e.g., GoogleNet's accuracy plummeted from 91.43% to 16.35%). This highlights the necessity of the collaborative tuning phase.

Discussion and Future Work

While THEMIS successfully addresses manual labeling in computer vision, several avenues for future research remain. The authors intend to expand the framework to Natural Language Processing (NLP), where generating "human-hostile" yet "model-friendly" noise is significantly more complex due to the discrete nature of text. Additionally, while the system is robust to participants missing training epochs, further study is needed to ensure resilience against adversarial participants who might provide malicious gradients to bias the noise generator.

Despite these challenges, THEMIS offers a compelling alternative to existing competition platforms, providing a scalable way to ensure fairness without compromising participant privacy or organizer resources.

Summary updated

BibTeX
@inproceedings{cai2021themis,
  author = {Zinuo Cai and Jianyong Yuan and Yang Hua and Tao Song and Hao Wang and Zhengui Xue and Ningxin Hu and Jonathan Ding and Ruhui Ma and Mohammad Reza Haghighat and Haibing Guan},
  title = {{Themis: A Fair Evaluation Platform for Computer Vision Competitions}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.24963/ijcai.2021/83},
}
Figure