Breaking Habits: On the Role of the Advantage Function in Learning Causal State Representations

Fuente: arXiv
Saved in:
Bibliographic Details
Main Author: Suau, Miguel
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908407320018944
author Suau, Miguel
author_facet Suau, Miguel
contents Recent work has shown that reinforcement learning agents can develop policies that exploit spurious correlations between rewards and observations. This phenomenon, known as policy confounding, arises because the agent's policy influences both past and future observation variables, creating a feedback loop that can hinder the agent's ability to generalize beyond its usual trajectories. In this paper, we show that the advantage function, commonly used in policy gradient methods, not only reduces the variance of gradient estimates but also mitigates the effects of policy confounding. By adjusting action values relative to the state representation, the advantage function downweights state-action pairs that are more likely under the current policy, breaking spurious correlations and encouraging the agent to focus on causal factors. We provide both analytical and empirical evidence demonstrating that training with the advantage function leads to improved out-of-trajectory performance.
format Preprint
id arxiv_https___arxiv_org_abs_2506_11912
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Breaking Habits: On the Role of the Advantage Function in Learning Causal State Representations
Suau, Miguel
Machine Learning
Artificial Intelligence
Recent work has shown that reinforcement learning agents can develop policies that exploit spurious correlations between rewards and observations. This phenomenon, known as policy confounding, arises because the agent's policy influences both past and future observation variables, creating a feedback loop that can hinder the agent's ability to generalize beyond its usual trajectories. In this paper, we show that the advantage function, commonly used in policy gradient methods, not only reduces the variance of gradient estimates but also mitigates the effects of policy confounding. By adjusting action values relative to the state representation, the advantage function downweights state-action pairs that are more likely under the current policy, breaking spurious correlations and encouraging the agent to focus on causal factors. We provide both analytical and empirical evidence demonstrating that training with the advantage function leads to improved out-of-trajectory performance.
title Breaking Habits: On the Role of the Advantage Function in Learning Causal State Representations
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2506.11912