NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

State Dependent Exploration in Reinforcement Learning

40 concepts25 papers

Standard reinforcement learning (RL) algorithms often rely on a simple assumption: exploration should be uniform. Whether through an $\epsilon$-greedy strategy that selects random actions with a fixed probability or through entropy regularization that penalizes deterministic policies across the board, traditional agents distribute their curiosity evenly.

But uniform exploration ignores a fundamental truth about learning: an agent's uncertainty is rarely distributed evenly across an environment. An agent might understand its starting location perfectly while being completely clueless about a newly discovered room. Forcing a spatially uniform exploration rate means the agent will either waste time acting randomly in well-understood environments or fail to explore critical bottleneck regions.

To solve this, a prominent direction in RL focuses on state-dependent exploration. By localizing the exploration-exploitation tradeoff, agents can dynamically adjust their curiosity on a per-state basis—turning exploration up in novel territory and down where they are certain.


The Inefficiency of Spatially Uniform Exploration

To understand why state-dependent exploration works, we must first look at how uniform strategies fail. Consider a complex, long-horizon task like a robot opening a drawer to place an object inside. As noted by Deshuai Zheng et al., applying a uniform exploration rate across this entire sequence is highly inefficient. The robot needs high curiosity at critical stage transitions (e.g., grasping the handle), but requires stability and precision once a transition is successful. Uniform randomness can cause the robot to destabilize its own learning by moving erratically right after achieving a breakthrough.

This issue is amplified in algorithms that use global entropy regularization. As Andrew Jesson et al. point out, conventional on-policy actor-critic methods utilize state-agnostic exploration, applying uniform randomness across all states. This inability to distinguish between novel environments requiring high exploration and well-understood states leads to severe sample inefficiency.

Similarly, when environments grow over time—such as adding new sensors or expanding the state space—global schedules fail. Wei Ding et al. observe that standard decaying $\epsilon$-greedy strategies lack the granularity to handle localized uncertainty, over-exploring familiar areas while failing to provide sufficient exploration in newly added sections of the state space.


Quantifying Local Uncertainty

If exploration should depend on the state, how does an agent determine the correct "volume" of exploration for any given location? Researchers have proposed several mechanisms to quantify local uncertainty and map it directly to exploration behavior.

1. Visit Counts and Familiarity

The most intuitive metric for local uncertainty is familiarity: how many times has the agent been here before? In Count-Based Temperature Scheduling for Maximum Entropy Reinforcement Learning, Dailin Hu et al. introduce a mechanism that scales the inverse temperature of the policy linearly with the number of times a specific state has been visited.

$$\beta(s) \propto N(s)$$

Where $N(s)$ is the state visit count and $\beta(s)$ is the inverse temperature. When $N(s)$ is low, the temperature is high, forcing the policy to be highly exploratory and uniform. As $N(s)$ increases, the policy smoothly transitions to deterministic, reward-focused behavior. This localized approach avoids the premature convergence in rare states that plagues global schedules. A similar principle is applied by Gregory Palmer et al. in multi-agent settings, where independent agents use retroactive state-temperature decay schedules to prevent the "moving target" problem in cooperative environments.

2. Epistemic Uncertainty and Bayesian Variance

A more rigorous approach derives state-dependent exploration from the agent's model confidence. In Probabilistic Inference in Reinforcement Learning Done Right, Jean Tarbouriech et al. demonstrate that deriving separate regularization temperatures for each individual state-action pair based on its specific epistemic uncertainty significantly improves sample efficiency. Instead of guessing a global temperature, the agent prioritizes exploration precisely where its internal model is least certain.

This localized confidence estimation is also vital for safety and evaluation. For instance, Jonas Rothfuss leverages local, state-action-specific uncertainty estimates to construct tighter performance bounds for offline policy evaluation, ensuring that conservative estimates are only applied where data is truly sparse.

3. Surprise and Temporal Difference Error

