Digitala Vetenskapliga Arkivet

Planned maintenance
A system upgrade is planned for 17/11-2026, at 12:00-13:00. During this time DiVA will be unavailable.
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
AI and Game Theory: Strategic decision making in Imperfect Information Environments: Evaluating AI-Driven Poker bots against common playstyles
KTH, School of Electrical Engineering and Computer Science (EECS).
KTH, School of Electrical Engineering and Computer Science (EECS).
2025 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

This thesis is focused on the research area of artificial intelligence (AI) and game theory. Specifically, it explores strategic decision making in imperfect information environments through the development of an AI-driven poker agent for Heads-Up No-Limit Texas Hold’em (HUNL). The main problem explored in the thesis is how effectively algorithms based on Counterfactual Regret Minimization can improve the performance of Heads-Up Texas Hold’em poker bots by identifying strategic patterns, compared to rule-based or equity-based approaches. Additionally, we evaluate exploitation of fixed playstyles through an adjusted version of the Monte Carlo Counterfactual Regret Minimization algorithm. A challenge of the project was dealing with the massive number of possible game states, while only having access to modest hardware. The implementation of the Monte Carlo Counterfactual Regret Minimization agent was made using the OpenSpiel framework, which provided the poker environment and the foundation for the algorithm. To make the training computationally feasible, we implemented several types of abstractions. This is done to simplify the game state representation without losing essential strategic information. We evaluated the Monte Carlo Counterfactual Regret Minimization agent against a rule-based equity bot, various baseline bots and Slumbot, a strong open-source poker agent with close to optimal strategy. The evaluation showed that the agent was significantly stronger than both the equity-based bot and the baseline bots. Our tests also showed how the agent continuously improved its strategy and gained stronger results when increasing the number of iterations during training. Although both our agent and the equity bot lost to Slumbot, our approach achieved a higher win rate and smaller chip losses. This indicates that algorithms based on Counterfactual Regret Minimization, even with some computational limitations, are a better strategy for solving poker and other imperfect information environments.

Abstract [sv]

Denna avhandling fokuserar på området artificiell intelligens (AI) och spelteori. Specifikt undersöks strategiskt beslutsfattande i miljöer med ofullständig information genom utveckling av en AI-driven pokeragent för Heads-Up No-Limit Texas Hold’em (HUNL). Det huvudsakliga problemet som projektet utforskar I denna avhandling är hur effektivt algoritmer baserade på Counterfactual Regret Minimization kan förbättra prestandan för pokeragenter genom att identifiera strategiska mönster, jämfört med regelbaserade eller equity-baserade metoder. Dessutom, utforskar vi exploatering av statiska spelstilar genom en anpassad version av Monte Carlo Counterfactual Regret Minimization algoritmen. En utmaning I projektet var att hantera det enorma antalet möjliga speltillstånd, när vi bara hade tillgång till begränsad hårdvara. Implementationen av Monte Carlo Counterfactual Regret Minimization agenten gjordes med hjälp av ramverket OpenSpiel, som försåg oss med poker miljön och grunden för algoritmen. För att göra träningen beräkningsmässigt genomförbar implementerade vi flera olika sorters abstraktioner. Detta görs för att förenkla speltillståndets representation utan att förlora väsentlig strategisk information. Vi utvärderade Monte Carlo Counterfactual Regret Minimization agenten mot en regelbaserad equity agent, olika enkla strategi agenter, samt Slumbot, en stark open-source pokeragent med nära optimal strategi. Våra resultat visade att agenten var betydligt starkare än både den regelbaserade equity agenten och de enkla strategi agenterna. Våra tester visade också hur agenten förbättrade sin strategi och fick starkare resultat desto större antal iterationer som körs under träning. Trots att båda våran agent och den regelbaserade equity agenten förlorade mot Slumbot, presterade vår metod bättre genom att uppnå en högre vinstfrekvens och mindre markerförluster. Detta tyder på att algoritmer baserade på Counterfactual Regret Minimization, även med enklare hårdvara, är en bättre strategi i poker och andra miljöer med ofullständig information.

Place, publisher, year, edition, pages
2025. , p. 50
Series
TRITA-EECS-EX ; 2025:495
Keywords [en]
Counterfactual Regret Minimization, Monte Carlo Counterfactual Regret Minimization, Artificial Intelligence, Imperfect Information, Strategy Abstraction, Game Theory, Poker, Heads-up No-Limit Texas Hold’em
Keywords [sv]
Counterfactual Regret Minimization, Monte Carlo Counterfactual Regret Minimization, Artificiell Intelligens, Ofullständig Information, Strategisk Abstraktion, Spelteori, Poker, Heads-up No-Limit Texas Hold’em
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:kth:diva-368136OAI: oai:DiVA.org:kth-368136DiVA, id: diva2:1987428
Supervisors
Examiners
Available from: 2025-08-11 Created: 2025-08-06 Last updated: 2025-08-11Bibliographically approved

Open Access in DiVA

fulltext(879 kB)615 downloads
File information
File name FULLTEXT01.pdfFile size 879 kBChecksum SHA-512
d350b04e1a3628c1e7e511b1b1d89e4de75806b48fb5014eb277073c63751af8a2758bcfa803c45174fad60a046f1a6392d3996e68b40b3a1e0c4c2f22412473
Type fulltextMimetype application/pdf

By organisation
School of Electrical Engineering and Computer Science (EECS)
Computer and Information Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 617 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 1015 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf