[Paper Review] Macro Action Reinforcement Learning with Sequence Disentanglement using Variational Autoencoder
This paper proposes Factorized Macro Action Reinforcement Learning (FaMARL), which uses a Factorized Action Variational Autoencoder (FAVAE) to learn disentangled, reusable macro actions from expert demonstrations. By searching in the latent space of these macro actions instead of primitive actions, FaMARL achieves superior performance in high-dimensional, sparse-reward environments like robotic manipulation tasks, outperforming both primitive-action PPO and FiGAR, which is limited to repeated primitive actions.
One problem in the application of reinforcement learning to real-world problems is the curse of dimensionality on the action space. Macro actions, a sequence of primitive actions, have been studied to diminish the dimensionality of the action space with regard to the time axis. However, previous studies relied on humans defining macro actions or assumed macro actions as repetitions of the same primitive actions. We present Factorized Macro Action Reinforcement Learning (FaMARL) which autonomously learns disentangled factor representation of a sequence of actions to generate macro actions that can be directly applied to general reinforcement learning algorithms. FaMARL exhibits higher scores than other reinforcement learning algorithms on environments that require an extensive amount of search.
Motivation & Objective
- To address the curse of dimensionality in action space for reinforcement learning in continuous control tasks.
- To enable autonomous discovery of diverse, non-repeating macro actions from expert demonstrations, avoiding manual design or repetition constraints.
- To improve sample efficiency and learning speed in sparse-reward environments by searching in a compressed, disentangled latent space of macro actions.
- To enable transferability of learned macro actions to new tasks without retraining the policy from scratch.
Proposed method
- FaMARL employs a Factorized Action Variational Autoencoder (FAVAE) to learn disentangled latent representations from sequences of primitive actions in expert demonstrations.
- The FAVAE uses a ladder network and an information-bottleneck loss with a total correlation penalty to enforce disentanglement of latent factors.
- Latent variables from FAVAE are used as macro actions; the policy matches current states to these latent variables instead of selecting primitive actions directly.
- The matched latent variables are decoded into sequences of primitive actions and executed in the environment, enabling macro-action-based policy learning.
- The method decouples macro-action learning from policy optimization, allowing reuse of macro actions across different tasks.
- FaMARL optimizes the policy using PPO over the macro-action space, enabling efficient exploration while maintaining performance.
Experimental results
Research questions
- RQ1Can disentangled, non-repetitive macro actions be autonomously learned from expert demonstrations to reduce action space complexity?
- RQ2Does using learned macro actions in the policy search space improve sample efficiency and performance in high-dimensional, sparse-reward environments?
- RQ3How does FaMARL compare to primitive-action RL and FiGAR in tasks requiring precise, non-repetitive action sequences?
- RQ4To what extent can FaMARL adapt macro action length dynamically based on task requirements?
- RQ5What are the limitations of macro-action-based RL in tasks requiring fine-grained or feedback-controlled actions?
Key findings
- FaMARL successfully learned both Reaching and BallPlacing tasks in the RobotHand environment, while PPO with primitive actions and FiGAR failed to learn either.
- In Reaching with time penalty, FaMARL reduced macro action length over time, converging to shorter actions (length 1–3), indicating adaptation to speed optimization.
- When time penalty was removed, macro action length remained long, showing that action length adaptation is driven by task dynamics and reward shaping.
- FaMARL outperformed FiGAR in BallPlacing because it could generate diverse, non-repetitive action sequences, unlike FiGAR’s repeated actions.
- The algorithm demonstrated transferability: learned macro actions from expert demonstrations were effective for new tasks when the action patterns matched the required behavior.
- FaMARL failed on BipedalWalker-v2 due to lack of feedback control, highlighting limitations in tasks requiring real-time, high-precision adjustments.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.