arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.17156cs.CLcs.AIcs.LG
收藏

意图检测问题的可解释性:一种新方法

Interpretability of the Intent Detection Problem: A New Approach

Departamento de Ciencias de la Computación e Inteligencia Artificial, \orgname Universidad de Sevilla(计算机科学与人工智能系,塞维利亚大学)

Eduardo Sanchez-Karhunen, Jose F. Quesada-Moreno, Miguel A. Gutiérrez-Naranjo

AI总结:

本文提出了一种基于动力系统理论的新方法,用于解释RNN在意图检测任务中的性能差异,通过分析数据集特性对网络计算解的影响。

摘要:

意图检测,一个基本的文本分类任务,旨在识别和标记用户查询的语义,在许多业务应用中发挥着重要作用。尽管深度学习技术在这一领域占据主导地位,但使循环神经网络(RNNs)能够解决意图检测任务的内部机制仍不为人知。在本工作中,我们应用动力系统理论来分析RNN架构如何解决这个问题,使用了平衡的SNIPS和不平衡的ATIS数据集。通过将句子视为隐藏状态空间中的轨迹,我们首先表明,在平衡的SNIPS数据集上,网络学习了一个理想解:受限于低维流形的状体空间被划分为对应于每个意图的 distinct clusters。将这一框架应用于不平衡的ATIS数据集,揭示了这种理想几何解如何被类别不平衡扭曲,导致低频意图的聚类退化。我们的框架将几何分离与读取对齐解耦,提供了一种新的、机制性的解释,以解释现实世界性能差异。这些发现为RNN动态提供了新的见解,提供了数据集属性如何直接塑造网络计算解的几何解释。

英文摘要:

Intent detection, a fundamental text classification task, aims to identify and label the semantics of user queries, playing a vital role in numerous business applications. Despite the dominance of deep learning techniques in this field, the internal mechanisms enabling Recurrent Neural Networks (RNNs) to solve intent detection tasks are poorly understood. In this work, we apply dynamical systems theory to analyze how RNN architectures address this problem, using both the balanced SNIPS and the imbalanced ATIS datasets. By interpreting sentences as trajectories in the hidden state space, we first show that on the balanced SNIPS dataset, the network learns an ideal solution: the state space, constrained to a low-dimensional manifold, is partitioned into distinct clusters corresponding to each intent. The application of this framework to the imbalanced ATIS dataset then reveals how this ideal geometric solution is distorted by class imbalance, causing the clusters for low-frequency intents to degrade. Our framework decouples geometric separation from readout alignment, providing a novel, mechanistic explanation for real world performance disparities. These findings provide new insights into RNN dynamics, offering a geometric interpretation of how dataset properties directly shape a network's computational solution.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