Causal Prompting for Implicit Sentiment Analysis With Large Language Models
Jing Ren, Wenhao Zhou, Bowen Li, Mujie Liu, Nguyen Linh Dan Le, Jiade Cen, Liping Chen, Ziqi Xu,
RMIT University · Federation University
Key points
From the paper's conclusion- While recent prompting-based methods using large language models (LLMs) have shown promise in ISA, they often rely on majority voting over chain-of-thought (CoT) reasoning paths without evaluating their causal validity, making them susceptible to internal biases and spurious correlations.
Abstract
Implicit sentiment analysis (ISA) aims to infer sentiment that is implied rather than explicitly stated, requiring models to perform deeper reasoning over subtle contextual cues. While recent prompting-based methods using large language models (LLMs) have shown promise in ISA, they often rely on majority voting over chain-of-thought (CoT) reasoning paths without evaluating their causal validity, making them susceptible to internal biases and spurious correlations. To address this challenge, we propose CAPITAL, a causal prompting framework that incorporates front-door adjustment into CoT reasoning. CAPITAL decomposes the overall causal effect into two components: the influence of the input prompt on the reasoning chains, and the impact of those chains on the final output. These components are estimated using encoder-based clustering and the NWGM approximation, with a contrastive learning objective used to better align the encoder’s representation with the LLM’s reasoning space. Experiments on benchmark ISA datasets with three LLMs demonstrate that CAPITAL consistently outperforms strong prompting baselines in both accuracy and robustness, particularly under adversarial conditions. This work offers a principled approach to integrating causal inference into LLM prompting and highlights its benefits for bias-aware sentiment reasoning. The source code and case study are available at:https://github.com/whZ62/CAPITAL.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Unpacking Bias in LLMs: A Causal Testing PerspectiveACM Transactions on Software Engineering and Methodology · 2026
- From Causal Plausibility to Causal Reliability: Evaluating LLMs as Calibrated Direct Causal-Edge ClassifiersarXiv · 2026
- Causal Inference with Generative Artificial Intelligence: Application to Texts as TreatmentsJournal of the American Statistical Association · 2026
- From Counterfactual Edits to Human Narratives: LLM-Driven Interpretations for Recommender System ExplanationsarXiv · 2026
- Aligning Language Models Towards Counterfactual InvariancearXiv · 2026
- Leveraging generative AI for causal inference with unstructured data.Proceedings of the National Academy of Sciences of the United States of America · 2026