Long-range Language Modeling with Self-retrieval. Rubin, O. & Berant, J. 2023. cite arxiv:2306.13421
Paper abstract bibtex 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 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 for 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.
@misc{rubin2023longrange,
abstract = {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 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
for 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.},
added-at = {2023-08-17T15:02:12.000+0200},
author = {Rubin, Ohad and Berant, Jonathan},
biburl = {https://www.bibsonomy.org/bibtex/215560d827c7238f867ad4982f6eabe3b/lisa-ee},
description = {Long-range Language Modeling with Self-retrieval},
interhash = {ba0ac9f2569a4bfe03d08c5f37d000c8},
intrahash = {15560d827c7238f867ad4982f6eabe3b},
keywords = {retrieval llm},
note = {cite arxiv:2306.13421},
timestamp = {2023-08-17T15:02:12.000+0200},
title = {Long-range Language Modeling with Self-retrieval},
url = {http://arxiv.org/abs/2306.13421},
year = 2023
}
Downloads: 0
{"_id":"TNtFdn8gDi8kgt5DP","bibbaseid":"rubin-berant-longrangelanguagemodelingwithselfretrieval-2023","author_short":["Rubin, O.","Berant, J."],"bibdata":{"bibtype":"misc","type":"misc","abstract":"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 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 for 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.","added-at":"2023-08-17T15:02:12.000+0200","author":[{"propositions":[],"lastnames":["Rubin"],"firstnames":["Ohad"],"suffixes":[]},{"propositions":[],"lastnames":["Berant"],"firstnames":["Jonathan"],"suffixes":[]}],"biburl":"https://www.bibsonomy.org/bibtex/215560d827c7238f867ad4982f6eabe3b/lisa-ee","description":"Long-range Language Modeling with Self-retrieval","interhash":"ba0ac9f2569a4bfe03d08c5f37d000c8","intrahash":"15560d827c7238f867ad4982f6eabe3b","keywords":"retrieval llm","note":"cite arxiv:2306.13421","timestamp":"2023-08-17T15:02:12.000+0200","title":"Long-range Language Modeling with Self-retrieval","url":"http://arxiv.org/abs/2306.13421","year":"2023","bibtex":"@misc{rubin2023longrange,\n abstract = {Retrieval-augmented language models (LMs) have received much attention\r\nrecently. However, typically the retriever is not trained jointly as a native\r\ncomponent of the LM, but added to an already-pretrained LM, which limits the\r\nability of the LM and the retriever to adapt to one another. In this work, we\r\npropose the Retrieval-Pretrained Transformer (RPT), an architecture and\r\ntraining procedure for jointly training a retrieval-augmented LM from scratch\r\nfor the task of modeling long texts. Given a recently generated text chunk in a\r\nlong document, the LM computes query representations, which are then used to\r\nretrieve earlier chunks in the document, located potentially tens of thousands\r\nof tokens before. Information from retrieved chunks is fused into the LM\r\nrepresentations to predict the next target chunk. We train the retriever\r\ncomponent with a semantic objective, where the goal is to retrieve chunks that\r\nincrease the probability of the next chunk, according to a reference LM. We\r\nevaluate RPT on four long-range language modeling tasks, spanning books, code,\r\nand mathematical writing, and demonstrate that RPT improves retrieval quality\r\nand subsequently perplexity across the board compared to strong baselines.},\n added-at = {2023-08-17T15:02:12.000+0200},\n author = {Rubin, Ohad and Berant, Jonathan},\n biburl = {https://www.bibsonomy.org/bibtex/215560d827c7238f867ad4982f6eabe3b/lisa-ee},\n description = {Long-range Language Modeling with Self-retrieval},\n interhash = {ba0ac9f2569a4bfe03d08c5f37d000c8},\n intrahash = {15560d827c7238f867ad4982f6eabe3b},\n keywords = {retrieval llm},\n note = {cite arxiv:2306.13421},\n timestamp = {2023-08-17T15:02:12.000+0200},\n title = {Long-range Language Modeling with Self-retrieval},\n url = {http://arxiv.org/abs/2306.13421},\n year = 2023\n}\n\n","author_short":["Rubin, O.","Berant, J."],"key":"rubin2023longrange","id":"rubin2023longrange","bibbaseid":"rubin-berant-longrangelanguagemodelingwithselfretrieval-2023","role":"author","urls":{"Paper":"http://arxiv.org/abs/2306.13421"},"keyword":["retrieval llm"],"metadata":{"authorlinks":{}},"downloads":0,"html":""},"bibtype":"misc","biburl":"http://www.bibsonomy.org/bib/author/Rubin?items=1000","dataSources":["74JLffDBQLjrojguT"],"keywords":["retrieval llm"],"search_terms":["long","range","language","modeling","self","retrieval","rubin","berant"],"title":"Long-range Language Modeling with Self-retrieval","year":2023}