antirez visualizes a trained policy playing a cannon game, color channels reveal what it learned

antirez · x · 2026-11-04

antirez shared a visualization of a trained policy network playing a small cannon game: green marks the player's cannon, red the targets, and yellow (not visible) the bullets, with the network's suggested move (LEFT/RIGHT/FIRE/NOP) highlighted each turn.

He notes an interesting observation: the green channel, corresponding to the player itself, is clearly concentrated in the center — a strong hint that the network learned there was something barely moving, showing how channel distributions reveal what the model actually understood about the game. The screenshot shows 2 hits at tick 35, with the player free to override the network's picks.

Original post →

More from Research

Research channel →