Manuscript Offprint

arXiv:2610.27028

Teaching AI Agent to Play Poker Strategically Through Preference Optimization

Phurinat Polasa, Thanapon Thanadunpremdet, Phatthanasak Kraiduang, Saksorn Ruangtanusak

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Phurinat Polasa

Department of Computer Engineering

KMUTT

Thailand

phurinat.pola@kmutt.ac.th

Phatthanasak Kraiduang

Department of Computer Engineering

Mahidol University

Thailand

phatthanasak.kra@student.mahidol.ac.th

Thanapon Thanadunpremdet

Department of Computer Engineering

Mahidol University

Thailand

thanapon.tha@student.mahidol.edu

Saksorn Ruangtanusak

R&D

SCB DataX, SCBX Group

Thailand

saksorn.ruangtanusak@data-x.ai

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.

Index Terms—AI agents, Large Language Models, preference optimization

I. INTRODUCTION

Legal poker actions can still be strategically poor, making poker a useful testbed for strategic decision-making under hidden information. CFR provides approximate equilibrium strategies in finite two-player zero-sum games [1], while systems such as Pluribus [2] motivate evaluation in more complex multiplayer settings.

We first compare a static policy with three frozen compact language models: SmallThinker, Qwen3, and Gemma-3. SmallThinker performs best among them in exact games, yet remains weak on six-max agreement.

We therefore compare Supervised Fine-Tuning (SFT), Direct Preference Optimization (DPO) [4], Group Relative Policy Optimization (GRPO) [5], and Group Sequence Policy Optimization (GSPO) [6], and propose Strategic Preference Optimization with KL-anchored Equilibrium (SPOKE). SPOKE

Figure

Fig. 1. SPOKE overview: teaching a poker agent to act legally and strategically.

combines teacher-relative value penalties, KL anchoring, risk constraints, and structured rationale supervision to improve strategic quality without sacrificing teacher-consistent behavior.

References (8)