Adaptive Exploration for Data-Efficient General Value Function Evaluations

Arushi Jain, Josiah P. Hanna, Doina Precup

Abstract

Learning multiple General Value Functions (GVFs) in parallel is a cornerstone of building agents with rich predictive knowledge. However, the data efficiency of off-policy GVF evaluation is often limited by the behavior policy's ability to cover relevant state-action spaces. We present GVFExplorer, a framework that adaptively optimizes a single behavior policy to minimize the total variance of returns across all target tasks. By sampling actions proportional to the square root of the weighted sum of variances, GVFExplorer significantly reduces Mean Squared Error (MSE) compared to standard baselines. Our results across tabular and continuous control environments demonstrate up to a 91% reduction in error and robust scalability to dozens of simultaneous GVFs.

Introduction

In reinforcement learning, "predictive knowledge" refers to an agent's ability to forecast various environmental signals beyond a single scalar reward. General Value Functions (GVFs) formalize this by allowing agents to ask multiple questions simultaneously: "How much energy will I consume?" or "What is the likelihood of a collision?"

The primary bottleneck in learning these functions is data efficiency. Typically, GVFs are learned off-policy, where an agent follows a behavior policy ($\mu$) to estimate values for multiple target policies ($\pi_i$). If $\mu$ fails to explore areas critical to $\pi_i$, the resulting estimates suffer from high variance and error. Traditional methods rely on fixed random policies or simple round-robin strategies, which lack the adaptability needed for complex environments. This paper introduces GVFExplorer, an approach that treats exploration as a dynamic variance-minimization problem.

Methodology

GVFExplorer is built on the principle that to minimize the Mean Squared Error (MSE) of GVF estimates, an agent should focus its exploration on regions with the highest return variance.

The Objective

The goal is to find a behavior policy $\mu$ that minimizes the total MSE across all GVFs. Given that the estimators used are unbiased, the problem reduces to minimizing the total variance in returns.

Adaptive Update Rule

The core of the framework is an iterative update rule (Theorem 4.1) derived by the authors. It dictates that the optimal behavior policy should select actions according to: $$\mu_{k+1}(a|s) \propto \sqrt{\sum_i \pi_i(a|s)^2 M_{\pi_i}^{\mu_k}(s, a)}$$ In this expression, $M$ represents a temporal-difference (TD) style variance estimator. This geometric relationship—the square root of the sum of squares—ensures that the behavior policy balances the needs of all target policies based on their current uncertainty.

Architecture

To implement this, the algorithm utilizes a dual-network structure. One network (or head) estimates the GVF values ($Q$), while a second network estimates the variance of those values ($M$). This architecture is applicable to both tabular settings and continuous control, where it can be integrated with frameworks like Soft Actor-Critic (SAC).

Experimental Setup

The effectiveness of GVFExplorer was evaluated across several domains:

  • Tabular Environments: $20 \times 20$ Gridworld and FourRooms, used to establish baseline performance.
  • Continuous Gridworld: Testing non-linear function approximation in a continuous state space.
  • MuJoCo (DeepMind Control Suite): High-dimensional tasks involving the Walker and Cheetah models to test scalability in robotics-style simulations.
  • Cumulant Variations: The researchers tested three signal types: constant, distractor (stationary noise), and drifter (non-stationary signals).

Results

GVFExplorer demonstrated substantial improvements over traditional exploration strategies:

  • Error Reduction: In tabular settings, the method achieved a 91% reduction in MSE compared to a Round-Robin baseline.
  • Scalability: The framework successfully managed the simultaneous evaluation of 40 different GVFs. In contrast, methods like Successor Representations (SR) struggled when task scales varied significantly.
  • Handling Non-Stationarity: GVFExplorer excelled at tracking "drifter" cumulants. Because the policy naturally moves toward areas of high volatility, it adapts more quickly to signals that change over time.
  • Continuous Control: In MuJoCo environments, GVFExplorer reached lower MSE levels faster than both Uniform and Round-Robin policies, confirming its utility for complex physics tasks.

Discussion and Limitations

A key insight from this work is the "Aha" moment regarding policy aggregation: the optimal behavior for multi-task evaluation is not a simple average of target policies, but a specific variance-weighted combination. Furthermore, the authors proved that this update rule is stable, preventing the oscillations often associated with adaptive exploration.

However, the method does introduce computational overhead due to the requirement of maintaining dual networks for every GVF. Additionally, the current formulation is sensitive to the scale of cumulants; a GVF with a high-magnitude reward signal may dominate the behavior policy. Future research is needed to address "calibration" across different reward scales and to explore scenarios where target policies are not known a priori.

Conclusion

GVFExplorer provides a theoretically grounded and empirically robust framework for efficient GVF evaluation. By adaptively focusing exploration on high-variance regions, it enables agents to acquire environmental knowledge with significantly less data than previously possible.

Summary updated

BibTeX
@inproceedings{jain2024adaptive,
  author = {Arushi Jain and Josiah P. Hanna and Doina Precup},
  title = {{Adaptive Exploration for Data-Efficient General Value Function Evaluations}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=HC6iqpPt3L},
}
Figure