Control-Oriented Scenario Tree Construction through Reinforcement Learning

2026-08-10Artificial Intelligence

Artificial IntelligenceMachine Learning
AI summary

The authors address how to better handle uncertainty in decision-making by improving the construction of scenario trees used in multistage stochastic model predictive control (MPC). Instead of focusing on matching probability distributions, they teach a model to build the tree based on how well it helps make good control decisions, using reinforcement learning. Their method, tested on managing a battery system, consistently outperforms traditional tree-building techniques and handles risky situations more robustly. They found that their approach creates simpler trees that focus on important events, showing that the usefulness of a scenario tree depends on the decisions it supports.

multistage stochastic model predictive controlscenario treereinforcement learningscenario reductionbattery arbitrageclosed-loop controlattention-based policyrisk aversiontail riskdistribution matching
Authors
Fabio Pavirani, Bert Claessens, Pierre Pinson, Chris Develder
Abstract
Multistage stochastic model predictive control (MPC) handles uncertainty by optimizing over a scenario tree, a finite branching approximation of future outcomes constructed from sampled forecasts. To build such a tree, conventional methods focus on matching the underlying probability distribution---e.g., via Wasserstein-based scenario reduction---but improved distributional accuracy does not necessarily yield better control performance. We propose a control-oriented approach that learns scenario tree construction directly from its impact on downstream decisions. Fixing the tree topology, we formulate tree construction as a sequential assignment of sampled scenarios to leaves. This assignment is parameterized by an attention-based policy over the scenario set and trained using reinforcement learning, with closed-loop control profit as the objective. Training is stabilized by an asymmetric critic that leverages realized future trajectories. We evaluate the method on a risk-averse battery arbitrage problem. Across a range of forecast set sizes, the learned construction consistently achieves the highest profit, outperforming classical forward and backward reduction methods and certainty-equivalent (single-trajectory forecast) control. The learned policy also exhibits greater robustness on challenging instances, consistently demonstrating better tail-risk characteristics. Analysis of the resulting trees indicates that our method constructs compact, selectively branching structures that capture high-impact events while keeping most trajectories nearly deterministic. These findings highlight that the value of a scenario tree depends critically on the decisions it supports, and provide an effective framework to train scenario tree constructors merely based on the closed-loop control optimization signal.