Thinking Aloud: Dynamic Context Generation Improves Zero-Shot Reasoning Performance of GPT-2

By Gregor Betz, Kyle Richardson, Christian Voigt. 2021

34 citations recorded by the source corpus.

Thinking aloud is an effective meta-cognitive strategy human reasoners apply to solve difficult problems. We suggest to improve the reasoning ability of pre-trained neural language models in a similar way, namely by expanding a task's context with problem elaborations that are dynamically generated by the language model itself. Our main result is that dynamic problem elaboration significantly improves the zero-shot performance of GPT-2 in a deductive reasoning and natural language inference task: While the model uses a syntactic heuristic for predicting an answer, it is capable (to some degree) of generating reasoned additional context which facilitates the successful application of its heuristic. We explore different ways of generating elaborations, including fewshot learning, and find that their relative performance varies with the specific problem characteristics (such as problem difficulty). Moreover, the effectiveness of an elaboration can be explained in terms of the degree to which the elaboration semantically coheres with the corresponding problem. In particular, elaborations that are most faithful to the original problem description may boost accuracy by up to 24%.

Subfields: Artificial Intelligence, Prompting & Reasoning

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Noah A. Smith
  2. Luke S. Zettlemoyer
  3. Michael Lewis
  4. Mohit Bansal
  5. Percy Liang
  6. Hannaneh Hajishirzi
  7. Yejin Choi
  8. Greg Durrett

In Prompting & Reasoning

  1. Carrie J. Cai
  2. Michael Lewis
  3. Sewon Min
  4. Noah A. Smith
  5. Kaj Bostrom
  6. Greg Durrett
  7. Xinyu Zhao
  8. Jimmy Ba

Citations in the corpus