Abstract
We consider the problem of finding a target object $t$ using pairwise comparisons, by asking an oracle questions of the form "Which object from the pair $(i,j)$ is more similar to $t$?". Objects live in a space of latent features, from which the oracle generates noisy answers. First, we consider the non-blind setting where these features are accessible. We propose a new Bayesian comparison-based search algorithm with noisy answers; it has low computational complexity yet is efficient in the number of queries. We provide theoretical guarantees, deriving the form of the optimal query and proving almost sure convergence to the target $t$. Second, we consider the blind setting, where the object features are hidden from the search algorithm. In this setting, we combine our search method and a new distributional triplet embedding algorithm into one scalable learning framework called LEARN2SEARCH. We show that the query complexity of our approach on two real-world datasets is on par with the non-blind setting, which is not achievable using any of the current state-of-the-art embedding methods. Finally, we demonstrate the efficacy of our framework by conducting an experiment with users searching for movie actors.
Introduction
Searching for a specific item in a massive database is a common challenge. While keyword-based search is standard, it fails when users cannot easily describe the target's features (e.g., the exact proportions of a face). However, humans are remarkably good at relative comparisons: deciding which of two examples is "more like" their target. This is known as comparison-based search.
Existing methods for this task often struggle with two issues: the "Non-Blind" trap, assuming perfect feature maps are pre-available, and the "Scalability" trap, where the computational cost of selecting the next query grows quadratically with the database size. This paper introduces LEARN2SEARCH, a framework that addresses both by efficiently searching large datasets while simultaneously learning the underlying data map from scratch.
Methodology
GAUSSSEARCH: The Search Engine
In the non-blind setting where features are known, the algorithm maintains a Gaussian belief—a multi-dimensional probability distribution representing the estimated location of the target. To avoid the $O(n^2)$ cost of evaluating every possible pair for the next query, the authors introduce SAMPLEMIRROR. This technique identifies an optimal bisecting hyperplane through the belief cloud, reflects a sample point across it, and finds the nearest real objects. This geometric approach reduces query selection to near-constant time.
GAUSSEMBED: The Mapper
In the blind setting, features are unknown. The authors propose GAUSSEMBED, a distributional triplet embedding method. Unlike standard embeddings that map objects to single points, GAUSSEMBED represents each object as a probability distribution. This explicitly models uncertainty: objects with fewer comparisons have "fuzzier" locations, allowing the system to balance exploration of unknown items with exploitation of known regions.
LEARN2SEARCH: The Integrated Framework
LEARN2SEARCH combines these components. It begins with no knowledge of the feature space. As it performs searches (initially using random or high-uncertainty queries), it uses the resulting triplets to refine the GAUSSEMBED map. Over time, the map becomes accurate enough for GAUSSSEARCH to perform as efficiently as if the true features were known from the start.
Key Results
Computational and Query Efficiency
GAUSSSEARCH demonstrates significant advantages in scalability. While traditional Information Gain (IG) methods become prohibitively slow as the number of objects $n$ increases, GAUSSSEARCH maintains a nearly constant, millisecond-level computation time per query even for $n=100,000$.
Convergence in the Blind Setting
Experiments on real-world datasets (Wine and Music) show that LEARN2SEARCH successfully bridges the gap between blind and non-blind search. As the number of searches increases, the query complexity of the learned embedding (red dashed line) converges to the performance level of the true latent features (black horizontal line).
Human-in-the-Loop Validation
In a user study involving 513 celebrity faces, participants found their target in approximately 2 minutes on average. This demonstrates that the framework is not only theoretically sound but also practically effective for human-centric search tasks.
Conclusion and Future Work
LEARN2SEARCH provides a scalable solution for comparison-based search without requiring pre-defined features. While highly effective, the current model assumes a specific noise profile (probit) and requires a "warm-up" period in the blind setting. Future research could explore higher-dimensional latent spaces and more flexible noise models to further generalize these findings.
Summary updated