To Örebro University

oru.seÖrebro University Publications
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
Combining Code Generating Large Language Models and Self-Play to Iteratively Refine Strategies in Games
Meta, London, UK.
Meta, London, UK.
Meta, London, UK.
Meta, London, UK.
Show others and affiliations
2025 (English)In: Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence (IJCAI-25) / [ed] James Kwok, 2025, p. 10999-11003Conference paper, Published paper (Refereed)
Abstract [en]

We propose a self-play approach to generating strategies for playing in multi-player games, where strategies are represented as computer code. We use large language models (LLMs) to generate pieces of code to play in the game, which we refer to as generated bots. We engage the LLM generated bots in competitions, designed to generate increasingly stronger strategies. We follow game theoretic principles in organizing these tournaments, and use a Policy Space Response Oracle (PSRO) approach. We start with an initial set of LLM generated bots, and continue in rounds for adding new bots into the population. Each round adds a bot to the population by asking the LLM to produce code for playing against a bot representing the Nash equilibrium mixture over the current population. Our analysis shows that even a few rounds are sufficient to produces strong bots for playing the game. Our demo shows the process for the game of Checkers. We allow users to select initial bots in the population, run the process, inspect how the bots evolve over time, and play against the generated bots.

Place, publisher, year, edition, pages
2025. p. 10999-11003
Keywords [en]
Agent-based and Multi-agent Systems, MAS, Applications Game Theory and Economic Paradigms, GTEP, Other Natural Language Processing, NLP, Language models
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:oru:diva-125558DOI: 10.24963/ijcai.2025/1249ISI: 001634925300605OAI: oai:DiVA.org:oru-125558DiVA, id: diva2:2020923
Conference
34th International Joint Conference on Artificial Intelligence (IJCAI 2025), Montreal, Canada, August 16-22, 2025
Note

Demo Track

Available from: 2025-12-11 Created: 2025-12-11 Last updated: 2026-01-22Bibliographically approved

Open Access in DiVA

Combining Code Generating Large Language Models and Self-Play to Iteratively Refine Strategies in Games(1045 kB)217 downloads
File information
File name FULLTEXT01.pdfFile size 1045 kBChecksum SHA-512
8b7fe7e442a8f74b5cdf141b2775ea5c27e136b470dfb90f54d9059b1045f8f43123a7dcd4487be40177d5b73b9fab8c28496069b774d85f752acba0af877220
Type fulltextMimetype application/pdf

Other links

Publisher's full text

Authority records

Hazra, Rishi

Search in DiVA

By author/editor
Hazra, Rishi
By organisation
School of Science and Technology
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 220 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

doi
urn-nbn

Altmetric score

doi
urn-nbn
Total: 11440 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