Skip to main content
QUICK REVIEW

[Paper Review] Let's Do a Thought Experiment: Using Counterfactuals to Improve Moral Reasoning

Xiao Ma, Swaroop Mishra|arXiv (Cornell University)|Jun 25, 2023
Adversarial Robustness in Machine LearningComputer Science3 citations
TL;DR

This paper introduces Thought Experiments prompting, a new framework that uses counterfactual reasoning to improve moral reasoning in language models. By instructing models to generate multiple moral counterfactuals before answering, the method boosts accuracy on the MMLU Moral Scenarios task by 9–16% over zero-shot baselines, with few-shot fine-tuning reaching 80% accuracy using just five examples.

ABSTRACT

Language models still struggle on moral reasoning, despite their impressive performance in many other tasks. In particular, the Moral Scenarios task in MMLU (Multi-task Language Understanding) is among the worst performing tasks for many language models, including GPT-3. In this work, we propose a new prompting framework, Thought Experiments, to teach language models to do better moral reasoning using counterfactuals. Experiment results show that our framework elicits counterfactual questions and answers from the model, which in turn helps improve the accuracy on Moral Scenarios task by 9-16% compared to other zero-shot baselines. Interestingly, unlike math reasoning tasks, zero-shot Chain-of-Thought (CoT) reasoning doesn't work out of the box, and even reduces accuracy by around 4% compared to direct zero-shot. We further observed that with minimal human supervision in the form of 5 few-shot examples, the accuracy of the task can be improved to as much as 80%.

Motivation & Objective

  • To address the persistent failure of language models in moral reasoning tasks, especially on the MMLU Moral Scenarios benchmark.
  • To investigate whether counterfactual thinking—inspired by human thought experiments—can enhance model reasoning beyond standard chain-of-thought prompting.
  • To develop a prompting framework that elicits diverse reasoning paths through moral counterfactuals, improving model alignment with human moral standards.
  • To evaluate the effectiveness of zero-shot and few-shot variants of the Thought Experiments prompting method on moral reasoning tasks.
  • To explore why standard zero-shot chain-of-thought fails on moral reasoning, unlike in math reasoning, and propose a more effective alternative.

Proposed method

  • The Thought Experiments prompting framework instructs language models to generate multiple detailed moral counterfactual questions for each scenario before answering.
  • For each scenario, the model is prompted to explore 'what if' variations—such as changes in intent, consent, or consequences—to probe moral implications.
  • The method emphasizes divergent reasoning paths by asking the model to consider alternative outcomes, permissions, and justifications.
  • The framework is applied in both zero-shot and few-shot settings, with minimal human supervision in the few-shot variant.
  • Counterfactuals are used to evaluate moral permissibility by analyzing whether actions remain morally acceptable under different hypothetical conditions.
  • Final answers are derived only after a comprehensive exploration of multiple moral counterfactuals, with emphasis on identifying moral conflicts and justifications.

Experimental results

Research questions

  • RQ1Can counterfactual reasoning through thought experiments improve language models' performance on moral reasoning tasks?
  • RQ2Why does standard zero-shot chain-of-thought fail on moral reasoning, unlike in math reasoning tasks?
  • RQ3How effective is Thought Experiments prompting compared to other zero-shot and few-shot baselines on the MMLU Moral Scenarios benchmark?
  • RQ4To what extent can minimal human supervision (e.g., five few-shot examples) improve moral reasoning accuracy using this framework?
  • RQ5Does exploring multiple hypothetical scenarios lead to more consistent and accurate moral judgments than linear reasoning paths?

Key findings

  • Thought Experiments prompting improved accuracy on the MMLU Moral Scenarios task by 9–16% compared to other zero-shot baselines.
  • Zero-shot chain-of-thought reasoning reduced accuracy by approximately 4% compared to direct zero-shot prompting, indicating its ineffectiveness for moral reasoning.
  • With only five few-shot examples, the framework achieved up to 80% accuracy on the Moral Scenarios task, demonstrating strong few-shot generalization.
  • The method successfully elicited diverse counterfactual questions and answers from the model, which were instrumental in improving moral judgment accuracy.
  • The exploration of multiple hypothetical scenarios helped models identify moral conflicts and justify conclusions more effectively than linear reasoning.
  • The results suggest that moral reasoning benefits more from divergent, counterfactual exploration than from sequential, linear reasoning paths.

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.