---
title: "The Option-Critic Architecture — paper by Bacon et al. (2017)"
description: "The Option-Critic Architecture explains how reinforcement learning agents can learn which actions to group together and when to switch behaviors."
canonical: "https://research.elamur.ai/free/en/papers/bacon-2017-option-critic-architecture/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/bacon-2017-option-critic-architecture/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2017](https://md.research.elamur.ai/free/en/papers/2017/) / The Option-Critic Architecture

# The Option-Critic Architecture

Paper · 2017 · Pierre‐Luc Bacon, Jean Harb and Doina Precup

**Authors:** [Pierre‐Luc Bacon](https://md.research.elamur.ai/free/en/authors/pierre-luc-bacon/), [Jean Harb](https://md.research.elamur.ai/free/en/authors/jean-harb/) and [Doina Precup](https://md.research.elamur.ai/free/en/authors/doina-precup/) · **Year:** 2017 · **Venue:** Proceedings of the AAAI Conference on Artificial Intelligence · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**687** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2523728418|W2964227312) · [Proceedings of the AAAI Conference on Artificial Intelligence](https://openalex.org/S4306400155) · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [PDF](https://arxiv.org/pdf/1609.05140)
- [DOI 10.1609/aaai.v31i1.10916](https://doi.org/10.1609/aaai.v31i1.10916)
- [arXiv 1609.05140](https://arxiv.org/abs/1609.05140)
- [OpenAlex](https://openalex.org/W2964227312)

Citations: OpenAlex, 2026-10-14.

## Summary

A reinforcement learning agent can choose a move at every step, but many tasks call for behaviors that extend across several steps. In a maze, for instance, reaching a doorway can organize a succession of movements into a single decision. The difficulty is discovering such behaviors from experience. The Option-Critic Architecture addresses that problem using options, which are courses of action with their own rules for choosing moves and deciding when to stop. The authors ask whether an agent can learn those rules, along with a policy for choosing among options, from the reward for the task itself.

An option in this architecture can respond to new information as it runs. At each step, its internal policy chooses a primitive action, meaning an action the environment accepts directly. After that action, the option's termination rule decides whether control should return to the policy that chooses options. The paper derives a gradient for each of these decisions. The action gradient uses an estimate of how a move will affect the agent's eventual return. The termination gradient compares the value of continuing the current option with the value of choosing afresh. Both estimates reflect what the agent can do afterwards, so an option can learn behavior that helps the rest of the task go well.

The experiments test this approach at several scales. In a four-room maze, the agent learned at a rate comparable to agents using primitive actions and recovered faster when the goal moved after 1000 episodes. Its learned options tended to end near doorways. In Pinball, where the ball's position and velocity vary continuously, the authors describe the options as near optimal by 40 training episodes across the tested settings. In the [Arcade Learning Environment](https://md.research.elamur.ai/free/en/papers/bellemare-2012-arcade-learning-environment-evaluation-platform/), option-critic surpassed the original DQN on Asterisk, Seaquest and Zaxxon in a comparison that matched the number of training episodes. The authors also ran the comparison on Ms. Pacman and report the advantage for the other games.

The experiments show that an agent can acquire distinct, sustained behaviors while learning a task, with the number of options specified in advance. They also expose a tension in the objective. As primitive decisions become more effective, the agent can improve its expected return by reconsidering its choice more often. The arcade implementation therefore gives options an incentive to continue when their value is close to that of a fresh choice. The architecture learns where a behavior is worth retaining, while the experiments show how the training objective can influence how long it lasts.

## Deep dive: The Option-Critic Architecture

The Option-Critic Architecture explains how reinforcement learning agents can learn which actions to group together and when to switch behaviors. · about 36 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Choosing what to do over time

Reinforcement learning starts with an agent that observes a state, takes an action and receives a reward from the environment. The consequences of an action can reach well beyond the reward on that step. A movement in a maze might take the agent away from a goal in a straight line while putting it on the route through the only available doorway. An agent needs to learn to value such a movement for the route it makes possible. Temporal abstraction gives it a way to represent the route itself as a decision, while leaving the details of each movement to a policy that operates at the pace of the environment.

Different decisions can then be made at different times. A policy choosing a course of action might act at a doorway, while the policy carrying it out makes choices on every cell leading there. The course of action can have variable duration. A failed movement might add steps, or the agent might enter a position from which the route requires a different turn. A rule that consults the current state can handle those cases while keeping the same general behavior in control.

The options framework already gave reinforcement learning a formal way to make these decisions. Each option specifies where it can begin, what actions it takes and under what conditions it gives up control. An agent can use options alongside ordinary actions, and the framework gives learning and planning algorithms a way to account for their varying durations. At the level of options, a transition therefore has both a destination and an elapsed time. This yields what the paper calls a semi-Markov decision process. Underneath it, the original Markov decision process still produces an action, a new state and a reward at every step.

That underlying process matters for learning. An agent can use what happens inside an option to update an estimate of its value. It need not wait until a whole course of action ends before receiving evidence about how it is doing. The paper builds on this idea, known as intra-option learning. Its goal is to learn the behavior and the stopping rule as well as the values, making the experience gained during a single task informative about how to organize the next attempt.

#### The cost of choosing subgoals first

The authors describe much of the earlier work as starting with subgoals. A subgoal is a state worth reaching on the way to completing a task. An option discovery method can look for such states and then train policies to reach them. A doorway offers a natural illustration because it connects parts of the maze. Once a doorway has been identified, the agent can practice reaching it and use the resulting policy whenever it wants to leave the room.

The authors identify two costs in this approach. The search for candidate subgoals can have a combinatorial character, making it hard to scale. Training each policy to reach its assigned subgoal also takes experience and computation. In the worst case the authors describe, that training can require as much effort as the original task. Reuse gives the investment a purpose if the same options help on related tasks. For an agent learning a single task, the training bill comes due before such reuse is available.

A subgoal also defines success for the option in advance. The agent could learn to reach an assigned state reliably even when the path there has little value for the current task. Conversely, a behavior that contributes to the task might end naturally across a region, with the exact state of handover depending on how the agent arrived. The paper starts from the value of the full task and lets that objective supply evidence about the behavior's purpose and its boundary. An apparent subgoal can emerge from where an option tends to stop.

This changes what it means to discover an option. Discovery can occur gradually as an option becomes more useful in some situations, survives longer in others and relinquishes control where a different choice pays off. The options and the policy that composes them co-adapt. An option's value can increase because its own behavior improves or because the agent has learned something useful to do after it ends.

#### Other ways to learn a hierarchy

Earlier work had already applied gradients to parts of this problem. Comanici and Precup improved stopping rules for semi-Markov options using a logistic function of accumulated features observed since initiation. Levy and Shimkin used policy gradients with an explicit state space that paired environment states with options and represented stopping as an additional control action. Option-critic also reasons about pairs of states and options. It uses the paired process in the derivation, and the implementation can work without building an explicit representation of its full transition structure.

The paper also describes work that assembled options into longer sequences and used the ability to compose them for planning. That line of research established why the outcome of one option should be evaluated in light of what can follow it. Option-critic uses the same dependence in its value equations. The gradient of a local choice is worked out through the consequences it has for later choices.

Several other approaches discussed in the paper treated discovery as optimization. Daniel and colleagues handled termination as a hidden variable and fitted options through expectation-maximization. Vezhnevets and colleagues learned macro-actions whose internal policies were open-loop. Such a macro-action specifies a sequence, with a separate commitment mechanism deciding when replanning is needed. Option-critic's internal policies are closed-loop. They consult the state on each primitive step, so the action can change while the option stays active.

Mankowitz and colleagues used a structured partition of the state space to determine which option was active. Kulkarni and colleagues used task rewards to train the upper level of a hierarchy and intrinsic rewards tied to supplied subgoals to train the behaviors inside it. Option-critic allows every option to be initiated in every state in its main formulation. The same task return can inform the choice of option, the actions it takes and the points where it hands back control. Which of these changes improved the objective is the mathematical question the paper takes up next.

### The method, step by step

#### Following an option through a single transition

An option has an initiation set, an internal policy and a termination function. The initiation set says where the option is eligible to start. The paper assumes that every state belongs to every option's initiation set. The internal policy gives a probability distribution over primitive actions given the current state. The termination function gives the probability that the option ends when the agent reaches a state. Because the policy and termination function use the current state, these are Markov options.

Execution begins with a choice from the policy over options. The selected option draws an action from its internal policy, and the environment supplies the next state and reward. The agent evaluates the option's termination function at that new state. If the option continues, its internal policy chooses the next action. If it ends, the policy over options makes a fresh choice. That fresh choice can select the same option again. An actual return of control and a change in the option's identity are therefore different events.

This arrangement is called call-and-return execution. The upper-level policy calls an option and regains control when it returns. Learning takes place on a finer schedule. The reward and next state from each primitive step can inform the value estimate and the behavior that is being learned, even if the same option will continue. The diagram follows the execution and the associated updates after the initial option choice.

A primitive step in option-critic The steps in order.

The placement of the termination decision is important. An internal action is chosen in the state the agent is leaving. The evidence about whether to continue concerns the state it has just entered. A doorway may be a poor reason to stop when it is still several moves away and a good reason to stop as soon as the agent arrives. The gradients use the state and option as they appear at those two different points in the transition.

#### Valuing actions before introducing options

The paper begins with a Markov decision process. Its state records the situation in which the agent acts. For a given state and action, the transition function specifies the distribution of possible next states. The reward function specifies the immediate payoff associated with a state and action. A stationary policy uses the same rule for choosing actions whenever it encounters a given state. Its quality is measured by the expected reward accumulated over time, with later terms discounted.

```
Vπ(s) = Eπ[Σₜ₌₀^∞ γᵗ rₜ₊₁ | s₀ = s]
```

Here Vπ(s) is the value of state s when the agent follows policy π. Eπ averages over trajectories generated under that policy, including randomness in the environment. The sum runs over decision times t beginning at 0, and ∞ indicates the infinite horizon. The reward following the action at time t is rₜ₊₁. The discount factor γ is at least 0 and below 1, and γᵗ is the weight at time t. The bar means that the expectation is conditioned on starting in state s, recorded as s₀.

```
Qπ(s, a) = Eπ[Σₜ₌₀^∞ γᵗ rₜ₊₁ | s₀ = s, a₀ = a]
```

Qπ(s, a) is the action value for taking action a in state s and then following π. Eπ is the trajectory expectation with the displayed initial conditions. The time index t, discount γ and reward rₜ₊₁ have the same roles as in the state value. The conditions set the initial state s₀ to s and the initial action a₀ to a. Giving the critic an action as well as a state lets the learning rule distinguish the expected consequences of moves available from the same position.

A greedy policy chooses among the actions with the largest value estimate. A policy gradient method can instead work with a parameterized probability distribution over actions and adjust its parameters to improve expected return. The paper uses the ordinary discounted policy gradient as a starting point.

```
∇θ ρ(θ, s₀) = Σₛ μπθ(s | s₀) Σₐ ∇θ πθ(a | s) Qπθ(s, a)
```

Here θ is the vector of policy parameters, ∇θ denotes differentiation with respect to that vector and ρ is discounted expected return starting from s₀. The outer sum ranges over states s. The inner sum ranges over actions a. The term ∇θ πθ(a | s) describes how the probability of a changes with the parameters, and Qπθ(s, a) gives its expected return under the policy πθ after that choice. The visitation weight μπθ(s | s₀) records how frequently the state matters to the objective.

```
μπθ(s | s₀) = Σₜ₌₀^∞ γᵗ P(sₜ = s | s₀)
```

In this weight, πθ governs the trajectory, P is probability and sₜ is the state at time t. Each term discounts the probability that the trajectory occupies state s at that time, given start state s₀. The sum need not be a normalized probability distribution. It weights visits over time, and repeat visits contribute separately. In the option setting the corresponding weight must also record which option is in control.

#### Distinguishing a choice, a move and an arrival

The option objective evaluates a trajectory that starts with an option already selected. It depends on the upper-level policy and on the parameters of the internal policies and the stopping rules.

```
ρ(Ω, θ, ϑ, s₀, ω₀) = E[Σₜ₌₀^∞ γᵗ rₜ₊₁ | s₀, ω₀]
```

Here Ω is the collection of options, θ governs their internal action policies and ϑ governs their termination functions. The initial state is s₀, and ω₀ is the option active there. E denotes expectation under call-and-return execution, which includes choices by the policy over options. The sum discounts each successive reward rₜ₊₁ by γᵗ, where t counts primitive steps. The initial action is still to be drawn from ω₀.

To connect that objective to particular choices, the paper separates the value of having an option active from the value of taking a specific action within it.

```
QΩ(s, ω) = Σₐ πω,θ(a | s) Qᵁ(s, ω, a)
```

QΩ(s, ω) is the value when option ω is active in state s and about to choose a primitive action. The sum ranges over actions a. The probability πω,θ(a | s) comes from the internal policy of ω with parameters θ. The term Qᵁ(s, ω, a) gives the value after fixing that primitive action in the context of the active option. Ω indexes the available collection. The equation averages the action values according to what the current option is likely to do.

```
Qᵁ(s, ω, a) = r(s, a) + γ Σₛ′ P(s′ | s, a) U(ω, s′)
```

Qᵁ(s, ω, a) combines the immediate reward r(s, a) from action a in state s with a discounted expectation over possible successor states s′. The transition probability is P(s′ | s, a), and γ is the discount factor. The arrival value U(ω, s′) describes what the agent can expect after reaching s′ with ω as the option that just acted. At that moment, the stopping decision is still pending. This is how the quality of the current primitive action depends on what the hierarchy can do at the next state.

```
U(ω, s′) = (1 − βω,ϑ(s′)) QΩ(s′, ω) + βω,ϑ(s′) VΩ(s′)
```

Here βω,ϑ(s′) is the probability that ω terminates on reaching s′, as given by parameters ϑ. The complementary probability, 1 minus that quantity, weights the value QΩ(s′, ω) of keeping control. The termination probability weights VΩ(s′), the value of choosing again under the upper-level policy over the option set Ω. The value U is an average of these two possible outcomes at the same arrival state.

```
VΩ(s′) = Σω′ πΩ(ω′ | s′) QΩ(s′, ω′)
```

VΩ(s′) sums over options ω′ available at s′. The upper-level policy πΩ gives the probability of choosing each ω′ there, and QΩ(s′, ω′) is the return from having that option active. A greedy upper-level policy puts its weight on choices of maximum estimated value. An exploratory policy can distribute weight across more options, so the value of handing back control depends on the rule in use. That dependence becomes central to the termination gradient.

These value functions locate credit at different moments. Suppose a primitive move brings the agent to a doorway. Its action value includes the consequences of arriving there, including the possibility of handing control to a behavior suited to the next room. The value of the outgoing option just before taking the move is an average over all the moves it might have made. At the doorway, the arrival value concerns a different choice, between asking the same option to act again and reopening the decision. The common reward ties these judgments together.

#### Tracking which option is in control

For an agent with options, knowing the environment state can be insufficient to predict the next action. The same state may be reached under an option that tends to move upward or under one that tends to move downward. The paper therefore reasons about a chain whose states pair the environment state with the active option. The steps of this chain correspond to primitive actions.

```
P(s′, ω′ | s, ω) = Σₐ πω,θ(a | s) P(s′ | s, a)
                    × [(1 − βω,ϑ(s′)) 𝟙{ω′ = ω}
                       + βω,ϑ(s′) πΩ(ω′ | s′)]
```

The left side is the probability P that the next state is s′ and the option active there is ω′, given state s and active option ω. The sum combines the probability πω,θ(a | s) of taking each action a, under parameters θ, with the environmental transition probability P(s′ | s, a). The bracket describes the option identity after the termination decision. The indicator 𝟙{ω′ = ω} is 1 when the identities agree and 0 otherwise. If the termination rule βω,ϑ, with parameters ϑ, ends the option, the distribution πΩ supplies the new identity. The multiplication sign combines the state transition with these conditional probabilities for the option.

The two terms inside the bracket account separately for continuing and for selecting again. Even the probability of observing the same option on successive actions can include a contribution from the second route. This distinction matters when interpreting an option's apparent persistence. Identical labels on adjacent steps are compatible with an intervening decision by the policy over options.

The appendix also considers pairs at the moment just before the stopping decision. Such a pair consists of a new state and the option that brought the agent there. From that pair, the chain first resolves whether to continue and then uses the selected option to produce the following transition. This ordering matches the stopping gradient. The post-selection chain instead first produces an action and then resolves termination, which matches the action gradient.

For either ordering, the appendix discounts a one-step transition by γ and obtains longer discounted transitions by summing over the intermediate pairs. Each step contributes another factor of γ. When all options are available and the requisite conditions hold, the paper describes the process as ergodic, with a unique stationary distribution over pairs. The gradient theorems for a specified start use discounted visitation weights. Those weights reflect where the process goes from that start and when it gets there.

#### Improving the actions within an option

The internal policy gradient follows from differentiating the value of an active option. That value is a probability-weighted average of primitive action values. Changing θ alters the probabilities in the average and can also alter the subsequent returns attached to those actions, because the changed policy can act again later. The proof keeps the direct probability change as a local term. It expands the remaining effect through the arrival value and repeats the expansion along the chain.

```
∇θ ρ = Σₛ,ω μΩ(s, ω | s₀, ω₀)
                  Σₐ ∇θ πω,θ(a | s) Qᵁ(s, ω, a)
```

The gradient ∇θ ρ measures how the discounted return ρ changes with the internal policy parameters θ. The outer sum ranges over environment states s and options ω, with weight μΩ from initial state s₀ and option ω₀. The inner sum ranges over primitive actions a. Each probability derivative ∇θ πω,θ(a | s) is weighted by Qᵁ(s, ω, a), the value of the corresponding action in context. In this partial derivative the termination functions and upper-level policy are held fixed. Learning can update those components separately.

```
μΩ(s, ω | s₀, ω₀) = Σₜ₌₀^∞ γᵗ P(sₜ = s, ωₜ = ω | s₀, ω₀)
```

Here sₜ is the state at primitive decision time t and ωₜ is the option in control for the action at that time. P gives the probability of the joint event under call-and-return execution, conditional on the starting pair. The term γᵗ discounts the visit at time t. The weight μΩ thus gives more influence to state-option pairs encountered earlier and contributes again for pairs revisited later.

The proof explains why only the probability derivative and the action value appear together in the final inner sum. The future effects of changing θ have been expanded into local terms at later visits. The sum over discounted visits takes care of propagating those effects. The critic can supply an estimate of the whole return that follows a primitive action, including rewards delivered after the current option has finished. An action that sets up another option can therefore be reinforced by the same objective as an action that immediately reaches the goal.

In a sample-based update, the derivative can be expressed using the gradient of the logarithm of the probability of the sampled action. The paper also uses the value QΩ as a baseline for this actor update. Since that baseline depends on the state and option but is common to the possible actions, subtracting it leaves the exact action sum unchanged. The reason is that the derivatives of all the action probabilities add to zero. With estimated values, the baseline judges a sampled action relative to what the option generally achieves there, reducing the variance the authors associate with the gradient estimate.

#### Learning when to hand back control

To differentiate termination, the authors start at an arrival. Raising the probability of stopping gives more weight to the fresh-choice value and removes the same amount of weight from the continuation value. The local effect is therefore determined by the difference between those two values. The paper expresses it through the option's advantage.

```
AΩ(s′, ω) = QΩ(s′, ω) − VΩ(s′)
```

AΩ(s′, ω) is the advantage of having option ω continue in arrival state s′. QΩ(s′, ω) is the value of continuing, while VΩ(s′) is the expected value of a fresh choice from Ω under πΩ. A positive advantage favors keeping control. A negative advantage favors returning control, since the fresh choice then has the larger estimated value. Equality removes the direct local incentive to change the stopping probability.

A change in ϑ also affects termination decisions later in the trajectory. The appendix expands the derivative of the arrival value along the chain of states paired with incoming options. This produces the same general structure as for actions, with one local term accumulated over many possible future visits. The gradient begins at the arrival pair because that is where the first stopping decision takes effect.

```
∇ϑ U(ω₀, s₁) = −Σₛ′,ω μΩ(s′, ω | s₁, ω₀)
                             ∇ϑ βω,ϑ(s′) AΩ(s′, ω)
```

The starting value U(ω₀, s₁) is evaluated at state s₁ with ω₀ as the option that just acted. The gradient ∇ϑ differentiates with respect to the termination parameters ϑ. The sum ranges over arrival states s′ and incoming options ω. The weight μΩ is the discounted visitation weight for that ordering of the process. The derivative ∇ϑ βω,ϑ(s′) describes the change in the local stopping probability, and AΩ(s′, ω) is the option advantage. The minus sign follows from defining advantage as continuation value minus fresh-choice value. Increasing the termination probability shifts the mixture in the opposite direction.

```
μΩ(s′, ω | s₁, ω₀) = Σₜ₌₀^∞ γᵗ P(sₜ₊₁ = s′, ωₜ = ω | s₁, ω₀)
```

In this weight, sₜ₊₁ is the state reached after the action taken by option ωₜ. P gives the probability of arriving in s′ with incoming option ω, conditional on the first arrival pair s₁, ω₀. The discount factor γ weights the event according to t, the time index beginning at that first arrival. Pairing the new state with the incoming option gives the derivative the right stopping rule to evaluate.

There is a useful distinction between this advantage and the baseline for primitive actions. The action baseline can be introduced to reduce variance. The termination advantage arises directly because β mixes the values of two alternatives. The paper relates this result to interrupting options, where a rule can force termination when an option is worth less than a fresh choice. In option-critic the comparison gives a gradient for a differentiable stopping probability. That probability can change gradually as the agent gathers more experience.

#### Turning the gradients into training updates

In the actor-critic division of labor, the internal action policies, termination rules and policy over options make up the actor. The critic supplies estimates of action values and option advantages. The proposed training schedule assigns a faster timescale to the value estimates and a slower one to changes in the internal policies and stopping rules. The faster critic is intended to track the consequences of the behavior while that behavior is itself changing.

The authors give a tabular implementation using intra-option Q-learning. They use α for the critic's learning rate, αθ for the rate of the internal policy updates and αϑ for termination. The architecture allows several ways to learn the policy over options, including gradient updates at the semi-Markov level and temporal-difference learning. For the greedy case, the paper writes a one-step critic target that combines the reward just received with an estimate of the two possible outcomes at the arrival state.

```
gₜ⁽¹⁾ = rₜ₊₁ + γ [
          (1 − βωₜ,ϑ(sₜ₊₁)) Σₐ πωₜ,θ(a | sₜ₊₁) Qᵁ(sₜ₊₁, ωₜ, a)
          + βωₜ,ϑ(sₜ₊₁) maxω Σₐ πω,θ(a | sₜ₊₁) Qᵁ(sₜ₊₁, ω, a)]
```

The target gₜ⁽¹⁾ uses the transition sampled after the action at time t. The actual reward is rₜ₊₁, the resulting state is sₜ₊₁ and the option that acted is ωₜ. The discount is γ. The termination function β, with parameters ϑ, gives the probability of reopening the choice. Under continuation, the expression averages over actions a under the internal policy π of ωₜ, with parameters θ. Under termination, maxω selects the largest of those averages across candidate options ω. In each average, Qᵁ supplies the action value conditional on the option. The target evaluates a greedy choice when control is returned, which is why it can be used in off-policy learning.

A sampled transition already supplies the immediate reward and a successor state. If the critic stores QΩ, it can use the reward plus the discounted estimate of arrival value as a sample-based estimate of Qᵁ. Averaging over possible transitions would recover the action-value expression. The paper uses this substitution in the arcade implementation to avoid learning separate estimates for every state, option and action as well as for every state and option. Greediness belongs to the target's fresh-choice branch. The actual behavior can use exploration when it selects an option.

Training draws on transitions gathered by interacting with the environment. In the arcade experiments, the critic reuses experience through replay, while the internal policies and stopping rules are updated online. This separates two uses of the data. The critic can revisit a transition through an off-policy target. The option behavior is updated along the experience being generated. The environment reward remains the signal that ties those updates to the task.

#### Encouraging useful persistence

The termination gradient can favor short options as the value estimates improve. At a state where the current option is only slightly worse than a fresh choice, continued training can still push towards stopping. In the arcade implementation, the authors add a margin to the advantage used for this update.

```
AΩ(s, ω) + ξ = QΩ(s, ω) − VΩ(s) + ξ
```

Here s is the arrival state, ω is the incoming option and Ω is the set available to the upper-level policy. The continuation value is QΩ(s, ω), the fresh-choice value is VΩ(s), and their difference is AΩ(s, ω). The positive margin ξ is set to 0.01 in the arcade experiments. A continuation value within that margin of the fresh-choice value can produce a positive adjusted advantage, giving the stopping update an incentive to preserve the option. The margin specifies how much difference in value the training rule is willing to tolerate in favor of persistence.

The authors also use entropy regularization for the arcade internal policies. Entropy measures how spread out the action probabilities are. Penalizing low entropy counters the tendency for a policy to concentrate very quickly on a narrow set of actions. That term affects the distribution of primitive moves, while the termination margin affects how long a particular distribution stays in control. The action-value baseline serves a further purpose by reducing variance. These additions help explain the configuration whose results the paper reports.

The paper distinguishes its discounted gradient formulas from the sample estimators used in training. As a possible correction it gives a factor involving both elapsed time and survival probabilities.

```
γᵗ ∏ᵢ₌₁ᵗ (1 − βᵢ)
```

Here γ is the discount factor, t is the time index and i ranges from 1 through t in the product ∏. The quantity βᵢ is the applicable termination probability at index i, so 1 minus βᵢ is the corresponding probability of continuation. The paper discusses factors of this form as a way to obtain unbiased estimates for the discounted objective. The authors favor the biased estimators in their experiments because the correction generally requires more data. The resulting distinction is between an exact gradient expression for the objective and a practical update constructed from observed transitions.

### Experiments and results

#### Four rooms and a goal that moves

The first experiment asks how quickly learned behavior can be adapted when a task changes. The environment is divided into rooms connected by doorways. The goal starts in the east doorway, and every episode begins in a cell drawn uniformly from all the other cells. Once 1000 episodes have elapsed, a location is chosen at random within the lower right room and becomes the goal’s new position. The geometry remains available as a source of structure when the old destination ceases to give reward.

Primitive motion is stochastic. With probability 1/3, an attempted move fails and the agent instead enters a randomly selected empty neighboring cell. The reward is +1 at the goal and 0 elsewhere, and the discount factor is 0.99. The policy inside each option is a Boltzmann distribution, which turns preferences into action probabilities through a temperature. The termination function uses a sigmoid to produce a probability. The option values are learned through intra-option Q-learning.

The methods are compared against AC-PG (a primitive actor-critic whose policy is Boltzmann) and a primitive SARSA agent that explores via Boltzmann sampling without eligibility traces. The latter learns values for primitive choices from successive actions and rewards. Every Boltzmann policy uses temperature 0.001, and the weights are initialized to zero. The learning curves average 350 runs per line. The comparison tracks learning before the goal moves and recovery afterwards, so it can reveal whether the option learner incurs a visible initial cost for behavior that later proves useful.

The authors report a comparable initial learning rate for option-critic and faster recovery after the change than for either primitive baseline. They also examine the stopping probabilities for the settings with 4 and 8 options. Termination is more likely near doorways in those settings. Doorways therefore figure both in the interpretation of the learned abstraction and in the experimental design, since the first goal is itself a doorway. The plotted comparison supports the ordering of recovery rates. The authors do not give a numerical recovery time or a score at a specified point on the curve.

The adaptation result concerns a changed goal within the same navigational layout. The agent has experience with the room connections by the time the goal moves. A behavior organized around reaching or crossing those connections may remain useful even as the policy for arranging such behaviors has to change. The experiment observes recovery by the full learning system, so the result measures what that system can do with its accumulated experience.

#### Pinball and continuous state

Pinball moves the test from cells to a continuous state. The agent controls a ball whose position and velocity vary along the horizontal and vertical axes. It must steer through polygonal obstacles to a target. The primitive actions are thrust in the available directions and a null action. Elastic collisions make the geometry relevant to the trajectory, and the drag coefficient of 0.995 gradually brings the ball to rest when the agent repeatedly chooses the null action.

The reward is −5 for a thrust action and −1 for the null action, and reaching the target gives +10000 and ends the episode. An episode is interrupted if it takes more than 10,000 steps. The discount factor is 0.99. These conditions give the learned policy reasons to consider both progress toward the target and the cost of repeated thrust. The environment supplies the reward during training, with the task setting where successful trajectories must end.

The critic again uses intra-option Q-learning, this time with linear function approximation over Fourier bases of order 3. A feature basis allows the agent to estimate a value from the continuous state through a shared set of weights. The internal policies use Boltzmann distributions, and the stopping functions apply a sigmoid to a linear function of the features. The critic's learning rate is 0.01. Both option gradients use 0.001. The upper-level policy uses epsilon-greedy selection with ε = 0.01, so the agent can sometimes explore alternatives to the option with the highest estimated value.

The paper tests 2, 3 and 4 options and says that every setting had produced a near-optimal option set by 40 episodes of training. The chart records this shared reporting checkpoint. The authors report the same bound for all the settings, without separate first attainment times.

Reported Pinball training checkpoint for near-optimal behavior by option count Every tested setting had reached the reported level by the same checkpoint.

**The numbers**

| System or setting | training episodes by the reported checkpoint |
| --- | --- |
| 2 options, option-critic (this paper) | 40 |
| 3 options, option-critic | 40 |
| 4 options, option-critic | 40 |

The paper provides a point of context from earlier Pinball work, where an option could be used and updated only after a preparation period of 10 episodes. That figure describes a training rule in the earlier method. The 40-episode checkpoint describes the learning outcome for option-critic, whose components are trained together from the beginning. The paper gives learning curves and the reported checkpoint, with no numerical return threshold attached to its description of near-optimal behavior.

A trajectory shown after 250 training episodes with 4 options illustrates how the behavior looks once learned. It starts in the upper left, heads towards the target in the lower right and contains segments controlled by each of the options. The authors also report that the option shown in red was consistently used near the goal across many successful trajectories. The example supports the claim that multiple options can participate in a successful run through a continuous space. The broader observation near the goal gives some evidence that a behavior's role can recur across runs.

#### Arcade games and shared visual features

The arcade experiment tests whether the same learning architecture can operate with a nonlinear representation of images. The input concatenates the last 4 images. These go through 3 convolutional layers using the configuration the authors take from the original DQN work. The first layer has 32 filters of size 8 × 8 and stride 4. The next has 64 filters of size 4 × 4 and stride 2. The last convolutional layer has 64 filters of size 3 × 3 and stride 1. A dense layer of 512 neurons then supplies shared features for the critic, action policies and stopping functions.

Each option gets an internal action distribution by applying a linear transformation and a softmax to the shared features. The softmax converts the action scores into probabilities. The termination outputs use sigmoids and give a stopping probability for each option. The learning rate for both kinds of actor update is 0.00025, and the critic uses RMSProp. The critic learns with experience replay under intra-option Q-learning. The actor's internal policies and terminations receive online updates. At test time the upper-level policy uses epsilon-greedy choice with ε = 0.05.

The tested games are Asterisk, Ms. Pacman, Seaquest and Zaxxon. Across them the learning curves use 8 options, termination regularization of 0.01, entropy regularization of 0.01 and the action-gradient baseline. Sharing settings across the games means that the reported performance comes from a common configuration. The features and options, in turn, are learned from each game's experience. The task supplies its rewards, without assigned subgoals or option-specific reward schedules.

The baseline is the original DQN, which acts at the primitive level. The authors match the number of training episodes used in the comparison and report learning task-performing behavior from scratch within 200 episodes in all the tested games. For the game performance comparison, option-critic exceeds DQN in Asterisk, Seaquest and Zaxxon. The authors include Ms. Pacman in the evaluation and give no corresponding superiority claim for it. The paper reports these outcomes through learning curves and descriptions. It gives no exact game-score values for the comparative results in the prose.

The arcade experiment adds a distinct kind of evidence. The options are being learned at the same time as the features from which they act and decide whether to stop. The comparison shows that the additional learning can coexist with competitive performance under an episode-matched budget on these games. Since the unit of the matched budget is the episode, its interpretation concerns learning under that convention. The experiment leaves the relative numbers of environment steps and the computing costs open.

### What the ablations show

#### The action-gradient baseline in Seaquest

The clearest component comparison in the paper concerns the baseline used in the internal policy gradient. The Seaquest figure shows empirical frequencies over the 18 primitive actions for individual options. Each column represents an option, and the intensity indicates how frequently actions were taken. The authors report that using QΩ as a baseline produces less deterministic option behavior, with action frequencies spread more broadly. They also report better overall performance with that change, without giving a numerical score gain for this comparison.

The action-frequency view matters because it shows a consequence of modifying an estimator beyond the final score. A policy that concentrates very quickly on a few moves has fewer chances to learn the relative merits of alternatives. The baseline changes how a sampled action is judged relative to its option's value in the same state. The theorem permits that subtraction in the expected action gradient. The figure shows that, in training, the resulting distribution of observed behavior can differ. The paper connects this to variance reduction, while the displayed frequencies directly measure behavior rather than gradient variance.

The arcade experiments also use an entropy term and a termination margin. The entropy term encourages spread in an internal action distribution. The margin encourages keeping a sufficiently valuable option active. The paper motivates each from behavior it observed during training. It does not present matched score comparisons that isolate each regularizer or establish how they interact. Their roles follow from how they enter the updates, while the learning curves measure the performance of the combined configuration.

#### How many options, and what they do

The Pinball experiments vary the number of available options under the same domain setup. All tested counts reach the reported near-optimal checkpoint, which supports the narrower claim that the result did not hinge on a single count within that range. The paper does not give numbers that rank the counts by first attainment time. The trajectory with 4 options makes a different point. The selected behaviors occupy discernible portions of a path, and each option is used along the successful run shown. This is evidence of participation in the behavior of the whole agent, while the chart concerns when the option set as a whole was described as near optimal.

The four-room termination maps are another analysis of what the options learned. A high value on the map means that an option is likely to end at that state if it arrives there. It need not mean that the option frequently visits the state. Reading the maps as termination probabilities makes the result more precise. The options tend to return control at doorway states, where a fresh choice can be suited to a different part of the maze. This spatial pattern appears with both 4 and 8 options, although the maps cannot tell how much of the faster recovery each stopping pattern accounts for.

In Seaquest, an experiment with 2 options produces a particularly legible specialization. The paper describes one behavior sequence as incorporating upward movement and the other downward movement. A typical transition shows the agent going up under one option and descending after the handover. The sequences can contain other moves, since an internal policy may choose among the available primitive actions at each observation. The authors also note that graph-based option discovery had found a similar structure in the same game.

This Seaquest example helps interpret the difference between an option and a primitive action. The labels up and down describe patterns in the sequences. A learned option can express one of those patterns over several decisions while still reacting to the observation in front of it. The example shows that an intelligible division can emerge. The main arcade score comparison uses 8 options, so the illustrated behavior with 2 options leaves open how that division relates to the performance of the larger setting.

#### What the primitive comparisons isolate

The four-room comparison subjects the option learner and primitive agents to the same change of goal. It addresses whether the full option-learning procedure can learn the initial problem at a comparable rate and adapt more quickly after a change. Different learners in the comparison also differ in their update rules and in what their values represent. The curves therefore test the assembled systems. They do not assign the recovery gain to the internal policy gradient, to the termination gradient or to a single component that was retained after the goal moved.

The DQN comparison likewise asks whether the assembled architecture can compete with a learner choosing primitive actions from shared visual features. The option-critic implementation adds more outputs to learn and uses actor updates, regularization and a baseline. The paper shows that the package can work under the stated training budget and exceed the baseline on several games. An attribution of the score advantage to long options alone would require a comparison that changes persistence while controlling the other differences. The reported results do not provide that comparison.

### Limitations

#### Limits the authors identify

The authors call the assumption of universal initiation their largest remaining limitation. An option can be chosen anywhere if the upper-level policy gives it probability there. Its internal behavior and termination function can make it effectively useful in a narrower region, but its initiation set is still the whole state space. Learning eligibility directly would introduce another part of the discovery problem. It could also allow an agent to rule out some options before evaluating them.

The paper sketches a classifier on features as a possible initiation rule. In a tabular system, looking up a sparse set of allowable options could make some decisions cheaper. With function approximation, deciding which options are permitted may cost about as much as evaluating the policy over them. Eligibility also affects the state-option chain. The authors say learned initiation sets would need to satisfy a condition tying where options can start to where they end, so the overall chain remains ergodic. They leave the exact condition and regularization for sparse initiation sets to future work.

A further limit concerns the estimator for the discounted objective. The theoretical weights depend on discounted visits from the specified start. The authors explain that using practical on-policy sampling without the corresponding corrections can produce bias. They discuss a correction and judge its data costs too high in general for the gain they seek. This leaves the exact gradient theorem and the efficiency of the sampled algorithm as distinct claims. The empirical results are for the practical training choices.

The authors also recognize that high return can coexist with very short options. Primitive actions suffice for solving the underlying decision process in their theoretical discussion, so maximizing return need not yield a durable hierarchy. In the arcade setting the authors add the termination margin to counter shortening and entropy regularization to counter rapid concentration of the action policies. They describe how additional differentiable objectives or pseudo-rewards could express desired properties. Such properties would be preferences introduced into learning, beyond the task return considered by the core derivations.

#### Limits of the evidence

The experiment on changing goals gives evidence for adaptation within familiar geometry. It leaves open how options would transfer to a different layout, different primitive actions or a task that reorganizes which states are useful. The recovery curves also leave open how much relearning occurs inside the options and how much occurs in their selection. Since policies, stopping rules and values can all continue updating, faster recovery shows a benefit for the joint procedure under that change.

Pinball supports the use of continuous state with discrete primitive actions. Its ball can occupy continuously varying positions and velocities, but the control input is selected among the listed actions. The paper says the derivations extend to continuous spaces under standard measure-theoretic assumptions. The experiments establish how the tested implementations behave in their particular spaces. They offer no direct comparison of learning performance with continuous action choices.

The term near optimal in Pinball is a qualitative assessment attached to the learning curves. The prose gives a checkpoint without an optimal reference return or a numerical gap. Similarly, a trajectory after 250 episodes illustrates coordination among options without measuring how frequently the same pattern occurs across all runs. The authors' observation that one option tends to appear near the target supplies evidence of recurrence in successful trajectories. It leaves the full distribution of durations and specialization unquantified.

In the arcade comparison, a matched episode budget supports claims about the reported learning curves. Episode lengths and the work performed on each transition can differ, so the setup leaves wall-clock efficiency and step-matched performance open. The paper uses a shared configuration across the games but gives no general rule for choosing an option count. The number is an input to training, and the experiments cover a finite set of choices. They establish that several settings work in the tested domains, while the task of deciding how many behaviors an agent should discover remains open.

Finally, behavior that a reader can interpret appears most clearly in selected domains and settings. Doorway terminations, the use of an option near the Pinball target and directional behavior in Seaquest give concrete instances of learned structure. The paper does not define a quantitative test for how distinct, reusable or comprehensible every learned option should be. Its strongest evidence concerns whether joint learning can produce effective behavior and, in these examples, recognizable boundaries or roles. How commonly those roles emerge is a further empirical question.

### What came after

Later work citing option-critic pursues several of the questions that its architecture separates. What form should a higher-level choice take? What signal should shape the behaviors it controls? How should an agent choose among those behaviors when a task changes? The citation connects the papers to option-critic. The descriptions below concern the direction of each later work, with direct reuse of the gradients left unspecified.

[FeUdal Networks for Hierarchical Reinforcement Learning](https://md.research.elamur.ai/free/en/papers/vezhnevets-2017-feudal-networks-hierarchical-reinforcement-learning/) (2017) also makes hierarchy the subject of the learning architecture. The point of contact is the separation between deciding at a higher level and carrying that decision out through lower-level behavior. Option-critic gives that separation a specific form through an active option, a state-dependent action policy and a rule for handing back control. FeUdal Networks pursues the same broad problem of organizing reinforcement learning across levels.

[Diversity is All You Need: Learning Skills without a Reward Function](https://md.research.elamur.ai/free/en/papers/eysenbach-2018-diversity-all-need-learning-skills/) (2018) changes the question about what should drive skill discovery. In option-critic, the task reward supplies the main criterion for improving the options. The later work sets out to learn skills in the absence of a reward function and foregrounds diversity among them. This places the variety of available behaviors at the center of discovery, a property that option-critic's return objective leaves implicit.

[Reinforcement Learning on Web Interfaces Using Workflow-Guided Exploration](https://md.research.elamur.ai/free/en/papers/liu-2018-reinforcement-learning-web-interfaces-using/) (2018) uses workflows to guide exploration on web interfaces. Its connection to option-critic is the value of organizing a sequence of individual actions at a level above the next immediate action. The workflow framing directs that structure toward where the agent explores, while option-critic uses its learned courses of action to decide what to execute and when to reconsider.

[Skill Induction and Planning with Latent Language](https://md.research.elamur.ai/free/en/papers/sharma-2021-skill-induction-planning-latent-language/) (2021) brings latent language into skill induction and planning. This puts the representation of a skill at the center of the problem. Option-critic can expose a recognizable role through the observed behavior of an indexed option. A language-based approach uses language in the organization of skills for planning. The connection is the use of learned behaviors as units for decisions that extend beyond the next move.

[Describe, Explain, Plan and Select](https://md.research.elamur.ai/free/en/papers/wang-2023-describe-explain-plan-select-interactive/) (2023) brings interactive planning to agents working on multiple tasks in an open world. Description, explanation, planning and selection are the named parts of that approach. Its point of contact with option-critic is the problem of making an organized choice above the level of immediate action. Option-critic asks how behavior and its boundaries can be learned from task feedback. This later work puts the emphasis on planning and selection in a setting with multiple tasks.

[HiEdit](https://md.research.elamur.ai/free/en/papers/wang-2026-hiedit-lifelong-model-editing-hierarchical/) (2026) applies hierarchical reinforcement learning to lifelong editing. Its setting shifts the hierarchy from movement or gameplay to a sequence of editing decisions. The connection to option-critic is the use of multiple levels of control to organize decisions that form part of an ongoing task.

[MoEC](https://md.research.elamur.ai/free/en/papers/wu-2026-moec-memory-routed-mixture-experts/) (2026) uses a memory-routed mixture of experts for adaptive control in Minecraft. The relevant connection is selection among specialized behaviors. In option-critic, the termination rule governs when the agent can return to that selection decision. MoEC places memory and routing at the center of adaptive control, giving the problem of choosing among specialists a different organizing mechanism.

## Cite

Cite as Pierre‐Luc Bacon, Jean Harb and Doina Precup. 2017. The Option-Critic Architecture. Proceedings of the AAAI Conference on Artificial Intelligence.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1609/aaai.v31i1.10916](https://doi.org/10.1609/aaai.v31i1.10916) · [arXiv 1609.05140](https://arxiv.org/abs/1609.05140)

```bibtex
@inproceedings{bacon2017option,
  title = {{The Option-Critic Architecture}},
  author = {Pierre‐Luc Bacon, Jean Harb and Doina Precup},
  booktitle = {Proceedings of the AAAI Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.1609/aaai.v31i1.10916},
  eprint = {1609.05140},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1609/aaai.v31i1.10916}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
