Leveraging semantically similar queries for ranking via combining representations

Hayden S. Helm, Marah Ihab Abdin, Benjamin D. Pedigo, Shweti Mahajan, Vince Lyzinski, Youngser Park, Amitabh Basu, Piali Choudhury, Christopher M. White, Weiwei Yang, Carey E. PriebearXiv 2021 · arXiv

Introduction

In many modern information retrieval and recommendation tasks, the goal is to rank a set of objects relative to a specific query. However, a significant challenge arises in data-scarce environments where only a few labeled examples are available for a given query. In such cases, training a robust ranking model specifically for that query is often infeasible due to high variance in the learned parameters. This paper introduces Multiple Query Integer Linear Programming (MQ-ILP), a framework that addresses this "cold-start" or data-poor ranking problem by leveraging information from semantically similar queries.

Methodology: Jointly Learning from Similar Queries

The core of the MQ-ILP approach is the optimal combination of multiple pre-existing data representations, such as different graph embeddings or feature vectors. Instead of learning a complex non-linear model from scratch, the authors focus on finding the best convex combination (a weighted average) of dissimilarity measures.

The Bias-Variance Tradeoff

The transition from single-query optimization to multi-query optimization involves a fundamental bias-variance tradeoff. A model trained only on the target query has low bias but suffers from high variance due to limited data. By incorporating data from $K$ similar queries, the model introduces some bias (as the queries are not identical) but significantly reduces variance, leading to a more stable ranking function.

Conceptual framework showing the distribution of weights $\alpha_k$ controlled by a parameter $\beta$. High $\beta$ values concentrate weights, representing high query similarity.

As illustrated in the conceptual model above, the parameter $\beta$ controls the similarity between queries. When $\beta$ is high, the queries are more similar, allowing for more effective joint optimization. The weights $\alpha_k$ for each query $k$ are used to form the final distance measure:

$$d^* = \alpha_k d_{ASE} + (1 - \alpha_k) d_{LSE}$$

where $d_{ASE}$ and $d_{LSE}$ represent different embedding-based distances (e.g., Adjacency Spectral Embedding and Laplacian Spectral Embedding).

Experimental Evaluation

The authors evaluated MQ-ILP across three diverse domains to test its robustness:

  1. Simulated Graphs: Using Random Dot Product Graphs (RDPG) to precisely control and measure the impact of query variance ($\beta$).
  2. Drosophila Larva Connectome: A neuroscience task involving "vertex nomination"—identifying specific functional neurons (Kenyon cells) based on structural connections.
  3. Bing Navigational Graph: A large-scale real-world dataset from Microsoft where nodes are searchable objects and edges represent user transitions between them.

Results and Discussion

The experimental results consistently demonstrate that MQ-ILP outperforms single-query baselines, particularly as the number of available similar queries increases.

Performance metrics across different experimental setups: (a) performance vs. number of queries, (b) performance vs. query similarity ($\beta$), and (c) performance vs. labeled set size ($|S|$).

Key findings include:

  • Scalability with Queries: As seen in Figure (a), the Normalized Mean Reciprocal Rank (MRR) for MQ-ILP increases significantly as more similar queries are added, while the single-query ILP baseline remains stagnant.
  • Impact of Similarity: Figure (b) illustrates that MQ-ILP's advantage is most pronounced when the variance between queries is low (high $\log_{10}(\beta)$). In these regimes, the variance reduction from joint optimization far outweighs the bias introduced by query differences.
  • Combined Estimator: The "Combined" approach (dashed red line), which averages the weights from single-query and multi-query optimizations, often provides the most robust performance, effectively balancing local specificity with global trends.

Conclusion and Future Work

MQ-ILP provides a powerful yet simple framework for ranking in data-scarce scenarios by treating semantically similar queries as related tasks in a multi-task learning setting. While the current method assumes pre-identified similar queries, future work could integrate automated clustering to discover these relationships. Additionally, extending the framework to incorporate negative feedback and active learning could further enhance its utility in dynamic, real-world search environments.

Summary updated

Abstract

In modern ranking problems, different and disparate representations of the items to be ranked are often available. It is sensible, then, to try to combine these representations to improve ranking. Indeed, learning to rank via combining representations is both principled and practical for learning a ranking function for a particular query. In extremely data-scarce settings, however, the amount of labeled data available for a particular query can lead to a highly variable and ineffective ranking function. One way to mitigate the effect of the small amount of data is to leverage information from semantically similar queries. Indeed, as we demonstrate in simulation settings and real data examples, when semantically similar queries are available it is possible to gainfully use them when ranking with respect to a particular query. We describe and explore this phenomenon in the context of the bias-variance trade off and apply it to the data-scarce settings of a Bing navigational graph and the Drosophila larva connectome.
BibTeX
@misc{helm2021leveraging,
  author = {Hayden S. Helm and Marah Ihab Abdin and Benjamin D. Pedigo and Shweti Mahajan and Vince Lyzinski and Youngser Park and Amitabh Basu and Piali Choudhury and Christopher M. White and Weiwei Yang and Carey E. Priebe},
  title = {{Leveraging semantically similar queries for ranking via combining representations}},
  year = {2021},
  eprint = {2106.12621},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.12621},
}
Figure