Generalized Ensemble Model for Document Ranking

Yanshan Wang, Dingcheng Li, Hongfang Liu, In-Chan ChoiarXiv 2015

Abstract

This paper introduces the Generalized Ensemble Model (gEnM) for Information Retrieval, addressing the long-standing challenge of directly optimizing non-differentiable metrics like Mean Average Precision (MAP). By employing a smooth sigmoid surrogate function to approximate the discrete indicator functions within the MAP formula, the authors enable the use of calculus-based optimization techniques. The framework includes batch, online, and unsupervised variants, demonstrating significant performance gains across multiple standard benchmarks, including a 48% improvement in Precision at 1 on specific datasets.

Introduction

In Information Retrieval (IR), systems are typically evaluated using metrics such as Mean Average Precision (MAP), which prioritizes the placement of relevant documents at the top of search results. However, MAP is a step function—it is discrete, non-differentiable, and non-convex. This mathematical structure makes it unsuitable for standard optimization techniques like gradient descent. Consequently, most existing methods optimize "surrogate" functions that are easier to compute but do not perfectly align with the actual evaluation metric.

This research proposes a robust framework for combining multiple search algorithms (rankers) into a single, high-performance ensemble. The goal is to find the optimal weights for each ranker to maximize MAP directly.

Optimization via Sigmoid Surrogate

The core innovation of the gEnM is the Sigmoid Surrogate. The authors replace the discrete indicator function—which simply checks if one document is ranked higher than another—with a smooth, differentiable sigmoid function. This transformation allows the entire MAP objective to be optimized using powerful calculus-based methods.

Comparison between the true MAP objective and the smooth sigmoid approximation.

As shown in the figure above, the approximate objective closely tracks the behavior of the true MAP objective while providing the necessary smoothness for gradient-based search. This alignment ensures that maximizing the surrogate function effectively improves the actual ranking performance.

Algorithmic Variants

The paper introduces three distinct versions of the model to suit different operational needs:

  1. gEnM.BAT (Batch): Designed for offline training, this version utilizes a revised Newton’s method. To maintain computational efficiency, it employs a clever approximation for the Hessian matrix (the second derivative).
  2. gEnM.ON (Online): This is the first online algorithm for this type of ensemble, using Stochastic Gradient Descent (SGD) to update ranker weights query-by-query. This is particularly useful for dynamic web environments.
  3. UnsEnM (Unsupervised): A co-learning approach for scenarios lacking ground-truth labels. It treats the top results of one ranker as pseudo-labels to help train others in the ensemble.

Experimental Evaluation and Results

The models were evaluated on five classic IR benchmarks: MED (medical), CRAN (aeronautics), CISI (library science), CACM (computer science), and a Merged Collection (MC).

Example of document scores and MAP improvements for individual rankers versus ensemble models.

The experimental results confirmed that direct optimization of the target metric yields superior results. Key findings include:

  • Significant Performance Gains: gEnM consistently outperformed baseline ensemble models across all datasets.
  • Precision at the Top: On the CISI dataset, gEnM improved Precision at 1 (Pr@1) by 48% compared to the baseline.
  • Online Efficiency: Surprisingly, the online version (gEnM.ON) often performed slightly better than the batch version, likely because its simpler gradient updates avoided the approximation errors inherent in the batch version's Hessian simplification.

Conclusion

The Generalized Ensemble Model provides a versatile and mathematically grounded toolkit for search optimization. By bridging the gap between discrete evaluation metrics and continuous optimization, the authors demonstrate that "messy" metrics like MAP can indeed be optimized directly. Future work will focus on reducing the computational weight of Newton-based optimization and implementing sparsity constraints to automatically prune redundant rankers from the ensemble.

Summary updated

BibTeX
@misc{wang2015generalized,
  author = {Yanshan Wang and Dingcheng Li and Hongfang Liu and In-Chan Choi},
  title = {{Generalized Ensemble Model for Document Ranking}},
  year = {2015},
  eprint = {1507.08586},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1507.08586},
}
Figure