Offline Empowerment

A policy's control over its own future, measured from logged trajectories alone, steers online exploration: it helped on 5 of 9 sparse-reward task and dataset pairs and did not hurt the other 4.

Pick how far ahead the agent looks, then move the probe around the maze. Junctions glow and dead ends fade. Then we build, piece by piece, how to learn that map from old logs without ever acting.

You need what a state and an action are and a feel for probability. We build the rest from zero.

Probe the maze

Ready

Tap any floor cell to place the probe.

Toy, not the paper's estimator: n-step empowerment of a deterministic maze (four moves plus stay). The channel capacity of Chapter 2 then equals the natural log of the number of different cells the agent can pick out, in nats. The paper learns a discounted version from logs (Chapters 3 to 7); its Fig. 1b shows the same shape on AntMaze, with peaks at corridor junctions and a fall in dead ends and corners. Paper: Garg, Myers, Li, Ji, Eysenbach and Levine, arXiv:2610.24461.

Chapter 0

Where to Explore

See why an explorer should spend its time where it has the most control, and why old logs can tell it where that is

Picture a robot in an empty house. A key lies on a table. A locked door stands at the far end of a hall. The robot gets one reward, and only when it walks through that door. Until then, every step earns nothing.

This is a sparse reward: a signal that stays at zero almost everywhere, so the robot cannot tell a good step from a bad one. It has to find the reward by trying things. The search for useful new experience is called exploration.

The simplest explorer treats every place alike. It wanders, and it counts a visit to the closet the same as a visit to the table. That is fair, but it is slow. Most places teach the robot very little.

Some places hand you more options

Stand in a dead end of a corridor. Whatever you do, you end up in about the same few places. Now stand at the table with the key. You can grab it, push it, drop it, or walk away. After you hold the key, the locked door becomes a choice too.

The table is special because your actions change what happens next in many different ways. We say you have control there. The key idea of this paper is plain: explore more where you have more control. More control means more different futures to discover.

Researchers gave this idea a name and a formula in 2005. Empowerment is a number that says how many different futures an agent can choose between. It is large at the table and small in the dead end. Chapter 2 builds the formula from zero.

The catch: measuring control seems to need trying

Older methods estimate empowerment while the agent acts. They let a skill-conditioned policy run in the world and check whether its outcomes match its intentions. They need fresh rollouts, which cost real robot time.

But labs already hold huge piles of old data: robot logs, human demonstrations, past code sessions. These are unlabeled trajectories, lists of states and actions with no reward and no note about what the actor wanted. Could we read control straight from such a log?

That is the question of this paper, by Ishir Garg, Vivek Myers, Qiyang Li, Catherine Ji, Benjamin Eysenbach and Sergey Levine. Its answer is the first estimator of empowerment that trains on logs alone, with no environment interaction. They then use the estimate to explore faster online.

Here is the plan in four steps. First, learn where the agent would end up under a set of skills, using only logged transitions. Second, train those skills to end up in as different places as possible. Third, read off a number for every state. Fourth, give the online agent a bonus for reaching high-number states.

The paper's tests use sparse-reward goal reaching in the OGBench suite: an ant in a maze, a point mass in a maze with teleporters, an ant pushing a ball, and a robot arm moving a cube. Chapter 9 reports where the bonus helped. In short, it sped up learning on 5 of 9 pairs of task and log, and matched the baseline on the other 4.

Feel why the pull must be gentle

Try the idea in a toy maze before any formula. A walker steps to a neighbour cell each turn. With the dial at zero, it picks neighbours at random. Turn the dial up, and it prefers neighbours with higher empowerment from the hero's map.

Pull the walker toward control

The maze shows one walker's visits (brighter means more). The bars show the average number of cells found by 40 walkers in 120 steps. Slide the pull and compare it with the random walker.

1.0

Illustrative toy, not the paper's method. Each step the walker moves to a neighbour cell chosen with weight exp(pull × empowerment), using the 5-step map of the hero. The paper adds a learned bonus to a reinforcement learning agent instead (Chapter 8); its Fig. 8 also finds that the bonus weight must not dominate.

A small pull helps: the walker leaves the dead ends and covers more cells. A large pull hurts: the walker hovers around the best junction and stops discovering. The paper meets the same limit in its bonus weight. It tunes the weight per task and fades the bonus to zero halfway through training.

The road

  1. Logs, not rollouts: what the offline setting allows, and what it forbids.
  2. Empowerment is channel capacity: the formula, built from a coin flip.
  3. Where the agent ends up: the discounted occupancy and its one-step recursion.
  4. One number from K skills: the effective empowerment and why noise matters.
  5. Learning futures from logs: temporal difference training on logged transitions.
  6. Sampling the futures: the latent space and the estimator.
  7. Training the skills: the empowerment gradient and the full loop as code.
  8. From a map to a bonus: how the online agent uses the number.
  9. What the experiments show and where the method bends, then the field guide.
Why is a dead-end corridor a poor place to spend exploration steps, according to the empowerment idea?

Chapter 1

Logs, Not Rollouts

Meet the offline setting, where you may read old trajectories but may never try a new action

A courier company hands you a box of GPS traces from ten thousand deliveries. Each trace is a list of places and turns. Nobody wrote down where each driver was trying to go. You may study the traces as long as you like. You may not send a single new driver out.

That is the offline setting. You read data that someone else collected. You never act in the world yourself. It is the setting of this paper, and the way it limits you shapes every design choice that follows.

The pieces of a decision problem

Reinforcement learning describes the world with a few parts. Our MDP lesson builds them in full; here is the short version. A state s is a complete description of the situation, such as where the ant is and what its joints are doing. An action a is what the agent can choose, such as the torque on each joint.

The transition P(s′ | s, a) says how likely each next state s′ is after you take action a in state s. The world sets this rule, not the agent. A policy π(a | s) is the agent's habit: how likely it is to pick each action in each state. A trajectory is the list s0, a0, s1, a1, and so on that results.

The paper also uses a discount factor γ, a number just below 1 (here 0.99). It tells us how much we care about the far future compared with the near future. Chapter 3 shows exactly how.

What the log contains, and what it hides

The paper assumes a fixed dataset D of transitions (s, a, s′). An unknown behavior policy πβ collected them. There are no rewards in D and no labels such as "this driver wanted the airport". The paper calls the data unlabeled.

Here is what a few rows of D look like in the maze. Each row is one step the actor took, and nothing else.

s (cell)a (move)s′ (next cell)
(2, 4)right(2, 5)
(2, 5)right(2, 6)
(2, 6)left(2, 5)

Training reads such rows in batches. The paper uses batches of 1,024 transitions (its Table 1). Notice what the third row shows: the actor turned back. The row records the turn but not the reason.

The behavior policy decides which parts of the world the log covers. The paper tests five kinds of logs from the OGBench benchmark. Navigate and play logs both hold long goal-directed runs. Stitch logs hold only short pieces, so the agent must join pieces to get anywhere far. Noisy logs add heavy action noise. Explore logs hold nearly random walks.

Click around in the device below. It builds four small logs for the maze and counts, for each cell, how often each action appears.

Read the log of a cell

Brighter blue means more logged visits. Choose a kind of log, then tap a cell to see how many times each of the four moves was tried from it.

Illustrative toy logs, seeded so they are the same on every visit, each with about 1,500 transitions. Navigate: shortest paths to random goals. Stitch: 4-step pieces of such paths. Noisy: shortest paths where half the moves are replaced by random ones. Explore: random walks. The five names come from OGBench as used in the paper; this device builds four of them.

