Soft Forward-Backward Representations for Zero-shot Reinforcement Learning with General Utilities

Published: 25 May 2026, Last Modified: 09 Jun 2026DEMO 2026 PosterEveryoneRevisionsBibTeXCC BY 4.0
Keywords: zero-shot reinforcement learning, deep reinforcement learning, offline reinforcement learning, general utilities
TL;DR: We propose a zero-shot algorithm that retrieves maximum entropy policies, and searches over them to optimize general utilities at test-time.
Abstract: Recent advancements in zero-shot reinforcement learning (RL) have facilitated the extraction of diverse behaviors from unlabeled, offline data sources. In particular, forward-backward algorithms (FB) can retrieve a family of policies that approximately solves any standard RL problem (with additive rewards, linear in the occupancy measure), given sufficient capacity. While retaining zero-shot properties, we tackle the greater problem class of RL with general utilities, in which the objective is an arbitrary differentiable function of the occupancy measure. This setting is strictly more expressive, capturing tasks such as distribution matching or pure exploration, which may not be reduced to additive rewards. We show that this additional complexity can be captured by a novel, maximum entropy (soft) variant of the forward-backward algorithm, which recovers a family of stochastic policies from offline data. When coupled with zero-order search over compact policy embeddings, this algorithm can sidestep iterative optimization schemes, and optimizes general utilities directly at test-time. Across both didactic and high-dimensional experiments, we demonstrate that our method retains favorable properties of FB algorithms, while also extending their range to more general RL problems.
Submission Number: 56
Loading