How Do LLM-Generated Texts Impact Term-Based Retrieval Models?

Wei Huang, Keping Bi, Yinqiong Cai, Wei Chen, Jiafeng Guo, Xueqi ChengarXiv 2025

Abstract

As more content generated by large language models (LLMs) floods into the Internet, information retrieval (IR) systems now face the challenge of distinguishing and handling a blend of human-authored and machine-generated texts. Recent studies suggest that neural retrievers may exhibit a preferential inclination toward LLM-generated content, while classic term-based retrievers like BM25 tend to favor human-written documents. This paper investigates the influence of LLM-generated content on term-based retrieval models, which are valued for their efficiency and robust generalization across domains. Our linguistic analysis reveals that LLM-generated texts exhibit smoother high-frequency and steeper low-frequency Zipf slopes, higher term specificity, and greater document-level diversity. These traits are aligned with LLMs being trained to optimize reader experience through diverse and precise expressions. Our study further explores whether term-based retrieval models demonstrate source bias, concluding that these models prioritize documents whose term distributions closely correspond to those of the queries, rather than displaying an inherent source bias. This work provides a foundation for understanding and addressing potential biases in term-based IR systems managing mixed-source content.

Introduction

Information Retrieval (IR) systems are currently entering a "mixed-source" era where human-authored and machine-generated texts coexist. A notable trend has emerged: while modern neural retrievers (e.g., BERT-based) often seem to prefer LLM-generated content, classic term-based retrievers like BM25 appear to favor human writing. This paper investigates whether this phenomenon represents a fundamental "source bias" in traditional algorithms or if it is driven by underlying linguistic differences. Understanding this is critical, as term-based models remain the industry standard for large-scale, efficient document retrieval.

Linguistic Analysis: The Listener's Economy

The researchers conducted a comprehensive linguistic analysis comparing human and LLM-generated texts. A central finding is that LLMs, often refined via Reinforcement Learning from Human Feedback (RLHF), are optimized for the "Listener’s Economy." This principle suggests that LLMs aim to reduce the reader's cognitive load by using more precise and diverse core vocabulary.

Conceptual framework linking statistical patterns to the Principle of Least Effort and the Listener's Economy.

This optimization leads to several distinct statistical patterns:

  • Zipfian Shifts: LLM text follows Zipf’s Law but with a "smoother" slope for common words (indicating higher variety in everyday language) and a "steeper" slope for rare words (indicating less variety in specialized jargon).
  • Lexical Diversity: LLM-generated documents typically exhibit higher Type-Token Ratios (TTR), reflecting greater document-level diversity.
  • Term Specificity: LLMs tend to replace general words with specific ones (e.g., "significant" instead of "important"), increasing the specificity of their core vocabulary.

The Distribution Alignment Theorem

To explain source preference, the authors developed the Distribution Alignment Theorem. Through mathematical proofs for four major retrieval models (TF-IDF, BM25, Query Likelihood, and DFR), the theorem posits that a retriever’s score is maximized when the document’s term distribution aligns with the query’s distribution.

This implies that BM25 does not have an inherent bias against AI text. Instead, because standard user queries follow human linguistic patterns, the model naturally selects human-authored documents that share those same distributional characteristics.

Empirical Validation and Results

The study utilized a massive experimental setup across nine datasets, including ANTIQUE, MS MARCO, and SCIDOCS. The researchers used Llama-3-8B to rewrite human documents and GPT-4 to rephrase queries, creating parallel versions of the same information.

Comparison of Zipf's Law parameters (alpha1 and alpha2) for human and LLM-generated texts across different datasets.

Key results include:

  • KL-Divergence Correlation: A near-perfect correlation (Pearson > 0.93) was found between query-document distribution alignment (measured by KL-divergence) and the model's ranking preference.
  • The Shift: While models preferred human documents for human queries, this preference weakened or even flipped when queries were rephrased by an LLM. In datasets like SCIDOCS, models began to prefer LLM-generated documents when presented with LLM-style queries.
  • Robustness: These patterns remained consistent across different LLM temperatures and model families.

Conclusion

This research demonstrates that the source preference in term-based retrieval models is a result of distribution alignment rather than inherent bias. As the web becomes increasingly saturated with AI-generated content, the challenge for IR systems lies in the potential misalignment between human queries and machine-generated documents. Future research will explore query adaptation and the use of alignment metrics as features in Learning-to-Rank systems to improve retrieval accuracy in mixed-source environments.

Summary updated

BibTeX
@misc{huang2025how,
  author = {Wei Huang and Keping Bi and Yinqiong Cai and Wei Chen and Jiafeng Guo and Xueqi Cheng},
  title = {{How Do LLM-Generated Texts Impact Term-Based Retrieval Models?}},
  year = {2025},
  eprint = {2508.17715},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.17715},
}
Figure