Abstract
The efficiency of state-of-the-art algorithms for the dueling bandits problem is essentially due to a clever exploitation of (stochastic) transitivity properties of pairwise comparisons: If one arm is likely to beat a second one, which in turn is likely to beat a third one, then the first is also likely to beat the third one. By now, however, there is no way to test the validity of corresponding assumptions, although this would be a key prerequisite to guarantee the meaningfulness of the results produced by an algorithm. In this paper, we investigate the problem of testing different forms of stochastic transitivity in an online manner. We derive lower bounds on the expected sample complexity of any sequential hypothesis testing algorithm for various forms of stochastic transitivity, thereby providing additional motivation to focus on weak stochastic transitivity. To this end, we introduce an algorithmic framework for the dueling bandits problem, in which the statistical validity of weak stochastic transitivity can be tested, either actively or passively, based on a multiple binomial hypothesis test. Moreover, by exploiting a connection between weak stochastic transitivity and graph theory, we suggest an enhancement to further improve the efficiency of the testing algorithm. In the active setting, both variants achieve an expected sample complexity that is optimal up to a logarithmic factor.
Introduction
In the realm of online preference learning, the dueling bandits problem serves as a fundamental model for scenarios where feedback is obtained through pairwise comparisons. Applications range from search engine optimization to sports ranking and recommender systems. To navigate the vast space of potential comparisons efficiently, modern algorithms rely heavily on stochastic transitivity assumptions. These assumptions posit that if a user prefers item $A$ over $B$, and $B$ over $C$, they are likely to prefer $A$ over $C$.
However, human preferences are frequently inconsistent, exhibiting cycles (e.g., $A > B > C > A$) that violate these assumptions. If an algorithm operates under a false assumption of transitivity, its output—whether a single best item or a full ranking—becomes statistically meaningless. Despite this risk, the field has lacked a mechanism to validate these assumptions online during data acquisition. This paper addresses this gap by introducing a sequential hypothesis testing framework to monitor and verify transitivity on the fly.
The Limits of Testability
A key contribution of this work is the mathematical proof that not all forms of transitivity are created equal in terms of testability. The authors demonstrate that testing any form of stochastic transitivity stronger than Weak Stochastic Transitivity (WST) requires an infinite expected number of samples in the worst case.
WST is defined as: if $P(A > B) \geq 0.5$ and $P(B > C) \geq 0.5$, then $P(A > C) \geq 0.5$. This condition is the minimal requirement to ensure that a strict total ranking of items is even theoretically possible. By proving that stronger variants are untestable, the authors provide a rigorous justification for focusing their algorithmic efforts specifically on WST.
Algorithmic Framework
The proposed framework treats transitivity verification as a sequential hypothesis test. The null hypothesis assumes the preference data satisfies WST. The authors explore two primary operational modes:
- Passive Testing: The tester monitors the queries of an existing dueling bandit algorithm, acting as a background "alarm" system.
- Active Testing: The algorithm strategically selects pairs for comparison to confirm or refute WST with minimal sample cost.
The core mechanism utilizes multiple binomial hypothesis tests with anytime confidence bounds (e.g., Hoeffding or Sequential Probability Ratio Tests). To optimize this, the authors leverage graph theory, representing preferences as directed edges in a tournament graph.
Graph-Based Optimization
A naive approach would require testing every possible triplet of items. The authors introduce an improved algorithm ($\mathcal{A}_{\text{improved}}$) that maps preferences to graph structures. By identifying "negligible" edges and focusing on potential cycles, the algorithm can often reject the transitivity assumption immediately upon detecting a single cycle (e.g., $A \to B \to C \to A$), significantly reducing the required sample size.
Empirical Evaluation
The algorithms were evaluated using synthetic preference matrices with varying numbers of items ($m = 4$ to $8$) and controlled levels of transitivity violations.
- Accuracy: The testing algorithms achieved 100% accuracy in identifying WST compliance across all experimental runs.
- Efficiency: The graph-enhanced active testing strategy demonstrated massive speedups. In scenarios with 8 items and transitivity violations, the improved algorithm reduced the average sample count from ~55,727 (naive) to ~7,066.
- Optimality: Theoretically, the active sampling strategy was shown to be optimal up to a logarithmic factor in terms of expected sample complexity.
Conclusion
This research provides the first robust framework for ensuring the validity of transitivity assumptions in online preference learning. By identifying WST as the only testable form of transitivity and providing an efficient, graph-optimized testing mechanism, this work offers a critical safety layer for dueling bandit algorithms. Future research will focus on extending these tests to even weaker conditions, such as the existence of a Condorcet Winner, and integrating the framework with real-world crowdsourced datasets.
Summary updated