TL;DR
Artificial neural networks typically model synapses as simple scalar values, making them prone to "catastrophic forgetting" when learning new tasks. This paper introduces a biologically inspired approach by replacing scalar weights with complex, multi-variable dynamical systems that evolve at different timescales. This "complex synapse" model allows reinforcement learning (RL) agents to retain old skills while learning new ones and even enables stable online learning without the massive experience replay buffers usually required by Deep Q-Networks.
What Problem Does This Paper Address?
The "stability-plasticity dilemma" is a fundamental hurdle in AI: how can a system be flexible enough to learn new information (plasticity) while being stable enough to not overwrite old knowledge (stability)? In humans, synapses are not just single numbers; they are complex biochemical networks. In contrast, standard artificial neural networks suffer from catastrophic forgetting. When trained on Task A and then Task B, the network's parameters shift to optimize for B, often completely erasing the logic for A.
In Reinforcement Learning, this is even more acute. Data is "non-stationary"—the distribution of experiences changes as the agent learns a better policy or moves between different environments. To combat this, modern deep RL relies heavily on Experience Replay, storing millions of past transitions to "remind" the network of old data. However, replay buffers don't scale well to infinite tasks and don't truly solve the underlying architectural weakness of scalar synapses.
Methods
The authors adapt the Benna-Fusi model (2016), a biologically plausible synaptic model, for use in RL agents.
The Complex Synapse
Instead of a single weight $w$, each synapse is modeled as a chain of $N$ interacting variables ($u_1, u_2, ..., u_N$).
- $u_1$ is the "visible" weight used for the agent's actual decision-making.
- $u_2$ through $u_N$ are "hidden" variables that act as a reservoir of memory.
The dynamics are analogous to liquid flowing through a series of connected beakers. Figure 1. The beaker analogy for complex synapses.
As shown in Figure 1, the first beaker ($u_1$) has a small base and is highly reactive to new learning updates. Deeper beakers have larger bases (higher capacity) and are connected by narrower tubes (slower flow), meaning they change much more slowly. This allows the synapse to approximate a power-law decay of memory, which is theoretically optimal for maximizing the signal-to-noise ratio of memories over time.
Implementation
The authors tested this in two settings:
- Tabular Q-learning: Where each state-action pair has its own complex synapse.
- Deep Q-Networks (DQN): Where every weight in the neural network is replaced by a Benna-Fusi chain.
They also introduced a Modified Benna-Fusi agent that uses "eligibility traces" to gate the flow between beakers, ensuring that only synapses currently being used for learning are consolidated into long-term memory.
Datasets
The model was evaluated on classic RL benchmarks:
- Grid-world: A 10x10 grid where the goal location switches between two corners every 10,000 episodes.
- Multi-task Deep RL: Alternating training between Cart-Pole (balancing a pole) and Catcher (catching falling fruit).
- Single-task Online RL: Learning Cart-Pole and Catcher in a purely online fashion (no replay buffer).
Key Insights and Ideas
- Multi-timescale Regularization: The hidden variables act as a natural regularizer. When the visible weight $u_1$ is pushed toward a new value by a new task, the deeper variables $u_k$ exert a "pull" back toward the historical average, preventing the weight from drifting too far, too fast.
-
Visualizing Memory Depth: By plotting "hidden" value functions ($V^k$), the authors showed that while the visible layer only sees the current reward, the deeper layers still "remember" the location of previous rewards. Figure 3. Surface plots showing how deeper variables retain memory of old reward locations.
-
Beyond Task Boundaries: Unlike other continual learning methods (like EWC), this model requires no knowledge of when a task has changed. The consolidation happens automatically based on the internal dynamics of the synapse.
- Stabilizing Online Learning: The model effectively mitigates the "negative spiral" in online learning where an agent forgets how to handle rare states (like a tilted pole) because it has spent too much time in a "good" state (upright pole).
Key Results
- Faster Re-learning: In the grid-world task, Benna-Fusi agents relearned the goal location significantly faster after the first switch compared to standard agents, which suffered from negative transfer.
-
Mitigating Catastrophic Forgetting in DQN: In the multi-task setting, control agents often failed to relearn Cart-Pole after training on Catcher. The Benna-Fusi agent relearned both tasks quickly across 40 epochs. Figure 4. Comparison of relearning times in multi-task Deep RL.
-
Replay-free Stability: In the Cart-Pole online setting, the Benna-Fusi agent maintained a perfect score without an experience replay buffer, whereas standard DQN agents were completely unstable. Figure 5. Performance in Cart-Pole without a replay buffer.
Limitations and Future Work
- Computational Cost: Simulating $N$ variables per synapse increases runtime (roughly 1.5-2x in these experiments) and memory usage.
- Scaling to Complexity: Initial tests on larger DQN tasks (like the Atari Arcade Learning Environment) showed that Benna-Fusi agents struggled to match the peak performance of standard agents. The authors suggest the reasons for this need further investigation.
- Hyperparameter Sensitivity: The model's performance depends on the number of variables and the "tube widths" ($g_{1,2}$), which define the range of timescales.
- Future Directions: The authors propose modulating the flow between beakers using neuromodulators like dopamine (representing reward prediction error) to make memory consolidation even more selective and efficient.
Summary updated