When explicit counts or full Bayesian posteriors are too expensive to compute, agents can use temporal difference (TD) error as a proxy for surprise. Wei Ding et al. demonstrate that state-sensitive exploration rates driven by TD errors allow agents to focus learning efforts on novel or updated parts of an environment, maintaining stable policies in well-known states while increasing random action probabilities in areas where the environment's dynamics deviate from expectations.


Structuring State-Dependent Noise

Adjusting the amount of exploration (via $\epsilon$ or temperature) is only half the battle. The structure of the exploration noise matters just as much. Standard action-space noise (like adding Gaussian noise to a continuous action) changes at every single time step, leading to jittery, inconsistent movements that fail to execute coordinated exploration strategies.

Parameter Space Noise

To achieve structured, state-dependent behavior, Matthias Plappert et al. and Meire Fortunato et al. independently proposed injecting noise directly into the neural network's weights (parameters) rather than its outputs.

Because a network with perturbed weights still functions as a deterministic mapping from states to actions, the resulting behavior is inherently state-dependent and consistent. If the agent encounters two similar states during an episode, it will react in a consistent, coordinated manner. As the network updates, gradient descent naturally tunes the parameter noise, allowing the agent to learn its own state-dependent exploration strategy over time.

Action-Space Noise:    State (s) ──> Policy ──> Action + Noise (Inconsistent)
Parameter-Space Noise:  State (s) ──> Policy(Weights + Noise) ──> Action (State-Consistent)

State-Conditioned Directional Noise

In high-dimensional control tasks, exploring randomly in all directions is statistically doomed to fail. Perry Dong demonstrates that the directions in action space most likely to lead to success vary significantly depending on the current state. By learning a state-conditioned noise distribution derived from expert demonstrations, an agent can restrict its exploration to action-space directions that are historically relevant to the task context, maintaining the flexibility to deviate from the expert's exact actions while avoiding useless random search.


Context-Aware Exploitation and Guidance

State-dependency does not just dictate how an agent explores on its own; it also governs how an agent interacts with external advice, teacher demonstrations, and environmental shifts.

When an agent receives external hints or shaping rewards, a global weighting approach can be highly restrictive. As argued by Yujing Hu et al. and Idan Shenfeld et al., a teacher's guidance or a human-designed reward hint might be incredibly useful in early exploration phases or specific bottleneck regions, but actively harmful or imprecise near the final goal. Implementing state-dependent coefficients allows the agent to selectively trust external guidance in regions where it is reliable, while reverting to autonomous exploration where the teacher lacks expertise.

This concept is formalized by Ankur Moitra et al., who introduce a state-specific switching strategy to manage external advice. The agent builds local confidence intervals for each state-action pair; it safely exploits external predictions in familiar regions but switches back to standard uncertainty-based exploration the moment it enters states where the advice proves unreliable.

Finally, state-dependency provides a massive efficiency gain in non-stationary environments. When an environment changes, a naive agent might uniformly increase exploration across the entire state-action space, wasting samples. However, as shown by Tuan Quang Dam, tracking local variance allows for targeted exploration. The agent focuses its adaptation and data collection exclusively on the specific regions of the state-action space where environmental drift is actually observed, leaving its optimal policies intact everywhere else.

Key Foundational Work

Lenient Multi-Agent Deep Reinforcement Learning (2017) — contributed 1 concept elements to this direction.
Boltzmann Exploration Done Right (2017) — contributed 1 concept elements to this direction.
Data Biased Robust Counter Strategies (2009) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_state_dependent_exploration_0ff9d018,
  title = {state-dependent exploration},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/state-dependent-exploration/rdr_0ff9d018ec6f4c8ca4068fe76b02ceb2},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-29},
}

This exact version (version 1, frozen text):

@misc{lacuna_state_dependent_exploration_0ff9d018_v1,
  title = {state-dependent exploration},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/state-dependent-exploration/rdr_0ff9d018ec6f4c8ca4068fe76b02ceb2/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-29},
}

See something wrong? Report a mistake