计算机科学 ›› 2026, Vol. 53 ›› Issue (11A): 260400010-369.doi: 10.11896/jsjkx.260400010

• 人工智能 • 上一篇    下一篇

面向智能客服的多轮对话异常检测研究

韦国惠, 杜若榕, 李姗珊, 于波, 覃恺   

  1. 广西电网有限责任公司 南宁 530031
  • 出版日期:2026-11-16 发布日期:2026-11-16
  • 通讯作者: 韦国惠(262598883@qq.com)

Multi-turn Dialogue Anomaly Detection Method for Intelligent Customer Service

WEI Guohui, DU Ruorong, LI Shanshan, YU Bo, QIN Kai   

  1. Guangxi Power Grid Co.,Ltd.,Nanning 530031,China
  • Published:2026-11-16 Online:2026-11-16
  • About author:WEI Guohui,born in 1984,bachelor,senior engineer,senior economist.Her main research interests include power industry software and power artificial intelligence.

摘要: 随着智能客服系统(ICS)在金融、电力、政务等领域的广泛应用,其在多轮对话场景下的异常行为问题日益突出。当前,ICS面临着两类常见的会话异常行为:答非所问(Irrelevant)和重复询问(Redundant)。这些异常不仅影响用户体验,还可能导致系统效率下降,增加人工干预成本。对此,提出了一种基于双视角建模与对比学习的对话异常检测方法(LGRNet)。该方法通过构建局部语义视角与全局交互视角,联合建模对话中的语义关系与交互结构:局部视角利用Bi-LSTM捕捉相邻轮次间的细粒度语义关系,对重复询问异常高度敏感;全局视角通过关系图注意力网络(RGAT)建模对话级结构,有效捕捉长距离依赖与逻辑一致性。在双视角建模的基础上引入对比学习机制,包括视角内对比损失与跨视角对比损失,提升了正常与异常对话在表示空间中的判别能力。在广西电网智能客服系统中收集的真实多轮对话数据集(PGD)上进行实验,结果表明,提出的方法在检测两类异常行为时,均显著优于现有的基线模型,尤其在重复询问异常检测任务中的F1值提升达9.90个百分点。实验结果验证了所提方法在提高对话异常检测性能方面的有效性与鲁棒性。

关键词: 智能客服, 多轮对话异常检测, LGRNet, 双视角建模, 对比学习

Abstract: With the widespread deployment of intelligent customer service(ICS) systems across sectors such as finance,power grids,and government affairs,anomalous behaviors in multi-turn dialogue scenarios have become increasingly prominent.Curren-tly,ICS frameworks are confronted with two prevalent types of conversational anomalies:irrelevant answers(Irrelevant) and redundant inquiries(Redundant).These anomalies not only degrade user experience but also impair system efficiency and escalate manual intervention costs.To address this issue,this paper proposes a dialogue anomaly detection method based on dual-view modeling and contrastive learning,termed LGRNet.By constructing a local semantic view and a global interaction view,the proposed method jointly models semantic relationships and structural interactions within dialogues.Specifically,the local view leverages a Bi-LSTM to capture fine-grained semantic relations between adjacent turns,rendering it highly sensitive to redundant inquiry anomalies.Concurrently,the global view utilizes a relational graph attention network(RGAT) to model dialogue-level structures,effectively capturing long-distance dependencies and logical consistency.Building upon this dual-view framework,a contrastive learning mechanism is introduced—comprising intra-view and cross-view contrastive losses-to enhance the discriminative capacity between normal and anomalous dialogues within the representation space.Extensive experiments are conducted on the PGD(Power Grid Dialogue) corpus,a real-world multi-turn dataset collected from the Guangxi Power Grid Intelligent Customer Service System,demonstrate that the proposed method significantly outperforms existing baseline models in detecting both types of anomalies.Notably,it achieves an F1-score improvement of up to 9.90 percentage points in the redundant inquiry detection task.Experimental results validate the effectiveness and robustness of the proposed method in advancing dialogue anomaly detection performance.

Key words: Intelligent customer service, Multi-turn dialogue anomaly detection, LGRNet, Dual-view modeling, Contrastive lear-ning

中图分类号: 

  • TP183
