Patrick Lewis

Patrick Lewis

Auto-generated profile, based on publicly available information

Patrick Lewis

Facebook AI Research

Research Focus & Metrics

Academic Career Length

8Years (2019-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
12 April 2021 in arXiv
Verified
Preprint
Open access
PDF file
PLPatrick Lewis
Patrick Lewis
EPEthan Perez
Ethan Perez
APAleksandra Piktus
Aleksandra Piktus
FPFabio Petroni
Fabio Petroni
VKVladimir Karpukhin
Vladimir Karpukhin
DKDouwe Kiela
Douwe Kiela
Large pre-trained language models have been shown to store factual knowledge in their parameters, and achieve state-of-the-art results when fine-tuned on downstream NLP tasks. However, their ability to access and precisely manipulate knowledge is still limited, and hence on knowledge-intensive tasks, their performance lags behind task-specific architectures. Additionally, providing provenance for their decisions and updating their world knowledge remain open research problems. Pre-trained models with a differentiable access mechanism to explicit non-parametric memory can overcome this issue, but have so far been only investigated for extractive downstream tasks. We explore a general-purpose fine-tuning recipe for retrieval-augmented generation (RAG) -- models which combine pre-trained parametric and non-parametric memory for language generation. We introduce RAG models where the parametric memory is a pre-trained seq2seq model and the non-parametric memory is a dense vector index of Wikipedia, accessed with a pre-trained neural retriever. We compare two RAG formulations, one which conditions on the same retrieved passages across the whole generated sequence, the other can use different passages per token. We fine-tune and evaluate our models on a wide range of knowledge-intensive NLP tasks and set the state-of-the-art on three open domain QA tasks, outperforming parametric seq2seq models and task-specific retrieve-and-extract architectures. For language generation tasks, we find that RAG models generate more specific, diverse and factual language than a state-of-the-art parametric-only seq2seq baseline.

7 October 2021 in Transactions of the Association for Computational Linguistics
Verified
Journal Article
Open access
PDF file
PLPatrick Lewis
Patrick Lewis
YWYuxiang Wu
Yuxiang Wu
LLLinqing Liu
Linqing Liu
PMPasquale Minervini
Pasquale Minervini
HKHeinrich Küttler
Heinrich Küttler
SRSebastian Riedel
Sebastian Riedel
Open-domain Question Answering models that directly leverage question-answer (QA) pairs, such as closed-book QA (CBQA) models and QA-pair retrievers, show promise in terms of speed and memory compared with conventional models which retrieve and read from text corpora. QA-pair retrievers also offer interpretable answers, a high degree of control, and are trivial to update at test time with new knowledge. However, these models fall short of the accuracy of retrieve-and-read systems, as substantially less knowledge is covered by the available QA-pairs relative to text corpora like Wikipedia. To facilitate improved QA-pair models, we introduce Probably Asked Questions (PAQ), a very large resource of 65M automatically generated QA-pairs. We introduce a new QA-pair retriever, RePAQ, to complement PAQ. We find that PAQ preempts and caches test questions, enabling RePAQ to match the accuracy of recent retrieve-and-read models, whilst being significantly faster. Using PAQ, we train CBQA models which outperform comparable baselines by 5%, but trail RePAQ by over 15%, indicating the effectiveness of explicit retrieval. RePAQ can be configured for size (under 500MB) or speed (over 1K questions per second) while retaining high accuracy. Lastly, we demonstrate RePAQ’s strength at selective QA, abstaining from answering when it is likely to be incorrect. This enables RePAQ to “back-off” to a more expensive state-of-the-art model, leading to a combined system which is both more accurate and 2x faster than the state-of-the-art model alone.

1 January 2018
Verified
Conference Paper
Open access
MSMarzieh Saeidi
Marzieh Saeidi
MBMax Bartolo
Max Bartolo
PLPatrick Lewis
Patrick Lewis
SSSameer Singh
Sameer Singh
TRTim Rocktäschel
Tim Rocktäschel
SRSebastian Riedel
Sebastian Riedel

1 January 2019
Verified
Conference Paper
Open access
PLPatrick Lewis
Patrick Lewis
LDLudovic Denoyer
Ludovic Denoyer
SRSebastian Riedel
Sebastian Riedel

30 September 2020 in arXiv
Verified
Preprint
Open access
PDF file
VKVladimir Karpukhin
Vladimir Karpukhin
BOBarlas Oğuz
Barlas Oğuz
SMSewon Min
Sewon Min
PLPatrick Lewis
Patrick Lewis
LWLedell Wu
Ledell Wu
WYWen-Tau Yih
Wen-Tau Yih
Open-domain question answering relies on efficient passage retrieval to select candidate contexts, where traditional sparse vector space models, such as TF-IDF or BM25, are the de facto method. In this work, we show that retrieval can be practically implemented using dense representations alone, where embeddings are learned from a small number of questions and passages by a simple dual-encoder framework. When evaluated on a wide range of open-domain QA datasets, our dense retriever outperforms a strong Lucene-BM25 system largely by 9%-19% absolute in terms of top-20 passage retrieval accuracy, and helps our end-to-end QA system establish new state-of-the-art on multiple open-domain QA benchmarks.

16 November 2022 in arXiv
Verified
Preprint
Open access
PDF file
GIGautier Izacard
Gautier Izacard
PLPatrick Lewis
Patrick Lewis
MLMaria Lomeli
Maria Lomeli
LHLucas Hosseini
Lucas Hosseini
FPFabio Petroni
Fabio Petroni
EGEdouard Grave
Edouard Grave
Large language models have shown impressive few-shot results on a wide range of tasks. However, when knowledge is key for such results, as is the case for tasks such as question answering and fact checking, massive parameter counts to store knowledge seem to be needed. Retrieval augmented models are known to excel at knowledge intensive tasks without the need for as many parameters, but it is unclear whether they work in few-shot settings. In this work we present Atlas, a carefully designed and pre-trained retrieval augmented language model able to learn knowledge intensive tasks with very few training examples. We perform evaluations on a wide range of tasks, including MMLU, KILT and NaturalQuestions, and study the impact of the content of the document index, showing that it can easily be updated. Notably, Atlas reaches over 42% accuracy on Natural Questions using only 64 examples, outperforming a 540B parameters model by 3% despite having 50x fewer parameters.