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

*Marco Bagatella, Thomas Rupf, Georg Martius, Andreas Krause*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/151016) · [OpenReview](https://openreview.net/forum?id=da88i4IpCj) · [Open on the map](../papers.html#p151016)

Category: [Reinforcement Learning & Games](../pcat/10.md) › [Spectral and Structural Reinforcement Learning](../pgroup/14.md) · Type: new method · Keywords: zero-shot reinforcement learning, general utilities, offline RL, maximum entropy, forward-backward algorithm

## Summary
The paper introduces Soft Forward-Backward Representations, a maximum-entropy variant of forward-backward algorithms that enables zero-shot RL with general utilities by extracting stochastic policies from offline data.

## Explained to a 5-year-old
We can learn many different ways to act just by looking at old data, without having to train again. The new method makes the learning softer, like a gentle push, so it can handle more kinds of goals, such as making things balanced or exploring new places. It works like a toolbox that picks the best behavior when we need it, using a simple search. This helps robots or computer programs do many things they haven't seen before. It saves computer power and time compared to training from scratch.

## Explained to a 5-year-old, longer
Imagine you have a robot that has watched a lot of videos of people solving puzzles. Usually, to make the robot solve a new puzzle, you have to teach it again from the start. The paper shows a way to let the robot reuse what it already learned, so it can act without extra training. It does this by using a softer version of an old learning rule that works like a gentle push. This softer rule helps the robot handle many different kinds of goals, not just simple rewards. Goals can be things like making a collection of items balanced, exploring new places, or just learning about data. The robot extracts many possible behaviors from the old data, storing them like a library of actions. When a new situation appears, a simple search picks the most suitable behavior from that library. Because the search is quick, the robot can decide what to do right away, even at test time. This approach avoids the need for long, iterative training loops that usually require a lot of computer power. It also works well on both simple toy examples and more complex, high-dimensional tasks. Overall, the method lets robots and AI systems be more flexible and efficient when faced with new challenges.

## For a technical reader
The paper addresses the limitation of existing zero-shot RL methods that only support additive reward functions by extending them to arbitrary differentiable utilities over the occupancy measure. It proposes a maximum-entropy (soft) reformulation of the forward-backward algorithm that extracts a family of stochastic policies directly from offline data. Coupled with a zero-order optimizer over compact policy embeddings, the approach can evaluate and optimize any utility at test time without iterative training. Experiments on both simple benchmarks and high-dimensional tasks confirm that the method retains the desirable properties of classic forward-backward algorithms while broadening the range of solvable problems. This enables practitioners to deploy flexible, zero-shot RL agents for tasks such as distribution matching or pure exploration with minimal computational overhead.

## Problem
Existing zero-shot RL methods rely on additive reward functions, limiting them to standard RL problems. However, many tasks involve objectives that are arbitrary differentiable functions of the occupancy measure, such as distribution matching or pure exploration. There is a need for a zero-shot RL approach that can handle such general utilities.

## Method
The approach introduces a maximum-entropy (soft) variant of the forward-backward algorithm that recovers stochastic policies from offline data. Coupled with zero-order search over compact policy embeddings, it optimizes arbitrary differentiable utilities directly at test time without iterative optimization.

## Results
The experiments on didactic and high-dimensional tasks show that the approach retains the favorable properties of forward-backward algorithms while extending applicability to general utilities.

## Contributions
The work extends zero-shot RL to general utilities by providing a soft forward-backward formulation that yields stochastic policies from offline data and demonstrates its effectiveness on a range of tasks without requiring iterative optimization.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/151016)
