Training a Minesweeper Agent Using a Convolutional Neural Network
Open Access
- 25 February 2025
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 15 (5) , 2490
Abstract
The Minesweeper game is modeled as a sequential decision-making task, for which a neural network architecture, state encoding, and reward function were herein designed. Both a Deep Q-Network (DQN) and supervised learning methods were successfully applied to optimize the training of the game. The experiments were conducted on the AutoDL platform using an NVIDIA RTX 3090 GPU for efficient computation. The results showed that in a 6 × 6 grid with four mines, the DQN model achieved an average win rate of 93.3% (standard deviation: 0.77%), while the supervised learning method achieved 91.2% (standard deviation: 0.9%), both outperforming human players and baseline algorithms and demonstrating high intelligence. The mechanisms of the two methods in the Minesweeper task were analyzed, with the reasons for the faster training speed and more stable performance of supervised learning explained from the perspectives of means–ends analysis and feedback control. Although there is room for improvement in sample efficiency and training stability in the DQN model, its greater generalization ability makes it highly promising for application in more complex decision-making tasks.Keywords
Funding Information
- Young Innovative Talents Project (2019KQNCX013)
This publication has 10 references indexed in Scilit:
- Human Trajectory Imputation Model: A Hybrid Deep Learning Approach for Pedestrian Trajectory ImputationApplied Sciences, 2025
- A concise review of intelligent game agentEntertainment Computing, 2024
- An Algorithm for Predicting Vehicle Behavior in High-Speed Scenes Using Visual and Dynamic Graphical Neural Network InferenceApplied Sciences, 2024
- A Survey of Robot Intelligence with Large Language ModelsApplied Sciences, 2024
- Unified structure-aware feature learning for Graph Convolutional NetworkExpert Systems with Applications, 2024
- CodeFusion: A Pre-trained Diffusion Model for Code Generation2023
- Human-level control through deep reinforcement learningNature, 2015
- Minesweeper is NP-completeThe Mathematical Intelligencer, 2000
- On teaching mathematicsRussian Mathematical Surveys, 1998
- Cybernetics, or control and communication in the animal and the machine (2nd ed.).1961