Understanding the Behaviors of Environment-aware Information Retrieval

Ruifeng Yuan, Chaohao Yuan, David Dai, Yu Rong, Hong Cheng +2 more
6/15/2026
cs.CLcs.IR

Official code: LCO-Embedding/Envs-aware-Information-Retrieval (7 stars, last commit 2026-06-16).

Abstract

Recent retrieval-augmented generation (RAG) approaches have demonstrated strong capability in handling complex queries, yet current research overlooks a critical challenge: different retrievers require fundamentally different query formulation strategies for optimal performance. In this work, we present the first systematic analysis of how LLMs can learn to adapt their query formulation strategies for different retrievers via reinforcement learning (RL). Our empirical study reveals that RL effectively teaches an LLM to tailor its queries to specific retriever characteristics. We discover that different retrievers exhibit surprisingly distinct optimal query styles (e.g., descriptive vs. question-like), suggesting strategies learned for one retriever ineffective for another. We further show that performance can be enhanced by incorporating retriever-specific human guidance and by scaling model size. To facilitate learning over multi-retrieval-step trajectories, we introduce a branching-based rollout technique that improves training stability. Our work provides the first empirical evidence and actionable insights for building truly retriever-aware RAG systems. Code and resources are available at https://github.com/LCO-Embedding/Envs-aware-Information-Retrieval.

View on arXivView PDF

Code Implementations(1)

[ACL 2026] Understanding the Behaviors of Environment-aware Information Retrieval

70Jinja, ShellApr 3, 20264 months ago

Similar Papers

Cite this paper

@article{yuan2026understanding,
  title  = {Understanding the Behaviors of Environment-aware Information Retrieval},
  author = {Ruifeng Yuan and Chaohao Yuan and David Dai and Yu Rong and Hong Cheng and Hou Pong Chan and Chenghao Xiao},
  year   = {2026},
  eprint = {2606.16817},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.16817v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.16817.svg)](https://codeofpaper.com/paper/2606.16817)

Discussion