Look at what the log can and cannot say. In the navigate log, the corridors are crowded and a few moves never appear. If an action never appears in D from some state, the log tells you nothing about what that action would do there. A model that must guess is a model that may guess wrong.

Why the old estimators break on a log

Earlier empowerment estimators train a skill-conditioned policy online. They reward the policy when the outcome it reaches matches the skill it was told to follow. That check needs two things. It needs the policy to act, so fresh outcomes arrive. And it needs the intention, the skill, to be known.

A log has neither. The actor made its choices for reasons we cannot see. The paper tests the obvious patch: take an online method and add the usual offline-RL regularizers that keep the policy near the data. It reports that this does not work (its Section 6.2, our Chapter 9).

So the paper changes the question. It does not ask whether outcomes match known intentions. It learns, from the log, where every state leads in the long run, under a set of skills the method invents. Then it asks how different those futures are. That is a question about the world and the skills, not about the actor's hidden mind.

Two other lessons here give more background. Offline RL: the complete guide covers the dangers of learning from fixed data, and D4RL is the classic benchmark paper for such data. Exploration in reinforcement learning covers the online side of this paper.

The paper treats its dataset as unlabeled. What does that mean for an online empowerment estimator that rewards outcomes matching a skill's intention?

Chapter 2

Empowerment Is Channel Capacity

Count how many futures an agent can tell apart, in nats, with a toy you can bend

You stand at a vending machine with four buttons. In machine A, each button drops a different snack. In machine B, a random snack drops whatever you press. In machine C, the same snack drops every time. Which machine gives you control?

Machine A does. After the snack drops, you can tell which button was pressed. Machines B and C leave you with no clue. Your choice of button changes nothing you can see. This is exactly what empowerment measures: how well your choices show up in what happens next.

A message sent through the world

Think of the world as a wire between a sender and a receiver. The sender picks a skill z, a label from a fixed list of K options (the paper uses K = 50). A skill-conditioned policy then acts in the world as that skill directs. The receiver sees only where the agent ends up, a future state s+.

If different skills end up in clearly different places, the receiver can read the message. If they end up in the same fuzzy cloud, the message is lost. Engineers call the limit on how much a wire can carry its channel capacity. Empowerment is the channel capacity from skills to futures.

Measuring a message: the nat

We need a unit for "how much did you learn". The surprise of an event with probability p is −ln p. A rare event is a big surprise. A certain event (p = 1) gives zero. The unit of this logarithm is the nat.

The entropy of a choice is the average surprise. Choosing one of K equally likely skills has entropy ln K nats. For K = 2, that is ln 2 = 0.693 nats. For K = 50, it is ln 50 = 3.91 nats. This is the most any receiver can ever learn about the skill.

The mutual information between skill z and future s+ is how much the receiver's guess about z improves once it sees s+. Written as a formula, with the skill drawn uniformly:

I(s+; z)
The mutual information in nats. It is 0 when the futures reveal nothing about the skill and ln K when they reveal it exactly.
(1/K) ∑z
Average over the K skills. Each skill is equally likely, so each counts 1/K.
Es+ ~ pz
Average over futures that skill z actually produces. The function pz(s+) is the chance that skill z ends in s+.
pz / p̄
How much more likely skill z is to produce this future than the average skill is. Here p̄(s+) = (1/K) ∑z′ pz′(s+) is the mixture over all skills. A ratio far above 1 means the future points to z.

A hand calculation with two skills

Take two skills and two possible futures, A and B. Skill 1 ends in A with chance 0.9 and in B with chance 0.1. Skill 2 does the opposite. The mixture is 0.5 for each future. For skill 1 the average log ratio is:

0.9 · ln(0.9 / 0.5) + 0.1 · ln(0.1 / 0.5) = 0.9 × 0.588 − 0.1 × 1.609 = 0.368

Skill 2 gives the same value by symmetry, so I = 0.368 nats. The ceiling is ln 2 = 0.693, so this pair of skills is about 53% readable. If the two skills ended identically, every ratio would be 1, ln 1 = 0, and I would be 0.

The best use of the wire

The capacity of a wire is not how well one sender uses it. It is how well the best sender could. So the paper takes a maximum over all skill-conditioned policies π:

