Dynamic Decision Frequency with Continuous Options

Amirmohammad Karimi, Jun Jin, Jun Luo, A. Rupam Mahmood, Martin Jägersand, Samuele Tosatto · DOI

TL;DR

This paper introduces Continuous-Time Continuous-Options (CTCO), a novel reinforcement learning framework that allows agents to dynamically adjust their decision-making frequency by selecting "options" (sub-policies) with variable durations. CTCO demonstrates robustness to environmental interaction frequencies and improved exploration in real-world robotic tasks with sparse rewards.

What Problem Does This Paper Address?

Traditional reinforcement learning (RL) algorithms operate on discrete time steps, meaning agents make decisions at fixed intervals. This creates a critical hyperparameter: the decision frequency. Setting it too high can overwhelm the agent with too many decisions, increasing complexity and making exploration difficult, especially in sparse reward settings. Conversely, a low frequency can lead to a loss of control over the system. The authors argue that physical systems don't always require constant control frequency, and agents should be able to adapt, making decisions more frequently when needed and less frequently when possible. This paper tackles the challenge of creating an RL framework that can dynamically adapt its decision-making frequency to the demands of the environment, moving beyond the limitations of fixed-frequency discrete-time RL.

Methods

The core innovation is the Continuous-Time Continuous-Options (CTCO) framework. CTCO builds upon the concept of "options" from prior work but introduces two key advancements:

  • Continuous-Time Options: Unlike previous methods that discretize option durations, CTCO's options are time-continuous and have policies that are open-loop (not directly state-dependent within the option itself). The duration of these options is determined by the agent's policy.
  • Dynamic Decision Frequency: The agent's main policy learns to select these options and, crucially, their durations. This allows the agent to decide when to switch to a new option, effectively controlling its decision-making frequency on the fly.
  • Soft Actor-Critic (SAC) Integration: The CTCO framework is implemented using the Soft Actor-Critic (SAC) algorithm, incorporating entropy regularization for exploration and a novel "high-frequency penalization" term to discourage overly short option durations, which can hinder learning.
  • Option Parameterization: Options are parameterized using normalized radial basis functions (RBFs) to ensure smooth action sequences, inspired by movement primitives.

Datasets

The paper evaluates CTCO on the following simulated environments:

  • DeepMind Control Suite: Specifically, Point Mass, Cheetah, and Ball in a Cup environments were used to test robustness to interaction frequencies. These environments were configured with both sparse and dense rewards.
  • Real-World Robotic Task: A novel visual-reaching task was designed using a 7 DOF Franka-Emika Panda manipulator. This task involved a sparse reward setting where the robot had to reach a bean bag detected by a wrist-mounted camera.

Key Insights and Ideas

  • Decision Frequency is Not Fixed: The fundamental insight is that RL agents don't need to operate at a fixed decision frequency. CTCO demonstrates that allowing dynamic frequency adaptation leads to more robust and efficient learning.
  • Open-Loop Options with Closed-Loop Policy: By using open-loop options but a closed-loop policy that selects them, CTCO balances representational power with computational efficiency. The policy compensates for the lack of internal feedback within an option.
  • Robustness to Interaction Frequency: CTCO's performance is remarkably unaffected by the environment's interaction frequency, a significant advantage over traditional discrete-time RL methods that degrade under high frequencies.
  • Facilitating Exploration in Sparse Rewards: The ability to choose longer, smoother actions (options) and the inherent exploration from dynamic frequency selection significantly improve performance in sparse reward scenarios, as shown in the real-world robotic task.

Key Results

  • Simulation: In simulated continuous control tasks (Point Mass, Cheetah, Ball in a Cup), CTCO maintained consistent performance across a wide range of interaction frequencies (10 Hz to 1000 Hz). In contrast, baseline methods like SAC, FiGAR-SAC, and DAC-PPO showed significant performance degradation at higher frequencies.
  • Real-World Robotics: CTCO outperformed SAC on a challenging visual-reaching task with sparse rewards. This was attributed to CTCO's improved exploration capabilities, enabled by temporal abstraction and smooth action execution. The paper notes that CTCO is well-suited for real-world robotics due to its sample efficiency and smooth control.

Limitations and Future Work

  • Hyperparameter Sensitivity: CTCO introduces new hyperparameters, such as the number of RBFs for option parameterization and the high-frequency penalization coefficient. The agent's performance can be sensitive to these choices, especially with varying reward scales and task complexities.
  • Open-Loop Options: The current options are open-loop, meaning they cannot adapt to unexpected state changes within their execution. This can be a limitation in highly dynamic or stochastic environments.
  • Future Work: The authors suggest compensating for the open-loop nature of options by either using closed-loop sub-policies or implementing "termination policies" that allow the agent to select a new option before the current one naturally finishes. This would enable better handling of unforeseen events and stochasticity.

Summary updated

BibTeX
@inproceedings{karimi2023dynamic,
  author = {Amirmohammad Karimi and Jun Jin and Jun Luo and A. Rupam Mahmood and Martin Jägersand and Samuele Tosatto},
  title = {{Dynamic Decision Frequency with Continuous Options}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2023},
  doi = {10.1109/iros55552.2023.10342408},
}
Figure