Abstract
Neural ranking models have become increasingly popular for real-world search and recommendation systems in recent years. Unlike their tree-based counterparts, neural models are much less interpretable. That is, it is very difficult to understand their inner workings and answer questions like how do they make their ranking decisions? or what document features do they find important? This is particularly disadvantageous since interpretability is highly important for real-world systems. In this work, we explore feature selection for neural learning-to-rank (LTR). In particular, we investigate six widely-used methods from the field of interpretable machine learning (ML) and introduce our own modification, to select the input features that are most important to the ranking behavior. To understand whether these methods are useful for practitioners, we further study whether they contribute to efficiency enhancement. Our experimental results reveal a large feature redundancy in several LTR benchmarks: the local selection method TabNet can achieve optimal ranking performance with less than 10 features; the global methods, particularly our G-L2x, require slightly more selected features, but exhibit higher potential in improving efficiency. We hope that our analysis of these feature selection methods will bring the fields of interpretable ML and LTR closer together.
Introduction
In the domain of Information Retrieval (IR), Learning-to-Rank (LTR) models serve as the core engines for search results and recommendations. While Gradient Boosted Decision Trees (GBDTs) have traditionally dominated this field, neural LTR models are gaining traction due to their power. However, neural models introduce two significant challenges: the "Black Box Problem," where decision-making logic is opaque, and the "Latency Problem," where the real-world bottleneck is often the time required to retrieve and calculate hundreds of document features on the fly.
While feature selection is well-established for tree-based models, it remains under-explored for neural LTR. This research aims to bridge the gap between Interpretable Machine Learning (IML)—which identifies important features for transparency—and LTR, which requires feature selection for operational efficiency.
Methodology
The study investigates six prevalent IML methods adapted for the LTR task, categorized by their selection scope (Global vs. Local) and their mechanism (Sampling-based vs. Regularization-based).
Key Methods and Architectures
- L2X & G-L2X: L2X is a local method using a "selector" network to pick the $k$ most important features. The authors introduce G-L2X, a novel global variant that learns a single feature mask for the entire dataset.
- TabNet: A non-composable, tree-like neural architecture that utilizes sequential attention to select features at each decision step.
- LassoNet: A global method that incorporates a residual layer and $L_1$ regularization to enforce sparsity.
- CAE (Concrete Autoencoders): A global sampling method that selects features by attempting to reconstruct the input.
- INVASE & IFG: Methods utilizing actor-critic styles or grouping to determine instance-wise feature importance.
These methods were evaluated in two scenarios: Scenario 1 (simultaneous training and selection) and Scenario 2 (evaluating performance when the model is restricted to a small, pre-selected feature budget).
Experimental Setup
The methods were tested on three standard LTR benchmarks of varying scales:
- MQ2008: 46 features (Small)
- Web30k: 136 features (Medium)
- Yahoo: 699 features (Large)
To measure real-world efficiency gains, the authors utilized feature cost labels (actual or estimated) to evaluate the reduction in retrieval overhead.
Results and Discussion
Massive Redundancy
Experimental results reveal that LTR datasets are highly redundant. Optimal ranking performance can often be achieved using fewer than 10 features, even on datasets containing hundreds of inputs. For instance, TabNet emerged as the most effective at balancing sparsity and accuracy in Scenario 1, often outperforming baseline DNNs while using less than 10% of the feature set.
Global vs. Local Selection
While local methods like TabNet are highly accurate at picking features for specific documents, they are less practical for production efficiency. If a model must process all features to decide which ones are important, no time is saved on feature retrieval. Conversely, global methods like the proposed G-L2X are superior for latency reduction. By deciding once which features are important for the entire system, "trash" features can be permanently ignored. G-L2X reached over 95% of baseline performance using only 1% of features on the Yahoo dataset.
Cost Reduction
Global methods (G-L2X and LassoNet) reduced feature retrieval costs by more than 70% while maintaining 96% of the performance of a full-feature model. In Scenario 2, global methods significantly outperformed local ones, proving more reliable for permanent feature pruning.
Conclusion
This work demonstrates that IML techniques can be effectively repurposed for feature selection in neural LTR to significantly enhance efficiency. While TabNet offers high accuracy, its non-composable nature may limit practitioners with custom neural designs. Future work should focus on "interpretable-by-design" ranking systems and further exploring how these selection insights can support IR practitioners in building responsive, trustworthy systems.
Summary updated