From Pixels to Factors: Learning Independently Controllable State Variables for Reinforcement Learning
Rafael Rodriguez-Sanchez, Cameron Allen, George Konidaris
TL;DR
This work addresses the challenge of learning factored representations from high-dimensional observations when the ground-truth factors are not observed. It introduces Action Controllable Factorization (ACF), a contrastive, energy-based method that isolates independently controllable latent variables by contrasting action-driven transitions against natural dynamics, leveraging a sparse-action assumption and a no-op baseline. The approach combines an energy-parametrized forward model, an inverse dynamics objective, and ratio-based classifiers to align latent factors with controllable state components, with identifiability supported under sparsity and connectivity assumptions. Empirically, ACF recovers ground-truth controllable factors directly from pixels in Taxi, FourRooms, and MiniGrid-DoorKey and outperforms standard disentanglement baselines, indicating potential for improved sample efficiency in factored RL and world-model learning.
Abstract
Algorithms that exploit factored Markov decision processes are far more sample-efficient than factor-agnostic methods, yet they assume a factored representation is known a priori -- a requirement that breaks down when the agent sees only high-dimensional observations. Conversely, deep reinforcement learning handles such inputs but cannot benefit from factored structure. We address this representation problem with Action-Controllable Factorization (ACF), a contrastive learning approach that uncovers independently controllable latent variables -- state components each action can influence separately. ACF leverages sparsity: actions typically affect only a subset of variables, while the rest evolve under the environment's dynamics, yielding informative data for contrastive training. ACF recovers the ground truth controllable factors directly from pixel observations on three benchmarks with known factored structure -- Taxi, FourRooms, and MiniGrid-DoorKey -- consistently outperforming baseline disentanglement algorithms.
