Abstract
Resource allocation tasks in Reinforcement Learning (RL) are often governed by hard linear constraints that define a valid action space. Traditional Safe RL methods typically rely on soft penalties or projection-based techniques, which frequently lead to constraint violations during training or sampling bias. This paper presents PASPO (Polytope Action Space Policy Optimization), a novel framework that ensures 100% constraint satisfaction by decomposing multi-dimensional action spaces into a sequence of bounded 1D decisions. By integrating a de-biasing mechanism to ensure uniform exploration, PASPO achieves superior reward performance and safety compared to state-of-the-art baselines.
1. Introduction
Resource allocation—the distribution of finite resources across multiple entities—is a ubiquitous challenge in fields ranging from financial portfolio management to data center workload balancing. These tasks are characterized by hard linear constraints, such as sector-specific investment limits or physical server capacities.
In the context of Reinforcement Learning, managing these constraints is notoriously difficult. Existing "Safe RL" approaches often utilize Lagrangian methods to penalize violations or attempt to project invalid actions back into the feasible region. However, these methods often fail to maintain safety during the exploration phase or introduce sampling bias that hinders the agent's ability to learn optimal policies. There is a critical need for a policy architecture that explores only valid actions by design.
2. The PASPO Framework
PASPO addresses the challenge of constrained allocation through an autoregressive approach, treating the action space not as a single high-dimensional choice, but as a sequence of dependent decisions.
2.1 Autoregressive Decomposition
Instead of selecting all allocations simultaneously, the agent determines allocations sequentially ($a_1, a_2, \dots, a_n$). This decomposition allows the system to adjust the available range for each subsequent action based on the choices already made.
2.2 Dynamic Feasible Intervals
To ensure that a choice at step $i$ does not make it impossible to satisfy constraints at step $i+1$, PASPO solves a small Linear Program (LP) for each entity. This LP identifies the absolute minimum and maximum values ($a_i^{min}, a_i^{max}$) that remain feasible given the preceding actions and the remaining constraints. The agent then samples from a four-parameter Beta distribution bounded by this specific $[min, max]$ interval, ensuring the action is valid by construction.
2.3 Initialization De-biasing
A significant challenge in sequential sampling is "initialization bias." If early actions are chosen without considering the global distribution, the agent may inadvertently restrict the available space for later actions, leading to poor exploration of the polytope's edges. PASPO introduces a de-biasing mechanism using Maximum Likelihood Estimation (MLE). This mechanism pre-calculates initial weights to mimic a uniform distribution across the entire valid space, ensuring the agent can effectively explore the entire feasible region from the start of training.
3. Experimental Evaluation
Researchers evaluated PASPO against three distinct benchmarks designed to test various aspects of constrained optimization:
- Portfolio Optimization: Managing 13 assets using NASDAQ-100 data, subject to constraints on dividend yields and CO2 intensity.
- Compute Load Distribution: Simulating a data center environment where jobs are split across nine servers with heterogeneous capacities.
- Synthetic Benchmark: A high-stress 7-dimensional environment featuring 611 random constraints and a complex reward surface generated by a neural network.
4. Results and Discussion
4.1 Safety and Reliability
Unlike soft-constraint baselines such as CPO or IPO, which frequently violated constraints during the learning process, PASPO maintained a 0% violation rate throughout training and evaluation. This "safety by design" eliminates the dangerous trial-and-error period typical of penalty-based methods.
4.2 Reward Performance
PASPO demonstrated faster convergence and higher average rewards than state-of-the-art baselines, including OptLayer (a projection-based method). The results suggest that by restricting the search space to only valid actions, the agent can focus its learning capacity on optimizing the reward signal rather than merely trying to satisfy constraints.
4.3 Robustness to Ordering
While autoregressive models are often sensitive to the sequence of variables, the MLE-based de-biasing mechanism makes PASPO robust to the allocation order. This stability allows for consistent performance regardless of the sequence in which assets or servers are processed.
5. Conclusion and Future Work
PASPO provides a robust solution for RL tasks requiring strict adherence to linear constraints. By combining autoregressive decomposition with dynamic interval calculation and a de-biasing mechanism, it achieves a unique balance of guaranteed safety and high performance.
Current limitations include the computational overhead of solving LPs for every action, which may impact scalability for tasks involving hundreds of entities. Future research will focus on extending PASPO to handle state-dependent constraints and exploring hybrid approaches that combine hard-constraint satisfaction with soft cumulative safety constraints.
Summary updated