[1] CHEN D,YU Z.Sources of noise in dialogue and how to deal with them[C]//Proceedings of the 24th Annual Meeting of the Special Interest Group on Discourse and Dialogue.2023:1-20.
[2] WELLECK S,WESTON J,SZLAM A,et al.Dialogue naturallanguage inference[C]//Proceedings of the 57th Annual Mee-ting of the Association for Computational Linguistics.2019:3731-3741.
[3] JABBAR M S M,KUMAR L,SAMUEL H W,et al.Deepdup:duplicate question detection in community question answering[C]//Proceedings of the 2021 5th International Conference on Deep Learning Technologies.2021:8-12.
[4] FENG T,QU L,KANG X,et al.Causalscore:an automatic ref-erence-free metric for assessing response relevance in open-domain dialogue systems[C]//Proceedings of the 31st Interna-tional Conference on Computational Linguistics.2025:2351-2369.
[5] ZHANG M,JIN L,SONG L,et al.Inconsistent dialogue responses and how to recover from them[J].arXiv:2401.10353,2024.
[6] ZHENG C,ZHOU J,ZHENG Y,et al.CDConv:A benchmark for contradiction detection in Chinese conversations[C]//Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing.2022:18-29.
[7] OTHMAN N,FAIZ R,SMAÏLI K.Improving the community question retrieval performance using attention-based siamese LSTM[C]//International Conference on Applications of Natural Language to Information Systems.Cham:Springer International Publishing,2020:252-263.
[8] GAO W,YANG B,XIAO Y,et al.Duplicate question detection in community-based platforms via interaction networks[J].Multimedia Tools and Applications,2024,83(4):10881-10898.
[9] LOPES J,SALVI G,SKANTZE G,et al.Detecting repetitions in spoken dialogue systems using phonetic distances[C]//Interspeech.2015,15:1805-1809.
[10] ZHANG C,CHEN Y,D’HARO L F,et al.DynaEval:Unifying turn and dialogue level evaluation[C]//Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing(Volume 1:Long Papers).2021:5676-5689.
[11] BODIGUTLA P K,TIWARI A,MATSOUKAS S,et al.Jointturn and dialogue level user satisfaction estimation on multi-domain conversations[C]//Findings of the Association for Computational Linguistics(EMNLP 2020).2020:3897-3909.
[12] SANDBANK T,SHMUELI-SCHEUER M,HERZIG J,et al.Detecting egregious conversations between customers and virtual agents[C]//Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics:Human Language Technologies,Volume 1(Long Papers).2018:1802-1811.
[13] WALKER M A,LANGKILDE-GEARY I,HASTIE H W,et al.Automatically training a problematic dialogue predictor for a spoken dialogue system[J].Journal of Artificial Intelligence Research,2002,16:293-319.
[14] MAJUMDER N,PORIA S,HAZARIKA D,et al.Dialoguernn:An attentive rnn for emotion detection in conversations[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2019:6818-6825.
[15] GHOSAL D,MAJUMDER N,PORIA S,et al.Dialoguegcn:A graph convolutional neural network for emotion recognition in conversation[J]. arXiv:1908.11540,2019.
[16] ZHANG D,CHEN F,CHEN X.Dualgats:Dual graph attention networks for emotion recognition in conversations[C]//Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics(Volume 1:Long Papers).2023:7395-7408.
[17] QIN X,WU Z,ZHANG T,et al.Bert-erc:Fine-tuning bert is enough for emotion recognition in conversation[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2023:13492-13500.
[18] SHEN W,CHEN J,QUAN X,et al.Dialogxl:All-in-one xlnet for multi-party conversation emotion recognition[C]//Procee-dings of the AAAI Conference on Artificial Intelligence.2021:13789-13797.
[19] KIM T,VOSSEN P.Emoberta:Speaker-aware emotion recognition in conversation with roberta[J].arXiv:2108.12009,2021.
[20] GHOSAL D,MAJUMDER N,GELBUKH A,et al.Cosmic:Commonsense knowledge for emotion identification in conversations[J].arXiv:2010.02795,2020.
[21] HU D,WEI L,HUAI X.Dialoguecrn:Contextual reasoning networks for emotion recognition in conversations[J].arXiv:2106.01978,2021.
[22] SHI T,HUANG S L.MultiEMO:An attention-based correlation-aware multimodal fusion framework for emotion recognition in conversations[C]//Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics(Volume 1:Long Papers).2023:14752-14766.
[23] DENG T S, CAI G Y, DONG K,et al.Decoupled emotion dependencies and cross-modal awareness for emotion recognition in conversations[J].Journal of Image and Graphics,2026,31(2):525-540.
[24] KHOSLA P,TETERWAK P,WANG C,et al.Supervised contrastive learning[J].Advances in Neural Information Processing Systems,2020,33:18661-18673.
[25] HU D,BAO Y,WEI L,et al.Supervised adversarial contrastive learning for emotion recognition in conversations[J].arXiv:2306.01505,2023.
[26] TU G,LIANG B,MAO R,et al.Context or knowledge is not al-ways necessary:A contrastive learning framework for emotion recognition in conversations[C]//Findings of the Association for Computational Linguistics:ACL 2023.2023:14054-14067.
[27] LI S,YAN H,QIU X.Contrast and generation make bart a good dialogue emotion recognizer[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2022:11002-11010.
[28] CUI Y,CHE W,LIU T,et al.Revisiting pre-trained models for Chinese natural language processing[C]//Findings of the Association for Computational Linguistics(EMNLP 2020).2020:657-668.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!