paper-with-me

홈 › Papers

Reverse engineering recurrent networks for sentiment classification reveals line attractor dynamics

2019-06-25 · NeurIPS 2019 12 · Niru Maheswaranathan, Alex Williams, Matthew D. Golub, Surya Ganguli, David Sussillo

Recurrent neural networks (RNNs) are a widely used tool for modeling sequential data, yet they are often treated as inscrutable black boxes. Given a trained recurrent network, we would like to reverse engineer it--to obtain a quantitative, interpretable description of how it solves a particular task. Even for simple tasks, a detailed understanding of how recurrent networks work, or a prescription for how to develop such an understanding, remains elusive. In this work, we use tools from dynamical systems analysis to reverse engineer recurrent networks trained to perform sentiment classification, a foundational natural language processing task. Given a trained network, we find fixed points of the recurrent dynamics and linearize the nonlinear system around these fixed points. Despite their theoretical capacity to implement complex, high-dimensional computations, we find that trained networks converge to highly interpretable, low-dimensional representations. In particular, the topological structure of the fixed points and corresponding linearized dynamics reveal an approximate line attractor within the RNN, which we can use to quantitatively understand how the RNN solves the sentiment analysis task. Finally, we find this mechanism present across RNN architectures (including LSTMs, GRUs, and vanilla RNNs) trained on multiple datasets, suggesting that our findings are not unique to a particular architecture or dataset. Overall, these results demonstrate that surprisingly universal and human interpretable computations can arise across a range of recurrent networks.

📄 PDF Abstract BibTeX arXiv:1906.10720

Code (0)

등록된 구현이 없습니다.

Tasks

General ClassificationSentiment AnalysisSentiment Classification

Similar Papers 제목 키워드 기반

How recurrent networks implement contextual processing in sentiment analysis

2020-04-17 · ICML 2020 1 · Niru Maheswaranathan, David Sussillo

Neural networks have a remarkable capacity for contextual processing--using recent or nearby inputs to modify processing of current input. For example, in natural language, contextual processing is necessary to correctly…

NegationSentiment AnalysisSentiment Classification

Cached Long Short-Term Memory Neural Networks for Document-Level Sentiment Classification

2016-10-17 · EMNLP 2016 11 · Jiacheng Xu, Danlu Chen, Xipeng Qiu, Xuangjing Huang

Recently, neural networks have achieved great success on sentiment classification due to their ability to alleviate feature engineering. However, one of the remaining challenges is to model long texts in document-level s…

ClassificationFeature EngineeringGeneral ClassificationSentiment Analysis+1

Reverse-engineering Bar Charts Using Neural Networks

2020-09-05 · Fangfang Zhou, Yong Zhao, Wenjiang Chen, Yijing Tan 외

Reverse-engineering bar charts extracts textual and numeric information from the visual representations of bar charts to support application scenarios that require the underlying information. In this paper, we propose a …

Decoderobject-detectionObject Detection

LSP Framework: A Compensatory Model for Defeating Trigger Reverse Engineering via Label Smoothing Poisoning

2024-04-19 · Beichen Li, Yuanfang Guo, Heqi Peng, Yangxi Li 외

Deep neural networks are vulnerable to backdoor attacks. Among the existing backdoor defense methods, trigger reverse engineering based approaches, which reconstruct the backdoor triggers via optimizations, are the most …

Backdoor Attackbackdoor defense

Reverse engineering recurrent neural networks with Jacobian switching linear dynamical systems

2021-11-01 · NeurIPS 2021 12 · Jimmy T. H. Smith, Scott W. Linderman, David Sussillo

Recurrent neural networks (RNNs) are powerful models for processing time-series data, but it remains challenging to understand how they function. Improving this understanding is of substantial interest to both the machin…

Time Series Analysis