Why Large Model Training Is So Hard: Communication, Reliability, and Numerical Stability at Scale

    Large model training is difficult not because compute scales linearly with model size, but because difficulty grows super-linearly. This article reframes training as long-horizon deterministic engineering and walks through the four coupled problems that dominate it: parallel partitioning and the communication wall that depresses Model FLOPs Utilization (MFU); long-run hardware reliability, including silent slow nodes and checkpoint recovery costs; numerical stability issues such as loss spikes in mixed-precision training; and the high-dimensional coupling of hyperparameters that makes small-scale tuning hard to transfer. It also covers observability and cost control based on cost per unit of effective compute, with practical mitigation strategies for each problem.

    Many people still think of large model training in terms of parameter counts alone: hundreds of billions of parameters, trillions of parameters, mixture-of-experts architectures, as if the model would simply emerge once the GPUs are in place and the budget is approved. That view misses a key fact: training difficulty does not rise linearly with scale, it deteriorates super-linearly. The hard part is not “computing fast.” It is keeping thousands of accelerators running stably for months while ensuring the numerical process does not diverge and compute is not consumed by communication and failures. This article tries to make that clear.

    1. Reframing the Problem: From Stacking Compute to Long-Horizon Deterministic Engineering

    In the small model era, training was a controllable experiment: tens of devices, a cycle of a few days, restart the process if it dies, and manually roll back a checkpoint if the loss curve jitters. In the large model era, training is closer to long-horizon deterministic engineering: jobs span thousands of accelerators, cycles are measured in months, and any single point of jitter is amplified into a global stall.

    A fitting analogy: you need a race car to hit its speed limit, drive continuously at full load for three months without stopping, and change tires along the way. Speed is only the entry ticket; reliability is the variable that decides whether you reach the finish line.

    So evaluating training difficulty requires two orthogonal dimensions. The first is the spatial dimension: how the model and data are partitioned across massive numbers of devices while staying efficiently coordinated. The second is the temporal dimension: how the job withstands hardware failures, numerical anomalies, and configuration drift over a long cycle. Engineering stability and algorithmic convergence sit exactly at the intersection of these two dimensions, and they are coupled. Low-precision and parallel strategies adopted to raise throughput can directly trigger convergence anomalies; rolling back the configuration to protect convergence can send throughput and cost out of control.

    2. Parallel Partitioning and the Communication Wall: Why Compute Utilization Collapses

    Partition a model across thousands of devices and intuitively compute should add up linearly. In practice it is far from that. Every layer’s forward and backward passes need to synchronize activations, gradients, and parameters across devices. The more devices, the higher the communication share, with computation and communication competing for the same interconnect bandwidth.

    The partitioning schemes common in the industry fall into four categories, usually combined:

    • Data parallelism: each device holds a full model replica, and gradients require a global reduction after the backward pass, so communication volume grows with device count;
    • Tensor parallelism: a single layer’s matrix operations are split horizontally, requiring multiple collective communications in both forward and backward passes; it is extremely sensitive to inter-device bandwidth and latency, and is generally used only within a single machine’s high-speed interconnect domain;
    • Pipeline parallelism: layers are split vertically into stages, introducing pipeline bubbles that must be compressed with recomputation and scheduling strategies;
    • Sequence/context parallelism: splitting along the sequence dimension to break through the memory and attention cost bottlenecks of long contexts.

    The standard metric for real efficiency is Model FLOPs Utilization (MFU), the ratio of achieved floating-point operations to the hardware’s theoretical peak. With long contexts, deep networks, and large-scale clusters combined, this metric is often significantly below expectations, meaning a substantial share of capital expenditure is spent waiting for data movement and synchronization rather than on effective computation.

    Improvements concentrate on three areas. First, operator-level optimization: take attention as an example, where a standard implementation writes intermediate matrices to memory and reads them back, with memory traffic growing quadratically with sequence length; the blocked computation plus online normalization approach (commonly known in the industry as FlashAttention-style methods) sharply reduces memory access overhead at the same precision by cutting memory round trips, and is now effectively the default—omitting it can nearly double the cost. Second, computation-communication overlap: split gradient reduction into small buckets and pipeline it with the backward computation to hide communication latency. Third, aligning partitioning with topology: place high-communication-density partitions inside the highest-bandwidth interconnect domain, leaving only loosely coupled partitions to cross domains.

    Schematically, to judge whether a configuration change is worthwhile, you can do a quantitative comparison along these lines rather than trusting a “looks high” monitoring dashboard:

    1. # Illustrative evaluation logic only: compare cost per unit of effective compute
    2. def training_efficiency(mfu, peak_flops, num_devices, wall_clock_hours, total_cost):
    3. achieved = mfu * peak_flops * num_devices # effective compute
    4. cost_per_effective_pflops = total_cost / (achieved * wall_clock_hours)
    5. return {"mfu": mfu, "cost_per_effective_pflops": cost_per_effective_pflops}
    6. # Raising mfu from 0.28 to 0.42 with other conditions unchanged
    7. # cuts cost per unit of effective compute by roughly 40%

    3. Long-Horizon Reliability: Hardware Failure Is the Norm, Not the Exception

    Thousands of devices running for months make hardware failure a statistical certainty. Accelerators experience memory bit flips, NICs and optical modules flap, nodes drop out, and slow nodes (silent slowdowns) appear. The slow node is the most insidious: it triggers no alert, yet makes the entire collective communication wait on the slowest device, showing up as a slow decline in utilization.

    The countermeasures form a layered system:

    1. Health checks and slow node detection: periodically run bandwidth and compute benchmarks, using percentiles rather than means to locate outlier devices;
    2. High-frequency checkpointing: write state to high-throughput object storage while controlling per-save time (via asynchronous saving, sharded saving, or an in-memory staging step);
    3. Elastic fault-tolerant training: use container platforms and orchestration systems with node self-healing so that after a failure the job is automatically rescheduled and resumes from the latest checkpoint;
    4. Redundancy and hot spares: keep a pool of standby nodes to shorten replacement wait time.

    The recovery cost deserves emphasis: if an interruption rolls back to a checkpoint from hours earlier, what is lost is not only that stretch of time but also the overhead of rebuilding optimizer state, the learning rate schedule, and data sampling progress. A checkpoint must therefore fully include model weights, optimizer momentum, learning rate scheduler state, and the data loader position; missing any one of them can make the curve discontinuous after resuming.

    4. Numerical Stability: Why Convergence Gets More Fragile at Extreme Scale

    As scale grows, numerical problems shift from occasional to frequent. A common symptom is the loss spike: the curve jumps suddenly at one step and then either recovers slowly or diverges outright. The causes are usually coupled: insufficient dynamic range in low-precision formats causing overflow, abnormally amplified gradient norms, extreme distributions in individual data batches, and mismatches between learning rate and batch size.

    Countermeasures widely used in the industry include: mixed-precision training with a master copy of the weights maintained; gradient clipping to bound the norm; keeping higher precision for sensitive operators (normalization, loss computation, attention softmax); adaptively skipping anomalous batches; and retaining dense recent checkpoints so you can roll back within the few dozen steps around a spike. The key insight here is that a spike is often not an algorithm bug but an emergent phenomenon from the interaction of the numerical process with the parallel strategy. Diagnosing it therefore requires looking at gradient norms, parameter update magnitudes, per-layer activation statistics, and communication timing all at once; the loss curve alone cannot attribute the cause.

    5. High-Dimensional Coupling in the Tuning Space

    Hyperparameters are not independently tunable. Batch size is constrained by memory and communication efficiency, learning rate must be adjusted with batch size and parallel degree, recomputation (activation recomputation) saves memory but adds roughly 30% more computation, sequence length affects attention cost, and data mixture and curriculum order affect the convergence path. These variables are entangled, so conclusions from small-scale experiments often fail to extrapolate to the target scale, creating a “tuning does not transfer” predicament.

    What works better in practice is a process of small-scale extrapolation laws plus validation at key scales: first fit scaling relationships at a controllable scale, then run a small number of confirmatory experiments at the target scale; at the same time, put the data mixture, sampling seeds, and partitioning configuration all under version control so that any anomaly can be reproduced and attributed.

    6. Observability and Cost Control

    The training platform needs to connect metrics, logs, and traces: throughput and MFU, communication share, per-stage timing, memory watermarks, temperature and power, checkpoint duration, and failure and rescheduling events, all fed into unified logging and monitoring/alerting, with tiered alerts for slow nodes, utilization drops, and loss spikes. On the cost side, the focus should be cost per unit of effective compute rather than the raw price per device-hour—raising utilization from 30% to 40% is equivalent to the budget magically increasing by 30%.

    If you build the training foundation on general-purpose capabilities such as Baidu AI Cloud’s container platform, object storage, logging service, and monitoring and alerting, the value lies mainly in standardizing resource scheduling, state persistence, and observability, so the team’s energy returns to partitioning strategy and convergence tuning itself.

    Conclusion

    Large model training is hard because it is simultaneously a communication optimization problem, a reliability engineering problem, a numerical analysis problem, and a high-dimensional tuning problem, with all four constraining each other. Treating “stack more devices” as the answer usually yields only a curve with very low utilization and an over-budget bill. The real path is to use MFU as the core metric, a fault-tolerance and checkpoint system as the foundation, numerical stability as the red line, and reproducible experiments as the method, converging uncertainty layer by layer.