TL;DR
SEDONA is a differentiable search algorithm that automates the design of "greedy block-wise" neural networks, breaking the sequential bottlenecks of standard backpropagation. By intelligently splitting networks into independent, locally-trained blocks, SEDONA achieves higher accuracy than traditional end-to-end training while enabling significant parallelization and training speedups.
The Problem with Backpropagation
Deep learning almost exclusively relies on Backpropagation (BP) to train neural networks. However, BP suffers from two major "locking" problems that hinder parallelization:
- Update Locking: Weights cannot be updated until the forward pass is completely finished.
- Backward Locking: Gradients for lower layers cannot be computed until the upper layers have finished their backward pass.
This sequential nature makes it notoriously difficult to parallelize training efficiently across multiple GPUs.
Greedy block-wise learning offers a compelling alternative. Instead of training end-to-end, the network is split into "gradient-isolated" blocks. Each block is equipped with its own small "auxiliary network" (or head) to calculate a local loss, allowing blocks to update their weights independently.
While promising, this introduces a massive design headache: How do you decide exactly where to split the network and which auxiliary heads to use? Doing this manually is a trial-and-error nightmare that often negates the time saved by greedy learning.
Methods: The SEDONA Algorithm
To solve this manual design problem, the authors propose SEDONA (SEarching for DecOupled Neural Architectures). Inspired by DARTS (Differentiable Architecture Search), SEDONA treats the network architecture as a set of continuous variables that can be optimized using gradient descent.
Key components of the SEDONA approach include:
- Two Decision Variables: For every layer, SEDONA learns two specific parameters:
- $\alpha$: Should we stop the gradient flow here and start a new block?
- $\beta$: Which auxiliary head from a predefined pool is best for this specific block?
- Bilevel Optimization: The algorithm alternates between two steps. In the "inner" step, it trains the network weights. In the "outer" step, it updates the architecture variables ($\alpha$ and $\beta$) based on how well the current configuration performs on a validation set.
- Stability Techniques: To prevent the search from collapsing, SEDONA employs Pretraining (warming up weights before searching) and Weight Sampling (storing multiple sets of weights to avoid overfitting the architecture to a specific training moment).
Datasets and Transferability
The authors utilized a highly efficient "search once, transfer everywhere" strategy. The initial search was conducted on CIFAR-10 using reduced-width versions of VGG and ResNet architectures.
The discovered architectures were then evaluated and transferred to the full-scale CIFAR-10, Tiny-ImageNet, and ImageNet datasets. This demonstrated that the optimal "splitting" strategy found on a smaller dataset is highly transferable across different datasets and model scales.
Key Insights and Ideas
- Transferable Decoupling: One of the most important findings is that researchers do not need to re-run the expensive search phase for every new dataset. A decoupling strategy found on CIFAR-10 works remarkably well on ImageNet.
- Avoid the "Shallow Start": SEDONA consistently avoids splitting the network too early. The first block needs enough depth to extract meaningful features; otherwise, the local error signals are too "noisy" or "coarse" to guide the lower layers effectively.
- Lower Blocks Need More Help: The automated search revealed that lower blocks (those closer to the input) perform better when paired with deeper, more complex auxiliary heads.
- The Regularization Effect: Surprisingly, SEDONA-trained networks often outperformed standard Backpropagation. The authors suggest that greedy learning acts as a form of regularization, helping the model generalize better, especially when data is scarce.
Key Results
- Accuracy: On ImageNet, a ResNet-101 searched by SEDONA achieved a 20.20% top-1 error, outperforming standard Backpropagation (21.34%) and other state-of-the-art greedy methods like DGL (22.35%).
- Speedup: By spreading the decoupled blocks across multiple GPUs, SEDONA achieved up to a 2x training speedup on ImageNet compared to standard BP.
- Efficiency: The auxiliary heads discovered by SEDONA are significantly more efficient—requiring fewer FLOPs and parameters—than those manually designed in previous greedy learning research.
Limitations and Future Work
While SEDONA marks a significant step forward, it has a few limitations:
- Fixed Backbone: SEDONA searches for how to split an existing architecture, but it doesn't search for the backbone architecture itself. A logical next step is a unified search for both the network structure and the decoupling points.
- Auxiliary Head Pool: The search is currently limited to a predefined pool of four auxiliary head types. Future iterations could automatically design the local loss functions or auxiliary architectures from scratch.
- Search Overhead: While the resulting training is faster, the initial search phase is computationally expensive (taking several GPU days). However, this remains a one-time cost per base architecture.
Summary updated