Giter Site home page Giter Site logo

philipphager / ultr-reproducibility Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 0.0 628 KB

SIGIR 2024 - Unbiased Learning to Rank Meets Reality: Lessons from Baidu's Large-Scale Search Dataset

Home Page: https://dl.acm.org/doi/10.1145/3626772.3657892

License: MIT License

Python 100.00%
click-model learning-to-rank unbiased-learning-to-rank mono-bert

ultr-reproducibility's Introduction

Baidu-ULTR Reproducibility

Main repository for the paper Unbiased Learning to Rank Meets Reality: Lessons from Baidu's Large-Scale Search Dataset published at the SIGIR 2024 reproducibility track.

Overview

Repositories

Dataset Description
Baidu-ULTR reprocibility This repository, containing the code to tune, train, and evaluate all reranking methods including reference implementations of ULTR methods in Jax and Rax.
Baidu-ULTR MonoBERT models Repository containing the code to train flax-based MonoBERT models from scratch (optionally with ULTR).
Reranking datasets Code to preprocess and publish the two reranking datasets to Huggingface (see below).
ULTR bias toolkit Reference implementation of Intervention Harvesting methods. RegressionEM as used in our work was implemented in this repository.

Datasets

Dataset Description
Language modeling dataset Subset of the original Baidu-ULTR used in our work to train and evaluate MonoBERT cross-encoders.
Reranking dataset (Baidu BERT) The first four partition of Baidu-ULTR with query-document embeddings produced by the official MonoBERT cross-encoder released by Baidu plus additional LTR features computed by us.
Reranking dataset (our BERT) The first four partition of Baidu-ULTR with query-document embeddings produced by our naive MonoBERT cross-encoder and additional LTR features.

Hyperparameters

Base Language Models

We list all hyperparameters used to train our models here.

Reranking models

We train small feed-forward networks with ReLU activation on fixed query-document embeddings and LTR vectors to compare ULTR objectives. We tune the model architecture per dataset and lr and dropout regularization per method/dataset combination. We list all final hyperparameters of the reranking models under config/hyperparameters/.

Position Bias

Position bias as estimated with the ULTR Bias Toolkit on partitions 1-3 of Baidu-ULTR.

Installation

  • If Poetry is available, you can install all dependencies by running: poetry install.
  • If Mamba is available, you can use mamba env create --file environment.yaml which supports CUDA 11.8.

Usage

Select a dataset ["baidu", "uva", "ltr"] and model/loss combination, e.g.,: ["naive-pointwise", "regression-em", "dla", "pairwise-debias"] and run:

 python main.py data=baidu model=naive-pointwise

Reference

@inproceedings{Hager2024BaiduULTR,
  author = {Philipp Hager and Romain Deffayet and Jean-Michel Renders and Onno Zoeter and Maarten de Rijke},
  title = {Unbiased Learning to Rank Meets Reality: Lessons from Baidu’s Large-Scale Search Dataset},
  booktitle = {Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR`24)},
  organization = {ACM},
  year = {2024},
}

License

This repository uses the MIT License.

ultr-reproducibility's People

Contributors

philipphager avatar romdeffayet avatar

Stargazers

taoyanqi avatar S. Agaronian  avatar Ramsey avatar  avatar Travis Brady avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.