English

AlgoSelect: Universal Algorithm Selection via the Comb Operator

Machine Learning 2025-06-24 v1 Artificial Intelligence Data Structures and Algorithms

Abstract

We introduce AlgoSelect, a principled framework for learning optimal algorithm selection from data, centered around the novel Comb Operator. Given a set of algorithms and a feature representation of problems, AlgoSelect learns to interpolate between diverse computational approaches. For pairs of algorithms, a simple sigmoid-gated selector, an instance of the Comb Operator, facilitates this interpolation. We extend this to an N-Path Comb for multiple algorithms. We prove that this framework is universal (can approximate any algorithm selector), information-theoretically optimal in its learnability (thresholds for selection converge almost surely, demonstrated via Borel-Cantelli arguments), computationally efficient, and robust. Key theoretical contributions include: (1) a universal approximation theorem demonstrating that Comb-based selectors can achieve arbitrary accuracy; (2) information-theoretic learnability for selection thresholds; (3) formalization of the Comb Operator within linear operator theory, detailing its boundedness and spectral properties; (4) an N-Path Comb generalization for multi-algorithm selection; and (5) a practical learning framework for the adaptive seeding functions that guide the Comb Operator. Empirical validation on a comprehensive 20×\times20 problem-algorithm study demonstrates near-perfect selection (99.9\%+ accuracy) with remarkably few samples and rapid convergence, revealing that H(AlgorithmProblem)0H(\text{Algorithm}|\text{Problem}) \approx 0 in structured domains. AlgoSelect provides a theoretically grounded, practically deployable solution to automated algorithm selection with provable optimality and learnability guarantees, with significant implications for AI and adaptive systems.

Keywords

Cite

@article{arxiv.2506.17304,
  title  = {AlgoSelect: Universal Algorithm Selection via the Comb Operator},
  author = {Jasper Yao},
  journal= {arXiv preprint arXiv:2506.17304},
  year   = {2025}
}

Comments

24 pages, 4 figures, 1 repository, 1 supplementary document

R2 v1 2026-07-01T03:27:09.885Z