Sequence Compression Speeds Up Credit Assignment in Reinforcement Learning
Aditya A. Ramesh, Kenny Young, Louis Kirsch, Jürgen Schmidhuber
TL;DR
This work tackles the temporal credit-assignment problem in reinforcement learning with long-delayed, stochastic outcomes. It introduces Chunked-TD, a model-based approach that uses forward-model predictions to dynamically chunk trajectories and compute adaptive $\lambda$-returns, enabling online, faster bootstrapping while remaining robust to model inaccuracies. The method combines history compression with an online eligibility-trace formulation, and it encompasses variants for state-value, action-value, and factored-reward settings. Across synthetic environments, Chunked-TD demonstrates faster credit assignment and reduced variance compared with standard TD$\lambda$, including strong performance in factored-reward tasks, highlighting its practical potential for efficient learning in discrete-action domains.
Abstract
Temporal credit assignment in reinforcement learning is challenging due to delayed and stochastic outcomes. Monte Carlo targets can bridge long delays between action and consequence but lead to high-variance targets due to stochasticity. Temporal difference (TD) learning uses bootstrapping to overcome variance but introduces a bias that can only be corrected through many iterations. TD($λ$) provides a mechanism to navigate this bias-variance tradeoff smoothly. Appropriately selecting $λ$ can significantly improve performance. Here, we propose Chunked-TD, which uses predicted probabilities of transitions from a model for computing $λ$-return targets. Unlike other model-based solutions to credit assignment, Chunked-TD is less vulnerable to model inaccuracies. Our approach is motivated by the principle of history compression and 'chunks' trajectories for conventional TD learning. Chunking with learned world models compresses near-deterministic regions of the environment-policy interaction to speed up credit assignment while still bootstrapping when necessary. We propose algorithms that can be implemented online and show that they solve some problems much faster than conventional TD($λ$).
