paper-with-me

Papers

Retrieval-Pretrained Transformer: Long-range Language Modeling with Self-retrieval

2023-06-23 · Ohad Rubin, Jonathan Berant

Retrieval-augmented language models (LMs) have received much attention recently. However, typically the retriever is not trained jointly as a native component of the LM, but added post-hoc to an already-pretrained LM, which limits the ability of the LM and the retriever to adapt to one another. In this work, we propose the Retrieval-Pretrained Transformer (RPT), an architecture and training procedure for jointly training a retrieval-augmented LM from scratch and apply it to the task of modeling long texts. Given a recently generated text chunk in a long document, the LM computes query representations, which are then used to retrieve earlier chunks in the document, located potentially tens of thousands of tokens before. Information from retrieved chunks is fused into the LM representations to predict the next target chunk. We train the retriever component with a semantic objective, where the goal is to retrieve chunks that increase the probability of the next chunk, according to a reference LM. We evaluate RPT on four long-range language modeling tasks, spanning books, code, and mathematical writing, and demonstrate that RPT improves retrieval quality and subsequently perplexity across the board compared to strong baselines.

📄 PDF Abstract BibTeX arXiv:2306.13421

Code (1)

ohadrubin/rpt 공식 구현 jax

Tasks

Language ModelingLanguage ModellingRetrieval

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Position-Wise Feed-Forward Layer 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Adam 설명 없음

Similar Papers 제목 키워드 기반

Pretrained Transformers for Text Ranking: BERT and Beyond

2020-10-13 · NAACL 2021 4 · Jimmy Lin, Rodrigo Nogueira, Andrew Yates

The goal of text ranking is to generate an ordered list of texts retrieved from a corpus in response to a query. Although the most common formulation of text ranking is search, instances of the task can also be found in …

Information RetrievalRerankingRetrievalSentence+1

Contrastive Document Representation Learning with Graph Attention Networks

2021-10-20 · Findings (EMNLP) 2021 11 · Peng Xu, Xinchi Chen, Xiaofei Ma, Zhiheng Huang 외

Recent progress in pretrained Transformer-based language models has shown great success in learning contextual representation of text. However, due to the quadratic self-attention complexity, most of the pretrained Trans…

Contrastive LearningDocument ClassificationGraph AttentionRepresentation Learning+1

Efficient Long-Text Understanding with Short-Text Models

2022-08-01 · Maor Ivgi, Uri Shaham, Jonathan Berant

Transformer-based pretrained language models (LMs) are ubiquitous across natural language understanding, but cannot be applied to long sequences such as stories, scientific articles and long documents, due to their quadr…

ArticlesDecoderLong-range modelingNatural Language Understanding

Attentive Deep Neural Networks for Legal Document Retrieval

2022-12-13 · Ha-Thanh Nguyen, Manh-Kien Phi, Xuan-Bach Ngo, Vu Tran 외

Legal text retrieval serves as a key component in a wide range of legal text processing tasks such as legal question answering, legal case entailment, and statute law retrieval. The performance of legal text retrieval de…

ArticlesQuestion AnsweringRetrievalText Retrieval

Exploring new Approaches for Information Retrieval through Natural Language Processing

2025-05-04 · Manak Raj, Nidhi Mishra

This review paper explores recent advancements and emerging approaches in Information Retrieval (IR) applied to Natural Language Processing (NLP). We examine traditional IR models such as Boolean, vector space, probabili…

Argument MiningHate Speech DetectionInformation RetrievalRetrieval