Skip to main content
QUICK REVIEW

[Paper Review] Question Asking as Program Generation

Anselm Rothe, Brenden M. Lake|arXiv (Cornell University)|Nov 16, 2017
Topic ModelingComputer Science21 references9 citations
TL;DR

This paper proposes a computational model that treats human question asking as program generation, where questions are formal programs evaluating to answers in a given world state. By modeling questions as probabilistic programs favoring informativeness and simplicity, the model predicts human question frequencies and generates novel, human-like questions in a game-based learning task, outperforming baselines in predicting human behavior and demonstrating creativity beyond training data.

ABSTRACT

A hallmark of human intelligence is the ability to ask rich, creative, and revealing questions. Here we introduce a cognitive model capable of constructing human-like questions. Our approach treats questions as formal programs that, when executed on the state of the world, output an answer. The model specifies a probability distribution over a complex, compositional space of programs, favoring concise programs that help the agent learn in the current context. We evaluate our approach by modeling the types of open-ended questions generated by humans who were attempting to learn about an ambiguous situation in a game. We find that our model predicts what questions people will ask, and can creatively produce novel questions that were not present in the training set. In addition, we compare a number of model variants, finding that both question informativeness and complexity are important for producing human-like questions.

Motivation & Objective

  • To develop a computational model of human question asking that captures the richness and creativity of natural language inquiries.
  • To formalize question generation as probabilistic program synthesis over a compositional space of possible questions.
  • To evaluate whether informativeness and complexity jointly predict human question preferences in ambiguous learning contexts.
  • To generate novel, semantically coherent questions not present in the training data, demonstrating creativity and relevance.
  • To provide a predictive, cognitive model of open-ended, goal-directed question asking in humans.

Proposed method

  • Questions are modeled as formal programs that, when executed on a possible world state, return an answer (e.g., True/False, numbers, sets).
  • A probabilistic program synthesis framework uses an energy-based model to assign probabilities to programs based on their informativeness (measured by expected information gain) and complexity (program length).
  • The model employs a compositional grammar supporting logical operations, set manipulations, arithmetic, and attribute queries over game states (e.g., ship size, color, position).
  • Inference is performed via weighted sampling from the program space, with rejection of duplicates or equivalent questions based on answer distribution similarity.
  • Model parameters are trained to maximize the likelihood of observed human questions in a game-based information search task.
  • The model is evaluated by comparing predicted question frequencies to human data and by generating novel questions not in the training set.

Experimental results

Research questions

  • RQ1Can a formal program generation framework predict which questions humans will ask in ambiguous learning scenarios?
  • RQ2How do informativeness and complexity jointly influence human question selection?
  • RQ3Can the model generate novel, semantically meaningful, and contextually relevant questions not present in the training data?
  • RQ4How does the model’s performance compare to variants that ignore informativeness, complexity, or question type?
  • RQ5To what extent does the model capture the cognitive trade-off between question utility and cognitive effort?

Key findings

  • The full model, which incorporates both informativeness and complexity, achieved a correlation of 0.78 between predicted and human question frequencies, significantly outperforming baseline models.
  • The model’s performance was robust even with sparse human data, as it outperformed models that ignored either informativeness or complexity, which achieved correlations of 0.65 and -0.36, respectively.
  • The model successfully generated five novel, human-like questions across four game contexts, including complex, multi-part queries such as 'Are blue and purple ships touching and red and purple not touching (or vice versa)?'
  • The model produced questions that were semantically equivalent to human questions only 12% of the time, indicating strong novelty and creative diversity.
  • There was no significant correlation between question frequency and expected information gain (EIG) alone, suggesting that complexity and other factors are essential for modeling human behavior.
  • The model demonstrated that combining semantic coherence, informativeness, and simplicity leads to more accurate and creative question generation than models relying on a single factor.

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.