arXiv:2506.01781cs.LGcs.AI2025-06

通过上下文注意力提升客服聊天机器人意图识别准确率

Enhancing Customer Service Chatbots with Context-Aware NLU through Selective Attention and Multi-task Learning

  • 引入选择性注意力模块,融合订单状态等上下文信息增强意图判断
  • 在真实数据上实现顶2准确率提升4.8%,优于仅用查询语句的基线模型
  • 已部署于沃尔玛客服系统,每年节省近百万美元人力成本

客服聊天机器人需精准识别用户意图以引导自动化流程。当前多数模型仅依赖用户查询,难以处理如‘我没收到包裹’这类模糊表述——可能指订单延迟或已送达但未签收,二者需不同处理路径。本文提出一种上下文感知的自然语言理解模型MTL-CNLU-SAWC,结合用户查询与订单状态信息,采用选择性注意力模块提取关键上下文特征,并通过多任务学习有效利用多种标签数据。实验显示,该方法在顶2准确率上比仅使用查询的基线模型提升4.8%,比现有最优模型提升3.5%。模型已在沃尔玛客服领域上线,显著减少人工转接,每年节省近百万美元。

原文摘要 · Abstract (English)

Customer service chatbots are conversational systems aimed at addressing customer queries, often by directing them to automated workflows. A crucial aspect of this process is the classification of the customer's intent. Presently, most intent classification models for customer care utilise only customer query for intent prediction. This may result in low-accuracy models, which cannot handle ambiguous queries. An ambiguous query like "I didn't receive my package" could indicate a delayed order, or an order that was delivered but the customer failed to receive it. Resolution of each of these scenarios requires the execution of very different sequence of steps. Utilizing additional information, such as the customer's order delivery status, in the right manner can help identify the intent for such ambiguous queries. In this paper, we have introduced a context-aware NLU model that incorporates both, the customer query and contextual information from the customer's order status for predicting customer intent. A novel selective attention module is used to extract relevant context features. We have also proposed a multi-task learning paradigm for the effective utilization of different label types available in our training data. Our suggested method, Multi-Task Learning Contextual NLU with Selective Attention Weighted Context (MTL-CNLU-SAWC), yields a 4.8% increase in top 2 accuracy score over the baseline model which only uses user queries, and a 3.5% improvement over existing state-of-the-art models that combine query and context. We have deployed our model to production for Walmart's customer care domain. Accurate intent prediction through MTL-CNLU-SAWC helps to better direct customers to automated workflows, thereby significantly reducing escalations to human agents, leading to almost a million dollars in yearly savings for the company.

意图识别上下文感知多任务学习客服机器人

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