Policy Learning with a Natural Language Action Space: A Causal Approach

Bohan Zhang, Yixin Wang, Paramveer S. DhillonarXiv 2025 · DOI

Introduction

In many real-world scenarios—such as a therapist refining a treatment plan over several weeks or a chatbot de-escalating a toxic conversation—decisions are made in stages, and the "actions" are snippets of natural language. Traditional AI approaches face two massive hurdles in these environments: an infinite, high-dimensional action space and the presence of delayed rewards and confounding variables. Standard Reinforcement Learning (RL) methods like Proximal Policy Optimization (PPO) often struggle due to the computational intensity of exploring combinatorial sentence spaces and the requirement for massive amounts of data to remain stable.

A Causal Framework for Language Actions

Researchers from the University of Michigan have developed a novel causal framework that treats language as a sequence of treatments. By framing the problem through the lens of Dynamic Treatment Regimes (DTR) and Q-learning, the model learns to identify actions that cause a better outcome, rather than just those that happen to appear in successful historical sequences.

The proposed causal framework for multi-stage natural language decision-making, illustrating the interaction between the LM agent, the Q-function, and the observed data.

Methodology

The core of the approach involves training a text classifier to act as a Q-function. This classifier evaluates the "history" (previous inputs and actions) alongside the "current action" (text representation) to predict the probability of a positive final outcome.

Instead of searching for optimal words directly in a discrete space, the system performs gradient ascent in latent space. It iteratively nudges language embeddings—mathematical vectors representing the text—to maximize the classifier's predicted success probability. To convert these optimized embeddings back into coherent English, the authors utilize a specialized T5 encoder-decoder model. A final fluency filter using GPT-2 ensures the output remains natural-sounding by balancing outcome transfer with low perplexity.

Experimental Evaluation

The framework was evaluated across three diverse domains:

  • Intern Health Study (IHS): Mental health interventions grounded in real patient trajectories.
  • DIALOCONAN: Countering hate speech with effective "counter-narratives."
  • Yelp & Amazon Reviews: Sentiment style transfer benchmarks.

Key Results

The proposed method, particularly the "Two-Time Sampling" (TTS) variant, consistently outperformed state-of-the-art baselines such as DeleteAndRetrieve and Prompt-Edit. On the Yelp dataset, the model achieved a 90.5% transfer strength, significantly higher than the 74.8% achieved by prompt-based editing.

Performance metrics across IHS, Yelp, and DIALOCONAN (DC) datasets. The proposed methods (TTS and OS) show superior balance in similarity, strength, and fluency.

As shown in the results table, the authors' method led across all real-world datasets when using the Geometric Mean (GM) to balance fluency, content similarity, and transfer strength. Furthermore, in blind human evaluations, the model achieved a 45.3% success rate (scoring 4/5 or higher on all criteria), nearly doubling the 26% success rate of retrieval-based baselines. Notably, traditional PPO baselines failed to converge on the same data, highlighting the superior data efficiency of this causal approach.

Limitations and Future Outlook

While the results are promising, the authors acknowledge that the model occasionally "hallucinates" information not present in the source text and can introduce minor grammatical errors during the gradient ascent process. Future work will focus on scaling this framework from two-stage decision-making to much longer sequences and addressing the inherent challenges of highly sensitive tasks like mental health intervention.

Summary updated

Abstract

This paper introduces a novel causal framework for multi-stage decision-making in natural language action spaces where outcomes are only observed after a sequence of actions. While recent approaches like Proximal Policy Optimization (PPO) can handle such delayed-reward settings in high-dimensional action spaces, they typically require multiple models (policy, value, and reward) and substantial training data. Our approach employs Q-learning to estimate Dynamic Treatment Regimes (DTR) through a single model, enabling data-efficient policy learning via gradient ascent on language embeddings. A key technical contribution of our approach is a decoding strategy that translates optimized embeddings back into coherent natural language. We evaluate our approach on mental health intervention, hate speech countering, and sentiment transfer tasks, demonstrating significant improvements over competitive baselines across multiple metrics. Notably, our method achieves superior transfer strength while maintaining content preservation and fluency, as validated through human evaluation. Our work provides a practical foundation for learning optimal policies in complex language tasks where training data is limited.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
YelpTwo-time sampling (TTS)Transfer strength90.5%setting=multi-stage
Source quote
L199: Tables \ref{tab:results-combined} present the results of various models on the three datasets. In a multi-stage setting, our two-time sampling (TTS) method outperforms the baseline model on all three datasets in HM and GM metrics, which comprehensively reflect overall performance across multiple metrics. TTS method demonstrates superior transfer strength on all three datasets, reaching 90.5% on Yelp and exceeding other models by more than 7.4% on Amazon and 30% on IHS. Compared to PE, TTS achieves better fluency scores across all datasets. In terms of content preservation, it outperforms PE by over 14%+ on both IHS and DC datasets. Compared to DR, TTS shows over 10% improvement in similarity on the IHS dataset and over 14% improvement on the DC dataset. On the Yelp dataset, TTS achieves comparable similarity while demonstrating better fluency scores.
Human evaluation · dataset not specified in the cited linesOurs (proposed method; configuration not specified in the human-evaluation table)Successful rewrites45.3%+4.3 vs baselineEach sample’s rating averages three raters; successful rewrites require scores of 4 or …
Source quote
L218: Suc. Rewrites │ 45.3% │ 41.0% │ 26% │ 78%
Human evaluation · dataset not specified in the cited linesOurs (proposed method; configuration not specified in the human-evaluation table)Sentiment4.0+1 vs baselineHuman-evaluation ratings averaged across three raters per sample and then across sample…
Source quote
L217: Sentiment │ 4.0 │ 3.0 │ 4.2 │ 4.3
Reported baseline / comparator measurements (2)
BenchmarkMethodMetricScoreProtocol / Evidence
Human evaluation · dataset not specified in the cited linesPrompt-Edit (PE) baselineSuccessful rewrites41.0%Each sample’s rating averages three raters; successful rewrites require scores of 4 or …
Source quote
L218: Suc. Rewrites │ 45.3% │ 41.0% │ 26% │ 78%
Human evaluation · dataset not specified in the cited linesPrompt-Edit (PE) baselineSentiment3.0Human-evaluation ratings averaged across three raters per sample and then across sample…
Source quote
L217: Sentiment │ 4.0 │ 3.0 │ 4.2 │ 4.3
BibTeX
@misc{zhang2025policy,
  author = {Bohan Zhang and Yixin Wang and Paramveer S. Dhillon},
  title = {{Policy Learning with a Natural Language Action Space: A Causal Approach}},
  year = {2025},
  eprint = {2502.17538},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.17538},
}
Figure