arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.02838cs.LGcs.CLstat.ML
收藏

将意图检测问题解释为低维空间中的动力学

Interpretation of the Intent Detection Problem as Dynamics in a Low-dimensional Space

University of Seville(塞维利亚大学)

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

AI总结:

本文从动力系统视角分析不同 RNN 架构在 SNIPS 意图检测中的内部机制,揭示隐藏状态轨迹、低维流形、输出方向对齐及有限吸引子的不动点拓扑。

摘要:

意图检测是一项文本分类任务,其目标是识别并标注用户查询背后的语义。它在各类商业应用中发挥着关键作用。意图检测模块的输出会强烈制约整个系统的行为。这一序列分析任务主要通过深度学习技术来解决。尽管这些技术得到了广泛应用,但人们对网络用于解决该问题的内部机制仍知之甚少。近期一系列研究从动力系统视角分析了 RNN 学到的计算机制。在本工作中,我们研究不同的 RNN 架构如何解决 SNIPS 意图检测问题。注入到已训练网络中的句子可被解释为穿越隐藏状态空间的轨迹。该空间被约束在一个低维流形上,其维度与嵌入层和隐藏层的大小有关。为了生成预测,RNN 将这些轨迹引导至特定区域,这些区域在空间上与输出层矩阵行的方向对齐。在系统动力学的底层,我们识别出一种出人意料的不动点拓扑结构,其中包含数量有限的吸引子。我们的结果为解决意图检测任务的网络的内部运作方式提供了新的见解。

英文摘要:

Intent detection is a text classification task whose aim is to recognize and label the semantics behind a users query. It plays a critical role in various business applications. The output of the intent detection module strongly conditions the behavior of the whole system. This sequence analysis task is mainly tackled using deep learning techniques. Despite the widespread use of these techniques, the internal mechanisms used by networks to solve the problem are poorly understood. Recent lines of work have analyzed the computational mechanisms learned by RNNs from a dynamical systems perspective. In this work, we investigate how different RNN architectures solve the SNIPS intent detection problem. Sentences injected into trained networks can be interpreted as trajectories traversing a hidden state space. This space is constrained to a low-dimensional manifold whose dimensionality is related to the embedding and hidden layer sizes. To generate predictions, RNN steers the trajectories towards concrete regions, spatially aligned with the output layer matrix rows directions. Underlying the system dynamics, an unexpected fixed point topology has been identified with a limited number of attractors. Our results provide new insights into the inner workings of networks that solve the intent detection task.

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

↑