Papers
Topics
Authors
Recent
Search
2000 character limit reached

Macro Actions in Decision Making

Updated 7 May 2026
  • Macro actions are temporally extended decision units with defined initiation and termination, providing a higher-level abstraction over primitive actions.
  • They reduce decision frequency and variance while improving sample efficiency, credit assignment, and exploration in reinforcement learning and planning.
  • Integration methods include value-based approaches, policy gradients, and neural models, with empirical successes in Atari, dialogue systems, and multi-agent tasks.

A macro action is a temporally extended, atomic unit of decision-making composed of a sequence (or, in the most general sense, a policy) over primitive actions. Macro actions provide temporal abstraction, acting as higher-level constructs that reduce decision frequency and enable more efficient search, learning, and credit assignment in sequential or planning-based environments. Their formalism, implementation, and empirical benefits have been established across reinforcement learning, planning, partially observable control, neural language modeling, and multi-agent systems.

1. Formal Definitions and Theoretical Foundations

Macro actions (a.k.a. options, temporally extended actions) generalize the atomic notion of an action in decision processes to temporally extended sequences governed by explicit rules of initiation and termination. In the general options framework, a macro-action (option) ω is given by the tuple:

ω=Iω,πω,βω\omega = \langle \mathcal{I}_\omega, \pi_\omega, \beta_\omega \rangle

  • Iω\mathcal{I}_\omega: initiation set, specifying states in which the option can start.
  • πω(as)\pi_\omega(a|s): intra-option policy mapping states to primitive actions.
  • βω(s)\beta_\omega(s): termination condition, specifying the probability of option termination upon encountering state ss.

This abstraction leads naturally to the semi-Markov Decision Process (SMDP) formulation where the agent at macro time steps selects a macro-action, executes it according to its intra-policy until termination, receives rewards and transitions, and then the decision process resumes (Durugkar et al., 2016). An SMDP generalizes an MDP by allowing variable-duration actions.

In classical planning, a macro-action is a finite sequence of domain operators:

m=a1,a2,...,akm = \langle a_1, a_2, ..., a_k \rangle,

which is executable atomically if all sub-actions are applicable in sequence (Castellanos-Paez et al., 2016). In LLM-RLHF, macro actions are contiguous token sequences, i.e., ωτ={atτ,...,atτ+11}\omega_\tau = \{a_{t_\tau}, ..., a_{t_{\tau+1}-1}\}, with initiation and termination governed by rule-based or learned mechanisms (Chai et al., 2024).

2. Integration into Learning and Planning Algorithms

Macro actions can be integrated into RL and planning algorithms via several canonical approaches:

  • Value-based RL and DQN augmentation: Macro-actions are treated as distinct choices in the Q-function output, with macro-action returns and duration-dependent backups. When a macro is selected, its execution may span multiple environment steps, with rewards and transitions aggregated for (possibly variable-length) macro-duration (Durugkar et al., 2016). For SMDP Q-learning, the Bellman backup generalizes to:

Q(s,ω)=E[t=1Tγt1rt+γTmaxωQ(sT,ω)s0=s,ω]Q(s, \omega) = E\left[ \sum_{t=1}^T \gamma^{t-1} r_t + \gamma^{T} \max_{\omega'} Q(s_T, \omega') \mid s_0=s, \omega \right]

  • Policy gradient and actor-critic methods: Policy gradients and PPO objectives operate at the macro-action level in SMDP form, with gradients and surrogate losses modified to handle transitions and rewards defined over temporally extended actions (Chai et al., 2024).
  • Planning (state-space and temporal): Offline mining of frequent action subsequences from plan corpora enables addition of macro-operators to STRIPS or temporal PDDL planners, with modifications to successor generation but not to heuristics (Castellanos-Paez et al., 2016, Castellanos-Paez et al., 2018, Bortoli et al., 2023).
  • POMDP and belief-space search: Macro-actions cut the branching factor in forward search or MCTS, with belief updates analytically computed for sequences under linear-Gaussian models or managed via learned symbolic LTL rules (He et al., 2014, Veronese et al., 6 May 2025, Lee et al., 2020).
  • Neural and deep RL approaches: Macro-action policies can be learned end-to-end as latent variable models (e.g., via VAEs or STRAW), where action sequences are sampled from a factorized or attention-based internal plan, and macro duration adapts through commitment variables or gating mechanisms (Kim et al., 2019, Alexander et al., 2016).

3. Empirical Benefits and Quantitative Results

Macro actions yield substantial empirical improvement in diverse domains by reducing planning horizons and per-decision variance, focusing exploration, and improving sample efficiency:

  • RLHF for language modeling: Up to 30% improvement in summarization and code generation, 18% in dialogue, 8% in question answering (RM score), and 1.7–2× faster convergence versus token-level baselines (Chai et al., 2024).
  • Atari and RL benchmarks: Macro-augmented DQN achieves faster and higher final scores (e.g., up to 30% improvement, nonzero reward in sparse domains where DQN fails) (Durugkar et al., 2016, Chang et al., 2019). MASP meta-learning further boosts gains (e.g., Breakout HN: 1011%) (Hosu et al., 16 Jun 2025).
  • Meta-RL and hierarchical settings: Automated macro-actions enable roughly 2× faster adaptation and higher success rates in MetaWorld tasks (Cho et al., 2024).
  • Multi-agent and event-driven settings: Macro-action abstractions enable asynchronous and robust policy learning in MacDec-POMDP multi-robot exploration, outperforming both classical and primitive-action DRL in coverage, sample efficiency, and resilience to communication dropout (Tan et al., 2021, Xiao et al., 2020, Menda et al., 2017).
  • Planning and temporal domains: Macro-enhanced planners achieve 10–600% reductions in planning time (e.g., Grid: +595%), and occasionally up to +78% solution quality (Barman), although utility diminishes with excessive, indiscriminate macro addition (Castellanos-Paez et al., 2016, Castellanos-Paez et al., 2018, Bortoli et al., 2023).
  • POMDP planning: MAGIC and PBD macro-action planners drastically outperform primitive-action online solvers in long-horizon, high-dimensional settings due to branching factor compression and efficient exploration (Lee et al., 2020, He et al., 2014).

