Learning from the Crowd with Pairwise Comparison

Shiwei Zeng, Jie Shen

Abstract

Efficient learning of halfspaces is a foundational problem in machine learning and statistics. As data sets grow to unprecedented scales, researchers increasingly rely on crowdsourcing for data annotation. A central challenge in this domain is provably learning underlying halfspaces from highly noisy crowd feedback. While traditional methods focus on absolute labels, humans often find pairwise comparisons easier and more accurate to provide. This paper investigates the problem of learning halfspaces from the crowd under the realizable PAC (Probably Approximately Correct) learning setting, assuming workers can provide both noisy labels and pairwise comparison tags. We introduce a powerful boosting framework combined with a novel filtering process. Our results demonstrate that the labeling overhead remains a constant, whereas standard extensions to the crowd setting result in overhead that grows with the size of the data set.

Introduction

In the classical PAC learning paradigm, an algorithm learns from an oracle that provides perfect labels. However, modern machine learning frequently utilizes platforms like Amazon Mechanical Turk, where human workers—the "crowd"—may be noisy, unmotivated, or even adversarial. While previous research has established that learning is possible with a constant labeling overhead (a fixed multiple of the labels required in a clean setting), absolute labels remain expensive and cognitively demanding.

This research addresses the efficiency gap by leveraging a key psychological insight: humans are significantly better at comparing two instances ("Is image A more representative of the class than image B?") than assigning an absolute label to a single instance. By integrating these easier pairwise comparisons into a formal learning framework, the authors aim to minimize the most expensive component of the training pipeline: the absolute label.

Methodology

The paper proposes a three-phase algorithmic approach built upon Robert Schapire’s classic boosting framework, enhanced by two innovative primitives designed for label efficiency.

1. Compare-and-Label (Algorithm 1)

To minimize direct labeling, the authors utilize a modified Randomized Quicksort. The algorithm sorts a set of data points by asking multiple crowd workers for pairwise comparisons and applying a majority vote to mitigate noise. Once the data is ordered, the algorithm employs binary search to identify the "threshold" point where labels transition from -1 to +1. This strategy allows the learner to infer labels for an entire set while only requesting a logarithmic number of absolute labels.

2. Label-Efficient Filtering (Algorithm 4)

The core innovation of the paper is a specialized filtering process. Rather than labeling a massive dataset to identify errors in a current hypothesis, the algorithm identifies a small set of "support instances"—points that are clearly positive or negative. It then uses pairwise comparisons against these supports to infer the labels of other points. This acts as a high-throughput filter, allowing the model to focus its limited labeling budget on the most informative instances.

3. Interleaving Learning and Annotation

The main algorithm does not perform annotation as a static preprocessing step. Instead, it interleaves training with annotation. It trains a weak hypothesis, uses the filtering process to identify regions where the hypothesis is likely to fail, and then focuses its labeling efforts specifically on those regions to refine the model iteratively.

Key Insights and Theoretical Results

The paper’s contributions are primarily theoretical, focusing on complexity bounds and convergence rates within the realizable setting.

  • Vanishing Labeling Overhead: The most significant finding is that by utilizing comparisons, the labeling overhead becomes $o(1)$. This implies that as the demand for accuracy increases (as $\epsilon \to 0$), the number of absolute labels required becomes a vanishingly small fraction of the total sample size.
  • Constant Comparison Cost: Unlike naive approaches where comparison costs might scale with the dataset size ($O(\log^2 n)$), the proposed interleaving approach maintains a constant comparison overhead ($O(1)$) relative to the complexity of the learning problem.
  • Adversarial Robustness: The mathematical framework remains robust even if a significant portion of the crowd (up to a $\frac{1}{2} - \alpha$ fraction) behaves adversarially, provided the majority of the crowd remains reliable.
  • Computational Efficiency: The authors prove (Theorem 2) the existence of an algorithm that learns a hypothesis class $\mathcal{H}$ in polynomial time relative to the VC dimension ($d$) and the inverse of the error rate ($1/\epsilon$).

Limitations and Future Directions

While the paper provides a rigorous foundation for comparison-based crowd learning, several areas remain for future exploration:

  1. Agnostic Setting: The current work assumes a "realizable" setting where a perfect threshold function exists. Extending these efficiency gains to the "agnostic" setting, where data may be inherently inseparable or noisy, is a critical next step.
  2. Complex Hypothesis Classes: The proofs are currently tailored to threshold functions (halfspaces). While these are fundamental to neural networks, adapting the label-efficient filtering to non-linear or more complex classes remains an open challenge.
  3. Advanced Worker Models: The study utilizes a "reliable worker" or "hammer-spammer" model. Future research could incorporate more nuanced human behavior models where worker accuracy varies based on the difficulty or ambiguity of specific comparisons.

Summary updated

Abstract

Efficient learning of halfspaces is arguably one of the most important problems in machine learning and statistics. With the unprecedented growth of large-scale data sets, it has become ubiquitous to appeal to crowd for data annotation, and the central problem that attracts a surge of recent interests is how one can provably learn the underlying halfspace from the highly noisy crowd feedback. On the other hand, a large body of recent works have been dedicated to the problem of learning with not only labels, but also pairwise comparisons, since in many cases it is easier to compare than to label. In this paper we study the problem of learning halfspaces from the crowd under the realizable PAC learning setting, and we assume that the crowd workers can provide (noisy) labels or pairwise comparison tags upon request. We show that with a powerful boosting framework, together with our novel design of a filtering process, the overhead (to be defined) of the crowd acts as a constant, whereas the natural extension of standard approaches to crowd setting leads to an overhead growing with the size of the data sets.
BibTeX
@misc{zeng2020learning,
  author = {Shiwei Zeng and Jie Shen},
  title = {{Learning from the Crowd with Pairwise Comparison}},
  year = {2020},
  eprint = {2011.01104},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.01104},
}
Figure