Digitala Vetenskapliga Arkivet

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
Optimizing Actions for Large Language Models Steered with Game Theory: Exploring Strategic Behavior Through Action Space Design and Game-Theoretical Solvers
KTH, School of Electrical Engineering and Computer Science (EECS).
2025 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesisAlternative title
Optimering av handlingar för stora språkmodeller styrda med spelteori : En undersökning av strategiskt beteende genom utformning av handlingsrymden och spelteoretiska algoritmer (Swedish)
Abstract [en]

This thesis explores how large language models (LLMs) can be guided to perform better in strategic conversation, specifically in negotiation tasks. While LLMs are proficient at generating coherent text, they lack real strategic reasoning. Recent research has introduced game-theoretical solvers to steer LLMs toward more rational behavior, but the impact of action space design on this process remains understudied. To address this, two types of action spaces, based on emotional tone and explicit offers, were compared to examine how they affect the performance of LLMs when steered with a counterfactual regret minimization (CFR) solver. The action space representations were implemented and paired with a CFR solver in a negotiation environment. The two implementations using different action spaces were evaluated using metrics such as how often they reached agreements, whether the agreements were beneficial, and equilibrium proximity. The results demonstrate that the structure of the action space has a limited effect on strategic outcomes. Both action space representations improved the results, compared to using an uninformed baseline. This suggests that LLMs can understand and utilize both logical actions and emotional tones. The implementation using tones as an action space had a higher percentage of conversations ending with a positive outcome for both parties. However, it also resulted in more conversations with negative outcomes for both parties. This shows that giving the LLM the freedom to make strategic decisions by itself can result in better outcomes, but that there is still a risk of irrational behavior. The work offers insights for designing more effective LLM agents in negotiation and contributes to a broader understanding of how language models can be adapted for complex decision-making tasks.

Abstract [sv]

Denna uppsats undersöker hur stora språkmodeller kan styras för att bli bättre i strategiska dialoger; särskilt i förhandlingar. Även om dagens språkmodeller är bra på att skapa sammanhängande och meningsfull text, saknar de i grunden förmåga att tänka strategiskt. Tidigare forskning har använt spelteoretiska metoder för att styra modellerna mot mer rationellt beteende, men hur utformningen av de möjliga handlingsalternativen påverkar detta har inte undersökts tillräckligt. För att utforska detta jämfördes två typer av handlingsalternativ, baserade på känslomässiga toner och explicita handlingserbjudanden, för att se hur de påverkar modellerna när de styrs av en spelteoretisk algoritm. De två alternativen testades i ett förhandlingsspel och utvärderades med hjälp av mått som hur ofta de nådde överenskommelser, om dessa överenskommelser var fördelaktiga för spelarna och hur nära de kom en optimal lösning. Resultaten visade att valet av handlingsalternativen hade en marginell påverkan på de strategiska resultaten. Båda alternativen förbättrade resultaten jämfört med en grundmodel som inte styrdes av någon spelteoretisk modell. Detta tyder på att språkmodellerna kan förstå och använda både logiska handelserbjudanden och känslomässiga toner i sina beslut. Alternativet som använde känslomässiga toner som möjliga handlingar resulterade i fler förhandlingar som avslutades positivt för båda parter, men också i fler förhandlingar med icke gynnsamma resultat för båda parter. Frihet i modellens strategiska beslutsfattande kan förbättra resultaten, men medför samtidigt en risk för irrationellt agerande. Arbetet ligger till grund för att utveckla mer effektiva språkmodeller för förhandlingar och bidrar till en bättre förståelse för hur dessa modeller kan anpassas för komplext beslutsfattande.

Place, publisher, year, edition, pages
2025. , p. 60
Series
TRITA-EECS-EX ; 2025:535
Keywords [en]
Large language models, Machine learning, Game theory, Generative AI, Prompt engineering, Algorithmic game theory
Keywords [sv]
Stora språkmodeller, Maskininlärning, Spelteori, Generativ AI, Promptteknik, Algoritmisk spelteori
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:kth:diva-368245OAI: oai:DiVA.org:kth-368245DiVA, id: diva2:1987982
External cooperation
The Swedish Defence Research Agency (FOI)
Supervisors
Examiners
Available from: 2025-08-11 Created: 2025-08-09 Last updated: 2025-08-11Bibliographically approved

Open Access in DiVA

fulltext(655 kB)366 downloads
File information
File name FULLTEXT01.pdfFile size 655 kBChecksum SHA-512
60b75359e24c4362b65ef6d5d6b6074f906c12303cccfcd15311a81858d36bf49f6c743a2d1e97fb0f57dfc77d2eb98a74a90ace8c8264ff34ad75224887dbc1
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: 369 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: 783 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