Learning to Play Blackjack: A Curriculum Learning Perspective
Organizations: Leibniz University Hannover, Hannover, Germany · Leibniz AI Academy, Hannover, Germany
Abstract
Reinforcement Learning (RL) agents often struggle with efficiency and performance in complex environments. We propose a novel framework that uses a Large Language Model (LLM) to dynamically generate a curriculum over available actions, enabling the agent to incorporate each action individually. We apply this framework to the game of Blackjack, where the LLM creates a multi-stage training path that progressively introduces complex actions to a Tabular Q-Learning and a Deep Q-Network (DQN) agent. Our evaluation in a realistic 8-deck simulation over 10 independent runs demonstrates significant performance gains over standard training methods. The curriculum-based approach increases the DQN agent's average win rate from 43.97% to 47.41%, reduces the average bust rate from 32.9% to 28.0%, and accelerates the overall workflow by over 74%, with the agent's full training completing faster than the baseline's evaluation phase alone. These results validate that LLM-guided curricula can build more effective, robust, and efficient RL agents.
Figures & tables
| Stage | Available Actions | DQN (%) | Tabular (%) |
|---|---|---|---|
| 1: Hit/Stand | 0,1 | 42.24 | 39.74 |
| 2: +Double | 0,1,2 | 42.37 | 38.72 |
| 3: +Split (no Double) | 0,1,3 | 45.54 | 38.78 |
| 4: Full Basic (0–3) | 0,1,2,3 | 49.42 | 38.15 |
| 5: +Insurance | 0,1,2,3,5 | 48.66 | 40.00 |
| 6: +Surrender | 0,1,2,3,4 | 46.57 | 37.78 |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
Curriculum RL
Curriculum reinforcement learning organizes tasks, examples, or training conditions to help agents learn complex behaviors efficiently.
See all 121 papers