Performance measurement · Research feature

SCPL: Enhancing Neural Network Training Throughput with Decoupled Local Losses and Model Parallelism

The study introduces Supervised Contrastive Parallel Learning (SCPL), a method that decouples backpropagation by splitting gradient computation into shorter, parallel flows across network layers.

Adapted from research by Ming-Yao Ho, Cheng-Kai Wang, You-Teng Lin and colleagues.

arXiv preprint revision · 2026-02-03 · Attribution & reuse
In this article
Editorial illustration of aperture mechanism.

Editor’s introduction

The study introduces Supervised Contrastive Parallel Learning (SCPL), a method that decouples backpropagation by splitting gradient computation into shorter, parallel flows across network layers. This approach enables greater model parallelism and reduces training time, with experimental results showing test accuracy comparable to or exceeding traditional backpropagation. The researchers compared SCPL to standard backpropagation, Early Exit, GPipe, and Associated Learning, finding it effective in reducing training duration while maintaining or improving performance. Findings indicate SCPL achieves faster training, though its performance may vary depending on model size and deployment constraints. The study notes that even if SCPL underperforms in certain cases, a hybrid strategy—using SCPL for initial training followed by fine-tuning with standard backpropagation—remains viable, particularly when models exceed GPU capacity.

Introduction

Deep neural networks have become prominent. Although they have excellent predictive power, the practical adoption of these large-scale models in enterprise environments – for applications ranging from decision support and market forecasting to customer relationship management – faces a significant challenge: the immense computational cost and time required for training. This challenge is not only technical; it represents a key managerial barrier that hinders the agile development and deployment of advanced information systems, impacting the return on investment of AI initiatives. Recent industry reports underscore the severity of these financial barriers. For instance, the average cost of computing for enterprise AI is projected to increase by 89% between 2023 and 2025. Furthermore, training costs for frontier AI models have historically increased by 2.4 times annually since 2016. In this high-cost landscape, the traditional inefficiency of backpropagation, where sequential dependencies leave expensive hardware underutilized during training, becomes an unsustainable waste of resources. The scenario where each layer waits for gradient information from the layers closer to the target before proceeding with the gradient computation is called backward locking, which severely limits the potential speedup of parallel processing, as the sequential nature of gradient calculations becomes a bottleneck for parallel training.

Data Parallelism vs. Model Parallelism

Data parallelism (DP) and model parallelism (MP) are two strategies used in distributed deep learning. DP involves distributing batches of training data across multiple devices or processors; each device computes the gradients independently. Devices usually synchronize gradients at the end of every iteration or multiple iterations. DP is well-suited for scenarios where the model can fit within the memory of each device.

On the other hand, MP mainly tackles the issue of training models that are too large to fit into the memory of a single device. MP divides the model into segments that are processed on different devices. However, the interdependence of the gradient calculations across layers complicates the parallelization process. The layers in one device may need the gradients from other devices to proceed with its gradient calculations, creating a synchronization bottleneck that limits the potential parallelism. As a result, naïve model parallelism (which will be called “NMP” below) results in poor training efficiency.

Model Parallelism Strategies

A core challenge in model parallelism, backward locking, stems from the inherent characteristics of backpropagation (BP). Therefore, the various methods that attempt to find alternative BP methods could be candidates for achieving model parallelism. Studies in this line include target propagation (TP), gradient prediction, and local objective assignments. Although many of these methods do not require gradient computation in training, most still need to update the parameters layer-by-layer, so it is challenging to realize model parallelism. Associated learning (AL) is one of the few methods capable of simultaneously updating parameters in different layers. However, the authors of AL released only a sequential implementation, making it difficult to experiment and verify the parallelization capacity of AL.

Some studies used self-supervised learning to decouple BP, e.g., Greedy InfoMax (GIM) and LoCo. Although these studies localize the losses, they mainly focus on modularizing backpropagation and improving model accuracy, but pay little attention to model parallelism. Furthermore, they are self-supervised, not supervised, so their predictive ability in classification or regression is unclear. Although the local losses used in these works could potentially achieve model parallelism via pipelining, their implementations lack support for model parallelism.

Methodology

This section details the operational mechanisms of SCPL. Although the throughput gains derived from pipelined parallelism are readily apparent from the architectural design, the factors contributing to its high prediction accuracy – specifically regarding the use of local objectives – are less immediately intuitive. We therefore dedicate Section 5.1 to analyzing why this approach yields effective learning.

Conceptual Foundations for SCPL: Addressing Training Bottlenecks

Training modern deep neural networks is largely based on the backpropagation algorithm, which is computationally demanding. In intuitive terms, backpropagation enables a model to learn from its predictive errors by iteratively adjusting its internal parameters, working backward from the output layer through its many hidden layers. However, this inherent sequential dependency, where adjustments in one layer often depend on computations from preceding layers in the backward path, can introduce significant inefficiencies, especially as networks grow deeper. This challenge, sometimes referred to as backward locking, can limit the effective utilization of parallel processing, and thus restrict the overall training throughput.

