Learning Feature Relevance Through Step Size Adaptation in Temporal-Difference Learning

Alexandra Kearney, Vivek Veeriah, Jaden B. Travnik, Patrick M. Pilarski, Richard S. SuttonarXiv 2019

Abstract

There is a long history of using meta-learning as representation learning, specifically for determining the relevance of inputs. In this paper, we examine an instance of meta-learning in which feature relevance is learned by adapting step size parameters of stochastic gradient descent—building on a variety of prior work in stochastic approximation, machine learning, and artificial neural networks. In particular, we focus on stochastic meta-descent introduced in the Incremental Delta-Bar-Delta (IDBD) algorithm for setting individual step sizes for each feature of a linear function approximator. Using IDBD, a feature with large or small step sizes will have a large or small impact on generalization from training examples. As a main contribution of this work, we extend IDBD to temporal-difference (TD) learning—a form of learning which is effective in sequential, non-i.i.d. problems. We derive a variety of IDBD generalizations for TD learning, demonstrating that they are able to distinguish which features are relevant and which are not. We demonstrate that TD IDBD is effective at learning feature relevance in both an idealized gridworld and a real-world robotic prediction task.

Introduction

In reinforcement learning (RL), the "representation"—the set of features used to describe the environment—is the foundation of an agent's ability to learn. If an agent is provided with 1,000 features but only 10 are useful, standard learning algorithms often struggle because they treat all inputs with equal weight. Traditionally, this challenge is addressed by hand-crafting features or painstakingly tuning a single, global step size (learning rate) that applies to the entire feature set.

However, manual tuning does not scale to complex, real-world environments, and in many RL scenarios, the relevance of a feature may change over time as the agent learns or the environment shifts. This paper introduces TIDBD and AutoTIDBD, algorithms designed to move the tuning process into the algorithm itself. By adapting individual step sizes for every input feature, these methods allow the system to perform representation learning on the fly, effectively "muting" noisy inputs and focusing on relevant ones.

The TIDBD Framework

The proposed methods build upon Incremental Delta-Bar-Delta (IDBD), a meta-learning algorithm originally designed for supervised learning. IDBD utilizes "stochastic meta-descent" to update a vector of step sizes. The intuition is straightforward: if a feature's weight updates are consistently in the same direction, the algorithm increases its step size to accelerate learning; if the updates oscillate (indicating overshooting), the step size is decreased.

Extending Meta-Descent to TD Learning

The authors' primary contribution is the derivation of IDBD for the Temporal-Difference error ($\delta$), the core signal in RL. Two primary versions are introduced:

  1. TIDBD (Semi-gradient): A simpler, more stable version that ignores certain second-order terms in the gradient derivation.
  2. TIDBD (Ordinary gradient): A more complex version that accounts for the full gradient, potentially offering higher accuracy at the cost of complexity.

To address the risk of "explosive" step size growth—a common failure mode in meta-descent—the authors also introduce AutoTIDBD. This variant incorporates AutoStep logic, which adds normalization based on the "effective step size." This ensures that a weight update never overshoots the observed error on a single example, significantly improving the algorithm's robustness.

Experimental Evaluation

The algorithms were evaluated across two distinct benchmarks to test their versatility and stability.

Idealized Gridworld

The researchers used a $5 \times 5$ Markov Reward Process (MRP) where an agent moves randomly and receives rewards at specific "teleport" states. This controlled environment allowed for a rigorous sensitivity analysis, testing how the algorithm responded to various initial parameter settings.

Robotic Prediction Task (BentoArm)

To test real-world applicability, the algorithms were applied to the BentoArm dataset. This involved a human-controlled robotic arm performing a "Box and Blocks" task. The agent was tasked with predicting future values of various signals, such as motor positions, velocities, loads, and gripper aperture. This dataset is characterized by high-dimensional, non-stationary, and noisy inputs.

Key Insights and Results

Step Size as a Proxy for Relevance

A central finding of the paper is that a feature's learned step size serves as a "volume knob" for its relevance. If the algorithm assigns a near-zero step size to a feature, it has effectively identified that feature as irrelevant noise. In experiments where 25% of the features were pure noise, AutoTIDBD successfully separated the signals, shrinking the step sizes for noisy features while maintaining high step sizes for relevant ones.

Meta-Parameter Invariance

One of the most significant hurdles in RL is that the optimal learning rate often changes depending on the specific problem. The authors demonstrate that AutoTIDBD is remarkably robust; a single setting for the "meta-step size" ($\theta$) performed well across a variety of prediction problems (velocity, position, load). In contrast, standard TD required individual tuning for each specific signal to achieve comparable performance.

Performance and Stability

In the Gridworld task, TIDBD outperformed standard TD across nearly all initial step size settings ($\alpha_0$). Even when initialized with suboptimal step sizes, TIDBD quickly corrected itself to find an efficient learning rate. In the robotic task, AutoTIDBD proved much more stable than basic TIDBD, achieving lower or equivalent error compared to other state-of-the-art adaptive methods like SID or AlphaBound.

Conclusion and Future Work

TIDBD and AutoTIDBD represent a significant step toward automated representation learning in RL. By allowing agents to autonomously determine feature relevance, these algorithms reduce the need for manual hyperparameter tuning and improve performance in noisy environments.

While the current work is limited to linear function approximation and on-policy learning, it lays the groundwork for several future directions:

  • Non-linear Architectures: Extending these meta-descent techniques to deep neural networks.
  • Off-policy Learning: Adapting the mathematics to handle learning about one policy while following another.
  • Intrinsic Motivation: Using learned step sizes to drive "computational curiosity." If an agent identifies a feature with a high step size that still yields high error, it may indicate an area of the state space that requires further exploration.

Summary updated

BibTeX
@misc{kearney2019learning,
  author = {Alexandra Kearney and Vivek Veeriah and Jaden B. Travnik and Patrick M. Pilarski and Richard S. Sutton},
  title = {{Learning Feature Relevance Through Step Size Adaptation in Temporal-Difference Learning}},
  year = {2019},
  eprint = {1903.03252},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1903.03252},
}
Figure