Abstract
We consider the task of assigning experts from a portfolio of specialists in order to solve a set of tasks. We apply a Bayesian model which combines collaborative filtering with a feature-based description of tasks and experts to yield a general framework for managing a portfolio of experts. The model learns an embedding of tasks and problems into a latent space in which affinity is measured by the inner product. The model can be trained incrementally and can track non-stationary data, tracking potentially changing expert and task characteristics. The approach allows us to use a principled decision theoretic framework for expert selection, allowing the user to choose a utility function that best suits their objectives. The model component for taking into account the performance feedback data is pluggable, allowing flexibility. We apply the model to manage a portfolio of algorithms to solve hard combinatorial problems. This is a well studied area and we demonstrate a large improvement on the state of the art in one domain (constraint solving) and in a second domain (combinatorial auctions) created a portfolio that performed significantly better than any single algorithm.
Introduction: The Algorithm Selection Problem
In fields like combinatorial optimization—such as SAT solving, scheduling, or auctions—no single algorithm is universally superior. This is known as the Algorithm Selection Problem: a solver might excel on one problem instance but fail on another that a different heuristic handles easily. Traditional portfolio approaches often suffer from static learning, rigid feedback mechanisms, and a lack of principled decision-theoretic selection to balance solution quality against computational cost.
Methodology: The Matchbox Framework
The authors introduce Matchbox, a Bayesian recommendation engine adapted for algorithm portfolios. Matchbox represents tasks and experts as vectors in a $K$-dimensional latent space, where predicted performance is determined by the inner product of these vectors.
Key Components:
- Feature Integration: Unlike pure collaborative filtering, Matchbox utilizes task features (e.g., variable count, clause density) to generalize to unseen tasks.
- Bayesian Inference: Using Expectation Propagation (EP), the model maintains probability distributions over parameters, enabling incremental, on-line training that adapts to "drifting" data.
- Pluggable Feedback: A time-based model treats run-time as ordinal rankings (Fast, Slow, or Timeout), allowing the system to learn even from failures.
- Utility-Based Selection: Experts are chosen to maximize a utility function: $u(t) = \text{benefit} - \text{cost} \times \text{time}$.
Latent Space Discovery
A significant insight of this approach is the model's ability to automatically discover meaningful relationships between solvers. In the Linear Programming (LP) domain, the latent space clearly separated Simplex solvers from Interior Point Method (IPM) solvers, and Primal from Dual approaches, despite having no prior knowledge of these mathematical categories.
Experimental Results
The framework was evaluated across three domains: Quantified Boolean Formulas (QBF), Combinatorial Auctions, and Linear Programming.
In the QBF domain, Matchbox significantly outperformed the previous state-of-the-art, AQME. In batch mode, Matchbox solved 2,102 instances compared to AQME's 1,818. When allowed to learn on-line, Matchbox's performance improved further, reaching a utility score of 1,996, far exceeding the best individual solver (QuBE 6.1 at 1,603).
The computational efficiency is also noteworthy; updating the model takes less than 1 millisecond per problem, making it highly practical for real-time deployment.
Conclusion
Matchbox demonstrates that treating algorithm selection as a recommendation problem is highly effective. By leveraging latent space embeddings and on-line Bayesian adaptation, it provides a flexible and principled way to manage expert portfolios. Future work includes automating parameter tuning and extending the evaluation to human expert domains.
Summary updated