arXiv:2608.22745cs.CLcs.AI2026-08

用固定大小记忆体让大模型记住对话情绪线索,提升情感识别准确率。

DiaRelay: Relaying Dialogue Context with a Constant-Size Memory for Emotion Recognition in Conversation

论文配图:DiaRelay: Relaying Dialogue Context with a Constant-Size Memory for Emotion Recognition in Conversation
图 1 · 摘自论文原文
  • 设计轻量级记忆组件,动态聚合历史对话关键信息并传递到后续判断中
  • 在MELD数据集上达到最新最优的加权F1和准确率,仅增710万参数
  • 适合需要高效理解长对话情绪的场景,如智能客服、心理陪伴机器人

对话中的情绪识别(ERC)需捕捉分散在远距离对话轮次中的细微情感线索。现有方法多采用固定上下文窗口处理历史对话,短窗口会丢失长期证据,扩大窗口则重复编码重叠内容,增加计算与内存开销,并引入无关信息。此外,常用参数高效适配方法如LoRA仅在特征空间引入固定低秩变换,未显式维护对话级状态或根据对话演进动态调整。为此,我们提出轻量适配器DiaRelay,使大模型能显式维护对话级记忆以实现精准情感识别。基于LoRA,DiaRelay引入两个紧密协作组件:选择性中继记忆转移与双轴中继记忆读取。前者逐步将有用的历史证据聚合至有界中继记忆中,并跨轮次传递,使早期情绪线索影响后续预测,无需重新编码完整对话历史或扩展主干上下文长度;后者利用传播的记忆动态调制低秩特征变换,实现上下文依赖的表示适配,无需测试时梯度更新。大量实验表明,DiaRelay在MELD上取得最新最优的加权F1与准确率,且在IEMOCAP上表现竞争力,仅增加710万可训练参数,证明其有效性与泛化能力。

原文摘要 · Abstract (English)

Emotion Recognition in Conversation (ERC) requires models to identify subtle emotional cues that are often distributed across distant dialogue turns. Existing methods typically incorporate dialogue history through a fixed context window. However, short windows discard potentially useful long-range evidence, while enlarging the window repeatedly re-encodes overlapping utterances, increases computational and memory costs, and may introduce irrelevant context. Moreover, commonly used parameter-efficient adaptation methods, such as LoRA, mainly introduce fixed low-rank transformations in the feature space and do not explicitly maintain a dialogue-level state or condition their transformations on the evolving conversational context. To address these limitations, we propose a lightweight adapter, DiaRelay, to enable LLMs to explicitly maintain a dialogue-level memory for accurate ERC. Based on LoRA, DiaRelay introduces two extra tightly collaborative components, Selective Relay Memory Transition and Dual-axis Relay Memory Read. Selective Relay Memory Transition progressively aggregates useful historical evidence into a bounded relay memory and propagates it across successive utterance predictions. This allows earlier emotional cues to influence later predictions after they leave the local context window, without re-encoding the complete dialogue history or expanding the backbone context length. Dual-axis Relay Memory Read uses the propagated memory to dynamically modulate low-rank feature transformations, enabling context-dependent representation adaptation without test-time gradient updates. Extensive experiments show that DiaRelay can achieve SOTA weighted F1 and accuracy on MELD while obtaining competitive results on IEMOCAP with only an extra 7.1M trainable parameters, indicating the effectiveness and generalizability of our DiaRelay in enhancing LLM-based emotional understanding.

情感识别对话理解记忆机制LoRA

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。