NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Module-wise Training of Neural Networks via the Minimizing Movement Scheme

Skander Karkar, Ibrahim Ayed, Emmanuel de Bézenac, Patrick Gallinari

TL;DR

Module-wise training drastically reduces deep learning memory requirements by breaking networks into independently trained blocks, but it traditionally suffers from a "stagnation problem" where deeper layers fail to improve accuracy. This paper introduces Transport Regularized Greedy Learning (TRGL), a mathematically grounded regularization method derived from optimal transport theory that prevents this stagnation. TRGL allows module-wise networks to match or even outperform standard end-to-end training while slashing memory usage by up to 60%.

What Problem Does This Paper Address?

Standard end-to-end (E2E) backpropagation is incredibly memory-intensive because it requires storing the entire network’s computational graph and intermediate activations during the forward pass. This makes training large models on memory-constrained hardware—like mobile devices or edge servers—difficult or impossible.

To circumvent this, researchers use module-wise (or greedy) training, which splits a network into sequential modules (each containing one or more layers) equipped with local auxiliary classifiers. Each module is trained locally, meaning backpropagation only happens within the module, significantly reducing the memory footprint.

Figure 1: Module-wise training.

However, greedy training suffers from a notorious stagnation and collapse problem. Early modules tend to overfit and aggressively discard any information that isn't immediately useful for their specific local classifier. As a result, deeper modules receive degraded features and fail to improve the final test accuracy, capping the effective depth and performance of the network.

Methods

The authors introduce TRGL (Transport Regularized Greedy Learning) to solve the stagnation problem. The core idea is to prevent early modules from destroying task-relevant information by penalizing their "kinetic energy"—specifically, the squared norm of each module's residual displacement ($T(x) - x$).

The key theoretical innovation is linking this penalty to the Minimizing Movement Scheme (MMS) for gradient flows in Wasserstein distribution space. By minimizing a combination of the local classification loss and this transport cost, each module acts as a smooth, proximal optimization step. This forces the modules to behave like optimal transport maps, ensuring mathematical regularity (Hölder continuity) and structural stability.

TRGL is highly versatile and is evaluated across three distinct training regimes:

  1. Sequential: Training one module fully before moving to the next.
  2. Parallel (Decoupled): Forwarding outputs to the next module batch-by-batch without waiting for a full epoch, enabling layer-parallel training.
  3. Multi-lap Sequential (MLS): A novel variant introduced by the authors where modules are trained sequentially for a few epochs, and the entire process loops back for multiple "laps" to allow better feature co-adaptation.

Datasets

The authors evaluated TRGL across several standard image classification benchmarks:

  • TinyImageNet
  • CIFAR-10
  • CIFAR-100
  • STL-10
  • MNIST

No new datasets or benchmarks were introduced in this work.

Key Insights and Ideas

  • The Optimal Transport Connection: By viewing residual networks through the lens of continuous-time dynamical systems (ODEs), the authors elegantly apply optimal transport mathematics to regularize feature propagation.
  • Minimal Modification Bias: Forcing modules to change their inputs as little as possible preserves the underlying geometry of the data. This ensures that latent features needed by deeper layers are not prematurely discarded by greedy local classifiers.
  • Regularization as an E2E Alternative: Rather than just acting as a "fix" for memory-saving greedy methods, TRGL serves as a powerful geometric regularizer. It prevents overfitting so effectively that it can actually beat standard E2E training in final test accuracy.

Key Results

TRGL consistently outperformed vanilla greedy learning and state-of-the-art alternative module-wise methods (such as InfoPro, PredSim, and Sedona) across ResNets, VGG, and Swin Transformers.

  • Beating End-to-End on TinyImageNet: In parallel training configurations, TRGL achieved higher test accuracy than E2E training on ResNet-50, ResNet-101, and ResNet-152, while saving 10% to 21% memory.
Table 1: Test accuracy of parallel TRGL with 4 modules (average and 95% confidence interval over 5 runs) on TinyImageNet, compared to DGL, PredSim, Sedona and E2E from Table 2 in [47], with memory saved compared to E2E as a percentage of E2E memory consumption in red.
  • Massive Memory Savings on STL-10: When training a ResNet-110 split into 16 modules, TRGL maintained competitive accuracy while achieving 58% memory savings compared to E2E training, significantly outperforming InfoPro in both accuracy and memory efficiency.
Table 3: Test accuracy of Parallel (Par) TRGL with K modules (average and 95% confidence interval over 5 runs) using a ResNet-110 on STL10, compared to DGL, two variants of InfoPro and E2E from Table 2 in [60].
  • Scaling to Vision Transformers: TRGL successfully stabilized the module-wise training of Swin-Tiny Transformers, outperforming InfoPro variants and saving up to 50% memory on STL-10.
Table 4: Test accuracy of parallel TRGL with 4 modules (average and 95% confidence interval over 5 runs) on a Swin-Tiny Transformer, compared to InfoPro, InfoProL and E2E from Table 3 in [46], with memory saved compared to E2E as a percentage of E2E memory consumption in red.

Limitations and Future Work

  • Sequential Training Constraints: While TRGL excels in parallel training settings, its accuracy improvements are occasionally minimal when applied to standard sequential training.
  • Minor Computational Overhead: Computing the regularization term adds a small computational cost, resulting in a ~2% increase in training time per epoch compared to vanilla greedy training.
  • Future Directions: The authors propose extending this framework to non-Euclidean Wasserstein spaces ($W_p$ where $p \neq 2$) and exploring whether the entire chained composition of modules ($G_K$) can be theoretically proven to form a global optimal transport map.

Summary updated

BibTeX
@inproceedings{karkar2023module,
  author = {Skander Karkar and Ibrahim Ayed and Emmanuel de Bézenac and Patrick Gallinari},
  title = {{Module-wise Training of Neural Networks via the Minimizing Movement Scheme}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=5sV53leJCv},
}
Figure