TLDR: CARL is a novel algorithm designed to efficiently solve Constrained Stochastic Shortest Path Problems (CSSPs), which involve probabilistic effects and multiple cost constraints. It achieves this by transforming CSSPs into simpler, unconstrained problems using scalarisation, then employing advanced heuristic search to find an optimal, potentially stochastic, policy. Experiments show CARL significantly outperforms existing state-of-the-art algorithms in terms of problem-solving coverage and speed across various benchmarks.
Imagine you’re planning a complex journey, not just trying to get from point A to point B as fast as possible, but also needing to stay within a certain budget and minimize your environmental impact. This is the essence of a Constrained Stochastic Shortest Path Problem (CSSP) – a type of decision-making challenge where actions have uncertain outcomes, and you need to balance a primary goal (like minimizing time) with several secondary constraints (like budget or effort).
These problems are common in real-world scenarios, from planning an airplane’s route to minimize fuel while avoiding bad weather and meeting timing requirements, to managing logistics where costs and delivery times are both critical. Traditionally, solving CSSPs optimally has been a computationally intensive task, often relying on complex mathematical formulations that can be slow and struggle with larger problems.
A new algorithm, named CARL, offers a significant leap forward in tackling these intricate challenges. Developed by Johannes Schmalz and Felipe Trevizan, CARL introduces a novel approach that allows for the efficient discovery of optimal, potentially stochastic (meaning actions can be chosen probabilistically), policies for CSSPs. This is a crucial distinction, as previous heuristic search algorithms for CSSPs often found only deterministic policies, which might not be truly optimal when uncertainty and constraints are involved.
How CARL Works: Simplifying Complexity with Scalarisation
At its core, CARL employs a clever technique called ‘scalarisation.’ Think of it like this: instead of trying to optimize multiple objectives (primary cost and several secondary costs) simultaneously, scalarisation combines them into a single, weighted ‘scalar’ cost. This transforms the complex CSSP into a simpler, unconstrained Stochastic Shortest Path Problem (SSP), which can be solved much more efficiently using existing heuristic search algorithms.
CARL operates in three main steps:
- Finding the Optimal Scalarisation (λ*): CARL iteratively searches for the best set of weights (called λ*) that effectively balances the primary and secondary costs. This search involves solving a series of these simplified SSPs as subproblems.
- Identifying All Optimal Policies for the Simplified Problem: Once the optimal weights are found, CARL determines a ‘strongly ε-consistent’ value function. This function is special because it captures not just one, but all the optimal deterministic policies for the simplified SSP.
- Extracting the Optimal Stochastic Policy: Finally, CARL combines these multiple deterministic policies into a single, optimal (and potentially stochastic) policy for the original, complex CSSP. This step ensures that all constraints are met while minimizing the primary cost.
A key innovation in CARL is its use of ‘primal space’ heuristic search. While existing optimal CSSP algorithms typically operate in the ‘dual space’ (a different mathematical representation), CARL’s primal approach, combined with efficient techniques like ‘warm starting’ (reusing information from previous steps) and ‘vector value functions’ (tracking all costs simultaneously), allows it to solve subproblems much faster.
Also Read:
- Autonomous Robots Navigate Complex Industrial Spaces with Hybrid AI Control
- Advancing AI for Real-World Challenges: Zero-Shot Reinforcement Learning Under Practical Constraints
Impressive Performance Gains
The researchers put CARL to the test against state-of-the-art algorithms (i-dual and i2-dual) across various benchmark problems, including Search and Rescue, Elevators, Exploding Blocks World, PARC Printer, and Triangle Tireworld. The results were compelling: CARL solved 50% more problems than existing methods. In some cases, CARL achieved full coverage (solved all instances) where other planners failed completely.
Furthermore, for problems where all algorithms found solutions, CARL demonstrated an average speedup of 10 times compared to the strongest baselines. This efficiency is largely attributed to CARL’s ability to solve very few scalarised SSP subproblems, often due to problems having a single secondary-cost constraint or a ‘sparse’ optimal scalarisation, making the search for λ* much quicker.
While CARL represents a significant advancement, the authors acknowledge areas for future exploration, such as investigating alternative optimization procedures for finding λ* and better understanding problem features that make them more or less amenable to CARL’s approach.
This research, detailed in the paper Solving Constrained Stochastic Shortest Path Problems with Scalarisation, paves the way for more efficient and robust solutions to complex decision-making problems under uncertainty and multiple constraints, with broad implications for fields ranging from robotics and logistics to resource management.


