Skip to main content
QUICK REVIEW

[论文解读] PokerGPT: An End-to-End Lightweight Solver for Multi-Player Texas Hold'em via Large Language Model

Chenghao Huang, Yanbo Cao|arXiv (Cornell University)|Jan 4, 2024
Artificial Intelligence in GamesComputer Science被引用 5
一句话总结

PokerGPT 使用经过 RLHF 微调的轻量级大语言模型,并基于真实 PokerStars 数据,提供面向多人德州扑克的端到端、交互式决策指导,在资源消耗低于基于 CFR 的方法的情况下实现了出色的性能。

ABSTRACT

Poker, also known as Texas Hold'em, has always been a typical research target within imperfect information games (IIGs). IIGs have long served as a measure of artificial intelligence (AI) development. Representative prior works, such as DeepStack and Libratus heavily rely on counterfactual regret minimization (CFR) to tackle heads-up no-limit Poker. However, it is challenging for subsequent researchers to learn CFR from previous models and apply it to other real-world applications due to the expensive computational cost of CFR iterations. Additionally, CFR is difficult to apply to multi-player games due to the exponential growth of the game tree size. In this work, we introduce PokerGPT, an end-to-end solver for playing Texas Hold'em with arbitrary number of players and gaining high win rates, established on a lightweight large language model (LLM). PokerGPT only requires simple textual information of Poker games for generating decision-making advice, thus guaranteeing the convenient interaction between AI and humans. We mainly transform a set of textual records acquired from real games into prompts, and use them to fine-tune a lightweight pre-trained LLM using reinforcement learning human feedback technique. To improve fine-tuning performance, we conduct prompt engineering on raw data, including filtering useful information, selecting behaviors of players with high win rates, and further processing them into textual instruction using multiple prompt engineering techniques. Through the experiments, we demonstrate that PokerGPT outperforms previous approaches in terms of win rate, model size, training time, and response speed, indicating the great potential of LLMs in solving IIGs.

研究动机与目标

  • 解决基于 CFR 的牌手求解器的高计算成本和多玩家可扩展性问题。
  • 利用轻量级的 LLM 实现扑克中的端到端学习和人机交互式决策建议。
  • 开发面向扑克的有效微调的数据处理和提示工程流水线。
  • 在真实对局数据上展示具有竞争力的胜率、缩短的训练时间以及更快的推理速度。

提出的方法

  • 收集并将真实 PokerStars 的对局日志转换为人类与模型可理解的提示。
  • 筛选并设计聚焦核心信息(牌面、行动、筹码、盲注、位置)的提示,以创建高质量的训练数据集。
  • 通过监督微调对 OPT-1.3B(Facebook)进行微调,并使用奖励模型和 PPO 优化通过 RLHF 增强。
  • 使用基于胜率标签训练奖励模型,并应用基于 PPO 的 RLHF 以提升鲁棒性和泛化能力。
  • 使用提示工程技术(角色扮演、价值离散化、零样本提示)来引导模型,同时保持交互快速并基于固定指令。

实验结果

研究问题

  • RQ1在真实对局数据上经过 RLHF 微调的轻量级 LLM 是否能在多人德州扑克中获得具有竞争力的胜率?
  • RQ2数据质量和提示工程如何影响微调效果及下游性能?
  • RQ3该方法是否可扩展到任意数量的玩家而不需要高昂的计算或内存成本?
  • RQ4哪些指标最好地捕捉 PokerGPT 的策略行为和有效性(例如,行动分数、平均投资)?

主要发现

  • PokerGPT 在胜率、模型大小、训练时间和响应速度方面优于先前的方法。
  • 该架构支持任意数量的玩家,资源需求低于基于 CFR 的方法。
  • 提示工程和数据筛选显著提升微调性能。
  • 引入了两项新指标,行动分数和平均投资,用于研究策略特征。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。