/information-retrieval

Information Retrieval 1 Course 2018 - MSc Artificial Intelligence @ UvA

Primary LanguageJupyter NotebookMIT LicenseMIT

Information Retrieval

License

Description

Labs of the Information Retrieval 1 course of the MSc in Artificial Intelligence at the University of Amsterdam. Joint work with Gabriele Bani and Bence Keresztury.

Lab 1 - Evaluation Measures, Interleaving and Click Models

Problem statement and Solution

Commercial search engines typically use a funnel approach in evaluating a new search algorithm: they first use an offline test collection to compare the production algorithm (P) with the new experimental algorithm (E); if E outperforms P with respect to the evaluation measure of their interest, the two algorithms are then compared online through an interleaving experiment.

Therefore, one of the key questions in IR is whether offline evaluation and online evaluation outcomes agree with each other. In this lab we run experiments in which we compare different online and offline evaluation metrics in order to understand the relationship between them. Multiple click models are used in order to simulate user clicks.

Lab 2 - A Study of Lexical and Semantic Language Models Applied to Information Retrieval and Learning to Rank

Problem statement and Solution - Report

In a typical IR task we are interested in finding a (usually ranked) list of results that satisfy the information need of a user expressed by means of a query. Many difficulties arise as the satisfaction and information need of the user cannot be directly observed, and thus queries from users can be interpreted in many ways. Moreover, the query is merely a linguistic representation of the actual information need of the user and the gap between them can not be measured either.

In this lab we study three families of models that are used to measure and rank the relevance of a set of documents given a query: lexical models, semantic models, and machine learning-based re-ranking algorithms that build on top of the former models.

Running

Refer to each notebook name and run Jupyter notebook with a following command:

jupyter notebook #notebook#.ipynb

Dependencies

  • NumPy
  • PyTorch
  • Matplotlib
  • Scipy
  • Pyndri
  • Gensim
  • Trec Eval
  • Pandas

Copyright

Copyright © 2018 Andrii Skliar.

This project is distributed under the MIT license. This was developed as part of the Information Retrieval course taught by Evangelos Kanoulas at the University of Amsterdam. Please follow the UvA regulations governing Fraud and Plagiarism in case you are a student.