
Stochastic shortest-path problems have been of interest to the automated planning community for many years. Traditionally, policy solutions to these problems have been found with admissible heuristics such as LM-Cut, which approximate the best action in the current state to give the highest probability of reaching a goal state in a delete relaxation of the problem. Though successful, these heuristics face scalability problems as the state spaces of these stochastic problems grow.
Toyer et al. proposed Action Schema Networks (ASNets), deep neural networks that learn a policy for a whole problem domain: trained on small problems, they can be applied to larger ones. Given the current state, an ASNet returns an action to take. This article is a case study applying the technique to a fighter-jet wargame, with five trial experiments.
The planning problem
A stochastic shortest-path problem (SSP) is a tuple (S, A, T, C, G, s₀): states, actions, a transition function, action costs, goal states, and an initial state. A policy π(a | s) chooses an action in each state, and here the aim is to maximize the probability of reaching the goal. LM-Cut, run through the SSiPP planning tool, solves each problem on its own but scales poorly as problems grow. An ASNet is trained by supervised learning, with LM-Cut providing the labels (the best action in each state), and then reused on problems it has not seen.
The wargame domain
We wrote the domain in PPDDL, the probabilistic planning language. Two teams, red and blue, each field the same number of fighters, and every fighter is randomly a 4th- or 5th-generation aircraft. Fighters queue in a line and the front two duel each round. Exactly one of the two is destroyed, the survivor stays at the front, and the next fighter in the destroyed one's team steps up.
Each round blue chooses one of three actions: a short-range strike, a long-range strike, or a stealth strike. The chance blue wins the duel depends on the action and on the generations of the two fighters. Blue wins when every red fighter is destroyed with at least one blue fighter alive, which earns a reward of 1. If all blue fighters are destroyed, the problem is a dead end.
Training setup
The ASNet has three hidden layers of 16 units with dropout of 0.25 in each. We train for 10 epochs with minibatches of 128 and a learning rate of 0.01. The framework default is a learning rate of 0.0001 and 300 epochs, and we changed both to cut convergence time. Each scenario is solved 30 times with different random seeds, so results are reported as wins out of 30.
The trials differ in the problem sizes used for training and testing, counted in fighters per team:
| Trial | Training problems | Test problems |
|---|---|---|
| 1 | 3 fighters (5 scenarios) | 3 fighters (15 scenarios) |
| 2 | 4 fighters (5 scenarios) | 4 fighters (15 scenarios) |
| 3 | mixed 3 and 4 (6 scenarios) | 3 and 4 (30 scenarios) |
| 4 | small problems | 5 fighters (15 scenarios) |
| 5 | mixed 3 and 4 (6 scenarios) | 5 to 13 fighters |
Results on unseen scenarios
On test problems of the same size as the training problems (Trials 1 to 3), the ASNet trails its LM-Cut teacher slightly, as expected of a student. In Trials 4 and 5, which test on larger battles than the network was trained on, it wins more often.
We offered two speculative explanations: larger battles simply give more chances, or the network exploits the order of the fighters in each queue, which LM-Cut ignores. No variance or significance tests were run, so these remain open questions for future trials.
Runtime
In Trial 5 we also timed both methods as the battles grew from 3 to 13 fighters per team.
Measured runtime grows steeply for both methods, from 0.040 s to 20.4 s for the ASNet and from 0.00017 s to 7.87 s for LM-Cut. The ASNet also needs a one-time training cost of about 5,573 seconds. The paper's argument is a projection: if the ASNet's total time flattens while LM-Cut's keeps growing exponentially, the two would cross at about 18 fighters per team. That crossover is an extrapolation from fitted trend lines and was not measured.
Takeaway
In Trials 1 to 3 the ASNet learned roughly LM-Cut's behavior, with similar cost and win rate. In Trials 4 and 5 the networks trained on small battles won more often than LM-Cut on larger ones. Future work includes larger problems with more compute, a search over network architecture and regularization, and more trials to probe whether ASNets capture the order of the fighters.
A note from 2026
Months after this work I found an error in my understanding of the framework. The LM-Cut results were fed to the network as extra feature vectors concatenated to the standard inputs, to give the search some direction, while the training labels came from the optimal solution, which was calculated exhaustively. The results themselves still hold, but comparing the network to LM-Cut is somewhat malformed. The cases where the network did better most likely mean it learned a policy closer to the true optimum than LM-Cut's delete-relaxed one.
The full paper has the tables and the complete PPDDL domain description.