Causal Inference for Human-Language Model Collaboration

Bohan Zhang, Yixin Wang, Paramveer S. Dhillon
3/30/2024
cs.CLcs.AIcs.LG

No official code found. Best implementation: XMUBQ/dtr-text (1 star, last commit 2024-06-24).

Abstract

In this paper, we examine the collaborative dynamics between humans and language models (LMs), where the interactions typically involve LMs proposing text segments and humans editing or responding to these proposals. Productive engagement with LMs in such scenarios necessitates that humans discern effective text-based interaction strategies, such as editing and response styles, from historical human-LM interactions. This objective is inherently causal, driven by the counterfactual `what-if' question: how would the outcome of collaboration change if humans employed a different text editing/refinement strategy? A key challenge in answering this causal inference question is formulating an appropriate causal estimand: the conventional average treatment effect (ATE) estimand is inapplicable to text-based treatments due to their high dimensionality. To address this concern, we introduce a new causal estimand -- Incremental Stylistic Effect (ISE) -- which characterizes the average impact of infinitesimally shifting a text towards a specific style, such as increasing formality. We establish the conditions for the non-parametric identification of ISE. Building on this, we develop CausalCollab, an algorithm designed to estimate the ISE of various interaction strategies in dynamic human-LM collaborations. Our empirical investigations across three distinct human-LM collaboration scenarios reveal that CausalCollab effectively reduces confounding and significantly improves counterfactual estimation over a set of competitive baselines.

View on arXivView PDF

Code Implementations(1)

XMUBQ/dtr-textCommunity100%
10PythonSep 23, 20222 years ago

Similar Papers

Cite this paper

@article{zhang2024causal,
  title  = {Causal Inference for Human-Language Model Collaboration},
  author = {Bohan Zhang and Yixin Wang and Paramveer S. Dhillon},
  year   = {2024},
  eprint = {2404.00207},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.00207v1}
}

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/2404.00207.svg)](https://codeofpaper.com/paper/2404.00207)

Discussion