Reproducible Subjective Evaluation

Max Morrison, Brian Tang, Gefei Tan, Bryan PardoarXiv 2022

Abstract

Human perceptual studies are the gold standard for the evaluation of many research tasks in machine learning, linguistics, and psychology. However, these studies require significant time and cost to perform. As a result, many researchers use objective measures that can correlate poorly with human evaluation. When subjective evaluations are performed, they are often not reported with sufficient detail to ensure reproducibility. We propose Reproducible Subjective Evaluation (ReSEval), an open-source framework for quickly deploying crowdsourced subjective evaluations directly from Python. ReSEval lets researchers launch A/B, ABX, Mean Opinion Score (MOS) and MUltiple Stimuli with Hidden Reference and Anchor (MUSHRA) tests on audio, image, text, or video data from a command-line interface or using one line of Python, making it as easy to run as objective evaluation. With ReSEval, researchers can reproduce each other's subjective evaluations by sharing a configuration file and the audio, image, text, or video files.

Introduction

In fields such as generative AI, speech synthesis, and computer vision, human perception remains the ultimate benchmark for quality. While objective metrics like FID for images or BLEU for text are widely used due to their ease of calculation, they often fail to capture the nuances of human preference. A high-scoring image may still contain uncanny artifacts, and a high-BLEU sentence may lack semantic coherence.

Despite the necessity of subjective evaluation, it is frequently treated as a "black box" in research papers. Crucial details—such as the exact wording of instructions, participant screening criteria, and the specific order of stimuli—are often omitted, leading to a reproducibility crisis in human-centric evaluation. Furthermore, setting up these studies on platforms like Amazon Mechanical Turk (MTurk) typically requires significant custom web development and manual data management.

The ReSEval Framework

To address these challenges, we introduce ReSEval (Reproducible Subjective Evaluation), an open-source framework designed to make subjective human evaluation as easy to deploy and reproduce as standard objective benchmarks. ReSEval bridges the gap between Python-based research workflows and crowdsourcing platforms by automating the entire lifecycle of a human study.

The ReSEval pipeline showing the logical flow from consent to completion, alongside the corresponding user interface components.

The ReSEval pipeline consists of several key stages:

  1. Consent & Welcome: Manages legal and ethical requirements.
  2. Prescreening: Ensures participants meet specific criteria (e.g., hearing or visual acuity) before contributing data.
  3. Subjective Evaluation: The core task where participants interact with the stimuli.
  4. Follow-up & Payment: Automates post-evaluation surveys and the distribution of completion codes for payment.

Supported Modalities and Test Paradigms

ReSEval is designed to handle a diverse range of data types, including audio, image, text, and video. It supports four major test paradigms that are common in research but often difficult to implement from scratch:

  • A/B Testing: Participants choose between two options.
  • ABX Testing: Participants identify which of two stimuli is more similar to a reference.
  • Mean Opinion Score (MOS): Participants rate stimuli on a scale (typically 1 to 5).
  • MUSHRA-style: Participants compare multiple stimuli against a hidden reference and a low-quality "anchor."
Examples of ReSEval's interface for different modalities and paradigms, including text comparison, image ABX, video quality rating, and audio MUSHRA-style evaluation.

By using deterministic sampling, ReSEval ensures that if a study is rerun with the same seed, participants will see the same files in the same order, further enhancing reproducibility.

Reproducibility through Configuration

The cornerstone of ReSEval's reproducibility is its use of a single configuration file. This file defines the entire study environment, including instructions, filtering criteria, and data sampling methods. By sharing this .yaml configuration alongside the data directory, researchers provide an executable "methods" section. Launching a production-ready study is reduced to a single command:

python -m reseval <config> <directory> --production

This approach allows subjective tests to be treated like "unit tests" within a machine learning development pipeline. For instance, a CI/CD script could automatically trigger a human A/B test when a new model checkpoint is reached to determine if it outperforms the current production model.

Conclusion and Future Work

ReSEval significantly lowers the barrier to entry for high-quality human studies, moving from weeks of custom development to minutes of configuration. It automates storage, database management, and statistical analysis, supporting local debugging via the MTurk Sandbox.

Future developments for ReSEval include expanding platform support beyond MTurk to include Prolific and cloud backends like AWS or Firebase. We also plan to integrate more sophisticated quality control mechanisms, such as advanced attention checks and specialized perceptual screening tests (e.g., color-blindness checks), to further ensure the integrity of crowdsourced data.

ReSEval is available as an open-source project on GitHub at github.com/reseval/reseval.

Summary updated

BibTeX
@misc{morrison2022reproducible,
  author = {Max Morrison and Brian Tang and Gefei Tan and Bryan Pardo},
  title = {{Reproducible Subjective Evaluation}},
  year = {2022},
  eprint = {2203.04444},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.04444},
}
Figure