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

Miguel Suau
6/13/2025
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{suau2025breaking,
  title  = {Breaking Habits: On the Role of the Advantage Function in Learning Causal State Representations},
  author = {Miguel Suau},
  year   = {2025},
  eprint = {2506.11912},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.11912v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.11912.svg)](https://codeofpaper.com/paper/2506.11912)

Discussion