Teaching AI Agent to Play Poker Strategically Through Preference Optimization
Organizations: Department of Computer Engineering, KMUTT, Thailand · Department of Computer Engineering, Mahidol University, Thailand · R&D, SCB DataX, SCBX Group, Thailand
Abstract
A poker agent can make a legal move and still make a strategically poor one. We ask whether compact AI agents can exhibit strategic behavior under hidden information and whether preference optimization can improve beyond static and zero-shot policies. We first evaluate a static baseline and three frozen language models: SmallThinker, Qwen3, and Gemma-3 whose performance varies substantially between exact-game and six-player evaluation. We therefore propose Strategic Preference Optimization with KL-anchored Equilibrium (SPOKE), combining teacher-relative value penalties, policy anchoring, risk constraints, and structured rationale supervision, and compare it with SFT, DPO, GRPO, and GSPO. Across three runs of a SmallThinker-4B-A0.6B policy, SPOKE achieves the lowest mean exploitability in Kuhn (0.213) and Leduc (1.081) and the highest six-max top-1 agreement (0.775), while maintaining teacher KL comparable to SFT (0.522 vs 0.523). These results provide preliminary evidence that strategic preference optimization can improve strategic quality while preserving teacher-consistent behavior.
Figures & tables
| Method | Model | Kuhn | Leduc | KL | top-1 |
|---|---|---|---|---|---|
| static | uniform / chart | 0.458 | 2.374 | 1.104 | 0.643 |
| zero-shot | SmallThinker-4B-A0.6B | 0.326 | 1.767 | 1.865 | 0.159 |
| zero-shot | Qwen3-0.6B | 0.750 | 4.198 | 1.049 | 0.556 |
| zero-shot | Gemma-3-1B-IT | 0.833 | 6.999 | 4.834 | 0.214 |
| SFT | SmallThinker-4B-A0.6B | 0.276 | 2.210 | 0.523 | 0.754 |
| DPO | SmallThinker-4B-A0.6B | 0.758 | 3.666 | 5.480 | 0.174 |
Game-Playing Agents
Game-playing agents use search, learning, and reasoning to choose actions in games with strategic, uncertain, or changing environments.
See all 202 papers