Superhuman AI for Generals.io Using Self-Play Reinforcement Learning

Matej Straka, Viliam Lisý, Martin Schmid
6/22/2026
cs.LG

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

We present a superhuman AI agent for Generals.io, a real-time strategy game that requires both long-horizon planning and short-term tactics under strong imperfect information. Trained for four days on 4x NVIDIA H200 GPUs, our agent reaches #1 on the public 1v1 leaderboard of over 5,000 human players, leading the second-ranked player by the same margin that separates second place from 25th, and beats the two top-ranked humans head-to-head with a combined 199-70 record across 269 ladder matches. A key enabler is a JAX-native simulator that reaches tens of millions of frames per second on a single GPU, roughly a 10,000x speedup over the prior simulator. On top of this, we train a vision transformer policy end-to-end by self-play with a policy-gradient loop and sparse win/loss reward, using top-advantage sample filtering and an exponential moving average of the policy parameters. Taken together, our findings highlight what matters, and what does not, once a fast simulator removes the data bottleneck.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{straka2026superhuman,
  title  = {Superhuman AI for Generals.io Using Self-Play Reinforcement Learning},
  author = {Matej Straka and Viliam Lisý and Martin Schmid},
  year   = {2026},
  eprint = {2606.23348},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.23348v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.23348.svg)](https://codeofpaper.com/paper/2606.23348)

Discussion