A KL-LUCB algorithm for Large-Scale Crowdsourcing

Ervin Tanczos, Robert Nowak, Bob MankoffNeurIPS 2017

Introduction

Researchers have developed lil-KLUCB, a new multi-armed bandit algorithm designed for massive crowdsourcing tasks like the New Yorker Cartoon Caption Contest. By combining the efficiency of "Law of the Iterated Logarithm" (LIL) bounds with the precision of Kullback-Leibler (KL) divergence, the algorithm identifies the "best" option among thousands of candidates using significantly fewer samples than previous state-of-the-art methods.

The Challenge of Large-Scale Crowdsourcing

In large-scale crowdsourcing, the goal is often to find the "best" item from a huge pool—for example, picking the funniest caption out of 5,000 submissions. This is a classic Best-Arm Identification problem in the Multi-Armed Bandit (MAB) framework.

However, existing tools had two major flaws when applied to crowdsourcing:

  1. The Variance Gap: Most algorithms use "sub-Gaussian" bounds, which assume a worst-case variance. In reality, most crowdsourced items are mediocre or bad. A terrible caption has a mean score near zero and very low variance; sub-Gaussian methods ignore this and waste samples "double-checking" obviously bad options.
  2. The Scaling Penalty: Algorithms that did account for bounded rewards (using KL-divergence) scaled poorly. They often included a $\log n$ penalty (where $n$ is the number of arms) for every single arm, making them sluggish when dealing with thousands of submissions.

Introducing lil-KLUCB

The authors introduce lil-KLUCB, a "fusion" algorithm that takes the best parts of two predecessors: lil-UCB (known for its optimal scaling with the number of arms) and KL-LUCB (known for its tight bounds on $[0, 1]$ rewards).

The technical "secret sauce" is a novel anytime confidence bound for the mean of bounded distributions:

  • Anytime: The bound holds true at every single time step $t$, not just at a fixed, pre-determined end time.
  • LIL-type: It incorporates the "Law of the Iterated Logarithm," which leads to a $\log(\log(t))$ term. This makes the confidence intervals much tighter as more data is collected.
  • KL-based: Instead of using simple squared distances, it uses Kullback-Leibler divergence to measure the "distance" between the observed empirical mean and the true mean, which naturally adapts to the variance of the data.

Key Insights

  • Exploiting the "Bad" Arms: In crowdsourcing, the "best" arm is the needle in a haystack. lil-KLUCB realizes very quickly when an arm is "bad" because its variance is low near the boundary (zero). This allows the algorithm to stop sampling bad captions much earlier than sub-Gaussian methods.
  • Eliminating the $\log n$ Tax: The authors proved that you don't need to pay a logarithmic penalty for the number of arms on every arm. By refining the math, they showed that the $\log n$ factor only needs to apply to the best arm, drastically reducing the total number of samples required.
  • Adaptivity is Free: The algorithm doesn't need to know the "gaps" between captions beforehand. It adapts to the difficulty of the problem on the fly.

Experimental Results

The algorithm was evaluated using both synthetic Bernoulli trials and real-world data from the New Yorker Cartoon Caption Contest (specifically Contests 512 and 558), where users rate captions on a scale mapped to $\{0, 0.5, 1\}$.

Empirical probability of finding the best arm in synthetic trials.

In synthetic trials (shown above), the KL-based approach demonstrates a massive advantage in sample efficiency, reaching a high probability of success much faster than sub-Gaussian (SG) lil-UCB.

Empirical probability of finding the best arm in New Yorker Contest 558.

When applied to the real-world New Yorker dataset, lil-KLUCB required 20% to 30% fewer samples to identify the top captions compared to standard sub-Gaussian methods. The paper provides a sample complexity bound that scales with the "Chernoff information," representing the information-theoretic limit for how fast one can distinguish between two distributions.

Limitations and Future Work

  • Focus on Best-Arm: While the authors mention the algorithm can be extended to "Top-$k$" identification (e.g., finding the top 10 funniest captions), the primary theoretical and experimental focus of this paper is on finding the single best arm ($k=1$).
  • Boundary Sensitivity: The most dramatic gains occur when means are near 0 or 1. If all captions were of roughly average quality (means near 0.5), the performance gap between lil-KLUCB and simpler sub-Gaussian methods would shrink.
  • Computational Complexity: Calculating KL-based bounds is slightly more computationally intensive than simple square-root bounds, though this is usually negligible compared to the cost of collecting human labels in a crowdsourcing context.

Summary updated

BibTeX
@inproceedings{tanczos2017kl,
  author = {Ervin Tanczos and Robert Nowak and Bob Mankoff},
  title = {{A KL-LUCB algorithm for Large-Scale Crowdsourcing}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2017},
  url = {https://openreview.net/forum?id=B1N10LZuZH},
}
Figure