Maieutic Prompting: Logically Consistent Reasoning with Recursive Explanations

Jaehun Jung, Lianhui Qin, Sean Welleck, Faeze Brahman, Chandra Bhagavatula, Ronan Le Bras, Yejin Choi

Introduction: The Fragility of LLM Reasoning

Large Language Models (LLMs) like GPT-3 have demonstrated remarkable capabilities in generating human-like text and explanations. However, their reasoning often lacks a solid logical foundation. While techniques like Chain-of-Thought (CoT) prompting encourage models to "think aloud," these generated explanations are frequently unreliable or inconsistent.

The authors identify three primary types of logical failures in current explanation-based prompting:

  1. Non-sequiturs: The provided explanation does not logically lead to the final answer.
  2. Negation Invariance: The model assigns the same truth value to a statement and its direct negation.
  3. Self-Falsification: The model's final answer contradicts the logic presented in its own explanation.
Common logical failures in explanation-based prompting: Non-sequiturs, Negation Invariance, and Self-Falsification.

The fundamental challenge is inferring a correct answer from a model that is prone to generating noisy, inconsistent internal knowledge.

Methods: The Maieutic Prompting Pipeline

Maieutic Prompting addresses these issues by moving away from linear chains of thought toward a structured Maieutic Tree. This method is inspired by the Socratic "maieutic" technique of eliciting latent ideas through recursive questioning.

The process consists of several key stages:

  1. Abductive Explanation Generation: Instead of asking for a single answer, the model is prompted to rationalize both "True" and "False" hypotheses (e.g., "Q: X is True, because..."). This forces the model to reveal its internal knowledge for both sides of an argument.
  2. Recursive Tree Building: Each explanation is treated as a new proposition. The model recursively explains these explanations, forming a tree structure.
  3. Logical Integrity & Belief: The system evaluates "logical integrity"—whether the model consistently treats a statement and its negation as opposites—and calculates a "belief" score for leaf nodes.
  4. Defining Relations: A Natural Language Inference (NLI) model (such as RoBERTa) acts as a verifier to identify entailment and contradiction relations between nodes.
  5. Inference via MAX-SAT: The tree is converted into a Weighted MAX-SAT problem. A symbolic solver finds the truth assignment for every node that satisfies the most logical constraints, weighted by the model's confidence. The final answer is the truth value assigned to the root node.
The Maieutic Prompting pipeline: from recursive tree generation to logical relation definition and final MAX-SAT inference.

Evaluation and Results

The method was evaluated on several challenging benchmarks requiring deep commonsense and factual reasoning: Com2Sense, CSQA 2.0, CREAK, and StrategyQA.

Key Results

  • Significant Accuracy Boosts: Maieutic Prompting outperformed standard prompting and Chain-of-Thought by up to 20% on Com2Sense and CSQA 2.0.
  • Competitive Performance: Despite being an unsupervised prompting method, it performed on par with specialized models fine-tuned on thousands of examples.
  • Robustness to Negation: By explicitly checking the relationship between $Q$ and $\neg Q$, the system is significantly more robust to semantic perturbations than standard methods.
  • Interpretability: The maieutic tree provides a transparent map of the model's reasoning process, allowing humans to pinpoint exactly where logic succeeds or fails.

Key Insights

The core strength of Maieutic Prompting lies in the "Wisdom of the Tree." While an LLM might hallucinate at a single step, its global knowledge structure is often more consistent. By aggregating constraints across the entire tree, the MAX-SAT solver can effectively "outvote" individual errors. Furthermore, abduction (rationalizing a specific label) proves more effective at eliciting specific knowledge than open-ended generation.

Limitations

The primary drawback is computational cost, as building a recursive tree requires significantly more API calls than linear prompting. Additionally, the current implementation is optimized for binary questions and relies heavily on the quality of the external NLI model used for defining logical relations.

Summary updated

BibTeX
@inproceedings{jung2022maieutic,
  author = {Jaehun Jung and Lianhui Qin and Sean Welleck and Faeze Brahman and Chandra Bhagavatula and Ronan Le Bras and Yejin Choi},
  title = {{Maieutic Prompting: Logically Consistent Reasoning with Recursive Explanations}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2022},
  doi = {10.18653/v1/2022.emnlp-main.82},
}
Figure