Rax: Composable Learning-to-Rank Using JAX
Authors:
Open Access
- 14 August 2022
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 3051-3060
Abstract
Rax is a library for composable Learning-to-Rank (LTR) written entirely in JAX. The goal of Rax is to facilitate easy prototyping of LTR systems by leveraging the flexibility and simplicity of JAX. Rax provides a diverse set of popular ranking metrics and losses that integrate well with the rest of the JAX ecosystem. Furthermore, Rax implements a system of ranking-specific function transformations which allows fine-grained customization of ranking losses and metrics. Most notably Rax provides approx_t12n: a function transformation (t12n) that can transform any of our ranking metrics into an approximate and differentiable form that can be optimized. This provides a systematic way to directly optimize neural ranking models for ranking metrics that are not easily optimizable in other libraries. We empirically demonstrate the effectiveness of Rax by benchmarking neural models implemented using Flax and trained using Rax on two popular LTR benchmarks: WEB30K and Istella. Furthermore, we show that integrating ranking losses with T5, a large language model, can improve overall ranking performance on the MS MARCO passage ranking task. We are sharing the Rax library with the open source community as part of the larger JAX ecosystem at https://github.com/google/rax.Keywords
This publication has 17 references indexed in Scilit:
- Fast Ranking with Additive Ensembles of Oblivious and Non-Oblivious Regression TreesACM Transactions on Information Systems, 2016
- XGBoost2016
- Smoothing DCG for learning to rank2009
- Listwise approach to learning to rank2008
- SoftRank2008
- Learning to rank2007
- Learning to rank using gradient descent2005
- Cumulated gain-based evaluation of IR techniquesACM Transactions on Information Systems, 2002
- Optimizing search engines using clickthrough data2002
- Object-oriented application frameworksCommunications of the ACM, 1997