Introduction
Human beings are "question-generating machines," navigating an infinite space of possible inquiries with remarkable efficiency. In a game like Battleship, players must identify which question—out of millions of grammatically valid options—will most effectively reveal the hidden state of the board. Researchers from MIT and Harvard have introduced LIPS (Language-Informed Program Sampling), a model that mimics this human ability by combining the linguistic fluency of Large Language Models (LLMs) with the mathematical precision of Bayesian "Expected Information Gain" (EIG).
While previous cognitive models used symbolic programs to represent questions, they often failed to capture the natural "prior" of human speech. Conversely, modern LLMs excel at natural language but struggle with "grounding"—connecting words to the actual logic and spatial constraints of a game board. LIPS addresses this gap between linguistic competence and grounded reasoning.
Methodology: The LIPS Framework
The LIPS framework operates as a neuro-symbolic Monte Carlo search process designed to identify the most informative questions based on the current board state.
The process follows four key steps:
- Language Prior: An LLM (e.g., GPT-4 or CodeLlama) stochastically samples $k$ candidate questions in natural language based on the current board state.
- Translation to LoT: The model translates these questions into a symbolic "Language of Thought" (LoT)—a Domain-Specific Language (DSL) tailored for Battleship.
- Simulation & Scoring: Using a Bayesian internal world model, the system simulates possible answers across a hypothesis space of valid boards to calculate the Expected Information Gain (EIG)—a measure of how much a question reduces uncertainty.
- Selection: The model selects and "asks" the question with the highest EIG.
Experimental Setup
The study utilizes a human benchmark dataset from Rothe et al. (2017), containing 605 question-board pairs from 40 participants across 18 unique scenarios. This dataset serves as the "gold standard" for both informativeness and the stylistic distribution of human questions. The researchers also tested various board representations, including ASCII grids, textual descriptions, and raw images for multimodal models.
Key Results and Insights
The LIPS model demonstrates that LLMs are highly effective as "priors" rather than pure reasoners. While LLMs alone (at $k=1$) often ask redundant or uninformative questions, they serve as excellent proposal distributions that capture human-like biases.
Key findings include:
- Resource Rationality: With a budget of just $k=5$ samples, the LIPS model reaches mean human performance (1.27 bits). This aligns with theories suggesting humans only consider a handful of hypotheses before acting.
- Translation Fidelity: GPT-4 successfully translated 88% of natural language questions into valid, executable code.
- The Grounding Gap: Surprisingly, GPT-4V (the vision model) provided no improvement over non-visual baselines. It struggled to utilize the board's visual structure to formulate better questions, suggesting that visual perception and spatial reasoning remain distinct challenges.
- Informativeness: At $k=10$, LIPS significantly outperformed the human mean. Without EIG filtering, however, roughly 33-40% of LLM-generated questions were uninformative (EIG = 0).
Conclusion and Future Work
LIPS represents a successful "hybrid intelligence" approach, using LLMs for the nuances of language and symbolic programs for rigorous logic and math. Future work may explore program induction to learn the Language of Thought directly from data, multi-turn dialogues where questions build upon previous answers, and more sophisticated search algorithms for more complex environments.
Summary updated