Introduction
Sorting a set of items is a fundamental task in data science, but in real-world applications—such as peer grading in Massive Open Online Courses (MOOCs) or ranking machine translation outputs—we often rely on noisy human feedback. Psychology identifies a Just Noticeable Difference (JND): while it is easy to distinguish a high-quality essay from a poor one, it is nearly impossible for humans to consistently rank items of almost identical quality. This leads to contradictory data and cycles in comparison graphs.
This paper introduces CandidateSort, a novel algorithm designed to achieve a perfect sort by strategically combining "cheap but noisy" crowdsourced comparisons with "expensive but perfect" expert verifications. The goal is to minimize expert queries while guaranteeing a 100% correct ranking.
The CandidateSort Algorithm
CandidateSort employs a dual-process architecture that simultaneously identifies the smallest items (ascending process) and the largest items (descending process). This "meet-in-the-middle" approach allows the algorithm to bypass bottlenecks; if one process requires expensive verifications to proceed, the algorithm can switch to the other process to see if "free" progress can be made elsewhere.
Degree Thresholding and Graph Representation
The algorithm models comparisons as a directed graph. In a noise-free scenario, the $i$-th smallest item would have a predictable number of incoming and outgoing edges. Noise, however, creates "two-cycles" (where $A > B$ and $B > A$ are both reported) and other contradictions. CandidateSort filters this noise by identifying "simple edges"—consistent directions that are not part of contradictory cycles.
Items are considered "candidates" for a specific rank based on their simple degrees. If only one item satisfies the threshold for a given rank, the algorithm assigns it without expert intervention. This reinforces the idea that ordinal data (A > B) is more robust for human-centric tasks than cardinal data (scores), as it avoids the miscalibration of individual internal scales.
Strategic Verification
When multiple items appear as valid candidates due to noise, the algorithm utilizes a costly expert verification. This process is managed through a candidate heap structure ($C_\rho$), ensuring that verifications are only performed when the graph structure alone cannot resolve the ambiguity.
By tracking these degrees and managing heaps, the algorithm effectively "filters" noise. A key insight is the Free Progress Principle: the algorithm can often deduce an item's correct position simply because no other item could mathematically fit that rank, effectively gaining information for free.
Theoretical Performance and Noise Models
The authors prove that CandidateSort is highly efficient across several rigorous mathematical models:
- Adversarial Model: In a worst-case scenario where an adversary strategically flips $k$ edges to confuse the algorithm, CandidateSort uses $O(k)$ verifications, which is asymptotically optimal.
- Just Noticeable Difference (JND) Model: In this probabilistic model based on experimental psychology, the number of verifications scales as $O(n\delta 2^{-r})$, where $n$ is the number of items, $\delta$ is the confusion threshold, and $r$ is the redundancy of crowd comparisons.
- Fixed Ambiguity Model: If noise is present but consistent, the algorithm can often achieve a perfect sort with zero expert verifications.
Conclusion and Future Work
CandidateSort demonstrates that perfect sorting is possible even with noisy crowdsourced data by using experts sparingly and strategically. The algorithm is robust and adaptive, requiring no prior knowledge of the noise level.
Future research may address the assumption of a "perfect" expert, as even specialists may disagree in subjective domains. Additionally, exploring parallelized "batch" queries for experts could improve the algorithm's efficiency in real-world crowdsourcing pipelines.
Summary updated