arXiv(opens in a new tab)cs.AIAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.14339

Clearing the Fog: Towards Installing and Refining Proactive Exploration Capabilities in LLM Agents

Zhizhao Guan, Chen Huang, Ziming Liu, Hongru Liang, Wenqiang Lei, See-Kiong Ng, Tat-Seng Chua, Anthony G Cohn

Abstract

We study proactive exploration in LLM agents, i.e., the ability to explore an environment to acquire information that improves future decision-making. In this regard, we first identify two fundamental bottlenecks that hinder this capability and then propose SaFaRi, a novel method designed to instill and refine proactive exploration. Specifically, SaFaRi consists of two components: (1) Exploratory Data Construction, which synthesizes exploration-rich trajectories to mitigate the hindsight bias of standard demonstrations; and (2) RL Optimization with Contrastive Signal Guidance, which leverages contrastive trajectory pairs to distinguish productive exploration from redundant wandering. Extensive experiments demonstrate the effectiveness of SaFaRi and provide insights into the characteristics of proactive exploration. Our code is available at: https://github.com/GuanZhizhao/SAFARI.

1 Introduction

In multi-turn interactive tasks like online shopping Yao et al. (2022); Zhou et al. (2023b); Koh et al. (2024a), agents must continuously make decisions based on information acquired during interaction. Taking Figure 1 for example, when purchasing a low-cost shoe with specific attributes, the agent must decide whether to settle for a currently satisfactory item (A3A_{3}), or continue browsing subsequent pages for a potentially better alternative (A6A_{6}). Such scenarios require a critical capability: Proactive Exploration, which is the ability to autonomously expand its action trajectory beyond immediately local optima. This capability is fundamental for real-world agents, where optimal decisions often cannot be derived from the current observation alone, but instead emerge through strategic exploration over extended interaction horizons Fang and Ke (2025).

Figure

Figure 1: Proactive exploration in online shopping. Agent proactively executes strategic backtracking and pagination to locate the product with better price.

As Large Language Models (LLMs) continue to advance, LLM-based agents have excelled in multi-turn interactive tasks Yao et al. (2022); Zhou et al. (2023b). The prevailing paradigm for developing these agents involves Supervised Fine-Tuning (SFT) on expert trajectories Lin et al. (2023); Rita et al. (2024); Chen et al. (2023); Yin et al. (2023), followed by Reinforcement Learning (RL) to iteratively refine decision-making Carta et al. (2023); Tan et al. (2024); Song et al. (2024); Xiong et al. (2024); Yu et al. (2024). However, our preliminary experiments (Section 3) reveal that existing agents severely lack the capability for proactive exploration. In scenarios like online shopping, they exhibit rigid behavioral patterns, rarely executing exploratory actions (e.g., navigating to the "Next Page"). Consequently, they fail to strategize over extended horizons, frequently settling prematurely for suboptimal choices and yielding inferior overall rewards. We attribute this failure to a two-stage bottleneck inherent in the standard SFT-RL pipeline: 1) Hindsight Bias in SFT Data: Expert trajectories inherently strip away essential exploratory steps. Standard SFT merely conditions agents for reactive execution, failing to instill proactive exploration capabilities. 2) Exploration Collapse during RL: Because SFT-ed agents naturally lack exploratory tendencies, they rarely sample such behaviors during RL rollouts, making it nearly impossible to discover their long-term benefits. Compounded by a lack of guidance, the RL process inevitably fails to reinforce proactive exploration.

To this end, we propose SaFaRi, a novel method designed to inStill And reFine proActive exploRatIon capabilities in LLM agents. Specifically, it consists of two modules: 1) Exploratory Data Construction. Instead of human expert trajectories, we synthesize exploration-rich data directly from a powerful LLM expert. By employing a tree-structured context modeling, we explicitly distill diverse exploratory paths from the LLM expert, coupled with a customized screening mechanism to curate high-quality, exploration-oriented trajectories for the student agent’s SFT initialization. 2) RL with Contrastive Signal Guidance. We construct contrastive preference pairs by pitting a student-generated candidate action against the reference action at identical interaction states. By estimating their expected future returns via Monte Carlo (MC) rollouts, these contrastive signals provide fine-grained supervision to optimize the agent’s decision boundary. Thus SaFaRi alternates between strategic exploration and direct task execution, improving the task performance.

We conduct extensive experiments across diverse benchmarks to evaluate SaFaRi. Results demonstrate that SaFaRi significantly outperforms competitive baselines in both task success (∼\sim10%-15%, on average) and exploration efficiency (∼\sim8%-18%). Additionally, our analyses illustrate that true performance improvements stem from exploration efficiency. SaFaRi learns to acquire task-relevant information while avoiding redundant interactions, whereas existing methods remain either passive or inefficient. Moreover, exploration benefits also grow with task difficulty. SaFaRi automatically scales its exploratory behavior in harder environments and achieves the largest gains on tasks that require substantial information gathering before decision-making. Our contributions are as follows:

  • We highlight the critical necessity of proactive exploration for LLM-based agents and identify two fundamental bottlenecks in existing methods.
  • We propose SaFaRi, designed to instill and refine proactive exploration capabilities in LLM agents. It features two customized modules to directly mitigate the two bottlenecks, respectively.
  • We conduct extensive experiments across various benchmarks to demonstrate the effectiveness and characteristics of SaFaRi.

References (27)