To mitigate these training bottlenecks, SCPL proposes an alternative training paradigm centered on decoupling the conventional end-to-end backpropagation. This strategy is similar to decomposing a single, extensive task into a series of shorter, more manageable subtasks that can be executed in parallel. SCPL achieves this by integrating “local losses” at designated intermediate points within the network. These local losses function as intermediate targets, forcing each segment to independently learn discriminative representations. SCPL distinctively employs Supervised Contrastive Learning (SCL) for these local objectives. The SCL guides each network segment to develop representations where inputs belonging to the same class are drawn closer in the embedding space, while those from different classes are pushed further apart.

The training of these segments, each with its local SCL objective, is orchestrated via pipelined parallelism. This mechanism operates much like an industrial assembly line: as one mini-batch of data completes its local forward (and local backward) passes in an early segment of the network, it proceeds to the next segment, while the initial segment simultaneously begins processing the subsequent mini-batch. This overlapping of computation across different segments and mini-batches significantly enhances hardware utilization. Through this synergistic combination of decoupled local losses (specifically SCL) and pipelined model parallelism, SCPL aims to improve training throughput, thereby accelerating the training phase of deep neural networks while endeavoring to preserve or even enhance the predictive accuracy achieved by traditional end-to-end training approaches.

Experiments

We compare SCPL with baselines using different neural networks on text datasets (AG’s news and IMDB) and image datasets (CIFAR-10, CIFAR-100, and Tiny-ImageNet). Baseline models include BP, the Early Exit mechanism (to be introduced later), GPipe, and AL, a state-of-the-art method for BP decoupling in terms of test accuracy. We test LSTM and Transformer for text datasets. We test the VGG network and the residual network (ResNet) for the image datasets. Detailed hyperparameter settings can be found in our released code.

Speedup of the empirical training time

Here are our observations. First, SCPL indeed accelerates the training time as we have more GPUs. However, due to the communication and synchronization overheads and load balancing issues, the speedup improves sub-linearly with the number of GPUs. Second, although the training efficiency of GPipe improves when we use more GPUs, the improved ratio is worse than that of SCPL. This is likely because GPipe still suffers from the issue of backward locking, so the bubbles are unavoidable. Additionally, although the original GPipe paper reported a speedup from 1.7x to 1.8x when using 4 GPUs, these speedups were obtained by setting the number of micro-batches to an extreme number (32). Later experiments have revealed that when using GPipe with multiple GPUs, the training time is generally longer than traditional BP with a single GPU and NMP. This observation is consistent with our experimental results. Third, despite involving more parameters during training, SCPL with a single GPU has a training time similar to, and sometimes faster than, BP. It may initially seem counterintuitive because SCPL involves more operations, and a single GPU does not seem to parallelize the computation loading. However, executing various computation parts on a GPU is asynchronous, so a larger GPU can potentially run multiple kernels simultaneously. Due to the asynchronous property, decoupling the computation means that the update of the first component can initiate while the forward propagation of the remaining network occurs, potentially leading to improved GPU utilization. However, this favorable scenario is not always guaranteed and relies heavily on factors such as tensor sizes and GPU specifications, which might explain why it is not consistently observed. That being said, this exciting discovery makes SCPL an attractive option even in a single GPU environment.

Discussion on accuracy comparison

The unexpectedly higher accuracy of SCPL compared to that of BP was a pleasant surprise. However, the primary goal of SCPL is to improve training performance. Thus, even in scenarios where SCPL may underperform compared to BP, employing SCPL initially for model training, followed by fine-tuning with standard BP, remains a viable and promising strategy, especially when the size of a model exceeds a GPU’s capacity.

Training time vs. test accuracy

Given a fixed training time, SCPL generally achieves better accuracies on test datasets. We do not present the results of BP on 4 GPUs because BP only supports naïve model parallelism. Consequently, BP with a single GPU consistently has higher training throughput than BP with 4 GPUs, as each GPU must wait for the others to finish their tasks in both forward and backward, and the additional communication overhead further reduces performance.

Profiling NMP and SCPL

We used PyTorch’s profiler to observe the execution periods of the CPU and the GPUs of one iteration. We used 4 GPUs to train an LSTM with four layers; each GPU is responsible for the training of a layer.

Why SCPL may work?

The experimental results presented in this paper demonstrate that SCPL not only significantly enhances training throughput but also often achieves test accuracies comparable or even superior to traditional end-to-end backpropagation across various architectures and datasets. This phenomenon, where a decoupled training approach with local objectives rivals or exceeds a globally optimized one, warrants a deeper exploration into the potential theoretical underpinnings of SCPL’s effectiveness. Although the primary motivation for SCPL design is throughput improvement, its strong empirical accuracy invites further discussion. The authors of Associated Learning (AL) proposed conjectures for similar observations with their method, including the benefits of projecting features and targets into the same latent space, the regularization effect of autoencoder components, and the advantages of overparameterization. While some of these are specific to AL’s architecture, the success of SCPL suggests broader principles at play, as the first and second conjectures of AL do not apply to SCPL. We propose several hypotheses to explain the unexpectedly high predictive accuracy of the SCPL method.

