ClarifyDelphi: Reinforced Clarification Questions with Defeasibility Rewards for Social and Moral Situations

Valentina Pyatkin, Jena D. Hwang, Vivek Srikumar, Ximing Lu, Liwei Jiang +2 more
12/20/2022
54 citations
cs.CL

Official code: allenai/clarifydelphi (13 stars, Python, Apache-2.0, last commit 2024-04-24). 1 more implementation below.

Abstract

Context is everything, even in commonsense moral reasoning. Changing contexts can flip the moral judgment of an action; "Lying to a friend" is wrong in general, but may be morally acceptable if it is intended to protect their life.

Show full abstract

We present ClarifyDelphi, an interactive system that learns to ask clarification questions (e.g., why did you lie to your friend?) in order to elicit additional salient contexts of a social or moral situation. We posit that questions whose potential answers lead to diverging moral judgments are the most informative. Thus, we propose a reinforcement learning framework with a defeasibility reward that aims to maximize the divergence between moral judgments of hypothetical answers to a question. Human evaluation demonstrates that our system generates more relevant, informative and defeasible questions compared to competitive baselines. Our work is ultimately inspired by studies in cognitive science that have investigated the flexibility in moral cognition (i.e., the diverse contexts in which moral rules can be bent), and we hope that research in this direction can assist both cognitive and computational investigations of moral judgments.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
allenai/clarifydelphiOfficial13PythonApache-2.02024-04-24
ValentinaPy/ClarifyDOfficial6PythonApache-2.02023-05-22
Apache-2.0
131PythonMay 22, 20232 years agoApache-2.0
Apache-2.0
61PythonDec 14, 20223 years agoApache-2.0

Similar Papers

Cite this paper

@article{pyatkin2022clarifydelphi,
  title  = {ClarifyDelphi: Reinforced Clarification Questions with Defeasibility Rewards for Social and Moral Situations},
  author = {Valentina Pyatkin and Jena D. Hwang and Vivek Srikumar and Ximing Lu and Liwei Jiang and Yejin Choi and Chandra Bhagavatula},
  year   = {2022},
  eprint = {2212.10409},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.10409}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.10409.svg)](https://codeofpaper.com/paper/2212.10409)

Discussion