CausalSent: Interpretable Sentiment Classification with RieszNet

Daniel Frees, Martin Pollack
8/25/2025
cs.CLcs.LG

No confident code implementation found for this paper.

Abstract

Despite the overwhelming performance improvements offered by recent natural language processing (NLP) models, the decisions made by these models are largely a black box. Towards closing this gap, the field of causal NLP combines causal inference literature with modern NLP models to elucidate causal effects of text features. We replicate and extend Bansal et al's work on regularizing text classifiers to adhere to estimated effects, focusing instead on model interpretability. Specifically, we focus on developing a two-headed RieszNet-based neural network architecture which achieves better treatment effect estimation accuracy. Our framework, CausalSent, accurately predicts treatment effects in semi-synthetic IMDB movie reviews, reducing MAE of effect estimates by 2-3x compared to Bansal et al's MAE on synthetic Civil Comments data. With an ensemble of validated models, we perform an observational case study on the causal effect of the word "love" in IMDB movie reviews, finding that the presence of the word "love" causes a +2.9% increase in the probability of a positive sentiment.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{frees2025causalsent,
  title  = {CausalSent: Interpretable Sentiment Classification with RieszNet},
  author = {Daniel Frees and Martin Pollack},
  year   = {2025},
  eprint = {2508.17576},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.17576v2}
}

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

Discussion