Reproduce “Transformers Can Navigate Mazes With Multi-Step Prediction” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Niklas Nolte, Ouail Kitouni, Adina Williams, Mike Rabbat, Mark Ibrahim
Transformer models trained with a Masked Language Modeling - Uniform (MLM-U) objective demonstrate enhanced long-term planning capabilities in maze navigation tasks, outperforming standard next-token prediction. This objective leads to significantly higher navigation accuracy, improved data efficiency, and faster computational convergence across various maze complexities.
Key insights
- Explicitly learning to predict multiple steps ahead and backwards through MLM-U fosters a more robust planning capability in transformers than step-by-step autoregressive prediction.
- The learning objective itself is a critical factor influencing transformer models' planning abilities, with MLM-U enabling models to identify global optimal paths without external planning supervision.
- The precision of positional encodings plays a crucial role for MLM-U in complex maze navigation, where 32-bit precision significantly improves accuracy by enabling precise mapping of learned paths to positions.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.