Second, our design likely improves gradient dynamics and introduces implicit regularization. In very deep networks, end-to-end BP can suffer from the issue of vanishing gradients, making it difficult for earlier layers to receive strong learning signals. Local losses, as employed in SCPL, create shorter, more direct paths for gradient flow to pass information to the intermediate segments. This may help learning in earlier layers to develop meaningful representations. Furthermore, the introduction of multiple local objectives can act as a form of implicit regularization. By requiring different parts of the network to satisfy these auxiliary SCL tasks, SCPL imposes additional constraints on the learned representations. This may prevent the model from overfitting to the global objective alone and encourage the development of more generalizable features. This is somewhat analogous to how multitask learning can lead to more robust representations.

Third, although we introduce local objectives, they may mostly align with the global discriminative task. This is mainly because SCL is inherently a supervised task that aims to maximize inter-class variance and minimize intra-class variance in the learned embedding space. Its objectives are conceptually aligned with many global classification tasks, such as those using a final cross-entropy loss.

Potential Risks and Trade-offs

Third, SCPL may not be universally optimal for all architectures. Our experiments show that, while SCPL often matches or exceeds BP, it can underperform on ResNet architectures. This is likely because ResNet’s inherent skip connections already provide a robust path for gradient flow, diminishing one of the key benefits of local losses. The aggressive local SCL objectives might also interfere with the delicate optimization of residual features that end-to-end BP provides for ResNet. This probably suggests that SCPL is most beneficial in very deep networks that are susceptible to gradient flow issues and may be less advantageous in architectures that have already considered this issue internally.

Finally, SCPL introduces new hyperparameters, including network segmentation points, the temperature of the SCL losses, and the relative weighting between local losses and the final global loss. The optimal tuning of these can be more complex than for standard BP and can influence the final model performance. Moreover, conventional wisdom for tuning hyperparameters (e.g., learning rate, dropout rate) in end-to-end backpropagation models may not be effective in finding the optimal settings for SCPL.

Managerial and Organizational Implications

First, SCPL improves organizational agility by addressing substantial cost and time barriers to AI adoption. By eliminating the pipeline bubbles inherent in backward locking, SCPL ensures that expensive GPU clusters operate more continuously, fundamentally improving the economic efficiency of hardware resources. As compute costs are projected to increase by 89%, the ability to significantly shorten training durations enables organizations to mitigate these escalating expenses and accelerate time-to-deployment. For the MIS field, this efficiency provides a critical pathway for training and applying sophisticated information systems with greater speed and responsiveness to market changes.

Second, SCPL functions as an enabling technology for more powerful business intelligence. The performance of many core MIS applications, such as financial fraud detection, supply chain optimization, or advanced recommendation systems, is often correlated with the scale and complexity of the underlying models. By making it more feasible to train giant models that might otherwise exceed the memory of a single device, SCPL provides the technical foundation necessary for developing a new class of more accurate and capable enterprise systems.

Finally, this study offers valuable system-level insights for enterprise IT strategy. Our profiler analysis (Section 4.6) comparing GPU utilization between SCPL and Naïve Model Parallelism (NMP) provides a clear, visual argument for why decoupled-loss architectures can be more efficient. This, combined with the architectural discussion of GPipe (Section 5.3), equips technology leaders with a deeper understanding of the trade-offs involved in different parallelization strategies. These insights are crucial to making informed decisions when designing and investing in scalable and cost-effective AI infrastructure.

Conclusion, limitation, and future work

This paper proposes to utilize local losses to achieve model parallelism for neural network training. We present SCPL, an innovative methodology for decoupling the components of the backpropagation process in a neural network and accomplishing model parallelism. SCPL applies to all supervised discriminative models, potentially benefiting the training of various large models. Our experiments on multiple open datasets and popular network architectures demonstrate that SCPL reduces training time while achieving test accuracies comparable to or superior to the traditional backpropagation algorithm. Moreover, SCPL can potentially address issues arising from long-gradient flows in deep neural networks. Compared with AL, a state-of-the-art alternative to backpropagation, SCPL is more flexible because it does not require additional fully connected layers near the output layers. This flexibility makes SCPL a promising substitute for AL and an attractive alternative to backpropagation. We believe that SCPL has the potential to advance the field of deep learning and contribute to the development of model parallelism and more efficient alternatives for end-to-end backpropagation.

GenAI Usage Disclosure

During the preparation of this work, the authors used large language models (e.g., ChatGPT and Gemini) to improve language and readability. The authors reviewed and edited the content as needed and take full responsibility for the content of the publication.