Skip to main content
QUICK REVIEW

[Paper Review] Mind's Eye: Grounded Language Model Reasoning through Simulation

Ruibo Liu, Jason Lee|arXiv (Cornell University)|Oct 11, 2022
Topic ModelingComputer Science22 citations
TL;DR

Mind’s Eye grounds language model reasoning with a physics simulator (MuJoCo) by translating questions into rendering code, running simulations, and injecting results into prompts to improve physics reasoning. It yields substantial gains, especially for smaller models.

ABSTRACT

Successful and effective communication between humans and AI relies on a shared experience of the world. By training solely on written text, current language models (LMs) miss the grounded experience of humans in the real-world -- their failure to relate language to the physical world causes knowledge to be misrepresented and obvious mistakes in their reasoning. We present Mind's Eye, a paradigm to ground language model reasoning in the physical world. Given a physical reasoning question, we use a computational physics engine (DeepMind's MuJoCo) to simulate the possible outcomes, and then use the simulation results as part of the input, which enables language models to perform reasoning. Experiments on 39 tasks in a physics alignment benchmark demonstrate that Mind's Eye can improve reasoning ability by a large margin (27.9% zero-shot, and 46.0% few-shot absolute accuracy improvement on average). Smaller language models armed with Mind's Eye can obtain similar performance to models that are 100x larger. Finally, we confirm the robustness of Mind's Eye through ablation studies.

Motivation & Objective

  • Motivate the need for grounded reasoning beyond text-only training.
  • Introduce Utopia, a multi-task physics alignment benchmark for basic physical principles.
  • Propose a three-component Mind’s Eye pipeline (text-to-code LM, physics simulator, foundation model).
  • Demonstrate that simulation-grounded prompts improve reasoning accuracy, especially for smaller LMs, and compare with existing methods.

Proposed method

  • Develop a text-to-code learner that converts questions into MuJoCo-rendering XML (MCJF) code.
  • Use MuJoCo to simulate physical outcomes and convert results into prompt augmentations.
  • Prompt a foundation LM with the question plus simulation-grounded hints to produce an answer.
  • Create 200k text-code pairs to train 0.3B and 1.5B text-to-code LMs from scratch, with pretraining on C4.
  • Construct the Utopia physics alignment benchmark with 39 sub-tasks across six scenes, using a physics engine to generate ground-truth answers.

Experimental results

Research questions

  • RQ1Can large language models accurately reason about basic physics without grounding in the physical world?
  • RQ2Does augmenting LM reasoning with external physics simulation improve zero-shot and few-shot performance across model sizes?
  • RQ3Is Mind’s Eye scalable and robust across different LM sizes and prompting regimes?

Key findings

  • Mind’s Eye yields 18.4% absolute improvement in zero-shot and 34.2% in few-shot accuracy on average across sizes.
  • Smaller LMs augmented with Mind’s Eye can reach or exceed the performance of much larger vanilla LMs.
  • Instruct-GPT augmented with Mind’s Eye approaches near-perfect few-shot performance in this setting (68.6% to 99.1%).
  • Mind’s Eye outperforms several other reasoning enhancements (CoT, Zero-shot Reasoner, Self-Consistency, DiVerSe, RAG, T0-pp, Minerva) on Utopia across zero- and few-shot settings.
  • Correct and consistent simulation results are crucial for grounding; mismatched or incorrect simulations substantially degrade performance.
  • The approach decouples domain-specific physics knowledge from general reasoning, enabling smaller LMs to perform competitively.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.