The Web Is Your Oyster - Knowledge-Intensive NLP against a Very Large Web Corpus

Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Dmytro Okhonko, Samuel Broscheit +6 more
12/18/2021
81 citations
cs.CLcs.AIcs.IR
benchmark-dataset

Official code: facebookresearch/Sphere (552 stars, Python, last commit 2022-12-06). 1 more implementation below.

Abstract

In order to address increasing demands of real-world applications, the research for knowledge-intensive NLP (KI-NLP) should advance by capturing the challenges of a truly open-domain environment: web-scale knowledge, lack of structure, inconsistent quality and noise. To this end, we propose a new setup for evaluating existing knowledge intensive tasks in which we generalize the background corpus to a universal web snapshot.

Show full abstract

We investigate a slate of NLP tasks which rely on knowledge - either factual or common sense, and ask systems to use a subset of CCNet - the Sphere corpus - as a knowledge source. In contrast to Wikipedia, otherwise a common background corpus in KI-NLP, Sphere is orders of magnitude larger and better reflects the full diversity of knowledge on the web. Despite potential gaps in coverage, challenges of scale, lack of structure and lower quality, we find that retrieval from Sphere enables a state of the art system to match and even outperform Wikipedia-based models on several tasks. We also observe that while a dense index can outperform a sparse BM25 baseline on Wikipedia, on Sphere this is not yet possible. To facilitate further research and minimise the community's reliance on proprietary, black-box search engines, we share our indices, evaluation metrics and infrastructure.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
facebookresearch/SphereOfficial552Python–2022-12-06
facebookresearch/distributed-faissOfficial281Python–2023-11-01

Web-scale retrieval for knowledge-intensive NLP

55226PythonDec 8, 20213 years agoNOASSERTION

A library for building and serving multi-node distributed faiss indices.

28122PythonMar 22, 20223 years agoNOASSERTION

Similar Papers

Cite this paper

@article{piktus2021your,
  title  = {The Web Is Your Oyster - Knowledge-Intensive NLP against a Very Large Web Corpus},
  author = {Aleksandra Piktus and Fabio Petroni and Vladimir Karpukhin and Dmytro Okhonko and Samuel Broscheit and Gautier Izacard and Patrick Lewis and Barlas Oğuz and Edouard Grave and Wen-tau Yih and Sebastian Riedel},
  year   = {2021},
  eprint = {2112.09924},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.09924}
}

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/2112.09924.svg)](https://codeofpaper.com/paper/2112.09924)

Discussion