E(s)
The empowerment of state s: a single number for each state. This is the object the whole paper estimates.
maxπ
Try every skill-conditioned policy π(a | s, z) and keep the best. This is why it is called the potential or maximal empowerment (the paper's Eq. 5).
Iπ(s+; z | st = s)
The mutual information of the last equation, computed for the futures that policy π produces when the agent starts in state s.

Now bend the toy. Each skill sends the agent to a blob on a line. The gap sets how far apart the blobs sit. The blur sets how spread out each blob is.

Bend the channel

Each coloured bump is where one skill ends up. The dashed line is the average of all skills. Slide the gap and the blur, and watch the bar fill toward its ceiling ln K.

4
1.00
0.60

Illustrative toy: each skill ends at a Gaussian blob with the same blur, centred on a line with equal gaps. The mutual information is computed numerically on an 800-point grid with the formula above. The ceiling ln K is the exact upper bound for K equally likely skills; the paper's K = 50 gives 3.91 nats.

Try three things. Set the gap to 0: every blob sits on top of the others, so I = 0 for any blur. Set the blur to 0.2 with a gap of 2: the blobs barely touch, and I sits close to ln K. Last, hold the gap at 1 and raise K: more skills crowd the same line, so each pair overlaps more, and the bar falls short of its higher ceiling.

One more fact to carry forward. Because I can never exceed ln K, an empowerment value is only meaningful next to K. The paper's maps read between about 0.4 and 2.0 nats when its ceiling is 3.91. Those values are far below the ceiling because real skills overlap a great deal.

With K = 4 equally likely skills, what is the largest possible mutual information between the skill and its future state?

Chapter 3

Where the Agent Ends Up

Describe the future as a discounted occupancy and learn it with a one-step recursion

Drop a leaf into a stream. Where will it be later? That depends on when you look. If you look right away, it is at the spot you dropped it. If you wait an hour, it is far downstream. Suppose you do not choose the time. A random timer picks it, and you look when the timer rings.

The answer is then a spread of places, not one place. Some chance sits at the start, more sits a little downstream, and a long tail sits far away. This spread answers the question "where does the agent tend to be in its future?". It is the object the paper learns.

A timer that rings at random

Empowerment needs one future state s+ per skill. Which one? The paper picks s+ = st+k, where the number of steps k is random. At each moment the timer rings with chance 1 − γ. So:

P(k) = (1 − γ) γk,   k = 0, 1, 2, …

Here γ = 0.99 is the discount factor from Chapter 1. The chance of k = 0 is 0.01, of k = 1 is 0.0099, and so on, shrinking slowly. These chances add to exactly 1. The average wait is 1 / (1 − γ) = 100 steps, so the agent looks about a hundred steps ahead on average. Near futures count more than far ones, but far ones still count.

The distribution of s+ that results is the discounted state occupancy measure. The paper writes it for a state s, an action a, and a skill z:

pz(s+ | s, a)
How likely skill z, started from state s with first action a, is to be in s+ when the random timer rings. It is a density when states are continuous.
∑k (1 − γ) γk
Add up over every possible timer length k, weighting each by its chance of ringing at exactly that step.
1[ sk = s+ ]
An indicator: 1 if the agent is in s+ after k steps, otherwise 0. For continuous states read it as a point mass at sk.

The version without the first action averages over the policy's own choice, pz(s+ | s) = Ea ~ π(· | s, z) pz(s+ | s, a). The paper's Eqs. 1 and 2 are these two lines. This second form is the one empowerment uses.

A three-cell example by hand

Take three cells in a row. From cell 0 the skill moves to cell 1. From cell 1 it moves to cell 2. Cell 2 is a trap: the agent stays. Let γ = 0.5. Start in cell 0.

timer length kagent is inchance P(k)
0cell 00.5
1cell 10.25
2 or morecell 20.25

Add the chances for k = 2, 3, 4, and so on: 0.125 + 0.0625 + … = 0.25. So p(· | cell 0) = (0.5, 0.25, 0.25). The same sum from cell 1 gives (0, 0.5, 0.5).

The trick that makes it learnable

Look at those two answers. Is there a link between them? Yes. With chance 1 − γ the timer rings right now, and the agent is at s. Otherwise it takes one step to s′. A geometric timer has no memory, so from s′ the game starts afresh. That gives a recursion:

pz(s+ | s, a)
The occupancy we want for the state-action pair.
(1 − γ) 1[ s+ = s ]
The timer rings now, so the future state is s itself. This term is zero unless s+ is s.
γ Es′ ~ P
With chance γ the timer keeps going. The world moves to s′, drawn from the transition P. A discount of γ has been paid.
pz(s+ | s′)
The same kind of answer, but from the next state. This is the temporal difference link: today's answer is built from tomorrow's.

Check it on the example: p(· | cell 0) should equal (0.5, 0, 0) + 0.5 × p(· | cell 1) = (0.5, 0, 0) + (0, 0.25, 0.25) = (0.5, 0.25, 0.25). It does. The paper writes this as its Eq. 3 and takes the average over actions as Eq. 4.

Why does this matter offline? The recursion needs only one step of the world: a transition (s, a, s′). A log is made of such steps. So we can train a network to satisfy the recursion by looking at logged transitions, the way value functions are trained in Q-learning. No policy rollout is needed. This idea is the successor representation (Dayan, 1993), and the paper builds on it.

Run the recursion yourself. The corridor below has nine cells. The skill drifts right but sometimes slips left. Each press of the button applies the recursion once to the current estimate, starting from all zeros.

Back up the future

Outlined bars are the true occupancy from the marked start cell. Filled bars are your estimate. Press One backup and watch the estimate grow toward the outline. Tap a cell to change the start.

0.80

Illustrative toy: a nine-cell corridor with walls at both ends, where the skill steps right with chance 0.7 and left with chance 0.3. The update is Q ← (1 − γ) I + γ P Q on the full table, starting from zero. The true occupancy is that update run to convergence. After t backups the estimate holds 1 − γt of the probability mass.

Notice two things. The mass of the estimate grows by exactly the next term of the geometric series with each backup, so the estimate looks one more step ahead each time. And a larger γ needs more backups, because the timer reaches further. A γ of 0.99 looks about 100 steps ahead, which is why the real networks need many thousands of updates.

Here is how the paper's four baselines draw a future from a logged trajectory, in code. They start the timer at one step, so the offset k is at least 1. Our method does something different, as the next two chapters show.

import numpy as np

def sample_future(traj, t, gamma):
    # timer length k = 1, 2, 3, ... with P(k) = (1 - gamma) * gamma**(k - 1)
    k = np.random.geometric(1 - gamma)
    return traj[min(t + k, len(traj) - 1)]   # clip at the end of the logged trajectory
Why can the occupancy be learned from single logged transitions (s, a, s′) without rolling out the policy?

Chapter 4

One Number From K Skills

Turn K skills and their occupancies into the effective empowerment, and see why the policy needs action noise

Five hikers leave the same camp on five different trails. A friend watches from the lodge. At a random moment, you tell the friend where one hiker is, but not which one. Can the friend name the hiker? If the trails split at once, yes. If the trails stay close for miles, the friend will often be wrong.

That guessing game is the effective empowerment. The hikers are the K skills, the camp is the start state s, and the random moment is the timer of Chapter 3. How well the friend does is a number in nats.

Empowerment of a known policy

The empowerment E(s) of Chapter 2 asks for the best of all policies, which is a hard search. The paper first defines an easier object. It is the mutual information for one specific skill-conditioned policy π, written with the occupancies of Chapter 3:

É(s; π)
The effective empowerment: what policy π actually achieves from s. It is a lower bound, É(s; π) ≤ E(s), with equality when π is the best policy.
(1/K) ∑z
Average over skills, each equally likely.
Es+ ~ pz(·|s)
Draw a future from the discounted occupancy of skill z, with the first action also drawn from the policy.
ratio inside the log
Skill z's chance of this future, divided by the average chance over all skills. It is the same ratio as in Chapter 2, now built from occupancies.

Read this equation twice, because the whole method rests on it. The policy π appears nowhere on the right-hand side except inside the occupancies pz. So if we can learn the occupancies of a policy, we can evaluate its empowerment. And by Chapter 3, occupancies can be learned from logged transitions. This is the paper's key insight.

The plan follows. Learn occupancies for a skill-conditioned policy from the log (Chapter 5). Make them cheap to sample from (Chapter 6). Improve the policy so that É(s; π) goes up (Chapter 7). When training ends, É(s; π) of the improved policy stands in for E(s). That final number is called Ê(s).

Why the policy must be a little noisy

Now a surprise. Suppose each skill's policy is perfectly deterministic and the world is deterministic. Then each skill follows exactly one path. Its occupancy is a set of point masses, one for each state on the path. Such an occupancy has no density over a continuous space. A density is a smooth curve of likelihood, and a set of points has none, so the log ratio has no useful value.

The paper makes this precise. The mutual information jumps to its maximum, γ ln K, as soon as no two paths share a state after the start. It makes no difference whether the paths are a mile apart or a hair apart. The measure goes blind to distance, and distance is what we wanted.

Why γ ln K and not ln K? With chance 1 − γ the timer rings at k = 0, when every skill is still at s. That slice of the future is the same for all skills and tells the friend nothing. The other γ of the probability is perfectly readable and is worth ln K nats each. For γ = 0.99 and K = 50 the ceiling is 0.99 × 3.912 = 3.873 nats.

The cure is a small amount of action noise. The paper uses a Gaussian policy with a learned mean and a fixed spread:

a = clip( μθ(s, z) + η, −1, 1 ),   η ~ N(0, σa2 I)

Here μθ(s, z) is a network that maps the state s and the one-hot skill z to an action vector, η is the noise, and the clip keeps the action inside its bounds. The paper sets σa = 0.01 (its Table 1). Each skill's occupancy now spreads over a neighbourhood of its path. Overlap appears, and how much they overlap tells us how far apart the futures are.

Try it. Four skills walk from the origin to four endpoints. Turn the blur down and the mutual information climbs toward its ceiling. Turn it up and the skills blur into each other.

Blur the paths

Top: where each skill is when the timer rings. Bottom: mutual information as the blur grows, with the two ceilings. Slide the blur and the discount.

0.13
0.90

Illustrative toy: four skills walk in a straight line from 0 to endpoints −2.7, −1, 1 and 2.7 over five steps, then stay. Each position is blurred by a Gaussian of width σ, a stand-in for action noise. The mutual information is computed numerically from the discounted occupancies. The γ ln K ceiling for deterministic policies is stated in the paper's Section 3.

Two things to notice. At tiny blur the curve flattens just under γ ln K, not ln K, which confirms the timer argument above. And the whole curve moves down as the discount gets smaller, because more of the future is the shared first state.

In the paper's ablation on AntMaze (its Fig. 5), the converged estimate hardly changes when σa sweeps from 10−4 to 10−1. We should be careful here. The noise is needed for the estimate to be defined. But the paper finds that the exact scale matters little.

Why does a deterministic skill policy in a deterministic world give a mutual information of γ ln K no matter how close the skills' paths are?

Chapter 5

Learning Futures From Logs

Train the occupancy networks with temporal differences on logged transitions only

A taxi dispatcher inherits a box of ride slips. Each slip says only "picked up at A, dropped at B", one hop. She wants more: for a rider picked up at A, where will a trip of random length end? No single slip answers that. But the slips chain together. If she knows where riders from B end up, she can work out where riders from A end up.

That chaining is called bootstrapping: build a guess about today from a guess about tomorrow, and repeat until the guesses agree. It is how this chapter trains the occupancy of Chapter 3 from a log.

Two networks, one for each question

The paper trains two function approximators for every skill z. A network Qθz(s+ | s, a) answers: "if skill z takes action a in state s, how likely is the future s+?" A network Vθz(s+ | s) answers the same question before the first action is chosen, averaged over the policy. The names echo Q-values and V-values in value learning, and the idea is the same.

Training reads a logged transition (s, a, s′) and a skill z. The paper then adds a state s+ picked uniformly from all states in the dataset, with no link to the transition. This is odd at first. A random state is not a sample of a future of s. The paper says so: these are not technically samples from the occupancy. The recursion still works, because s+ is only a point at which we ask the network a question. The target at that point comes from the Bellman backup of Chapter 3, which means one application of the one-step recursion: the answer here equals a one-step term plus the discounted answer at the next state.

The three losses

The first loss trains Q to match the "keep going" part of the recursion. The target uses a copy of V, the target network (marked with a bar), so that the target does not shift while we chase it:

LQboot
The bootstrap loss for Q (the paper's Eq. 7).
ℓ
A regression loss that compares a prediction with a target. The paper uses a clipped linear-exponential loss, explained below.
Qθz(s+ | s, a)
The prediction, at the random query state s+.
γ Vθ̄z(s+ | s′)
The target: the discounted occupancy from the next state s′. The bar on θ marks the slow-moving target copy.

This loss alone has a flaw. The recursion also has a "stop now" term, (1 − γ) 1[s+ = s]. A random s+ is almost never equal to s, so that term would never appear. Without it the recursion has a trivial solution: all zeros. The second loss repairs this by sampling the query exactly at s:

LQself
The self loss (the paper's Eq. 8). The two Q losses are summed with equal weight.
Qθz(s | s, a)
The prediction at the query s+ = s, the current state itself.
(1 − γ) + γ V(s | s′)
The full recursion target, now including the stop-now term (1 − γ) because s+ equals s.

The third loss trains V from Q. Here the policy enters for the first time:

LV
The V loss (the paper's Eq. 9).
Vθz(s+ | s)
The prediction: the occupancy of skill z before it picks an action.
Ea′ ~ π Q(s+ | s, a′)
The target: ask the target Q at the actions the current policy would take, not at the logged action. This is how the occupancy comes to describe the new policy, not the old actor.

See the effect of the self loss in the device. The table is a toy version: one skill, nine cells, and states instead of networks.

Learn from slips

Left: the table you are learning. Right: the true occupancy. Row s, column s+. Press 10,000 updates with the self loss on, then reset and try it off.

Illustrative toy: nine cells, γ = 0.9, one skill that steps right with chance 0.7. Each update draws a cell s, its logged next cell s′, and a random query cell s+, then moves one table entry toward its target with step 0.1. The target table follows the learned one with rate 0.2 (the paper uses 0.005 for its networks). Plain squared error stands in for the paper's clipped linear-exponential loss.

With the self loss on, the table fills in and the rows approach a total of 1. With it off, the table stays at zero. The recursion without its source term is a machine that only passes probability along and never creates any. Zero in, zero out.

Why the loss looks strange

The real networks output log densities (next chapter). Densities can be tiny, so a squared error on raw values would barely notice relative errors. The paper regresses in the exponentiated domain with a clipped linear-exponential loss, a form it takes from Parsian and Kirmani (2002). The loss grows exponentially when the prediction is too high and only linearly when it is too low. Beyond a gap of t = 5 it switches to a straight line, to stop the gradients from exploding (its Eq. 18).

Details that make it work

Three details are easy to miss. First, the target networks follow the learned ones by Polyak averaging, a slow moving average: target ← 0.005 × learned + 0.995 × target. Second, Q is evaluated later at actions the policy picks, not at logged actions. So the paper adds the same small noise to dataset actions when it trains Q: ã = clip(a + η, −1, 1). Q is then trained on the kind of slightly noisy actions at which it will be asked. Third, the paper finds that separate networks for Q and V give more stable training and better estimates than deriving V from Q.

What would happen if the occupancy networks were trained with the bootstrap loss only, and the self loss were dropped?

Chapter 6

Sampling the Futures

Place every future in a latent space so that sampling and scoring each cost one cheap step

Imagine a taxi company that must answer one question millions of times: "how likely is a rider from here to end up there?" It could keep a giant table of every start and every drop-off. Or it could give every place a point on a flat map and say: the closer a drop-off lies to the rider's expected point, the more likely it is. A small formula replaces the table.

The paper does the second thing. It places every future state on a map with 256 coordinates and turns "how likely" into "how close". This chapter shows what that buys: cheap scoring, cheap sampling, and a direct formula for the empowerment estimate.

Why we need to sample the futures

The effective empowerment (Chapter 4) is an average over futures drawn from each skill's occupancy. To compute it we must do two things with the occupancy Vz. We must score a given future: how likely is it? And we must sample futures from it. A network that outputs a density over a high-dimensional state is easy to score and almost impossible to sample.

Three encoders and a distance

The paper uses three networks that map into one shared space of dimension d = 256, the latent space. The encoder φQ(s, a, z) maps a state, an action and a skill to a point. The encoder φV(s, z) maps a state and a skill to a point. The encoder ψ(s+) maps a future state to a point. Each is a small neural network with three layers of width 512 (its Table 1). Then:

ln Qz
The log occupancy for state, action and skill. Its larger values sit where the future point ψ(s+) lies close to the point φQ (the paper's Eq. 10).
ln Vz
The same for state and skill alone. This is the one empowerment uses.

Here ‖·‖2 is the squared distance and the 1/d keeps the scale steady as the dimension grows. Read the formula as a rule of thumb: the future states a skill likes are those whose latent points sit near its own latent point. This is a Gaussian bump around φ. In fact Vz, seen as a function of the latent point ψ, is the density of a Gaussian bump: ψ ~ N(φV(s, z), (d/2) I).

That fact is the trick. We cannot sample a state s+ from V, but we can sample a latent point from the bump, and a latent point is all that Eq. 10 needs in order to score. The Gaussian normalising constant is the same for every skill, so it cancels inside the log ratio and we can ignore it.

The estimate, Eq. 15

Plug the sampler into the effective empowerment. For each skill z draw M latent points ψz,m from its bump. Score each one under its own skill, and under the average of all skills. The mean difference is the estimate:

Ê(s)
The estimate of the potential empowerment at state s: one number in nats.
(1/K) ∑z (1/M) ∑m
Average over skills, and over M latent samples per skill. The paper uses M = 64 when it computes the final estimate (its Table 5).
ln Vz(ψz,m | s)
How well the sample matches its own skill. Eq. 10 gives it directly.
ln of the average
How well the sample matches the average skill: the log of the mean of K scores. If other skills match equally well, this term cancels the first.

Work one sample by hand. Take d = 2, so the bump has variance 1 per axis. Two skills sit at φ1 = (−1, 0) and φ2 = (1, 0). A sample from skill 1 lands at ψ = (−0.5, 0.3).

stepvalue
distance² to φ1 = 0.5² + 0.3²0.34
ln V1 = −0.34 / 2−0.17
distance² to φ2 = 1.5² + 0.3²2.34
ln V2 = −2.34 / 2−1.17
ln of the average = ln ( (e−0.17 + e−1.17) / 2 )−0.550
term for this sample = −0.17 − (−0.550)0.380

This one draw says 0.38 nats. Averaging many draws, from both skills, gives the estimate. Draw them yourself below. The four skills sit on the corners of a square; widen the square to separate them.

Sample the futures

Each coloured cloud is M latent points drawn from one skill's bump (radius of the ring: one standard deviation). Slide the spread, then change M and press Draw again to see how noisy the estimate is.

1.5
8

Illustrative toy: latent dimension d = 2 (the paper uses 256), so each bump has variance 1 per axis, and four skills at the corners of a square with half-side equal to the spread. The reference value uses 4,000 samples per skill. The estimate is Eq. 15 evaluated exactly as written.

With M = 1 per skill the estimate jumps from press to press. With M = 64 it barely moves. The estimate is a Monte Carlo average, and its noise shrinks with the square root of the number of samples. During training the paper draws a single sample per update (its Table 1) and trains for a million steps. For the final estimate it draws 64 per skill.

The same thing as code, with shapes

import numpy as np
from scipy.special import logsumexp

def empowerment(phi_V, s, K, M, d):
    # phi_V(s, z) -> latent centre, shape (d,)
    centres = np.stack([phi_V(s, np.eye(K)[k]) for k in range(K)])    # (K, d)
    noise = np.sqrt(d / 2) * np.random.randn(K, M, d)                 # N(0, d/2 I)
    psi = centres[:, None, :] + noise                                 # (K, M, d): M futures per skill
    # squared distance from every sample to every skill's centre
    dist2 = ((psi[:, :, None, :] - centres[None, None]) ** 2).sum(-1) # (K, M, K)
    logV = -dist2 / d                                                 # ln V^{z'}(psi | s)
    own = logV[np.arange(K), :, np.arange(K)]                         # (K, M): under its own skill
    log_mix = logsumexp(logV, axis=-1) - np.log(K)                    # (K, M): under the average skill
    return (own - log_mix).mean()                                     # Eq. 15, nats
Why does the latent parameterization let the paper estimate empowerment without ever sampling an actual future state?

Chapter 7

Training the Skills

Push each skill's futures apart with the empowerment gradient, and run the whole training loop

Picture K team captains standing at the same spot on a football pitch. Each captain picks a first move for their team. A judge in the stands watches where the play ends up and tries to name the captain. The judge pays a bonus when she can. So every captain changes their first move to make the end of the play look unlike the other captains'.

That is the skill-training step. But there is a rule: every move must look like something that appears in the match recordings. A move that no one ever played cannot be trusted, because our model of the world has never seen it. This chapter builds both parts: the push apart and the leash.

Changing one skill at one state

We want to raise É(s; π) of Chapter 4 by changing the policy. A small question comes first. If skill z picks a new first action at state s, and everything else stays the same, how does the occupancy of z change? Only its first action is new. After that the agent follows the learned occupancy. The other skills do not change at all.

The paper writes the new occupancy for skill z′ as a modified marginal Mz′:

Mz′
The occupancy of skill z′ if only skill z were allowed to change its first action at s (the paper's Eq. 11).
1[z′ = z] Ea ~ π Qz
For the skill being changed, use Q at the new action distribution. Q describes the futures that follow picking exactly that first action.
1[z′ ≠ z] Vz′
Every other skill keeps its learned occupancy V.

Plugging M into the empowerment formula gives the (π, z)-modified empowerment, EΔ(s; π, z): the empowerment at s when only skill z's first action is replaced (the paper's Eq. 12). Raising it means skill z has moved its futures away from the others.

Estimating it by sampling

The empowerment is an average over futures. For skill z′ we need futures drawn from Mz′. For all skills except z, Mz′ = Vz′, which we can sample (Chapter 6). For skill z itself we cannot sample from the changed occupancy, because the policy has not been run. So the paper draws every sample from Vz′ and re-weights it by the ratio M / V. This is importance weighting: sample from an easy distribution and correct by the density ratio (our importance sampling lesson builds it from zero).

EΔ(s; π, z)
The quantity the policy will climb (the paper's Eq. 13).
(1/K) ∑z′
Average over all K skills, as before.
Es+ ~ Vz′
Sample latent futures from the bumps of Chapter 6.
Mz′ / Vz′
The importance weight. It equals 1 for every skill except z, and for z it is the ratio of the new first action's occupancy to the old.
ln ( M / mean M )
The usual log ratio of Chapter 2, now built from the modified occupancies.

The gradient flows into the policy through two doors: through the weight, and through the log term. The paper draws the action with the reparameterization trick, a = clip(μθ(s, z) + η, −1, 1). That keeps the sampled action a smooth function of μ, so Q's output can pass a gradient back to the policy's mean.

The leash

Now the rule. The final policy objective is:

π ← arg max
Improve the policy by gradient ascent on the bracket (the paper's Eq. 14).
EΔ
The push: make skill z's futures distinct.
(αbc / 2) ‖a − μ‖2
The leash, a behavioral cloning term. It pulls the policy's mean μ toward the action a the logged actor took. The paper sets αbc = 0.001.

Why is the leash needed? Offline, Q has only seen logged actions. At an action far from the data it guesses, and a guess can be wildly high. The policy would race to exploit those errors, as in every offline RL method. The leash keeps it near the data. Chapter 10 shows what happens when the leash is too tight.

See the push and the leash separately. In the toy below, skill 1 has one knob, its action. The other two skills are fixed. The curve shows the empowerment as skill 1 moves. Drag the knob, then let it climb.

Push one skill away

Top: where each skill ends up (the warm one is yours). Bottom: empowerment against your skill's action. Drag the action, or press the button to take gradient steps uphill.

0.40

Illustrative toy: a one-dimensional world where the end position is 4 × action, blurred by 0.6. Skills 2 and 3 are fixed at actions −0.3 and 0.7. The curve is the exact mutual information of the three blobs; the paper estimates the same quantity with sampled latents (Eq. 13) and no knowledge of the world. Gradient steps use a finite-difference slope and step size 0.1.

Notice the curve is not a bowl. It has two peaks. A local one sits at action 0.2, in the gap between the two fixed skills. The global one sits far to the left, at −1. Gradient ascent from 0.4 climbs the nearer peak and stops there. Start it at −0.6 and it reaches the better one. The skills find a good spot, not always the best. And the paper trains all K skills at once, so each skill also moves the targets of the others.

The whole loop

The paper trains everything at once: the occupancy networks, the target copies, and the policy. This is its Algorithm 1. Here is the loop as code, with the shapes (B = 1,024 is the batch; K = 50; d = 256).

for step in range(1_000_000):
    s, a, s2 = D.sample(B)                      # logged transitions: (B, ds), (B, da), (B, ds)
    s_plus   = D.sample_states(B)               # random query states from the dataset: (B, ds)
    z        = randint(0, K, size=B)            # a skill for each transition
    a_noisy  = clip(a + sigma_a * randn_like(a), -1, 1)    # same noise the policy uses

    # 1. occupancy losses (Eqs. 7, 8, 9), all with the clipped linear-exponential loss
    L_Q = linexp(logQ(s, a_noisy, z, s_plus), log(gamma) + logV_targ(s2, z, s_plus)) \
        + linexp(logQ(s, a_noisy, z, s),      log((1 - gamma) + gamma * exp(logV_targ(s2, z, s))))
    L_V = linexp(logV(s, z, s_plus), log(mean_over_pi_actions(exp(logQ_targ(s, a_pi, z, s_plus)))))

    # 2. policy loss (Eqs. 13, 14): sample a latent future per skill, weight, and add the leash
    psi  = centres_V(s)[:, :, None, :] + sqrt(d / 2) * randn(B, K, 1, d)   # (B, K, 1, d)
    a_pi = clip(mu(s, z) + sigma_a * randn(B, da), -1, 1)                  # reparameterised action
    L_pi = -(E_delta(s, z, psi, a_pi) - 0.5 * alpha_bc * ((a - mu(s, z)) ** 2).sum(-1)).mean()

    (L_Q + L_V + L_pi).backward(); optimizer.step()        # one joint step, lr 3e-4
    polyak_update(targets, online, tau=0.005)              # slow target copies

estimator = lambda s: empowerment(phi_V, s, K=50, M=64, d=256)   # Chapter 6, Eq. 15

The code is a sketch built from the paper's algorithm and tables. It assumes, as seems natural but the paper does not spell out, that the policy loss changes only the policy and not the occupancy networks, which would otherwise be able to cheat. The hyperparameters are the paper's Table 1: K = 50 skills, networks of width 512 and depth 3, layer normalization, learning rate 3 × 10−4, γ = 0.99, and 106 steps on a single GPU.

Why does the policy objective include the behavioral cloning term (αbc / 2) ‖a − μ‖2?

Chapter 8

From a Map to a Bonus

Turn the frozen map into an exploration bonus that rewards getting there and never punishes leaving

A mountain guide keeps a diary of every trip. She wants hikers to visit a famous pass, because from the pass many valleys open up. She thinks about paying a small bonus each time a hiker stands at the pass. Then she sees the problem. A hiker who wants the bonus will stand at the pass all day and never go anywhere.

She needs a smarter rule: pay for trips that include the pass, no matter where on the trip the hiker is. A step that gets the hiker to the pass earns credit. A step that leaves the pass loses nothing. This is the rule the paper builds for its online agent.

The online task and its base agent

In the online phase the agent acts for real. The tasks are goal-conditioned: at the start of each episode the agent is given a goal g, such as a cell of the maze, and receives reward only when it reaches g. The start is fixed. The reward is sparse. This is the hard setting from Chapter 0.

The base agent is contrastive RL (CRL; Eysenbach et al., 2022), an actor-critic: a critic scores actions, and an actor picks actions that the critic scores well. CRL's critic is f(s, a, g) = φ(s, a)⊤ ψ(g), a dot product of two learned embeddings. It is trained to tell whether g is a true future state of (s, a) on the same trajectory, or a state taken from elsewhere. The actor π(a | s, g) maximizes f, plus an entropy term in the style of Soft Actor-Critic.

Each training batch is half online experience and half logged data. This recipe is RLPD, reinforcement learning with prior data (Ball et al., 2023). The logged data are the same dataset D that trained the empowerment estimator. The estimator Ê is then frozen.

The bonus network

Take any complete trajectory, from the online buffer or from D, with states s0, …, sT. Score each state with the frozen estimator. The paper then trains a network Bω(s, a) to predict the highest empowerment reached anywhere on the trajectory that contains the pair (s, a):

minω
Fit the weights ω of the bonus network by regression (the paper's Eq. 16).
Bω(st, at)
The network's output for the step at time t: one number per state and action.
max0 ≤ k ≤ T Ê(sk)
The best empowerment on the whole trajectory, in the past as well as the future of step t. It is the same number for every step of that trajectory.

Because the maximum looks at both history and future, the target does not drop when the agent leaves the pass. And because B is a function of (s, a), it learns which actions tend to lead to high-empowerment states. In a dead end the predicted value is low. Near the hub, or on a path into it, the value is high. The policy then maximizes:

E [ … ]
Average over states, goals, and actions drawn from the policy (the paper's Eq. 17).
f(s, a, g)
The CRL critic: how likely g is a future of (s, a). This is the task signal.
β Bω(s, a)
The empowerment bonus, scaled by the weight β (3, 10 or 30 in the paper's sweeps).
αent ln π
The entropy bonus, with αent tuned automatically.

Try both rules on three trajectories. The bars are the estimator's value at each step. The outline shows what a naive per-step reward would pay. The line shows the target of Eq. 16.

Pay for the trip, not the spot

Choose a trajectory. Bars: Ê at each step. Dashed outline: a naive reward that pays Ê at each step. Solid line: the Eq. 16 target. Slide the training progress to see the weight fade.

20%

Illustrative values: three made-up empowerment profiles of ten steps each, shaped like the paper's Fig. 2a (rises on approach, drops after a kick, rises again). The weight uses β = 10, a value from the paper's sweep, faded linearly to zero at 50% of training as the paper does for both the empowerment and the RND bonus.

On the hub trajectory, the naive reward falls from 1.35 to 0.65 on the way out. An agent chasing it would learn to stay. The Eq. 16 target holds at 1.35 for every step, so leaving costs nothing and arriving earns the credit. On the edge trajectory the target is only 0.75. The bonus network has learned, for the actions that lead there, that little of interest will happen.

The details that hold it together

Four small decisions matter. First, the regression target is shifted by the mean of Ê over D. This changes Bω by a constant and leaves the policy gradient unchanged, but it keeps the regression well conditioned. Second, Bω has two output heads and the policy uses their minimum, a common guard against over-estimating. Third, steps of an episode that has not yet ended are left out of the regression until it ends, since the maximum is not yet known. Fourth, the bonus weight is tuned per task from {3, 10, 30}, and is faded linearly to zero halfway through training, a choice the paper says works better than holding it fixed.

E_hat  = frozen_estimator(states_of_episode)          # (T+1,) nats, from the offline estimator
target = E_hat.max() - E_hat_mean_over_D               # one scalar for every step of the episode
L_B    = ((B_omega(s, a) - target) ** 2).mean()        # two heads; the policy reads their minimum

beta_t = beta * max(0.0, 1.0 - 2.0 * progress)         # linear fade to zero at 50% of training
actor_loss = -(f(s, a, g) + beta_t * B_min(s, a) - alpha_ent * logp).mean()   # Eq. 17

The paper also adds the bonus to two other explorers without changing them. For random network distillation (RND), which pays for states a predictor cannot yet match, the two bonuses are trained independently and simply summed. For SUPE, which learns a library of skills from D and explores with a high-level policy over them, the bonus joins the high-level actor loss. Chapter 9 shows how each combination did.

Why does the paper regress Bω(s, a) onto the maximum of Ê over the whole trajectory, instead of paying Ê(s) as a reward at each step?

Chapter 9

What the Experiments Show

Read the maps, the failed baselines and the online curves for what they claim and what they leave out

Before you trust a new thermometer, you test it in ice water and in boiling water. You know what it should say. The paper faces a harder test. There is no true empowerment value for a simulated ant in a maze, so nobody can say what the number "should" be. It must check the estimator in places whose structure says where empowerment ought to be high or low.

It runs two kinds of test. First: does the offline estimator draw maps that match intuition, and do four adapted older estimators fail? Second, the real goal: does the estimate help an online agent explore?

The test worlds

All worlds come from OGBench (Park et al., 2025). In antmaze-medium an ant starts in a corner of a maze and must reach any of 25 other cells (horizon 1,000 steps). In pointmaze-teleport a point mass crosses a maze with random teleporters, with 41 goals. In antsoccer-arena the ant pushes a ball to one of 8 goals (500 steps). In cube-single a robot arm moves a cube to one of 30 table positions (200 steps). Each task pairs with one to three of the logs from Chapter 1 (the paper's Table 3). Online results average 5 seeds.

What the maps show

Figure 1 of the paper plots the estimator over the agent's (x, y) position. In antsoccer the map peaks right around the ball, where the ant can freely choose to approach, dribble or move away. In antmaze it peaks at the two corridor junctions and falls in dead ends and corners. In pointmaze-teleport it collapses at each one-way teleporter entrance, where the agent has no control over its random next state.

Figure 2 follows the estimate along real logged trajectories. In antsoccer the value rises as the ant walks to the ball. It drops sharply when the ant kicks the ball away and stays low while the ball rolls out of reach. It climbs again as the ant walks back and dribbles. In cube-single it rises as the gripper approaches and grasps. It falls once the arm carries the cube through the air, because the gripper must stay closed and that leaves fewer ways to change the future. It rises again as the arm descends to release. These match the stories one would tell by hand.

Four estimators that fail

No earlier method works offline in continuous worlds, so the paper adapts four. CF-Empowerment uses a contrastive critic with other examples in the batch as negatives. CF-FlowBC replaces those negatives with actions from a learned copy of the behavior, a generative model called flow matching. DV-Empowerment uses the Donsker-Varadhan bound, another way to lower-bound mutual information. DADS-Empowerment learns its own skill labels from the log and, like the paper's method, estimates skill empowerment. Three of them estimate the empowerment of the actor's own actions instead of skills.

In its Fig. 3 the paper reports what each map looks like. DADS saturates at its ceiling ln K almost everywhere. CF learns a reasonable map but a noisy one that captures only the coarse trends. CF-FlowBC also fails. DV, whose bound is known to have high variance, is virtually unbounded. These are qualitative judgments from maps, with no table of scores.

Compare the estimators

The faint curve is the shape an ideal estimator should give along a path: peaks at junctions, dips at dead ends. The thick curve is the schematic output of the chosen estimator.

Schematic only. The curves are seeded, made-up shapes that illustrate the failure the paper describes in its Fig. 3 (DADS flat near ln 15 = 2.71, since K = 15 for that baseline; CF noisy and coarse; DV on the order of 107). They are not the paper's data. Each paper panel has its own color scale.

Why do they fail? The appendix gives reasons. A contrastive bound can never report more than ln(N + 1) nats for N negatives. The Donsker-Varadhan bound has high variance. The flow-matching models stand in for the real behavior and dynamics, so their errors bias the estimate. The paper sums it up this way: online, fresh data corrects such errors, but offline these methods suffer distribution shift and approximation errors that bias the estimate.

Does it help exploration?

This is Fig. 4 of the paper: success rate over environment steps, for CRL alone, with RND, and with SUPE, each with and without the bonus. The text states the verdict in words. Adding the bonus to CRL improves it on cube-single-play, cube-single-noisy, antmaze-medium-navigate, antmaze-medium-stitch and pointmaze-teleport-stitch, with faster learning and higher final performance. On the other four pairs it performs on par and does not hurt. Added to CRL + RND, it improves over RND alone on cube-single, antmaze-medium and pointmaze-teleport. Added to SUPE, it speeds up learning on cube and antmaze.

Read the scoreboard

Choose a base method. Each tile is a task and log pair. A filled tile means the paper's text reports an improvement with the bonus; an outline means on par or not stated. Tap a tile to read it.

Compiled from the sentences of the paper's Section 6.3 and Fig. 4 (5 seeds). The paper states the CRL result per task and log; for RND and SUPE it states it per task only, so those tiles show the task-level claim on every log of the task. For each task and log the paper reports the best-performing weight from a sweep (its Appendix A.3.2), for the baselines as well as for the bonus. The paper gives curves, not a table of success rates, so none are quoted here.

Read these results at the right size. The bonus is a modest help, strongest on cube and antmaze. It is never reported to hurt. It composes with other explorers. But the paper shows learning curves and does not publish a score table, so the size of each gain is for you to judge from the figure.

Which statement matches what the paper reports for adding the empowerment bonus to CRL?

Chapter 10

Ablations and Limits

Find where the method bends and breaks, and what the paper leaves open

You walk a dog on a leash. The dog wants to run off and sniff everything. The leash keeps it near you. If the leash is long, the dog explores the park. If it is very short, the dog never leaves your side, and it learns nothing about the park, however curious it is.

The behavioral constraint of Chapter 7 is that leash. The paper's ablations ask how long it should be, and they also test the noise and the bonus weight. This chapter reads them, then lists what the paper does not show.

Three knobs, three sweeps

Action noise σa. The paper sweeps it over four values, 10−4, 10−3, 10−2 and 10−1, on antmaze-medium-navigate (its Fig. 5). It tracks the validation empowerment while training runs. The converged value hardly changes. The estimate is robust to this choice.

Behavioral constraint αbc. The paper sweeps 3 × 10−4, 10−3, 3 × 10−3 and 10−2 on antsoccer-arena-stitch (Fig. 6). Empowerment is roughly flat until 10−2, where it collapses. Figure 7 makes the collapse spatial. At αbc = 10−3 the map peaks tightly around the ball. At 10−2 it has a hole exactly at the ball.

The paper explains the hole. In the stitch log, the trajectories that pass the ball are dominated by one behavior: dribbling it. A heavily constrained policy is pulled toward dribbling no matter which skill it serves. So all skills do the same thing, their futures look alike, and empowerment falls. The alternative high-empowerment moves, such as backing away from the ball, are never found. The failure is specific to stitch. The navigate log contains many behaviors near the ball, so a much wider range of αbc works there. In general the paper finds about one order of magnitude of good values.

Tighten the leash

Three skills share a state where the logged action is always the same (0, like dribbling). Slide the leash weight. Top: where the trained skills end up. Bottom: the empowerment they reach, against the leash weight.

0.001

Illustrative toy: the 1-D world of Chapter 7 with three skills trained together, each pulled toward the logged action 0, starting from a tiny difference of 0.02. The leash weight is multiplied by 300 so the fall comes near the paper's 10−2; only the shape (flat, then falling) mirrors the paper's Fig. 6. In the paper the collapse appears on stitch and is much milder on navigate.

Drag the leash from short to long and back. At small weights the three skills sit near their best spread. As the weight grows they draw together, and the bump of each skill overlaps its neighbours more. Past a certain weight the skills cannot separate at all. The empowerment is lowest exactly where the leash is tightest.

Bonus weight β. On cube-single (play) and antmaze-medium (navigate) the paper tries β = 3, 10 and 30 (Fig. 8). On the cube, performance is not monotonic in β: 10 is best, and 3 only slightly improves on CRL. On antmaze-medium every value beats CRL. Like any exploration bonus, β must push the agent toward high-empowerment states without swamping the task signal. You met the same lesson in the Chapter 0 walker.

What the paper does not show

A fair reading finds these limits. Some are the authors' own statements; the rest are plain facts about the experiments.

Open questions

The authors close by noting that the estimator is general and hoping that others use it for more than exploration. Some questions follow from this lesson. Could the same offline recipe measure the empowerment of a language-model agent? A close relative, EELMA (Song et al., 2026), estimates effective empowerment for discrete LLM actions with contrastive learning; the paper adapts it to continuous actions as a baseline. Could the leash adapt itself, for instance by loosening where the log is rich and tightening where it is thin? And what is the best way to turn the map into exploration, now that Eq. 16 is only one design choice?

On antsoccer-arena-stitch the paper sees a hole in the empowerment map exactly at the ball when αbc is 10−2. What explains it?

Chapter 11

The Field Guide

Keep the numbers, the core code and the links onward

Measuring Empowerment from Offline Data for Intrinsically Motivated Exploration was written by Ishir Garg, Vivek Myers, Qiyang Li, Catherine Ji, Benjamin Eysenbach and Sergey Levine, of UC Berkeley and Princeton University. It appeared as arXiv:2610.24461 on 17 October 2026. The authors released code at github.com/ishirgarg/offline-empowerment. This lesson is our reading of their work, not theirs; any error in it is ours.

One paragraph, the paper's claim restated. Empowerment, the control an agent has over its future, can be estimated from a pile of unlabeled trajectories without any new interaction. The trick has three parts. Learn the discounted occupancy of a set of skills by temporal differences. Train the skills to make their futures distinguishable, with a leash that keeps them near the data. Then read off a number for every state. Used as a bonus, that number sped up online goal-reaching on five of nine task and log pairs and did not hurt on the rest.

The numbers to keep

QuantityValueSource
Skills K; ceiling ln K50; 3.91 natsTable 1; Ch. 2
Ceiling for deterministic skills, γ ln K0.99 × 3.91 = 3.87 natsSection 3; Ch. 4
Latent dimension d; network width and depth256; 512 and 3Table 1
Learning rate; batch size; discount γ3 × 10−4; 1,024; 0.99Table 1
Polyak rate τ; linear-exponential threshold t0.005; 5Table 1
Action noise σa; behavioral constraint αbc0.01; 0.001Table 1, Table 2
Future samples per update; per skill for the final Ê1; 64Tables 1, 5
Training steps; hardware106; one A5000 or A6000 GPU per runTable 1; A.4
Bonus weight β; fade-out point3, 10 or 30 per task; linear to zero at 50% of trainingSec. 5.2; Table 6
Offline share of each online batch (RLPD)0.5Table 4
Adapted-baseline ceilingsDADS: ln 15 = 2.71; InfoNCE with 7 negatives: ln 8 = 2.08A.6
Improved with the bonus on CRL5 of 9 task and log pairs, on par on 4, 5 seedsSec. 6.3, Fig. 4

The words to keep

TermIn one line
Empowerment E(s)Channel capacity from skills to futures at state s: the most mutual information any skill policy can reach.
Effective empowerment É(s; π)The same for one given policy; a lower bound on E(s).
Discounted occupancyWhere a skill is when a geometric timer rings; learned by temporal differences.
Q and V networksLog occupancy as a negative squared distance in a 256-dimensional latent space.
Self lossThe query-at-s term that injects the (1 − γ) source into the recursion.
Modified marginal M, EΔOccupancies when only one skill's first action changes; the policy's objective.
Leash αbcA behavioral cloning weight that keeps skills near logged actions.
Bonus network BωPredicts the best Ê on a trajectory; rewards getting to high empowerment, not staying.

The core, in one place

The paper's whole contribution, compressed to three functions. Each one was built piece by piece in the chapters above.

# 1. Learn occupancies from logged transitions (Ch. 5). Targets use slow copies of the networks.
def occupancy_losses(s, a, s2, s_plus, z):
    boot = linexp(logQ(s, a, z, s_plus), log(gamma) + logV_targ(s2, z, s_plus))
    self_ = linexp(logQ(s, a, z, s), log((1 - gamma) + gamma * exp(logV_targ(s2, z, s))))
    return boot + self_ + v_loss(s, z, s_plus)

# 2. Read off the empowerment of a state (Ch. 6): sample latents, score under own vs mean skill.
def E_hat(s, M=64):
    c = centres_V(s)                                   # (K, d)
    psi = c[:, None] + sqrt(d / 2) * randn(K, M, d)    # (K, M, d)
    logV = -((psi[:, :, None] - c) ** 2).sum(-1) / d   # (K, M, K)
    return (logV.diagonal(axis1=0, axis2=2).T - logsumexp(logV, -1) + log(K)).mean()

# 3. Turn the map into a bonus (Ch. 8): predict the best E_hat on the trajectory; fade it out.
def bonus_loss(s, a, traj_states, mean_E):
    return (B(s, a) - (E_hat(traj_states).max() - mean_E)) ** 2

Where it sits

Empowerment comes from Klyubin, Polani and Nehaniv (2005). Variational routes to it, such as Mohamed and Rezende (2015), Gregor et al. (2017) and the skill methods DIAYN and DADS, all need the agent to act while it learns. The paper's closest relative is EELMA (Song et al., 2026), which estimates effective empowerment for language-model agents from collected trajectories with contrastive learning. On the exploration side, the paper builds on contrastive RL (Eysenbach et al., 2022) and RLPD (Ball et al., 2023), and compares against RND (Burda et al., 2019) and SUPE (Wilcoxson et al., 2025). The idea of learning future-state occupancies with temporal differences is the successor representation of Dayan (1993).

Keep going

For the online half of the story, read Exploration in reinforcement learning. For the dangers of learning from fixed data, read Offline RL: the complete guide, and for the benchmark paper that made such data a standard, D4RL. If the decision-problem vocabulary of Chapter 1 felt quick, the MDP lesson goes slowly. For the re-weighting trick of Chapter 7, see importance sampling.

Control is the thing worth exploring around. The paper turns that old idea into a number you can compute from a log you did not collect: learn where each of K skills tends to end up, push their futures apart while keeping them near the data, and score every state by how well the futures tell the skills apart.

To cite: Garg, I., Myers, V., Li, Q., Ji, C., Eysenbach, B. and Levine, S. (2026). Measuring Empowerment from Offline Data for Intrinsically Motivated Exploration. arXiv:2610.24461. arxiv.org/abs/2610.24461.

Put the paper's pipeline in order: (a) read off Ê(s) for every state, (b) train the occupancy networks and skill policy on the log, (c) train Bω on trajectory maxima and add β Bω to the online actor, (d) freeze the estimator.
Go back to the hero and probe the maze again. Move to the dead end, then to the junction, and ask what it would take to learn that map from a log of someone else's walks. You know the answer now: occupancies by temporal difference, skills pushed apart on a leash, and a number for every cell.
Offline Empowerment
Read the paper · Back to Veanors