Skip to content

Repository for my master thesis on unbiased neural ranking models in product search

Notifications You must be signed in to change notification settings

LTluttmann/unbiased_neural_ranking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unbiased Neural Ranking

This repository contains the code and pdf file of my master thesis titled "Unbiased Neural Ranking Models for Product Search". Since this is company work, I cannot upload the data used to train and validate the models.

The main part of this repo is the mt.models module. It comprises three submodules, lse, ltr and ultr.

LSE (Latent Semantic Entities)

This sub-module contains the encoder architectures and learning algorithms to map raw texts into a latent space

LTR (Learning-to-Rank)

This sub-module contains the relevance scoring functions. Besides a simple MLP and a context-aware Attention-based ranker (attnrank), it also includes a simple "benchmark" model to imitate the production ranker, by taking the reciprocal of a documents rank position from the training / validation set as well as the interaction-based neural ranking models DSSM and KNRM.

ULTR (Unbiased LTR)

This sub-module contains learning strategies to isolate position bias present in clickthrough data. Besides the IPW framework of Joachims et al. (2017), for which propensity scores can be obtained by the EM algorithm implemented in this submodule, it contains the JoE architecture and a naive estimator, which simply uses the raw feedback signals from the training data.

Moreover, the module mt.data contains the scripts used for preprocessing and generating the dataset, except for the SQL used to get the clickstream data, as well as helper function to build the tensorflow datasets, which are used to train and evaluate the models. And the mt.evaluation model contains the scripts for a simulation study, that can be used to evaluate the effectiveness of the Unbiased LTR methods.

About

Repository for my master thesis on unbiased neural ranking models in product search

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages