[Paper Review] Interpretability of the Intent Detection Problem: A New Approach
The paper uses a dynamical-systems lens to analyze RNNs for intent detection on SNIPS and ATIS, showing low-dimensional state-space geometry emerges for SNIPS and is distorted by imbalance in ATIS, with a readout–geometry decoupling framework.
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.
Motivation & Objective
- Motivate and study interpretability for RNN-based intent detection.
- Characterize the low-dimensional state-space geometry RNNs develop for SNIPS and ATIS.
- Explain how data properties (e.g., class imbalance) distort optimal geometric separation.
- Propose a diagnostic framework decoupling geometric separation from readout alignment.
Proposed method
- Treat sentences as trajectories in RNN hidden state space.
- Identify fixed points and linearize dynamics around them (Hartman-Grobman perspective).
- Analyze attractor manifolds, basins of attraction, and readout alignment in a low-dimensional subspace.
- Train vanilla RNN, LSTM, and GRU on SNIPS and ATIS with embedding + recurrent layer + dense output.
- Use TensorFlow 2, with cross-entropy loss and Adam optimizer, reporting accuracy (target >93%).
- Contrast geometric separation with readout alignment to explain performance disparities.

Experimental results
Research questions
- RQ1How is the state-space of RNNs organized when solving intent detection on SNIPS and ATIS?
- RQ2How does dataset structure (balanced vs imbalanced) affect the geometric solution and readout alignment?
- RQ3Can fixed-point topology and attractor dynamics explain real-world performance gaps across intents?
- RQ4Does decoupling geometric separation from readout reveal distinct mechanistic patterns behind misclassifications?
Key findings
- On SNIPS, the state space forms a low-dimensional manifold with distinct clusters per intent.
- On ATIS, class imbalance distorts the ideal geometric solution, degrading low-frequency intents.
- The readout aligns with distant regions of the state space, enabling predictions via the readout matrix rows.
- A diagnostic framework decouples geometric separation from readout alignment, revealing four mechanistic patterns explaining performance disparities.
- The study links dataset properties to the intrinsic geometry the network learns, offering a mechanistic interpretation of RNN dynamics in intent detection.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.