Temporal-Difference Learning Using Distributed Error Signals

Jonas Guan, Shon Eduard Verch, Claas A Voelcker, Ethan C Jackson, Nicolas Papernot, William A Cunningham

Abstract

Standard deep reinforcement learning (RL) relies on backpropagation (BP) to solve the credit assignment problem, a process that lacks biological plausibility due to its sequential, global nature. This paper introduces Artificial Dopamine (AD), a novel RL algorithm that trains multi-layered neural networks using distributed, local error signals. By mimicking the synchronous distribution of dopamine in the brain's reward centers, AD enables layers to coordinate and solve complex non-linear tasks without global error propagation. We evaluate AD across 14 diverse benchmarks, demonstrating performance comparable to established BP-based algorithms like DQN and SAC.

Introduction

In deep learning, the "credit assignment problem" is typically addressed via backpropagation, where error signals are passed backward through the network. However, biological systems, particularly the brain's reward circuitry, operate differently. In the nucleus accumbens (NAc), dopamine serves as a reward prediction error that is distributed synchronously across various regions. This observation motivates the development of Artificial Dopamine (AD), an algorithm designed to test whether complex representations can emerge from local, distributed temporal-difference (TD) errors rather than a globally propagated signal.

Methods

The AD architecture adapts principles from the "Forward-Forward" algorithm for reinforcement learning. Each layer in an AD network independently predicts local Q-values and receives its own TD error signal.

Architectural Innovations

A critical component of AD is the Forward-in-Time Connection mechanism. To facilitate top-down communication, activations from higher layers at time $t$ are fed into lower layers at time $t+1$. This creates a pathway for high-level features to influence lower-level processing over time, approximating the recurrent loops observed in biological brains.

The AD architecture featuring per-layer updates and forward-in-time connections across timesteps.

Furthermore, the authors implemented a novel cell architecture utilizing an attention-like mechanism. This allows the network to learn non-linear weightings of hidden activations for Q-value prediction without requiring backpropagation. Because layers do not depend on error signals from subsequent layers, synaptic updates can be performed in parallel, offering potential efficiency gains on specialized hardware.

Results and Key Insights

The algorithm was rigorously tested on 14 tasks, including MinAtar games, the DeepMind Control Suite (DMC), and classic control benchmarks.

Performance Comparison

AD achieved performance levels competitive with state-of-the-art algorithms that utilize backpropagation. In the MinAtar environment, AD matched DQN on Breakout and outperformed it on Asterix and Freeway. In continuous control tasks (DMC), AD's performance approached that of SAC and TD-MPC2, although it typically required more samples to achieve comparable results.

Performance of AD compared to DQN on MinAtar tasks and against SAC/TD-MPC2 on DeepMind Control Suite tasks.

Emergent Coordination and Temporal Context

Ablation studies revealed two vital insights. First, coordination between layers is emergent; performance increases as more layers are added, indicating that the distributed approach successfully leverages deep hierarchical representations. Second, "forward-in-time" connections are essential for success in complex environments like Seaquest. Without these connections, the agent fails to solve the task, suggesting that temporal context is a prerequisite for this style of learning.

Discussion and Limitations

While AD represents a significant step toward biologically inspired AI, several challenges remain. The current attention mechanism scales poorly with large action spaces, leading to high parameter counts in complex robotics tasks. Additionally, the model simplifies biological structures, as the NAc is not organized into neat sequential layers and biological neurons communicate asynchronously. Future research will focus on integrating AD with other biological principles, such as Hebbian learning, to further bridge the gap between artificial and biological intelligence.

Summary updated

BibTeX
@inproceedings{guan2024temporal,
  author = {Jonas Guan and Shon Eduard Verch and Claas A Voelcker and Ethan C Jackson and Nicolas Papernot and William A Cunningham},
  title = {{Temporal-Difference Learning Using Distributed Error Signals}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=8moTQjfqAV},
}
Figure