Empirical studies show marked reduction in learning variance, faster horizon-wise value propagation, and superior performance in extremely sparse-reward or long-horizon tasks.

4. Credit Assignment, Variance Reduction, and Exploration

Macroscopic temporal abstraction mitigates the delayed reward/credit assignment problem endemic to sparse or delayed-feedback domains:

  • Temporal credit assignment: By aggregating reward over nn primitive steps per macro, variance of gradient estimation is reduced by up to a factor of nn (Chai et al., 2024, Durugkar et al., 2016). Aggregated reward is observable immediately after macro completion.
  • Exploration-exploitation tradeoff: Macro-actions can reduce the number of decisions per episode (shrinking temporal horizon), but naïve macro addition may increase the branching factor, potentially worsening the effective search space unless macro similarity and redundancy are explicitly handled (Hosu et al., 16 Jun 2025).
  • MASP and credit sharing: Joint meta-learning of action similarity matrices enables credit to propagate efficiently among overlapping macros, facilitating robust exploration and transfer between domains with shared action semantics (Hosu et al., 16 Jun 2025).
  • Structured exploration: Macros or options extracted from demonstration or sequence mining, or those corresponding to domain-specific skills, bias exploration towards meaningful trajectories, improving discoverability of solutions in sparse domains (Castellanos-Paez et al., 2016, Kim et al., 2019, Chang et al., 2019).

5. Macro-Action Discovery and Construction

Macro-actions can be generated, discovered, or learned by various mechanisms:

  • Mining from demonstrations or plan traces: Sequential pattern mining on solution corpora identifies frequent subsequences which can be encoded as macros (VMSP, BIDE+ algorithms) (Castellanos-Paez et al., 2016, Castellanos-Paez et al., 2018).
  • Learned encodings (RL): Variational autoencoders (FAVAE, factorized ladders) disentangle and compress demonstrator sub-sequences into latent macro policies, allowing flexible recombination and hierarchy (Kim et al., 2019, Cho et al., 2024).
  • Genetic search: Macro sequences are evolved by selection, mutation, and training-loop fitness evaluation, producing macros with high empirical utility (e.g., in Atari and ViZDoom) and demonstrated transferability and reusability (Chang et al., 2019).
  • End-to-end neural planning: Models such as STRAW learn both action-plans and re-planning signals, discovering variable-length, data-driven macro segments jointly with policy optimization (Alexander et al., 2016).
  • Symbolic program induction (planning/POMDP): ILP and event calculus approaches can learn persistent, belief-dependent macro-actions expressed as temporal logic rules (e.g., for MCTS acceleration) (Veronese et al., 6 May 2025).

6. Limitations, Open Problems, and Future Directions

While macro actions deliver significant computational and statistical advantages, their deployment exposes several challenges:

  • Over-commitment: In stochastic environments, long, open-loop macros risk poor performance if dynamics or task demands change mid-execution (Durugkar et al., 2016).
  • Non-Markovianity: Macro terminations or effects depending on unobserved or hidden state features can break the Markov property, causing value learning instability (Durugkar et al., 2016).
  • Branching factor and “utility problem”: Indiscriminate macro addition can overwhelm search or learning algorithms, leading to degraded performance. Utility-driven filtering and parameterized macros offer partial remedies (Castellanos-Paez et al., 2016, Castellanos-Paez et al., 2018).
  • Macro discovery: Rule- and corpus-based methods have fixed coverage and domain bias; automatic, task-adaptive, or reward-driven macro construction remains an active research question (Chai et al., 2024, Cho et al., 2024).
  • Granularity tradeoff: As macro length increases, the decision problem approaches a bandit; for highly structured, interactive domains or environments needing real-time feedback, too coarse-grained macros lose effectiveness (Chai et al., 2024).
  • Scalability to large models: Most empirical studies target ≤30B-param LLMs or modestly-sized neural agents. Extension to 100B+ models and ultra-long sequence domains remains to be fully validated (Chai et al., 2024).
  • Transfer and reuse: Empirical evidence demonstrates transferability of macro-action utility and similarity structures between domains with shared mechanics, but theoretical guarantees for policy/option transfer remain limited (Hosu et al., 16 Jun 2025, Chang et al., 2019).

7. Applications and Domains

Macro-action frameworks have been successfully deployed and evaluated in:

These results demonstrate systemic benefits ranging from sample efficiency and robustness to transfer and interpretability, substantiating the centrality of macro actions as a core abstraction for scalable intelligence in both learning and planning systems.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (19)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Macro Actions.