Contributions à l'apprentissage local, asynchrone et décentralisé, et à l'apprentissage profond sur variété

Edouard OyallonHAL 2023

This document represents Edouard Oyallon’s Habilitation à Diriger des Recherches (HDR), a comprehensive synthesis of his research from 2018 to 2023. It explores the frontiers of making Deep Learning more efficient, scalable, and mathematically grounded by moving away from the "synchronous" status quo.

TL;DR

This work tackles the "synchronous bottleneck" of modern AI training by developing algorithms for local, asynchronous, and decentralized learning. By breaking the global dependencies of backpropagation and leveraging geometric principles, Oyallon demonstrates that we can train state-of-the-art models like ResNet-152 with significantly reduced communication overhead and increased hardware parallelization.

What Problem Does This Paper Address?

Standard Deep Learning training relies on Stochastic Gradient Descent (SGD) and Backpropagation. While effective, these methods are "locked" by three major constraints:

  1. The Backward Lock: You can’t update a layer’s weights until the error signal has traveled all the way back from the output.
  2. The Update Lock: You can’t start a new forward pass until the previous update is finished.
  3. The Forward Lock: Layers must be processed in a strict sequential order.

In a world of massive GPU clusters, these locks create idle time and massive communication bottlenecks. Furthermore, applying these models to non-Euclidean data (like graphs or manifolds) remains a challenge because standard convolutions don't naturally translate to these complex geometries.

Methods

Oyallon proposes several novel frameworks to "unlock" training:

  • Local & Greedy Learning: Instead of one global loss, each layer (or block of layers) is trained using its own auxiliary classifier. This allows for Decoupled Greedy Learning (DGL), where different layers can be trained in parallel on different machines without waiting for a full backprop cycle.
  • Asynchronous Decentralized Algorithms:
    • DADAO: An accelerated algorithm for convex objectives that uses "continuized" frameworks to allow nodes to communicate and compute independently.
  • $A^2CiD^2$: An extension for Deep Learning that accelerates asynchronous communication, specifically designed to handle the non-convex nature of neural networks.
  • Geometric Deep Learning: The Interferometric Graph Transform (IGT) is introduced to create deep unsupervised representations of graphs. It uses complex-valued isometries in the spectral domain to recover the "topology" of frequencies, which standard spectral methods often miss.

Datasets

The research validates these methods across several standard and large-scale benchmarks:

  • ImageNet: Used to prove that greedy, layer-wise training can actually scale to "real-world" complexity (competing with AlexNet and ResNet baselines).
  • CIFAR-10 & ImageNet-32: Used for ablation studies and testing the Forward Gradient approach.
  • Graph Benchmarks: Used for community labeling and testing the Interferometric Graph Transform.

Key Insights and Ideas

  • Greedy can be Great: One of the most surprising findings is that training a sequence of 1-hidden layer networks greedily can compete with established baselines like AlexNet. This suggests that "progressive linear separability"—the idea that each layer makes the data easier to classify—is a powerful enough signal for training.
  • The Superiority of Asynchrony: The paper argues (and proves for certain cases) that asynchronous algorithms aren't just a "practical hack" for hardware; they can be theoretically faster than synchronous ones because they introduce a beneficial form of randomness.
  • The Limits of Geometry: Oyallon shares a "negative result" regarding non-linear operators on manifolds. He demonstrates that for vector fields, the only generic operators that commute with smooth deformations are simple scalar multiplications. This implies that non-linearities in Geometric DL must be carefully hand-picked for specific tasks rather than being generic.
  • Electrical Analogies: The work uses the concept of Graph Resistance (viewing a network of computers like an electrical circuit) to optimize how nodes "gossip" or share information, leading to much faster convergence in decentralized setups.

Key Results

  • Scaling ResNet: Using Decoupled Greedy Learning, a ResNet-152 was successfully trained on ImageNet by splitting the model in half. It achieved 74.5% Top-1 accuracy, actually slightly outperforming the standard backpropagation baseline (74.4%) while allowing for much more flexible memory management.
  • Massive Speedups: In decentralized settings, the $A^2CiD^2$ algorithm showed near-linear scaling. On CIFAR-10, training time dropped from 21.4 minutes (4 workers) to just 1.9 minutes (64 workers).
  • No-Learning Baselines: A study on random patch-based architectures (using no training for early layers) achieved 45% Top-1 on ImageNet, a remarkably high result that challenges our understanding of how much "learning" is actually required in the early stages of a vision model.

Limitations and Future Work

  • The Accuracy Gap: While local and decentralized methods are catching up, there is still a small performance gap compared to end-to-end backpropagation on the most complex tasks.
  • Lack of Native Implementations: Many of these algorithms were tested in simulators. The author notes that moving from "pseudo-simulators" to production-ready distributed libraries is a major next step.
  • Beyond Vision: Most of the current success is in supervised image classification. Extending these local, decoupled strategies to generative models (like LLMs or Diffusion models) is an open and difficult challenge because it’s harder to define a "local" objective for a generative task.

Summary updated

Abstract

This document is a summary of some of the research I conducted from 2018 to 2023 to obtain the Habilitation à Diriger des Recherches. All the results mentioned are discussed in greater depth in the corresponding publications.The research topics I will discuss focus on the concepts of distributed learn- ing, local learning, and deep representation learning on manifolds. A central point I aim to develop is the creation of efficient distributed algorithms for train- ing deep neural networks, both in terms of computation time and the number of operations required for training. The first chapter provides an introduction to these fields and my research activities. The second chapter discusses the interplay between computer hardware and existing training paradigms. These interactions are crucial as they promise or achieve significant reductions in the training costs of deep networks. The third chapter outlines initial elements of re- search to create deep representations on manifolds and graphs. In particular, we have sought principles for modeling such architectures. The fourth chapter dis- cusses the local learning results I have obtained, especially layer-by-layer greedy learning. This corresponds to the idea of training networks by proposing weight updates for a layer based solely on local information to that layer, using as little global information related to all layers as possible. The fifth chapter summarizes results obtained in decentralized asynchronous learning, within frameworks of convex optimization and optimization of deep neural network weights. One of the interests of such approaches is their potential superiority, both from a prac- tical implementation standpoint and from an algorithmic perspective. Finally, the last chapter provides future perspectives on my research.
BibTeX
@inproceedings{oyallon2023contributions,
  author = {Edouard Oyallon},
  title = {{Contributions à l'apprentissage local, asynchrone et décentralisé, et à l'apprentissage profond sur variété}},
  booktitle = {HAL},
  year = {2023},
}
Figure