Manuscript Offprint

arXiv:2610.02057

Optimizing Effective Training Time for Large-Scale Recommendation Systems

Mingming Ding, Ruilin Chen, Yuzhen Huang, Hang Qi, Menglu Yu, San Tan, Damian Reeves, Boris Sarana, Kevin Tang, Satendra Gera, Gagan Jain, Sahil Shah, Vishwa Karia, Fuzail Khan, Yashasvi Makin, Edward Z. Yang, Oguz Ulgen, Jia Chen Ren, Laith Sakka, Mayank Garg, Meet Vadakkanchery, Aici Lin, Wei Sun, Mengjiao Zhou, Shuai Yang, Junqing Zhou, Max Leung, Apoorv Purwar, Musharaf Sultan, John Bocharov, Zhenyu Tang, Vivek Trehan

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Mingming Ding, Ruilin Chen, Yuzhen Huang, Hang Qi, Menglu Yu, San Tan, Damian Reeves, Boris Sarana, Kevin Tang, Satendra Gera, Gagan Jain, Sahil Shah, Vishwa Karia, Fuzail Khan, Yashasvi Makin, Edward Z. Yang, Oguz Ulgen, Jia Chen Ren, Laith Sakka, Mayank Garg, Meet Vadakkanchery, Aici Lin, Wei Sun, Mengjiao Zhou, Shuai Yang, Junqing Zhou, Max Leung, Apoorv Purwar, Musharaf Sultan, John Bocharov, Zhenyu Tang, Vivek Trehan

Meta Platforms, Inc.

Menlo Park, California, USA

{midin, ruilinchen, yuzhenhuang, hangqi, mengluy, santan, damianreeves, bsarana, kevintang, sgera, gaganj, sahshah, vishwakaria, fuzailkhan, yashasvi, ezyang, oulgen, bobren, lsakka, mayankgarg, meetv, linaici, wesun, mengjiao, shuaiyang, junqingz, maxle, apurwar, musharafs, jbocharov, jonanthang, vtrehan}@meta.com

Abstract—Lifecycle overhead silently consumes accelerator capacity across large-scale recommendation training fleets. Our largest recommendation workloads process tens of billions training examples per day on thousands of GPUs. Before this work, only 50-60% of their end-to-end wall time advanced training on new data. We present a fleet-scale study of this lifecycle overhead and a set of optimizations spanning the full training stack. We use Effective Training Time (ETT%) as an operational framework to instrument lost time, localize it to independently owned infrastructure components, and expose work repeated across job restarts. This analysis guides optimizations like communication elimination and pipeline overlap during trainer initialization; dynamic-shape handling, autotuning pruning, and reusable PyTorch 2 compilation caches; asynchronous checkpointing; standalone model publishing; and reductions in recovery cost. We evaluate the optimizations on representative models and measure their impacts in our training fleet. ETT% improves on every benchmark, by 15.5% on average, and reaches 85% on our largest workload. Fleet-wide ETT% rose from about 80% to above 90% after deployment.

Index Terms—recommendation systems, training efficiency, effective training time, distributed training, PyTorch, large-scale ML infrastructure

I. INTRODUCTION

Recommendation quality decays as user behavior drifts, so a production recommendation model is only as good as its freshness: how quickly training turns new interaction data into a deployed model. Hence, a recommender must absorb interaction data continuously while sharing the training fleet with other production workloads [9]. At this scale, training efficiency is not only the speed of a training step. A job occupies GPUs from allocation until release, including periods in which it waits, initializes, compiles, checkpoints, publishes, or recovers. Our largest ads recommendation models use thousands of GPUs and train on tens of billions examples per day. Our largest ads recommendation models only spent 50-60% of its end-to-end wall time training on new data. At this scale, time spent outside the training loop is idle GPU capacity, not just a minor startup cost.

Existing metrics do not close this gap. Model FLOPs Utilization (MFU) measures efficiency inside the training loop [2], [4], [8], but it does not account for the rest of the job lifecycle. ML Productivity Goodput provides the correct end-to-end view by separating productive work from idle and lost work [12], [16]. In our environment, however, its top-level categories do not identify the individual infrastructure phase that regressed or the team that can correct it. Optimization requires both an end-to-end objective and a diagnostic path from that objective to an owned system component.

We address this operational gap with Effective Training Time (ETT%), the fraction of end-to-end wall time spent advancing training on new data. The central idea is the hierarchy behind the scalar. At Level 1, ETT% attributes lost time to Time to Start (TTS), Time to Recover (TTR), and Number of Failures (NoF). At Level 2, instrumented phase boundaries localize the loss to six components, each mapped to an infrastructure system and an owning team. This structure turns a fleet-level efficiency regression into a bounded systems problem with a measurable target.

The individual optimization techniques in this study are established systems methods, including asynchronous checkpointing and fast recovery [7], [15]. Our contribution is the fleet-scale process for deciding which method to apply, measuring its end-to-end return, and preserving the gain as models and infrastructure evolve. The hierarchy also exposes interactions across the lifecycle: when recovery repeats part of startup, an improvement to that shared phase reduces both TTS and TTR. We measure this restart effect rather than assuming that the benefits of separate changes are independent.

We evaluate the framework on 7 recommendation models running on NVIDIA H100 clusters from 8 to 2,000 GPUs, and we track the deployed result across hundreds of models

Figure

Overhead (time to start + wasted training + shutdown) = 40% of end-to-end wall time.

Fig. 1. Training job lifecycle across multiple attempts with per-stage ETT breakdown before optimizations

in the offline training fleet. Across six paired benchmarks with controlled failures, baseline ETT% ranged from 59–85% and increased to 80–93%, with a mean gain of 15.5 percentage points. Recovery-path reductions accounted for 58% of the total time saved, and TTR fell by 1.8–8.6 times the corresponding TTS reduction.

Parts of this work appeared earlier in engineering blog posts [10], [11]. This paper formalizes and extends that material with a precise metric definition, controlled per-model evaluation, interaction and attribution results, and a longitudinal fleet view.

This paper makes three contributions.

• An operational metric framework. ETT% and its two-level decomposition, with measured phase boundaries and a named owner for each component (Section III).

• A set of optimizations. Spans trainer initialization, PT2 compilation, checkpoint management, model publishing and failure handling (Section IV).

• Fleet-scale evidence. Controlled per-model results, component attribution, and measurements fleet-wide at up to 2,000 GPUs (Section V).

References (34)