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

Active Policy Iteration: Efficient Exploration through Active Learning for Value Function Approximation in Reinforcement Learning

Takayuki Akiyama, Hirotaka Hachiya, Masashi Sugiyama

Abstract

This paper presents Active Policy Iteration (API), a novel framework for reinforcement learning (RL) designed to optimize exploration in environments where measuring rewards is significantly more expensive than observing state transitions. By integrating Least-Squares Policy Iteration (LSPI) with an importance-sampling-based active learning estimator, API allows agents to evaluate and select the most informative sampling policies using only reward-free state-action trajectories. Experimental results on a 10-state chain-walk and a batting robot simulation demonstrate that API's error estimator accurately predicts model performance and significantly improves learning efficiency compared to fixed exploration strategies.

Introduction

In traditional Reinforcement Learning, it is often assumed that every action taken by an agent yields both a state transition and a corresponding reward. However, many real-world applications exhibit a "cost asymmetry." For instance, in robotics, recording joint angles (state-action trajectories) is automated and inexpensive, while measuring the actual reward (e.g., the distance a ball was hit) can be labor-intensive and slow. Standard exploration strategies like $\epsilon$-greedy are inefficient in these settings because they treat every sample as equally valuable. The authors address this by proposing a method to "preview" and select sampling policies that gather the most useful data for value function approximation while minimizing expensive reward measurements.

The Active Policy Iteration (API) Framework

API combines two primary components to achieve efficient exploration:

  1. Least-Squares Policy Iteration (LSPI): A standard RL framework that approximates the state-action value function ($Q$-function) using a linear model.
  2. Importance-Sampling-based Active Learning (AL): The core innovation is a generalization error estimator ($J$) that predicts how well a model will perform. Crucially, this estimator only requires state-action distributions, allowing the agent to evaluate candidate policies without collecting actual rewards.

The API Workflow

  • Candidate Generation: The agent prepares several candidate sampling policies.
  • Reward-Free Simulation: The agent runs these policies to collect state-action trajectories without measuring rewards.
  • Error Estimation: Using the AL theory, the agent calculates the estimated generalization error ($J$) for each candidate.
  • Selection & Learning: The agent selects the policy with the lowest predicted error, uses it to collect actual reward samples, and updates its control policy using LSPI.
Figure 6: Comparison of true generalization error (G) and estimated error (J) for different sampling policies in the chain-walk task. The estimator J accurately tracks the trend of the true error G.

Experimental Results

Estimator Accuracy

In 10-state chain-walk experiments, the proposed estimator $J$ was validated against the true generalization error $G$. As shown in the comparative plots, the estimated error closely follows the trend of the actual error across various sampling policies (e.g., 'RRRRRLLLLL'). This confirms that $J$ is a reliable proxy for selecting the most informative data-gathering strategy.

Performance in Complex Tasks

The method was further tested in a batting robot simulation using the Open Dynamics Engine (ODE). The task involved a two-link robot hitting a ball to maximize distance. API (labeled as AL in results) outperformed fixed sampling strategies, reaching higher average performance levels faster.

Figure 5: Performance comparison between Active Learning (AL) and fixed sampling strategies (k=1, k=2) over iterations in the batting robot task.

Key Insights

  • Robustness to Misspecification: Unlike traditional active learning, the importance-sampling approach remains valid even if the linear model cannot perfectly represent the true value function (model misspecification).
  • Adaptive Exploration: API is inherently adaptive. It selects sampling policies based on the current state of the training data, focusing exploration on areas of the state space where model uncertainty (variance) is highest.
  • Reward-Free Evaluation: The ability to "shop around" for the best data-gathering strategy before committing to the cost of reward measurement is the primary driver of API's efficiency.

Conclusion and Future Work

Active Policy Iteration provides a principled way to handle cost-asymmetric RL tasks. While currently based on linear function approximation, the logic of active exploration could be extended to more complex architectures, such as deep reinforcement learning. Future work may also address the computational overhead of evaluating multiple candidate policies, which, while cheaper than physical measurements, still adds to the training loop's complexity.

Summary updated

BibTeX
@inproceedings{akiyama2009active,
  author = {Takayuki Akiyama and Hirotaka Hachiya and Masashi Sugiyama},
  title = {{Active Policy Iteration: Efficient Exploration through Active Learning for Value Function Approximation in Reinforcement Learning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2009},
}
Figure