Abstract
Combinatorial decision-making problems, common in industrial logistics and scheduling, present significant challenges for standard Reinforcement Learning (RL) due to exponentially large action spaces and hard feasibility constraints. This paper discusses Structured Reinforcement Learning (SRL), a framework that integrates combinatorial optimization (CO) solvers directly into the RL agent's architecture. By leveraging Fenchel-Young losses to differentiate through non-differentiable optimization layers, SRL achieves superior stability and performance compared to unstructured RL and imitation learning methods.
Introduction
Many real-world industrial tasks—ranging from vehicle routing and warehouse scheduling to inventory management—are fundamentally combinatorial. In these environments, the number of possible action sequences grows factorially or exponentially with problem size, rendering traditional RL approaches like Proximal Policy Optimization (PPO) ineffective. Standard neural networks struggle to output valid probability distributions over such spaces and frequently suggest "illegal" actions that violate physical or logical constraints.
To address these issues, Structured Reinforcement Learning (SRL) introduces a "Combinatorial Actor" that embeds domain-specific optimization logic directly into the learning pipeline. This approach ensures that every action taken by the agent is mathematically feasible and structurally sound.
The SRL Framework
The Combinatorial Actor (COAML)
The core of the SRL agent is the Combinatorial Actor, structured as a CO-augmented Machine Learning (COAML) pipeline. Instead of mapping a state directly to an action probability, the neural network maps the environment state to a "score vector" (e.g., predicted costs for edges in a routing graph). This vector is then passed to a Combinatorial Optimization (CO) layer—a black-box solver such as Dijkstra’s algorithm or a Mixed-Integer Programmer—which identifies the optimal action based on the predicted scores.
Differentiable Optimization via Fenchel-Young Losses
A primary technical hurdle in embedding solvers into neural networks is that optimization outputs are typically piecewise constant; small changes in input scores may result in discrete jumps in the optimal action, leading to zero or undefined gradients. SRL overcomes this by using Fenchel-Young losses. During training, the agent perturbs its score predictions with noise to generate a set of candidate actions. These candidates are evaluated by a Critic network and aggregated into a "target action" via a softmax-weighted average. The Actor is then updated by minimizing the Fenchel-Young loss between its predicted scores and this synthesized target action.
Theoretical Foundation
The authors provide a geometric interpretation of this mechanism, demonstrating that the learning process is equivalent to a primal-dual algorithm operating on the "moment polytope"—the convex hull of all feasible actions. This theoretical grounding ensures that the agent's search space is naturally restricted to the manifold of valid solutions.
Experimental Evaluation
SRL was evaluated across six diverse environments representing both static benchmarks and dynamic sequential decision-making tasks:
- Static Tasks: Warcraft Shortest Paths, Single Machine Scheduling, and Stochastic Vehicle Scheduling.
- Dynamic Tasks: Dynamic Vehicle Scheduling (DVSP), the Dynamic Assortment Problem (DAP), and Gridworld Shortest Paths (GSPP).
In the GSPP task, the environment features endogenous uncertainty, where the robot's previous path choices influence future costs, testing the agent's ability to plan under shifting conditions.
Key Results and Insights
Performance and Stability
SRL demonstrated substantial improvements over baseline methods. In dynamic environments, SRL outperformed PPO by up to 92% and surpassed Self-Imitation Learning (SIL) by up to 78%. Notably, SRL exhibited significantly lower variance—up to 80 times lower than PPO—suggesting a level of reliability essential for industrial deployment where unpredictable behavior is a liability.
Exploration and Inductive Bias
Unlike imitation learning, which is limited by the quality of expert demonstrations, SRL learns purely through interaction. In the Gridworld task, SRL discovered strategies that outperformed the "online optimum" by 79%, proving it can find superior solutions that human experts or heuristics might miss. The optimization solver acts as a powerful inductive bias, regularizing the search space and leading to faster convergence.
Zero-Shot Expertise
On static benchmarks, SRL matched the performance of imitation learning agents despite having no access to expert data. By relying solely on a black-box reward function and the internal CO solver, the agent effectively "derives" expert-level behavior from scratch.
Limitations and Future Work
The primary trade-off for SRL's performance is computational overhead. Because the framework requires multiple calls to a CO solver during each training update to sample candidate actions, training times are significantly longer. For instance, in the Vehicle Scheduling task, SRL required 31 minutes of training compared to 3 minutes for PPO. Furthermore, the method requires the availability of a solver compatible with the specific combinatorial problem, which may necessitate domain-specific engineering.
Future research directions include the use of approximate solvers or early-stopping techniques to reduce the computational burden of the CO layer without sacrificing the structural benefits of the framework.
Conclusion
Structured Reinforcement Learning represents a significant step toward making RL viable for complex industrial applications. By treating combinatorial solvers as first-class components of the neural architecture, SRL bridges the gap between high-level value estimation and low-level discrete constraints, providing a robust framework for solving high-stakes optimization problems.
Summary updated