Zero-Search Reinforcement Learning for Slay the Spire 2 with Failure-Driven Restarts
Abstract
Slay the Spire 2 (STS2) is a deck-building roguelike in which a winning run at the highest difficulty takes several hundred decisions, and most losses happen in late boss fights that a learner seldom reaches. We train agents that choose every action with one forward pass of a 6.6M-parameter entity transformer, without lookahead. Training and evaluation run the game's own compiled assembly (v0.107.1) in a headless .NET host. The host replays a run exactly from its seed and actions, so training episodes can restart from states the learner has visited, and a failure-driven curriculum allocates these restarts in proportion to where complete runs are lost. On 12,800 held-out games at Ascension 10 (A10), the released policies win 8.05% averaged over the five characters (Ironclad 15.6%, Regent 12.5%), and AlphaSpire's released networks used without search win 0.55% on a common panel. Longer A10 training raised Ironclad from 12.4% to 15.6% and Defect from 3.0% to 8.1% on these games. At Ascension 0 the released policies win 80.2%, level with the 80.3% that the tree-search agent Spire Mentor reports, while Mentor leads by 5 to 8 points from A4 upward. Run in our host on the same 2,000 A10 games, Mentor's search wins 8.8% against 8.2% for our policies, which need 21-27 ms per decision on one CPU core. GPT-6 Astra at maximum reasoning won none of 11 A10 games through our text interface. In a controlled study of 18 training runs from six random initializations, failure-driven allocation exceeds uniform restart allocation on each of three Regent initializations, by 3.6 percentage points on average, while the Silent effect is small and changes sign. Code, trained policies, an in-game mod and the records behind every table are at https://github.com/HalfVulpes/sts2ai.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI
- Comments
- 21 pages, 4 figures. Code, released policies and an in-game mod: https://github.com/HalfVulpes/sts2ai ; records behind every table: https://drive.google.com/drive/folders/1OP9IzFIYPuyR97eg1XZru6bpZDSh87Oz
Related papers
Curvature-Equilibrated Policy Optimization for Deep Reinforcement Learning
Shared title terminologycs.LGGang Chen
Boundary Representation-Driven Graph Transformer Modeling for Machining Operation Sequencing
Shared title terminologycs.LGFatemeh Elhambakhsh, Gaurav Ameta, Aditi Roy et al.
What a Forecasting Leaderboard Can Establish: Resolution Reporting for Zero-Shot Time-Series Models
Shared title terminologycs.LGArya Sikder, Sriram Pillutla
One Phase Is Enough: Sim-to-Real Transfer with Direct Visual Reinforcement Learning
Shared title terminologycs.LGJohn Marangola, Antonia Bronars, Younghyo Park et al.
Near-Zero Forgetting Is Not Enough: Out-of-Distribution Robustness in Continual Learning of Pretrained VLAs
Shared title terminologycs.LGAdrià Ruiz, Bartłomiej Twardowski, Tinne Tuytelaars et al.
Attention Temperature Confounds Zero-Shot Context Extension
Shared title terminologycs.LGRuben Navasardyan