Unsound Search with Policy and Value Networks in Legends of Code and Magic
Abstract
Decision-time search in perfect and imperfect information games with enumerable belief states are effective methods for game AI. Collectible card games are imperfect information games with large belief states. Legends of Code and Magic is a collectible card game competition where the belief states are . The Legends of Code and Magic (LoCM) champion, ByteRL, plays with no search. Other works claim sound enumeration-based search is unusable in the genre due to the number of belief states. We measured three previously defined properties that predict where theoretically unsound perfect information Monte Carlo's defects are cheap and found LoCM sits in the favorable region. Starting with imitation learning of the runner-up policy, NeteaseOPD, we created a policy and value feed-forward network. Our agent searches over worlds sampled from a prior over the opponent's deck built from the runner-up's drafts. Using our strictest configuration in the battle phase we beat ByteRL with a win percentage of 51.35% 95% CI [50.37, 52.33], over 10,000 pre-registered games using the LoCM official referee and time limit. Search is not a minor factor on the matchup between our agent and ByteRL. Without search this agent scores 26.8% and adding search adds +24.6 points. Unsound search in imperfect information games could be exploitable. We replicate a published best-response attack against ByteRL. We then apply the same attack protocol to two search configurations of our agent, and each one resists it better than ByteRL at every iteration. In LoCM unsound search gives us a stronger and more resilient agent.
Create a lesson
Metadata
- Comments
- 6 pages, 3 figures, 1 table. Also available as a Zenodo preprint, doi:10.5281/zenodo.22547763
Related papers
AGL-SKILL: Coding Harnesses as Agentic Optimizers
Shared title terminologycs.AIRyan Tsui, Yuge Zhang, Yuqing Yang
Stranded Compute in AI Inference Workloads: Recovering Value Through Demand Aggregation
Shared title terminologycs.AISam Kingsley
Beyond Static Charts: Benchmarking Interactive Chart-to-Code Generation for MLLMs
Shared title terminologycs.AIYuhan Bian, Haoyu Liu, Siyu Li et al.
SayWhen: Set-Valued Semantic Commitment for Low-Regret Early Speech
Shared title terminologycs.AITianyi Huang, Lucas Su, Fred Zhang et al.
Orthogonally Mixed Sign Coding with Progressive Residual Refinement for Transformer Weight Compression
Shared title terminologycs.AIAnindya Roy Chowdhury, Atanu Barai, Nandakishore Santhi
Automatic Occupational Coding through Retrieval-Augmented Generation
Shared title terminologycs.AIMathijs A. Langezaal, Egon L. van den Broek, Lukas P. A. Arts et al.