Flexible retrieval with NMSLIB and FlexNeuART

Leonid Boytsov, Eric Nyberg
10/28/2020
26 citations
cs.IR

Official code: oaqa/FlexNeuART (225 stars, Java, Apache-2.0, last commit 2025-06-28).

Abstract

Our objective is to introduce to the NLP community an existing k-NN search library NMSLIB, a new retrieval toolkit FlexNeuART, as well as their integration capabilities. NMSLIB, while being one the fastest k-NN search libraries, is quite generic and supports a variety of distance/similarity functions.

Show full abstract

Because the library relies on the distance-based structure-agnostic algorithms, it can be further extended by adding new distances. FlexNeuART is a modular, extendible and flexible toolkit for candidate generation in IR and QA applications, which supports mixing of classic and neural ranking signals. FlexNeuART can efficiently retrieve mixed dense and sparse representations (with weights learned from training data), which is achieved by extending NMSLIB. In that, other retrieval systems work with purely sparse representations (e.g., Lucene), purely dense representations (e.g., FAISS and Annoy), or only perform mixing at the re-ranking stage.

View on arXivView PDF

Code Implementations(1)

oaqa/FlexNeuARTOfficial100%
Apache-2.0

Flexible classic and NeurAl Retrieval Toolkit

22537Java, PythonJul 24, 20161 years agoApache-2.0
ibm-modelinformation-retrievalneural-networksquestion-answering

Similar Papers

Cite this paper

@article{boytsov2020flexible,
  title  = {Flexible retrieval with NMSLIB and FlexNeuART},
  author = {Leonid Boytsov and Eric Nyberg},
  year   = {2020},
  eprint = {2010.14848},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.14848}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2010.14848.svg)](https://codeofpaper.com/paper/2010.14848)

Discussion