Combinatorial Optimization using Comparison Oracles

Vincent Cohen-Addad, Tommaso d'Orsi, Anupam Gupta, Guru Guruganesh, Euiwoong Lee, Renato Paes Leme, Debmalya Panigrahi, Madhusudhan Reddy Pittu, Jon Schneider, David P. Woodruff

TL;DR

This paper proves that any linear combinatorial optimization problem over $n$ elements can be solved using only $O(n^2)$ comparison queries, regardless of the complexity of the underlying set system. The authors introduce general algorithmic frameworks—Optimization from Certification and Global Subspace Learning—and provide the first polynomial-time, low-query algorithms for classic problems like Minimum Cut, MST, and Bipartite Matching in the comparison-only model.

What Problem Does This Paper Address?

In traditional combinatorial optimization, we assume access to a value oracle: we can ask, "What is the total weight of this set of items?" However, in many modern applications—like Reinforcement Learning from Human Feedback (RLHF), recommendation systems, or crowdsourcing—absolute values are hard to obtain. Humans are much better at saying "Option A is better than Option B" than assigning a precise numerical score to either.

The authors investigate the comparison oracle model: given two feasible sets $S$ and $T$, the oracle only reveals if $w(S) \leq w(T)$. The fundamental questions are:

  1. Query Complexity: How many comparisons are needed to find the optimal set?
  2. Computational Efficiency: Can we find the optimum in polynomial time using these comparisons?

Methods

The paper introduces three primary methodologies to bridge the gap between simple comparisons and complex optimization:

  • Conic Dimension Framework: To bound query complexity, the authors adapt the "inference dimension" from active learning. They define conic dimension as a geometric measure of how many comparisons are needed before the remaining orderings are "forced" by linear constraints.
  • Optimization from Certification (Dual Ellipsoid): The authors develop a novel reduction showing that if you can efficiently certify that a solution is optimal using comparisons (given the true weights), you can also find that solution efficiently. They implement this using a modified Ellipsoid method in the dual space.
  • Global Subspace Learning (GSL): For integer weights bounded by $B$, they use linear algebra to infer weights. If $w(S) = w(T)$, then the vector $(\mathbb{1}_S - \mathbb{1}_T)$ is orthogonal to the weight vector $w^*$. By collecting these "orthogonal directions," the algorithm learns the subspace containing $w^*$ and uses it to sort all feasible sets.

Datasets

As a theoretical computer science paper, it does not use empirical datasets. Instead, it evaluates its algorithms against standard combinatorial families (set systems):

  • Boolean Linear Optimization: General sets $\mathcal{F} \subseteq \{0,1\}^n$.
  • Graph Problems: Minimum cuts, shortest $s$-$t$ paths, and minimum weight spanning trees.
  • Matroids: Matroid bases and matroid intersection.
  • Classic NP-hard problems: Used as theoretical benchmarks to show the gap between query complexity (low) and runtime (high).

Key Insights and Ideas

  • Information vs. Computation Gap: A major "aha" moment is that for any set system (even NP-hard ones like Traveling Salesperson), the number of queries needed is only $O(n^2)$. This means the "bottleneck" for hard problems is purely computational, not a lack of information from the comparison oracle.
  • Certification is Sufficient: The Dual Ellipsoid framework proves that the ability to verify an answer is almost as powerful as the ability to find it, even when you only have relative preferences.
  • The Power of Integrality: If weights are small integers, the Global Subspace Learning approach can sort every feasible set (not just find the minimum) with surprisingly few queries ($O(nB \log(nB))$).

Key Results

The paper provides a suite of new bounds and algorithms:

Problem Query Complexity (Comparisons) Runtime
Any Boolean Optimization $O(n^2)$ May be exponential (if NP-hard)
Minimum Cut (Simple Graph) $\tilde{O}(|V|)$ $\tilde{O}(|V|^2)$
Min-Weight Spanning Tree $O(n \log n)$ $O(n^2)$
Bipartite Matching $poly(n)$ $poly(n)$
Shortest $s$-$t$ Path $O(n^3)$ $O(n^3)$
  • Theorem 1.1: Establishes the $O(n^2)$ query bound for any family $\mathcal{F}$.
  • Theorem 1.7: Shows that a simple unweighted graph can be fully recovered (reconstructed) using only cut comparisons, which was previously thought to be much harder.

Limitations and Future Work

  • Weighted Graphs: While unweighted min-cut is solved efficiently, the authors note that weighted min-cut is significantly harder. They provide a result for graphs with few distinct vertex degrees, but the general weighted case remains a major open challenge.
  • Non-Adaptive Queries: Most of the efficient algorithms are highly adaptive (the next query depends on previous results). The complexity of non-adaptive comparison-based optimization is still not fully understood.
  • Computational Hardness: While query complexity is low for NP-hard problems, the runtime remains exponential (assuming the Exponential Time Hypothesis). Finding "approximation" algorithms that are efficient in both queries and time for NP-hard problems is a suggested next step.

Summary updated

BibTeX
@inproceedings{cohenaddad2026combinatorial,
  author = {Vincent Cohen-Addad and Tommaso d'Orsi and Anupam Gupta and Guru Guruganesh and Euiwoong Lee and Renato Paes Leme and Debmalya Panigrahi and Madhusudhan Reddy Pittu and Jon Schneider and David P. Woodruff},
  title = {{Combinatorial Optimization using Comparison Oracles}},
  booktitle = {STOC},
  year = {2026},
  doi = {10.1145/3798129.3800904},
}
Figure