Graph-to-text counterfactual verification for interpretable emotion recognition in conversation.

IF 6.7 Q2 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE
Frontiers in Artificial Intelligence Pub Date : 2026-11-18 eCollection Date: 2026-01-01 DOI:10.3389/frai.2026.1926067
Jia Liu, Shibo Jin, Zhenyu Deng, Xueliang Zhang, Zibo Xu
{"title":"Graph-to-text counterfactual verification for interpretable emotion recognition in conversation.","authors":"Jia Liu, Shibo Jin, Zhenyu Deng, Xueliang Zhang, Zibo Xu","doi":"10.3389/frai.2026.1926067","DOIUrl":null,"url":null,"abstract":"<p><p>Emotion Recognition in Conversation (ERC) requires models to infer utterance-level emotions from both local wording and dialogue-level context. Graph-based ERC methods capture speaker interactions and contextual dependencies, but their graph representations are usually consumed by task-specific classifiers. They are therefore difficult to expose to large language models (LLMs) as transparent reasoning evidence. In contrast, direct LLM prompting can generate explanations, but it often lacks explicit structural grounding and rarely compares alternative emotion hypotheses in a systematic way. To address these limitations, we propose GATOC-ERC, a graph-to-text counterfactual prompting framework for text-only ERC. The framework first builds an utterance-level dialogue graph to encode local conversational dependencies. A Producer and GraphTranslator pipeline then converts graph-derived node, neighbor, and relation information into textual graph-context summaries. These summaries can be used by a frozen LLM through standard text prompts. Given this graph-conditioned evidence, the model performs counterfactual emotion verification. It generates candidate-specific rationales for possible emotions and contrasts them to select the most contextually consistent label. Experiments on IEMOCAP and MELD show that GATOC-ERC achieves competitive text-only ERC performance while producing interpretable reasoning traces. Ablation, faithfulness, cross-dataset transfer, prompt sensitivity, and cost analyses further clarify the contribution and limitations of the graph-to-text interface and the counterfactual verification process.</p>","PeriodicalId":33315,"journal":{"name":"Frontiers in Artificial Intelligence","volume":"9 ","pages":"1926067"},"PeriodicalIF":6.7000,"publicationDate":"2026-11-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13824136/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Frontiers in Artificial Intelligence","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3389/frai.2026.1926067","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/1/1 0:00:00","PubModel":"eCollection","JCR":"Q2","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0

Abstract

Emotion Recognition in Conversation (ERC) requires models to infer utterance-level emotions from both local wording and dialogue-level context. Graph-based ERC methods capture speaker interactions and contextual dependencies, but their graph representations are usually consumed by task-specific classifiers. They are therefore difficult to expose to large language models (LLMs) as transparent reasoning evidence. In contrast, direct LLM prompting can generate explanations, but it often lacks explicit structural grounding and rarely compares alternative emotion hypotheses in a systematic way. To address these limitations, we propose GATOC-ERC, a graph-to-text counterfactual prompting framework for text-only ERC. The framework first builds an utterance-level dialogue graph to encode local conversational dependencies. A Producer and GraphTranslator pipeline then converts graph-derived node, neighbor, and relation information into textual graph-context summaries. These summaries can be used by a frozen LLM through standard text prompts. Given this graph-conditioned evidence, the model performs counterfactual emotion verification. It generates candidate-specific rationales for possible emotions and contrasts them to select the most contextually consistent label. Experiments on IEMOCAP and MELD show that GATOC-ERC achieves competitive text-only ERC performance while producing interpretable reasoning traces. Ablation, faithfulness, cross-dataset transfer, prompt sensitivity, and cost analyses further clarify the contribution and limitations of the graph-to-text interface and the counterfactual verification process.

对话中可解释情感识别的图-文反事实验证。
对话中的情绪识别(ERC)要求模型从局部措辞和对话层面的语境中推断出话语层面的情绪。基于图的ERC方法捕获说话人的交互和上下文依赖关系,但它们的图表示通常由特定于任务的分类器使用。因此,它们很难作为透明的推理证据暴露给大型语言模型(llm)。相比之下,直接的法学硕士提示可以产生解释,但它往往缺乏明确的结构基础,很少以系统的方式比较不同的情感假设。为了解决这些限制,我们提出了GATOC-ERC,这是一个纯文本ERC的图形到文本反事实提示框架。该框架首先构建一个话语级对话图来编码本地会话依赖关系。然后,Producer和GraphTranslator管道将图派生的节点、邻居和关系信息转换为文本的图上下文摘要。冻结的LLM可以通过标准文本提示使用这些摘要。给定这个图形条件证据,该模型执行反事实情感验证。它为可能的情绪生成候选人特定的理由,并将它们进行对比,以选择最符合上下文的标签。在IEMOCAP和MELD上的实验表明,GATOC-ERC在产生可解释推理痕迹的同时,取得了具有竞争力的纯文本ERC性能。消融、忠实度、跨数据集传输、即时敏感性和成本分析进一步阐明了图形到文本界面和反事实验证过程的贡献和局限性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
6.10
自引率
2.50%
发文量
272
审稿时长
13 weeks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书