arXiv:2610.25957cs.AIOct 2026

Manuscript Offprint

arXiv:2610.25957

Productive State-Space Exploration for Multi-turn RL in LLM Agents

Mohammed Haroon Dupty, Yong Liang Goh, Song Guo, Wee Sun Lee

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Reinforcement Learning (RL) for Large Language Model (LLM) agents in multi-turn, long-horizon environments remains challenging due to inefficient action selection and repetitive behavioral patterns. In particular, agents often become trapped in high-confidence yet unproductive behaviors, repeatedly executing invalid actions or entering action loops that hinder task completion. We observe that these frequently violate environment preconditions, revealing a mismatch between the agent's representation of the internal state and the dynamics of the underlying environment. In addition, repetitive high-confidence actions lead to cyclical behaviors that provide little to no progress towards the goal. We argue that addressing these challenges requires more productive task-aligned exploration to improve the agent's understanding of environment dynamics. Motivated by intrinsic curiosity-driven exploration, we propose a conditional state-space exploration framework that balances task completion with intrinsic information-seeking behavior. Specifically, we introduce an intrinsic reward that penalizes actions whose observation duplicates prior state memory. This provides the benefit of reducing redundant behaviors and encouraging state-space coverage without relying on a general information-theoretic measure. Strong experimental results demonstrate that our approach substantially improves policy learning in multi-turn environments, mitigating invalid actions and repetitive loops.

1 Introduction

Reinforcement learning (RL) has become an important training paradigm for large language model (LLM) agents that must operate over multiple turns in partially observable, long-horizon environments (Carta et al., 2023; Shani et al., 2024; Guan et al., 2026). In contrast to single-step prediction

Yong Liang Goh

Grabtaxi Holdings Pte Ltd

gyl@u.nus.edu

Wee Sun Lee

School of Computing,

National University of Singapore

leews@comp.nus.edu.sg

tasks, these agents must select actions sequentially, update internal memory, and adapt to changing states while receiving sparse and delayed feedback. Recent work has shown that RL is increasingly relevant for improving reasoning, agentic control, and long-horizon decision making in LLMs, but it has also revealed a persistent difficulty: agents often become stuck in repetitive, high-confidence behaviors that are locally plausible yet unproductive for the task (Liu et al., 2025; Zhang et al., 2025; Xi et al., 2025).

In such settings, effective learning depends not only on exploiting promising actions but also on exploring the environment in a way that improves the agent's understanding of its dynamics. In practice, agents often overcommit to high-confidence actions that are locally plausible but globally unhelpful, leading to invalid interactions or repetitive loops that consume budget without advancing the task. Such failures, as shown in Figure 1, typically reflect a mismatch between the agent's internal state representation and the true environment dynamics, especially when the agent lacks sufficient feedback about which actions are feasible or informative. This motivates the need for a form of productive state-space exploration that helps the agent learn environment dynamics while remaining aligned with task completion.

A natural way to improve exploration is to encourage the agent to visit a broader range of states. In principle, increasing the entropy of the explored state space can improve coverage, reduce mode collapse, and expose the agent to more informative trajectories. However, directly maximizing exploration entropy can also be problematic. If encouraged too strongly, the agent may drift toward diverse but task-irrelevant behavior, thereby sacrificing progress on the underlying objective. In long-horizon environments, this tension between exploration and exploitation is especially important: exploration should broaden the agent's experience,

†^{\dagger}Major part of this work was done while at the National University of Singapore.

Figure

Figure

Figure 1: Failure modes of an RL-trained LLM agent in ALFWorld. (a) Repetitive action loop. The agent repeats an invalid action and receives the same failure feedback until the step budget runs out. (b) Repetitive reasoning loop. The agent's reasoning ignores the current observation, and the agent cycles between the fridge and the microwave without completing the task. In both cases the agent's internal state diverges from the environment dynamics, and the looping steps consume interaction budget while revealing no new observation. These are the steps our intrinsic reward penalizes.

but it should not pull the policy away from useful action sequences that lead to task completion.

This paper pursues productive exploration through intrinsic curiosity-driven rewards, with a conservative formulation that preserves task alignment. Rather than positively rewarding state-space entropy increase, we penalize any step whose observation has already appeared in the episode. The intuition is that unhelpful actions, such as invalid steps or redundant repetitions, consume interaction budget and policy probability without revealing anything new about the environment. They can be detected simply by checking whether each new observation adds any new information to the agent's memory.

Our formulation reframes entropy increase as a consequence of avoiding unproductive actions rather than as an objective to be optimized directly. The penalty improves within-episode state-space coverage, while the task reward keeps exploration tied to task completion. We further formalize this argument by showing that the cumulative penalty measures how many distinct observations an episode visits, and that it bounds the episode's visitation entropy (Section 3). A single-step analysis further shows that novel observations always increase entropy, while revisits of frequent observations decrease it.

Our approach is consistent with the broader literature on intrinsic motivation in reinforcement learning, where curiosity, novelty seeking, and uncertainty reduction have been used to improve learning under sparse rewards (Chentanez et al., 2004; Aubret et al., 2019; Gao et al., 2025). It also aligns with recent efforts to train long-horizon LLM agents, where robustness depends not only on reasoning ability but also on the capacity to avoid repetitive or uninformative interactions with the environment (Kalyan and Andrews, 2025). Within this setting, penalizing unhelpful actions provides a simple compromise between unrestricted entropy maximization and overly conservative exploitation. The resulting behavior promotes broader state coverage without losing contact with the task.

In summary, we propose a conditional intrinsic reward framework that supports productive exploration by penalizing actions that yield no new informative observation. Our key argument is that entropy expansion is useful, but only when it is induced indirectly through the suppression of redundant or uninformative behavior. This allows the agent to explore more broadly while maintaining a strong coupling to task progress. We evaluate our proposed exploration strategy on two prominent multi-turn benchmark environments: ALFWorld and WebShop. Empirical results show that our ap-proach surpasses recent baselines in performance metrics of success rates and significantly mitigates both invalid and repetitive action rates.

References (15)