Interpretability in Action: Exploratory Analysis of VPT, a Minecraft Agent
Karolis Jucys, George Adamopoulos, Mehrab Hamidi, Stephanie Milani, Mohammad Reza Samsami, Artem Zholus, Sonia Joseph, Blake Richards, Irina Rish, Özgür Şimşek
TL;DR
This study probes interpretability of VPT, a 250M-parameter Minecraft agent, by applying mechanistic interpretability techniques to a long-horizon task in MineRL. It analyzes attention weights/outputs, saliency, and ablations, and conducts input manipulations and behavioral interventions. Key findings show that VPT preserves task coherence using a short memory window of $128$ frames ($ ext{about }6$ s) and relies on recent frames plus key event frames; it also uncovers a genuine risk of goal misgeneralization where a brown villager under leaves is mistaken for a tree and attacked. The work highlights limitations (environmental specificity, seed variation) and argues for scalable, automatic interpretability methods to improve safety and transparency of vision-based agents.
Abstract
Understanding the mechanisms behind decisions taken by large foundation models in sequential decision making tasks is critical to ensuring that such systems operate transparently and safely. In this work, we perform exploratory analysis on the Video PreTraining (VPT) Minecraft playing agent, one of the largest open-source vision-based agents. We aim to illuminate its reasoning mechanisms by applying various interpretability techniques. First, we analyze the attention mechanism while the agent solves its training task - crafting a diamond pickaxe. The agent pays attention to the last four frames and several key-frames further back in its six-second memory. This is a possible mechanism for maintaining coherence in a task that takes 3-10 minutes, despite the short memory span. Secondly, we perform various interventions, which help us uncover a worrying case of goal misgeneralization: VPT mistakenly identifies a villager wearing brown clothes as a tree trunk when the villager is positioned stationary under green tree leaves, and punches it to death.
