Reinforcement Learning With Sparse-Executing Action via Sparsity Regularization

Jing-Cheng Pang, Tian Xu, Shengyi Jiang, Yu-Ren Liu, Yang Yu

TL;DR

This paper introduces a new framework, Sparse-Action Markov Decision Process (SA-MDP), to address reinforcement learning (RL) problems where certain actions have limited execution budgets. They propose Action Sparsity Regularization (ASRE), an algorithm that learns to identify and efficiently use these "sparse actions" by evaluating their sparsity and incorporating this information into policy learning, outperforming existing RL methods on tasks with limited action budgets.

What Problem Does This Paper Address?

Reinforcement learning (RL) has shown great success in various decision-making tasks. However, many real-world scenarios involve constraints on how often specific actions can be taken, such as limited ammunition in a game or a finite advertising budget. Classic RL algorithms typically assume that all actions can be executed an unlimited number of times, leading to inefficient exploration and suboptimal policies when faced with these "sparse-executing actions." This paper aims to bridge this gap by formalizing the problem of sparse-executing actions and proposing a novel RL algorithm that can effectively handle them.

Methods

The authors introduce two main components:

  • Sparse-Action Markov Decision Process (SA-MDP): This is a formalization of the problem where specific actions have a limited number of executions per episode. This differs from standard MDPs by explicitly modeling these action constraints.
  • Action Sparsity Regularization (ASRE): This is a novel policy optimization algorithm designed to work with SA-MDPs. ASRE has two key phases:
  • Sparsity Evaluation: ASRE uses a modified version of the Discounted Upper Confidence Bounds (D-UCB) algorithm to select actions for evaluation. It then constrains the sampling of these selected actions for a period to observe their impact on performance. This allows ASRE to estimate the "sparsity" of each action – how much performance improves when it's used sparingly.
  • Sparsity Regularization: The evaluated sparsity is then used to regularize the policy learning process. Instead of treating all actions equally, ASRE biases the policy towards actions that have been identified as sparse, effectively learning to use them more judiciously. This is achieved by incorporating a sparsity distribution into the policy's objective function, which is optimized using a regularized Bellman optimality operator.

Datasets

The paper evaluates ASRE on three main types of tasks:

  • Stock Trading: A real-world dataset of tick-level price and volume data for Chinese A-share stocks.
  • Gunplay: Based on the Atari game "Carnival-ram-v0," with a limited bullet capacity (K=5).
  • Football: Based on the HFO benchmark, where the "shoot" action is considered sparse (K=4).
  • Atari Games: A suite of 59 Atari games, used to demonstrate the general applicability of ASRE beyond explicitly defined sparse action tasks.

Key Insights and Ideas

  • Sparsity is a crucial factor: The paper highlights that many real-world decision-making problems inherently involve actions with limited budgets, and standard RL methods fail to account for this.
  • Differentiating "frequent but necessary" from "frequent but unnecessary": The authors argue that simply penalizing frequent actions is insufficient. ASRE's approach of evaluating sparsity allows it to distinguish between actions that should be used sparingly and those that are simply being overused.
  • Exploration can be guided by sparsity: By using D-UCB to select actions for constrained sampling, ASRE intelligently explores the action space, focusing on actions whose sparsity is yet to be determined.
  • Sparsity regularization leads to better policies: Incorporating the learned sparsity distribution directly into the policy optimization objective allows ASRE to learn more efficient and effective policies in sparse action scenarios.
  • Generalizability: ASRE's success in Atari games suggests that the concept of action sparsity is relevant even in environments not explicitly designed with sparse actions, indicating broader applicability.

Key Results

  • Outperformance on Sparse Action Tasks: ASRE consistently outperforms baseline RL algorithms (DQN, SAC, PPO, etc.) on the Stock, Gunplay, and Football tasks, which are specifically designed with sparse actions. For example, in the Stock task, ASRE achieves a significantly higher episodic reward (4.721) compared to DQN (0.0) and SAC (-0.584).
  • Efficient Learning: ASRE learns faster and achieves higher scores in tasks where sparse actions are prevalent.
  • Effective Sparsity Evaluation: ASRE quickly evaluates action sparsity in the early stages of training and maintains a stable sparsity distribution throughout.
  • Reduced Sparse Action Execution: ASRE agents execute sparse actions (e.g., buying/selling in Stock) at a much lower frequency (less than 10%) compared to DQN and SAC (over 60%), demonstrating effective constraint adherence.
  • Improved Atari Performance: ASRE outperforms DQN in 38 out of 59 Atari games, suggesting its benefits extend to more general RL problems.

Limitations and Future Work

  • Training Stability: The sparsity distribution is updated every N episodes, which could be a volatile factor. The authors suggest exploring off-policy sample collection to improve stability.
  • Continuous Action Spaces: ASRE is currently designed for discrete action spaces. Extending it to continuous action spaces, potentially by using neural networks to approximate the sparsity distribution, is a key future direction.
  • Exploration Policy vs. Optimized Policy Discrepancy: ASRE's exploration strategy (constrained sampling) leads to a policy that differs significantly from the final optimized policy. Future work could investigate methods to bridge this gap.

Summary updated

BibTeX
@article{pang2025reinforcement,
  author = {Jing-Cheng Pang and Tian Xu and Shengyi Jiang and Yu-Ren Liu and Yang Yu},
  title = {{Reinforcement Learning With Sparse-Executing Action via Sparsity Regularization}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2025},
  doi = {10.1109/tnnls.2025.3555314},
}
Figure