English

Brief technical note on linearizing recurrent neural networks (RNNs) before vs after the pointwise nonlinearity

Machine Learning 2023-09-11 v1 Neurons and Cognition

Abstract

Linearization of the dynamics of recurrent neural networks (RNNs) is often used to study their properties. The same RNN dynamics can be written in terms of the ``activations" (the net inputs to each unit, before its pointwise nonlinearity) or in terms of the ``activities" (the output of each unit, after its pointwise nonlinearity); the two corresponding linearizations are different from each other. This brief and informal technical note describes the relationship between the two linearizations, between the left and right eigenvectors of their dynamics matrices, and shows that some context-dependent effects are readily apparent under linearization of activity dynamics but not linearization of activation dynamics.

Keywords

Cite

@article{arxiv.2309.04030,
  title  = {Brief technical note on linearizing recurrent neural networks (RNNs) before vs after the pointwise nonlinearity},
  author = {Marino Pagan and Adrian Valente and Srdjan Ostojic and Carlos D. Brody},
  journal= {arXiv preprint arXiv:2309.04030},
  year   = {2023}
}

Comments

10 pages

R2 v1 2026-06-28T12:15:46.329Z