The geometry of integration in text classification RNNs
Not on the map. Why?
Abstract (arXiv)
Despite the widespread application of recurrent neural networks (RNNs) across a variety of tasks, a unified understanding of how RNNs solve these tasks remains elusive. In particular, it is unclear what dynamical patterns arise in trained RNNs, and how those patterns depend on the training dataset or task. This work addresses these questions in the context of a specific natural language processing task: text classification. Using tools from dynamical systems analysis, we study recurrent networks trained on a battery of both natural and synthetic text classification tasks. We find the dynamics of these trained RNNs to be both interpretable and low-dimensional. Specifically, across architectures and datasets, RNNs accumulate evidence for each class as they process the text, using a low-dimensional attractor manifold as the underlying mechanism. Moreover, the dimensionality and geometry of the attractor manifold are determined by the structure of the training dataset; in particular, we describe how simple word-count statistics computed on the training dataset can be used to predict these properties. Our observations span multiple architectures and datasets, reflecting a common mechanism RNNs employ to perform text classification. To the degree that integration of evidence towards a decision is a common computational primitive, this work lays the foundation for using dynamical systems techniques to study the inner workings of RNNs.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). First posted on arXiv 28 Oct 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 0; 2023: 4; 2024: 1; 2025: 1; 2026: 1.
9 papers.
- 2021Auxiliary Tasks and Exploration Enable ObjectNavcited by 74
- 2023Analyzing Populations of Neural Networks via Dynamical Model Embeddingcited by 7
- 2021Understanding How Encoder-Decoder Architectures Attendcited by 2
- 2023Trainability, Expressivity and Interpretability in Gated Neural ODEscited by 2
- 2023From Data-Fitting to Discovery: Interpreting the Neural Dynamics of Motor Control through Reinforcement Learningcited by 1
- 2024Interpretation of the Intent Detection Problem as Dynamics in a Low-dimensional Spacecited by 1
- 2025RNNs perform task computations by dynamically warping neural representationscited by 1
- 2023A Population-Level Analysis of Neural Dynamics in Robust Legged Robotscited by 0
- 2026Interpretability of the Intent Detection Problem: A New Approachcited by 0
- 2026Interpretability of the Intent Detection Problem: A New Approach23 Jan 2026
- 2025RNNs perform task computations by dynamically warping neural representations3 Dec 2025
- 2024Interpretation of the Intent Detection Problem as Dynamics in a Low-dimensional Space5 Aug 2024
- 2023Trainability, Expressivity and Interpretability in Gated Neural ODEs12 Jul 2023
- 2023A Population-Level Analysis of Neural Dynamics in Robust Legged Robots27 Jun 2023
- 2023From Data-Fitting to Discovery: Interpreting the Neural Dynamics of Motor Control through Reinforcement Learning18 May 2023
- 2023Analyzing Populations of Neural Networks via Dynamical Model Embedding27 Feb 2023
- 2021Understanding How Encoder-Decoder Architectures Attend28 Oct 2021
- 2021Auxiliary Tasks and Exploration Enable ObjectNav8 Apr 2021