Lumine 2: how a pixels-in, keys-out game agent works

13 steps · about 8 h 10 min · Intermediate

  1. Let's build GPT: from scratch, in code, spelled out (video, Andrej Karpathy (YouTube), 2 h)

    Lumine 2 is a transformer language model at its core, so you start by building attention and the decoder stack yourself.

  2. Introduction to Vision Language Models (doc, Hugging Face smol-course, 15 min)

    A short overview of VLMs, including the vision-language-action models that output actions rather than text.

  3. Introduction to Vision Language Models (tutorial, Hugging Face Community Computer Vision Course, 30 min)

    Explains how images and text are fused into one model, which is how the agent turns screen pixels into decisions.

  4. Supervised Learning of Behaviors - CS 185/285 (reference, UC Berkeley, Sergey Levine, 40 min)

    Introduces behavioral cloning, the idea of training on human demonstrations that game agents like Lumine build on.

  5. Behavioral Cloning Part 2 - CS 185/285 (reference, UC Berkeley, Sergey Levine, 40 min)

    Shows why imitation drifts off course over long tasks and what fixes it, including pretraining and multi-task data.

  6. Learning to play Minecraft with Video PreTraining (article, OpenAI, 20 min)

    The classic example of an agent that uses a keyboard and mouse and learns from huge amounts of gameplay video.

  7. Video PreTraining (VPT): Learning to Act by Watching Unlabeled Online Videos (reference, OpenAI (Baker et al.), 1 h)

    The full paper covers how data was collected, filtered and labeled, which prepares you for Lumine's 8,788-hour dataset.

  8. Voyager: An Open-Ended Embodied Agent with Large Language Models (article, NVIDIA and collaborators (MineDojo), 20 min)

    A contrasting design in which an LLM writes code and builds a skill library, so you can compare it with pixel-to-action control.

  9. Voyager: An Open-Ended Embodied Agent with Large Language Models (reference, arXiv (Wang et al.), 45 min)

    Covers the curriculum, skill library and iterative prompting in detail.

  10. Quantization Overview (doc, Hugging Face Transformers docs, 20 min)

    Explains why a 4-bit model needs a fraction of the memory, which is why community forks of Lumine 2 can run on consumer GPUs.

  11. Quantization concepts (doc, Hugging Face Transformers docs, 25 min)

    Teaches affine quantization, PTQ and QAT, so terms like W4A16 and FP8 in the repo make sense.

  12. LumineResearch/Lumine2 (repo, GitHub, Lumine Research, 40 min)

    With the background in place, read the real inference server and Windows client to see the screen-capture and input loop.

  13. LumineResearch/Lumine2 (doc, Hugging Face, 15 min)

    The model card describes the real-time serving engine and links the technical report and dataset for further study.