Abstract: Modern ranking systems often rely on complex "black-box" models that lack transparency. This paper introduces Neural Ranking GAMs, an intrinsically interpretable learning-to-rank (LTR) framework. By using standalone neural networks for individual features and a novel contextual weighting mechanism, the proposed model achieves high accuracy while remaining human-readable. Furthermore, these models can be distilled into ultra-fast piece-wise linear functions for production use.
Introduction
The lack of interpretability in state-of-the-art ranking models like LambdaMART or deep neural networks poses significant challenges in high-stakes domains such as finance, law, or medicine. While post-hoc explanation methods exist, they often fail to faithfully represent a model's internal logic. This work addresses the need for models that are "interpretable by design" without sacrificing the performance required for complex ranking tasks.
Methods
The core architecture is based on Generalized Additive Models (GAMs), where the final ranking score is a sum of univariate functions: $Score = \sum f_j(x_j)$.
The authors introduce three key innovations to adapt GAMs for ranking:
- Neural Instantiation: Small, standalone feed-forward neural networks learn each sub-model $f_j(x_j)$, enabling the model to handle both numerical and categorical data seamlessly.
- Contextual Weighting (RankGAM+): To account for situational factors, a context-aware module uses list-level features (e.g., user device or region) to generate importance weights ($\alpha$) that scale the contribution of item-level sub-scores.
- Sub-model Distillation: For production efficiency, neural sub-models are distilled into simple piece-wise linear (PWL) functions using a greedy knot-finding algorithm.
Key Insights and Ideas
A critical finding is that training GAMs with ranking-specific losses (e.g., approximate NDCG) significantly outperforms standard regression approaches used in prior GAM research. Additionally, the contextual weighting mechanism proves essential; since context is constant across a list, it must be used to weight other features rather than as an additive term, which would be canceled out by ranking losses.
The use of neural networks also ensures smooth, continuous sub-model curves. This often leads to better generalization and more intuitive visualizations for human auditors compared to the jagged, "steppy" outputs of tree-based models.
Key Results
Neural RankGAM consistently outperformed traditional tree-based GAMs, achieving an NDCG@5 of 43.29% on the WEB30K dataset compared to 32.79% for tree-based alternatives. On the Chrome Web Store dataset, contextual weighting provided a ~4.9% boost in NDCG@5, proving its effectiveness in capturing situational nuances.
Finally, distillation into piece-wise linear functions yielded a 17x to 23x inference speedup with negligible accuracy loss (less than 1% drop in NDCG), making the model highly suitable for real-time production environments.
Limitations and Future Work
While highly interpretable, GAMs do not inherently capture feature interactions (e.g., the combined effect of age and income). Future work includes extending the framework to GA²Ms for pairwise interactions and implementing strict monotonicity constraints. Additionally, improving distillation accuracy in sparse data regions remains an open challenge.
Summary updated