TL;DR
Can simple, biologically plausible recurrent neural networks learn complex hierarchical grammar, or are heavy gating mechanisms like those in LSTMs strictly necessary? The authors introduce the Decay RNN, a lightweight network inspired by Dale’s law (distinct excitatory and inhibitory neurons) and neuronal membrane potential decay. Despite having a fraction of the complexity of an LSTM, the Decay RNN matches or nears LSTM performance on subject-verb agreement, grammaticality judgment, and targeted syntactic evaluations.
What Problem Does This Paper Address?
In natural language processing, Long Short-Term Memory (LSTM) networks excel at capturing long-range hierarchical dependencies, such as making sure a verb agrees with a distant subject across multiple clauses. However, their complex, multi-gated architecture bears little resemblance to actual biological neural networks.
Conversely, Simple Recurrent Networks (SRNs / Elman networks) are closer to biological synaptic connectivity, but historically struggle with syntax-sensitive tasks and pinpointing grammatical errors. This paper investigates whether we can bridge this gap: What minimal inductive biases does an RNN actually need to capture syntactic structure without sacrificing biological plausibility?
Methods
The authors design the Decay RNN (DRNN), which incorporates two core neurobiological principles into a recurrent architecture trained via standard backpropagation:
- Dale’s Principle (Dale's Law): Biological neurons are either strictly excitatory or strictly inhibitory. The authors enforce this on the recurrent weight matrix via $W_{\text{recurrent}} = \text{ReLU}(W)W_{dale}$, where $W_{dale}$ is a fixed diagonal matrix setting 80% of neurons as excitatory ($+1$) and 20% as inhibitory ($-1$), matching mammalian cortex ratios.
- Membrane Potential Decay: In biological neurons, postsynaptic voltages spontaneously decay over time. DRNN balances the previous hidden state $h^{(t-1)}$ and current incoming impulse $c^{(t)}$ using a single learnable scalar parameter $\alpha \in (0, 1)$: $$c^{(t)} = (\text{ReLU}(W)W_{dale})h^{(t-1)} + Ux^{(t)} + b$$ $$h^{(t)} = f(\alpha h^{(t-1)} + (1 - \alpha)c^{(t)})$$
This formulation functions as a coupled scalar gate and exponential moving average, providing an intrinsic skip connection that mitigates vanishing gradients without complex gating mechanisms.
To isolate what makes the model work, the authors also evaluate two variants:
- Slacked Decay RNN (SDRNN): Removes Dale’s constraint, allowing recurrent weights to take unconstrained positive and negative values.
- Ablated Decay RNN (Ab-DRNN): Strips out recurrent neuron-to-neuron interactions ($Wh^{(t-1)}$), retaining only individual state decay and input connections.
Datasets
The authors evaluate the models across three primary setups:
- Wikipedia Subject-Verb Agreement Corpus (Linzen et al., 2016): A 1.57-million-sentence dataset used for verb number prediction (predicting singular vs. plural at the verb position) and full-sentence grammaticality judgment.
- Language Modeling Subset (Gulordava et al., 2018): A 90-million-word Wikipedia corpus used to measure word-level validation perplexity.
- Targeted Syntactic Evaluation (Marvin and Linzen, 2018): A challenge suite generated via non-recursive context-free grammars to evaluate specific, out-of-distribution linguistic phenomena (e.g., subject-verb agreement across relative clauses, reflexive anaphora, and negative polarity items).
Key Insights and Ideas
- Complex gates aren't mandatory for syntax: A single learnable scalar decay factor ($\alpha \approx 0.8$) paired with basic recurrence enables simple networks to handle hierarchical agreement tasks that cause vanilla SRNs to fail entirely.
- Dale’s principle acts as an implicit regularizer: While removing Dale's constraint (SDRNN) achieved similar test accuracy on Wikipedia data, the constrained DRNN generalized significantly better to out-of-distribution syntactic edge cases.
- Models exploit non-attractor intervening nouns: Research typically attributes agreement errors solely to "attractor" nouns (nouns with the opposite grammatical number to the subject). The authors show that adding non-attractor nouns between the subject and verb actually improves prediction accuracy, proving that recurrent models lean heavily on local noun-neighborhood cues rather than solely tracking hierarchical dependencies.
Key Results
- Grammaticality Judgment: While an SRN collapses to chance (50.12% accuracy), DRNN reaches 95.48% and SDRNN achieves 96.83%, rivaling the LSTM (95.81%).
- Number Prediction: DRNN achieves 98.66% accuracy, slightly edging out the LSTM (98.59%).
- Language Modeling Perplexity: DRNN achieves a validation perplexity of 76.67 using only 1.4M parameters, dramatically outperforming the standard SRN (114.74 at 1.4M parameters), though trailing the higher-capacity LSTM (52.73 at 5.6M parameters).
- Targeted Syntactic Benchmarks: Across the Marvin & Linzen benchmarks, DRNN achieves an average arithmetic rank of 3.52, comparable to LSTMs (3.31) and GRUs (3.00). In specific long-range settings—like agreement across object relative clauses—DRNN outperforms LSTMs (0.64 vs. 0.55).
Limitations and Future Work
- Inconsistent NPI Performance: Like other sequential architectures, DRNN exhibits high variance and poor reliability on negative polarity items (NPIs), suggesting recurrent models still struggle when syntactic cues are decoupled from semantic lexical co-occurrence.
- Biological Disconnect in Optimization: While the forward dynamics are biologically grounded, training still relies on standard backpropagation through time, which is not strictly how the brain learns.
- Future Directions: The authors highlight dynamical-systems analysis (such as analyzing hidden state line attractors) and deeper collaboration with cognitive neuroscience to evaluate whether Decay RNNs can serve as viable psycholinguistic models of human sentence processing.
Summary updated