[论文解读] Interpretability of the Intent Detection Problem: A New Approach
该论文采用动力系统视角分析用于 SNIPS 与 ATIS 的意图检测的 RNN,表明在 SNIPS 出现低维状态空间几何结构,而在 ATIS 由于数据不平衡而被扭曲,并提出了读出–几何解耦框架。
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.
研究动机与目标
- 激励并研究基于 RNN 的意图检测的可解释性。
- 描述 RNN 为 SNIPS 与 ATIS 构建的低维状态空间几何。
- 解释数据属性(例如类别不平衡)如何扭曲最优几何分离。
- 提出一个将几何分离与读出对齐解耦的诊断框架。
提出的方法
- 将句子视为 RNN 隐含状态空间中的轨迹。
- 识别固定点并在其周围线性化动力学(Hartman-Grobman 视角)。
- 在低维子空间中分析吸引子流形、吸引盆地和读出对齐。
- 在 SNIPS 与 ATIS 上用嵌入 + 循环层 + 全连接输出训练普通 RNN、LSTM 和 GRU。
- 使用 TensorFlow 2,损失函数为交叉熵,优化器为 Adam,报告准确率(目标 >93%)。
- 将几何分离与读出对齐进行对比,以解释性能差异。

实验结果
研究问题
- RQ1解决 SNIPS 与 ATIS 的意图检测时,RNN 的状态空间如何组织?
- RQ2数据集结构(平衡 vs 不平衡)如何影响几何解和读出对齐?
- RQ3固定点拓扑与吸引子动力学能否解释跨意图的实际性能差距?
- RQ4将几何分离与读出解耦是否揭示误分类背后的不同机械模式?
主要发现
- 在 SNIPS 中,状态空间形成一个低维流形,具有每个意图的明显簇。
- 在 ATIS 中,类别不平衡扭曲理想几何解,降低低频意图的表现。
- 读出对齐于状态空间的远端区域,通过读出矩阵的行实现预测。
- 一个诊断框架将几何分离与读出对齐解耦,揭示四种机械模式解释性能差异。
- 该研究将数据集属性与网络学习的内在几何联系起来,提供对意图检测中 RNN 动力学的机械性解释。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。