Skip to main content
QUICK REVIEW

[Paper Review] Modeling question asking using neural program generation

Ziyun Wang, Brenden M. Lake|arXiv (Cornell University)|Jul 23, 2019
Multimodal Machine Learning ApplicationsComputer Science22 references11 citations
TL;DR

This paper proposes a neuro-symbolic framework that models human question asking by generating formal programs representing questions, using a transformer-based encoder-decoder network trained via supervised learning or reinforcement learning. The method generates diverse, high-information-gain questions—matching human-like creativity and structure—without requiring human-annotated question data when trained with reinforcement learning.

ABSTRACT

People ask questions that are far richer, more informative, and more creative than current AI systems. We propose a neuro-symbolic framework for modeling human question asking, which represents questions as formal programs and generates programs with an encoder-decoder based deep neural network. From extensive experiments using an information-search game, we show that our method can predict which questions humans are likely to ask in unconstrained settings. We also propose a novel grammar-based question generation framework trained with reinforcement learning, which is able to generate creative questions without supervised human data.

Motivation & Objective

  • To model human question-asking behavior in information-search tasks, such as Battleship, where only partial state information is available.
  • To address the limitations of data-driven neural question generation models, which lack diversity and creativity and require large annotated datasets.
  • To develop a framework that generates questions as formal programs, enabling compositional, interpretable, and semantically precise question synthesis.
  • To train the model without human-annotated question data using reinforcement learning, while still producing questions that reflect human-like patterns.
  • To evaluate the model on both predictive accuracy (density estimation) and creative generation of novel, informative questions.

Proposed method

  • Represents questions as formal programs in a domain-specific language (DSL), enabling precise, compositional, and interpretable question generation.
  • Uses a convolutional neural network (CNN) encoder to process the partially observable game state into a dense representation.
  • Employs a Transformer decoder to generate question programs token-by-token, conditioned on the encoded state.
  • Trains the model in a supervised manner using a small number of human-annotated questions after pre-training on automatically generated questions.
  • Applies reinforcement learning with a reward function based on expected information gain (EIG) to train the model without human question annotations.
  • Introduces a grammar-guided decoding strategy that allows conditional generation of specific question types (e.g., true/false, number, location-based) by initializing the decoding process from specific non-terminal symbols.

Experimental results

Research questions

  • RQ1Can a neural program generation model predict which questions humans are likely to ask in unconstrained, partially observable settings?
  • RQ2Can a reinforcement learning-based approach generate creative, human-like questions without relying on human-annotated question data?
  • RQ3To what extent do model-generated questions match the structure, diversity, and information content of human questions?
  • RQ4How does the use of program representations improve the interpretability and quality of generated questions compared to natural language generation?
  • RQ5Can the model flexibly generate different types of questions (e.g., true/false, compositional) by conditioning the decoding process?

Key findings

  • The reinforcement learning model generated questions with an average expected information gain (EIG) of 0.924, indicating high informativeness, despite no human demonstration data.
  • The RL model without a step penalty achieved the highest diversity and EIG (92.4% of questions had EIG > 0), though it also produced many meaningless questions.
  • With a step penalty of 0.2, the RL model generated questions with 5.79 tokens on average and showed strong alignment with human question patterns, especially regarding ship size and orientation.
  • The top 10 most frequent questions from the RL model and humans were highly similar, both favoring questions about ship size and orientation.
  • The model generated novel, creative questions such as "What is the size of the blue ship plus the purple ship?" and "Where is the bottom right tile of all the blue and purple tiles?", demonstrating compositional creativity.
  • Grammar-guided decoding enabled the model to generate specific question types (e.g., true/false, number, location) on demand, showing flexibility akin to human question-asking.

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.