A Rollout-Based Algorithm and Reward Function for Efficient Resource Allocation in Business Processes

Jeroen Middelhuis, Zaharah Allah Bukhsh, Ivo Adan, Remco M. Dijkman · DOI

Abstract

Resource allocation in business processes aims to minimize cycle times, but standard Deep Reinforcement Learning (DRL) often fails due to reward hacking and environmental stochasticity. This paper proposes a rollout-based DRL approach using a reward function derived from Little’s Law. By penalizing the number of active cases over time, the method provides a dense, theoretically grounded signal. Experimental results across various scenarios show that this approach consistently finds optimal policies where standard algorithms like PPO fail, while also outperforming common heuristics in complex models.

1. Introduction

In Business Process Optimization (BPO), the primary objective is typically the minimization of cycle time—the duration from a case's arrival to its completion. While the sequential nature of resource allocation makes it a prime candidate for Deep Reinforcement Learning (DRL), two significant challenges persist: reward hacking and environmental stochasticity. Reward hacking occurs when agents exploit "engineered" rewards (e.g., points for completion) by ignoring complex cases to maximize short-term gains. Stochasticity, inherent in unpredictable arrival rates and task durations, often prevents standard algorithms from converging to an optimal policy. This paper addresses these issues by introducing a rollout-based algorithm and a direct reward function based on Little’s Law.

2. Methodology

The authors model the business process as a Continuous-Time Markov Decision Process (CTMDP). This allows for decision-making at arbitrary time points, reflecting the asynchronous nature of real-world processes.

Illustration of a business process state with resources, tasks, and queued cases.

The core of the proposed solution is a rollout-based algorithm. Unlike standard DRL that relies solely on neural network approximations of state-action values (Q-values)—which can be highly unstable in stochastic environments—this method uses Monte Carlo simulations (rollouts) to estimate the value of potential actions. For any given state, the agent simulates multiple future trajectories for each possible action and selects the one that yields the highest average return. This approach provides a more robust estimation of an action's long-term impact, effectively smoothing out the "noise" caused by random task durations and arrival patterns.

The DRL architecture showing the observation space, neural network agent, and masked action space.

The reward function is another critical innovation. Moving away from proxy rewards, the authors leverage Little’s Law, which relates the average number of items in a system to their average wait time. The reward at time $t$ is defined as:

$$r_t = -|C|(t' - t)$$

Where $|C|$ is the count of active cases and $(t' - t)$ is the elapsed time between decisions. This creates a dense signal that directly penalizes work-in-progress, aligning the agent's incentives perfectly with cycle time minimization and removing the need for manual reward engineering.

3. Experimental Setup

The method was evaluated against two types of datasets:

  • Standard Scenarios: Six synthetic patterns (e.g., "Slow Server," "High Utilization," "Parallel Tasks") where the mathematically optimal policy is known.
  • Composite Process Models: Larger, more complex models created by chaining standard scenarios to test the algorithm's scalability as the state space grows.

4. Results and Discussion

The rollout-based approach demonstrated significant performance gains over Proximal Policy Optimization (PPO), the current industry standard. In the six standard scenarios, the proposed method reached the optimal policy in all instances, whereas PPO only succeeded in two. This discrepancy highlights PPO's sensitivity to reward signals and its difficulty in navigating the complex, stochastic landscapes of business processes.

In complex composite models, the algorithm either matched or exceeded the performance of established heuristics like Shortest Processing Time (SPT) and First-In-First-Out (FIFO). A key insight was the agent's ability to learn "strategic postponing"—choosing to wait for a more efficient resource-task match rather than assigning resources greedily. This behavior is often missed by simpler heuristics but is crucial for global optimization.

5. Conclusion

By combining rollout-based estimation with a Little’s Law-derived reward function, the authors provide a robust framework for resource allocation in business processes. This approach handles stochasticity better than state-of-the-art policy gradient methods and eliminates the trial-and-error phase of reward design. Future work will focus on addressing state explosion in massive processes and testing against non-Markovian real-world data logs.

Summary updated

BibTeX
@inproceedings{middelhuis2025rollout,
  author = {Jeroen Middelhuis and Zaharah Allah Bukhsh and Ivo Adan and Remco M. Dijkman},
  title = {{A Rollout-Based Algorithm and Reward Function for Efficient Resource Allocation in Business Processes}},
  booktitle = {Bpm (forum)},
  year = {2025},
  doi = {10.1007/978-3-032-02929-4\_15},
}
Figure