Saved in:
Bibliographic Details
Main Authors: Doostmohammadi, Ehsan, Kuhlmann, Marco
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.14309
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915295108530176
author Doostmohammadi, Ehsan
Kuhlmann, Marco
author_facet Doostmohammadi, Ehsan
Kuhlmann, Marco
contents Retrieval-augmented language models have demonstrated performance comparable to much larger models while requiring fewer computational resources. The effectiveness of these models crucially depends on the overlap between query and retrieved context, but the optimal degree of this overlap remains unexplored. In this paper, we systematically investigate how varying levels of query--context overlap affect model performance during both training and inference. Our experiments reveal that increased overlap initially has minimal effect, but substantially improves test-time perplexity and accelerates model learning above a critical threshold. Building on these findings, we demonstrate that deliberately increasing overlap through synthetic context can enhance data efficiency and reduce training time by approximately 40\% without compromising performance. We specifically generate synthetic context through paraphrasing queries. We validate our perplexity-based findings on question-answering tasks, confirming that the benefits of retrieval-augmented language modeling extend to practical applications. Our results provide empirical evidence of significant optimization potential for retrieval mechanisms in language model pretraining.
format Preprint
id arxiv_https___arxiv_org_abs_2505_14309
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Studying the Role of Input-Neighbor Overlap in Retrieval-Augmented Language Models Training Efficiency
Doostmohammadi, Ehsan
Kuhlmann, Marco
Computation and Language
Retrieval-augmented language models have demonstrated performance comparable to much larger models while requiring fewer computational resources. The effectiveness of these models crucially depends on the overlap between query and retrieved context, but the optimal degree of this overlap remains unexplored. In this paper, we systematically investigate how varying levels of query--context overlap affect model performance during both training and inference. Our experiments reveal that increased overlap initially has minimal effect, but substantially improves test-time perplexity and accelerates model learning above a critical threshold. Building on these findings, we demonstrate that deliberately increasing overlap through synthetic context can enhance data efficiency and reduce training time by approximately 40\% without compromising performance. We specifically generate synthetic context through paraphrasing queries. We validate our perplexity-based findings on question-answering tasks, confirming that the benefits of retrieval-augmented language modeling extend to practical applications. Our results provide empirical evidence of significant optimization potential for retrieval mechanisms in language model pretraining.
title Studying the Role of Input-Neighbor Overlap in Retrieval-Augmented Language Models Training Efficiency
topic Computation and Language
url https://arxiv.org/abs/2505.14309