about
Grounded Language Model Reasoning Through Simulation (arxiv.org)
2 points by nl on Oct 23, 2022 | hide | past | pdf | discuss on HN

In plain words: Before answering a physics question, the system runs a quick computer simulation of the situation and gives the outcome to the language model as a clue. This raised accuracy by 27.9 points over text-only answering, letting small models match ones 100 times bigger.

Abstract · Mind's Eye: Grounded Language Model Reasoning through Simulation

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.

Ruibo Liu, Jason Wei, Shixiang Shane Gu, Te-Yen Wu, Soroush Vosoughi, Claire Cui, Denny Zhou, Andrew M. Dai
arXiv:2210.05359 · cs.CL, cs.AI · submitted Oct 11, 2022
abstract · pdf · html

add comment on HN