BackLink: Supervised Local Training with Backward Links

Wenzhe Guo, Mohammed E Fouda, Ahmed M. Eltawil, Khaled N. SalamaarXiv 2022

TL;DR

BackLink is a novel local training algorithm that bridges the gap between standard backpropagation and isolated local learning. By introducing restricted "backward links" between network modules, it achieves near-state-of-the-art accuracy while slashing memory costs by up to 79% and accelerating training by 52% compared to standard backpropagation.

What Problem Does This Paper Address?

Deep learning relies almost exclusively on the backpropagation (BP) algorithm. While powerful, BP suffers from "backward locking": a layer cannot update its parameters until the entire forward pass is finished and the error signal has traveled all the way back from the final output. This creates a massive memory bottleneck—because all intermediate activations must be stored—and prevents efficient model parallelization across multiple GPUs.

Existing "local training" methods try to solve this by splitting the network into independent modules, each with its own local classifier. While this saves memory and allows modules to train in parallel, it usually leads to a significant drop in accuracy. The modules become "greedy," focusing only on their local task and discarding information that might have been crucial for later stages of the network.

Methods

The authors propose BackLink, which restores a limited amount of inter-module communication. Instead of completely isolating modules, BackLink allows error signals from a downstream module to flow back into its predecessor.

Key features include:

  • Restricted Propagation Length ($l$): To keep the computational benefits of local training, the backward error signal only travels back through a few layers of the preceding module, rather than the entire network.
  • Unfolding: When a layer receives both a local error (from its own module's classifier) and a global error (from the next module), it is "unfolded" into two parallel branches. These branches share the same parameters but process the different error contributions independently before synchronizing their updates.
  • Weighting Factor ($\alpha$): A hyperparameter that balances the importance of local vs. global error signals.
Comparison of training processes: (a) Standard BP, (b) Greedy Local Training, and (c) BackLink with its unfolding mechanism.

Datasets

The researchers evaluated BackLink using two standard image classification benchmarks:

  • CIFAR10: 50,000 training images across 10 classes.
  • CIFAR100: The same number of images but spread across 100 classes, representing a more challenging task.

These were tested across various architectures, including AlexNet, VGG16, ResNet32, and ResNet110.

Key Insights and Ideas

  • The "Information Pathway": The core "aha moment" is that local training fails not because it's local, but because it's blind. By providing a small window into the needs of the next module, BackLink prevents early layers from prematurely discarding useful features.
  • Efficiency vs. Accuracy Trade-off: The paper quantifies the sweet spot between full BP (high accuracy, high cost) and greedy local training (low accuracy, low cost). Increasing the propagation length $l$ consistently improves accuracy with only marginal increases in memory and time.
  • Biological Plausibility: The brain likely doesn't use global backpropagation. Local learning algorithms like BackLink are often viewed as more biologically plausible steps toward understanding how real neural circuits might learn efficiently.

Key Results

BackLink consistently outperformed existing local training methods like Greedy Local Training (GLL) and InfoPro:

  • Accuracy Boost: On ResNet32 with 16 modules, BackLink improved CIFAR10 accuracy by 4.00% over GLL and 1.83% over the recent InfoPro method.
  • Memory Savings: For ResNet110, BackLink achieved a 79% reduction in GPU memory usage compared to standard BP.
  • Speedup: The same ResNet110 model saw a 52% reduction in simulation runtime when implemented across multiple GPUs.
GPU memory cost comparison for ResNet32 and ResNet110. Local training significantly reduces memory compared to the 1-module (Standard BP) baseline.

Limitations and Future Work

  • Hyperparameter Sensitivity: The optimal propagation length ($l$) and weighting factor ($\alpha$) vary depending on the network architecture and dataset, requiring some manual tuning.
  • Scaling to ImageNet: While the results on CIFAR are promising, the authors note that testing on massive datasets like ImageNet is a necessary next step to prove the method's industrial viability.
  • Complexity: Although simpler than some competitors like InfoPro (which requires auxiliary decoders), BackLink still introduces more architectural complexity than standard BP or basic GLL.

Summary updated

BibTeX
@misc{guo2022backlink,
  author = {Wenzhe Guo and Mohammed E Fouda and Ahmed M. Eltawil and Khaled N. Salama},
  title = {{BackLink: Supervised Local Training with Backward Links}},
  year = {2022},
  eprint = {2205.07141},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.07141},
}
Figure