paper-with-me

홈 › Papers

DC-BERT: Decoupling Question and Document for Efficient Contextual Encoding

2020-02-28 · Yuyu Zhang, Ping Nie, Xiubo Geng, Arun Ramamurthy, Le Song, Daxin Jiang

Recent studies on open-domain question answering have achieved prominent performance improvement using pre-trained language models such as BERT. State-of-the-art approaches typically follow the "retrieve and read" pipeline and employ BERT-based reranker to filter retrieved documents before feeding them into the reader module. The BERT retriever takes as input the concatenation of question and each retrieved document. Despite the success of these approaches in terms of QA accuracy, due to the concatenation, they can barely handle high-throughput of incoming questions each with a large collection of retrieved documents. To address the efficiency problem, we propose DC-BERT, a decoupled contextual encoding framework that has dual BERT models: an online BERT which encodes the question only once, and an offline BERT which pre-encodes all the documents and caches their encodings. On SQuAD Open and Natural Questions Open datasets, DC-BERT achieves 10x speedup on document retrieval, while retaining most (about 98%) of the QA performance compared to state-of-the-art approaches for open-domain question answering.

📄 PDF Abstract BibTeX arXiv:2002.12591

Code (0)

등록된 구현이 없습니다.

Tasks

Natural QuestionsOpen-Domain Question AnsweringQuestion AnsweringRetrieval

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Residual Connection 설명 없음
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.
Weight Decay 설명 없음
Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Adam 설명 없음

Similar Papers 제목 키워드 기반

Revisiting Word Embeddings in the LLM Era

2025-02-26 · Yash Mahajan, Matthew Freestone, Sathyanarayanan Aakur, Santu Karmaker

Large Language Models (LLMs) have recently shown remarkable advancement in various NLP tasks. As such, a popular trend has emerged lately where NLP researchers extract word/sentence/document embeddings from these large d…

DecoderSentenceWord Embeddings

Composite Re-Ranking for Efficient Document Search with BERT

2021-03-11 · Yingrui Yang, Yifan Qiao, Jinjin Shao, Mayuresh Anand 외

Although considerable efforts have been devoted to transformer-based ranking models for document search, the relevance-efficiency tradeoff remains a critical problem for ad-hoc ranking. To overcome this challenge, this p…

Re-Ranking

QuASE: Question-Answer Driven Sentence Encoding

2019-09-01 · ACL 2020 6 · Hangfeng He, Qiang Ning, Dan Roth

Question-answering (QA) data often encodes essential information in many facets. This paper studies a natural question: Can we get supervision from QA data for other tasks (typically, non-QA ones)? For example, {\em can …

named-entity-recognitionNamed Entity RecognitionNamed Entity Recognition (NER)Question Answering+1

Contextualized Representations Using Textual Encyclopedic Knowledge

2020-04-24 · Mandar Joshi, Kenton Lee, Yi Luan, Kristina Toutanova

We present a method to represent input texts by contextualizing them jointly with dynamically retrieved textual encyclopedic background knowledge from multiple documents. We apply our method to reading comprehension task…

Language ModelingLanguage ModellingReading ComprehensionTriviaQA

Pretrained Language Models for Sequential Sentence Classification

2019-09-09 · IJCNLP 2019 11 · Arman Cohan, Iz Beltagy, Daniel King, Bhavana Dalvi 외

As a step toward better document-level understanding, we explore classification of a sequence of sentences into their corresponding categories, a task that requires understanding sentences in context of the document. Rec…

ClassificationGeneral ClassificationSentenceSentence Classification