A game theory reasoning model trained with Group Relative Policy Optimization (GRPO) and verifiable reward functions.
This is a LoRA adapter trained on top of the Phase 1 Solver (which itself is fine-tuned from Qwen/Qwen2.5-7B-Instruct). It represents Phase 2 of a two-phase training pipeline designed to build a strong game theory problem solver with enhanced reasoning capabilities.
+12% accuracy over base Qwen2.5-7B-Instruct (82% to 94%)
Massive gains on hard problems: 66.7% to 94.4% (+27.7%)
Bayesian games: 0% to 100% (the most dramatic improvement)
Mechanism design: 60% to 100%
Reasoning quality improved by GRPO: 0.51 (Solver) to 0.54 (Reasoner)
Concise outputs: ~65% shorter than base model while being more accurate
Training Details
GRPO Configuration
Parameter
Value
Method
Group Relative Policy Optimization (GRPO)
Steps
750
Training Time
~8 hours on RTX 3090
LoRA Rank (r)
32
LoRA Alpha
64
Learning Rate
5e-6
KL Beta
0.04
Num Generations
4
Max Completion Length
1024
Reward Functions (3 verifiable rewards)
Reward
Range
Description
Accuracy
0.85 to 1.0
Verifies correctness against gold answers using domain-specific comparators
Format
0.64 to 0.82
Checks structured output format (think/answer tags)
Reasoning
0.55 to 0.79
Evaluates reasoning chain quality and mathematical notation
Total
2.36 to 2.55
Combined reward signal
Training Dynamics
Metric
Value
Final Loss
~0.0002
KL Divergence
0.004 to 0.015
Usage
Loading the Model
This adapter requires a two-step loading process since it was trained on top of the Phase 1 merged model:
python
1from transformers import AutoModelForCausalLM, AutoTokenizer
2from peft import PeftModel
3import torch
45# Step 1: Load the Phase 1 merged model as base6base_model = AutoModelForCausalLM.from_pretrained(7"Alogotron/GameTheory-Solver",# or your local phase1_merged path8 torch_dtype=torch.bfloat16,9 device_map="auto",10)1112# Step 2: Apply the GRPO Reasoner adapter13model = PeftModel.from_pretrained(base_model,"Alogotron/GameTheory-Reasoner")14model.eval()1516# Load tokenizer17tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-7B-Instruct")
Inference
python
1system_prompt =(2"You are a game theory expert. Solve the following problem step by step. "3"Show your reasoning clearly, then provide your final answer."4)56problem ="Consider a 2-player game with the following payoff matrix: ""L: (3,2) (1,4), R: (2,3) (4,1). Find all Nash Equilibria."78messages =[9{"role":"system","content": system_prompt},10{"role":"user","content": problem},11]1213prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)14inputs = tokenizer(prompt, return_tensors="pt").to(model.device)1516with torch.no_grad():17 output = model.generate(**inputs, max_new_tokens=1024, do_sample=False)1819response = tokenizer.decode(output[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True)20print(response)
"Game Theory Meets Large Language Models: A Systematic Survey" — IJCAI 2025 (arxiv:2502.09053) — The definitive survey on game theory × LLMs, covering RLHF alignment, multi-agent interactions, and strategic reasoning.
DeepMind SHOR-PSRO (April 2026) — LLM-driven rewriting of game theory algorithms that outperformed hand-designed baselines (MarkTechPost).
GT-HarmBench — Game-theoretic framing for AI safety benchmarking (arxiv:2602.12316).
📄 Citation
bibtex
1@model{alogotron_gametheory_reasoner_2026,
2 author = {Alogotron},
3 title = {GameTheory-Reasoner: GRPO-Trained Game Theory Reasoning Model},
4 year = {2026},
5 publisher = {Hugging Face},
6 url = {https://huggingface.co/Alogotron/GameTheory-Reasoner},
7 note = {Phase 2 GRPO adapter with +6\% reasoning quality improvement}
8}