[Paper Review] Deep Reinforcement Learning with Model Learning and Monte Carlo Tree Search in Minecraft
This paper proposes a model-based reinforcement learning approach that combines a deep neural network (DNN)-based transition model with Monte Carlo Tree Search (MCTS) to solve a block-placing task in Minecraft. The model predicts next-frame observations and immediate rewards from four consecutive frames and actions, enabling sample-efficient planning via MCTS, achieving performance comparable to Deep Q-Networks (DQN) but with significantly faster learning and lower data requirements.
Deep reinforcement learning has been successfully applied to several visual-input tasks using model-free methods. In this paper, we propose a model-based approach that combines learning a DNN-based transition model with Monte Carlo tree search to solve a block-placing task in Minecraft. Our learned transition model predicts the next frame and the rewards one step ahead given the last four frames of the agent's first-person-view image and the current action. Then a Monte Carlo tree search algorithm uses this model to plan the best sequence of actions for the agent to perform. On the proposed task in Minecraft, our model-based approach reaches the performance comparable to the Deep Q-Network's, but learns faster and, thus, is more training sample efficient.
Motivation & Objective
- To investigate whether planning with a learned model can achieve performance comparable to model-free DQN in a partially observable visual environment like Minecraft.
- To improve sample efficiency by combining model learning with Monte Carlo Tree Search (MCTS) for planning in a block-placing task.
- To evaluate the impact of one-step-ahead reward prediction on MCTS performance in structured visual environments.
- To analyze the trade-offs between model-based planning and model-free Q-learning in terms of training speed, data efficiency, and final performance.
- To identify limitations of frame-based models due to short-term memory and suggest future use of recurrent networks.
Proposed method
- A deep convolutional neural network is trained to predict the next observation (64×64 grayscale frame) and immediate reward from the last four frames and the current action.
- The transition model is integrated into a Monte Carlo Tree Search (MCTS) algorithm to plan optimal action sequences by simulating future trajectories.
- UCT (Upper Confidence bound for Trees) is used as the tree policy with a UCB1-based exploration strategy, tuned with a k-value of 8 to balance exploration and exploitation.
- The MCTS agent uses a discount factor of 0.95 for future rewards, empirically chosen to reduce variance in reward predictions.
- The model is trained end-to-end on trajectories collected from the Minecraft environment using the Malmo framework.
- For comparison, a standard DQN agent with the same input (four frames) is trained using the original DQN architecture and hyperparameters.
Experimental results
Research questions
- RQ1Can a learned model-based agent with MCTS achieve performance comparable to a DQN agent in a visually complex, partially observable environment like Minecraft?
- RQ2How does the inclusion of one-step-ahead reward prediction affect the performance of the MCTS agent in the block-placing task?
- RQ3To what extent is the model-based approach more data-efficient than model-free DQN in this task?
- RQ4What are the primary failure modes of the model-based approach, particularly regarding error accumulation in long-horizon rollouts?
- RQ5Can a frame-based model with limited context (last four frames) effectively support planning, or is recurrent modeling necessary?
Key findings
- The MCTS agent achieved a 72% success rate after 5 million training steps, closely matching the DQN agent’s 74% success rate, demonstrating competitive performance.
- The MCTS agent reached a 64% success rate after 1 million steps, while the DQN agent only achieved 12% at the same point, showing superior sample efficiency.
- The MCTS agent with one-step-ahead reward prediction achieved a 70% success rate after 2.5 million steps, compared to only 30% without it, proving the critical role of immediate reward supervision.
- The model-based approach required 1.5 million fewer training steps than DQN to match the DQN’s performance, highlighting its data efficiency.
- The DQN agent exhibited significant Q-value overestimation in the first 1.7 million steps, which persisted despite learning rate adjustments.
- The model-based agent’s performance was limited by the short context window (last four frames), leading to incorrect predictions when past information was no longer visible.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.