What Can We Learn Even from the Weakest? Learning Sketches for Programmatic Strategies
Leandro C. Medeiros, David S. Aleixo, Levi H. S. Lelis
Abstract
In this paper we show that behavioral cloning can be used to learn effective sketches of programmatic strategies. We show that even the sketches learned by cloning the behavior of weak players can help the synthesis of programmatic strategies. This is because even weak players can provide helpful information, e.g., that a player must choose an action in their turn of the game. If behavioral cloning is not employed, the synthesizer needs to learn even the most basic information by playing the game, which can be computationally expensive. We demonstrate empirically the advantages of our sketch-learning approach with simulated annealing and UCT synthesizers. We evaluate our synthesizers in the games of Can't Stop and MicroRTS. The sketch-based synthesizers are able to learn stronger programmatic strategies than their original counterparts. Our synthesizers generate strategies of Can't Stop that defeat a traditional programmatic strategy for the game. They also synthesize strategies that defeat the best performing method from the latest MicroRTS competition.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Show Me the Way! Bilevel Search for Synthesizing Programmatic Strategies cites Programmatic Strategies for Real-Time Strategy Games
- Reclaiming the Source of Programmatic Policies: Programmatic versus Latent Spaces cites Show Me the Way! Bilevel Search for Synthesizing Programmatic Strategies
- Hierarchical Programmatic Option Framework cites Show Me the Way! Bilevel Search for Synthesizing Programmatic Strategies
- Hierarchical Programmatic Option Framework cites Reclaiming the Source of Programmatic Policies: Programmatic versus Latent Spaces
Cited by top-tier papers5
- Show Me the Way! Bilevel Search for Synthesizing Programmatic StrategiesDavid S. Aleixo, Levi H. S. LelisAAAI 2023 · 12 citations
- Reclaiming the Source of Programmatic Policies: Programmatic versus Latent SpacesTales Henrique Carvalho, Kenneth Tjhia, Levi LelisICLR 2024 · 8 citations
- Reinforcement Learning and Data-Generation for Syntax-Guided SynthesisJulian Parsert, Elizabeth PolgreenAAAI 2024 · 7 citations
- Hierarchical Programmatic Option FrameworkYu-An Lin, Chen-Tao Lee, Chih-Han Yang, Guan-Ting Liu et al.NeurIPS 2024 · 7 citations
- Logic-Q: Improving Deep Reinforcement Learning-based Quantitative Trading via Program Sketch-based TuningZhiming Li, Junzhe Jiang, Yushi Cao, Aixin Cui et al.AAAI 2025 · 5 citations
Builds on1
Related papers
- Playing the System: Can Puzzle Players Teach us How to Solve Hard Problems?Renata Mutalova, Roman Sarrazin-Gendron, Eddie Cai, Gabriel Richard et al.CHI 2023 · 6 citations
- Causality-Based Game SolvingChristel Baier, Norine Coenen, Bernd Finkbeiner, Florian Funke et al.CAV 2021 · 18 citations
- Guessing Winning Policies in LTL Synthesis by Semantic LearningJan Kretínský, Tobias Meggendorfer, Maximilian Prokop, Sabine RiederCAV 2023 · 7 citations
- Learning to Synthesize Relational InvariantsJingbo Wang, Chao WangASE 2022 · 9 citations
- Modeling Others' Minds as CodeKunal Jha, Aydan Yuenan Huang, Eric Ye, Natasha Jaques et al.ICLR 2026 · 6 citations
