MultiGain: A controller synthesis tool for MDPs with multiple mean-payoff objectives

Tomás Brázdil, Krishnendu Chatterjee, Vojtech Forejt, Antonín Kucera

Abstract

MultiGain is a dedicated tool for synthesizing controller strategies in Markov Decision Processes (MDPs) that must satisfy multiple, often conflicting, long-term average goals (mean-payoff objectives). By extending the PRISM model checker, it enables the generation of strategies that balance trade-offs—such as performance versus power consumption—and visualizes these via approximate Pareto curves.

Introduction

In system design, Markov Decision Processes (MDPs) are essential for modeling systems with both stochastic behavior (e.g., failure rates) and non-deterministic control choices. Traditional optimization focuses on a single "mean-payoff" objective, like average reward. However, real-world systems often face conflicting requirements: a robot must maximize speed while minimizing battery drain, or a cloud server must maximize throughput while minimizing latency.

MultiGain addresses the need for practical tools that can synthesize strategies satisfying a vector of requirements or explore the Pareto frontier—the set of optimal trade-offs where one objective cannot be improved without degrading another. While the theoretical complexity of multi-objective MDPs has been studied, MultiGain provides the first practical implementation for synthesizing actual control strategies within the popular PRISM ecosystem.

Tool Architecture and Methodology

MultiGain is implemented as an extension of the PRISM model checker, inheriting its modeling language and simulation interface. The tool employs several key algorithmic approaches to handle multi-objective synthesis:

  1. Linear Programming (LP) Reduction: For general strategies, the tool reduces the "existence" question (is there a strategy that meets these $k$ goals?) to a system of linear inequalities. If a solution exists, MultiGain synthesizes a "witness" strategy, which typically requires only two states of memory.
  2. MILP for Memoryless Strategies: Finding the optimal memoryless strategy (one that only considers the current state) is NP-hard. MultiGain introduces a practical reduction to Mixed Integer Linear Programming (MILP), leveraging highly optimized off-the-shelf solvers like Gurobi to solve a problem that was previously handled by less efficient enumerative algorithms.
  3. Pareto Curve Generation: For bi-objective scenarios, the tool iteratively solves weighted LPs to map out an approximate Pareto curve, providing a visual "trade-off" map for the user.
  4. Strategy Exploration: Once a strategy is synthesized, the tool can create a product with the original MDP to form a Markov chain, which can then be simulated or verified against other properties (like safety) using PRISM’s standard features.
The MultiGain user interface showing a generated Pareto curve for trade-off analysis between conflicting energy and cost objectives.

Experimental Evaluation

The authors evaluated MultiGain using two classic benchmarks in distributed computing: Dining Philosophers (balancing "thinking" vs. "eating" time) and Randomized Mutual Exclusion (balancing "trying" vs. "critical section" occupancy).

Key Results

  • Scalability: The tool successfully handled models with up to 668,836 states in the Mutual Exclusion case study.
  • Performance: Efficiency varies significantly by strategy type. For the 956-state Dining Philosophers model, finding a general strategy via LP took less than a second (0.23s). However, finding a memoryless strategy via MILP for the same model was much more intensive, taking roughly 210s.
  • Trade-off Visualization: The tool successfully generated Pareto curves, allowing users to see exactly how much "thinking" time must be sacrificed to increase "eating" time by a certain percentage.
Experimental results for the Dining Philosophers (phil) and Mutual Exclusion (mutex) benchmarks, detailing state counts and solving times for general (A) and memoryless (B) strategies.

Conclusion and Future Work

MultiGain bridges the gap between theoretical complexity results and practical engineering tools for multi-objective MDPs. By formulating the memoryless strategy problem as a boolean combination of linear constraints, the authors leverage modern MILP solvers to make a theoretically difficult problem solvable for mid-sized models.

Future work aims to address current limitations, such as solver dependency and numerical precision in Pareto approximations. The authors suggest exploring "symblicit" methods—combining symbolic (BDD-based) and explicit state-space representations—to scale the tool to even larger systems and extending these techniques to stochastic games.

Summary updated

BibTeX
@inproceedings{brazdil2015multigain,
  author = {Tomás Brázdil and Krishnendu Chatterjee and Vojtech Forejt and Antonín Kucera},
  title = {{MultiGain: A controller synthesis tool for MDPs with multiple mean-payoff objectives}},
  booktitle = {TACAS},
  year = {2015},
  doi = {10.1007/978-3-662-46681-0\_12},
}
Figure