When many jobs share GPUs in slices (a quarter of a GPU here, half of its memory there), clusters strand capacity: plenty of GPU is free in total, but it sits in pieces too small or oddly shaped for the jobs that actually arrive. The strongest published scheduler for this, Fragmentation Gradient Descent (FGD), places each task so that the cluster stays as useful as possible for a reference workload, meaning a distribution over task shapes it expects to see. That reference is taken from a snapshot of recent or historical tasks. Real clusters do not keep a fixed mix of jobs, though. Research groups switch between inference sweeps and large training runs, and what counts as a "useful" leftover shape changes with them. This note proposes to forecast the reference workload FGD should defend, instead of copying it from the recent past. The forecast models future demand as a mixture of known per-group request profiles.
The catch is that this forecast is an ill-conditioned inverse problem. Many user groups submit nearly identical request shapes, so it is numerically arbitrary how recent demand is split among them. That split still matters, because groups differ in how long they keep submitting and how long their jobs run. Naive least squares assigns wild, sign-flipping weights to near-duplicate groups, and the forecast swings with them. We borrow the fix from numerical approximation with redundant bases: truncated singular value decomposition (SVD), which solves the least-squares problem only along its well-determined directions and discards the rest. The claim is that a redundant group dictionary regularized this way gives FGD a forward-looking target that strands fewer GPUs under workload drift, and that the truncation cutoff works as an interpretable dial between forecast detail and robustness.
Core Claim
FGD, from Beware of Fragmentation, defines a node's fragmentation as the expected amount of its GPU capacity that a task drawn from the target workload could not use. Writing the task-shape space as $M$ bins with target probabilities $p_m$, and $f(n,m)$ for the GPU capacity on node $n$ unusable by a task of shape $m$, the score is $F(n) = \sum_m p_m f(n,m)$. FGD places each arriving task where $F$ grows least. Every decision therefore depends linearly on $p$. The file itself flags as open that FGD computes this from a snapshot or static trace and has no mechanism for stability when the distribution shifts. Our proposal leaves FGD's placement rule untouched and changes only where $p$ comes from.
Let $Q \in \mathbb{R}^{M \times G}$ hold, as its columns, the historical shape distributions of $G$ user groups. Let $y \in \mathbb{R}^M$ be the arrival counts per shape bin in a recent window, and let $w \in \mathbb{R}^G$ be the current activity level of each group. The forecast of the duration-weighted demand over the next horizon is $\hat p \propto Q\,\mathrm{diag}(r)\,w$, where $r_g$ is group $g$'s expected persistence, estimated from its recurrence history. Group activity is recovered with the truncated pseudo-inverse
$$ \hat w = V_k \Sigma_k^{-1} U_k^{\top} y, \qquad k = \max\{i : \sigma_i \ge \tau\}, $$
where $Q = U\Sigma V^{\top}$ is the SVD with singular values $\sigma_i$ and $\tau$ is the cutoff. The mechanism for instability is concrete. If two groups have near-identical shapes (a tiny $\sigma_i$) but different $r_g$, the untruncated solution can load large opposite weights on them. Those weights cancel in $Qw$ but not in $Q\,\mathrm{diag}(r)\,w$, so the forecast explodes. Truncation removes exactly those directions.
The numerical literature supplies both the method and the reason to expect it to work. Frames and Numerical Approximation shows that redundant, linearly dependent systems remain accurate and stable once small singular values are discarded. The groups here play the role of frame elements: we keep all of them for expressiveness instead of hand-merging them. Parameter selection and numerical approximation properties of Fourier extensions from fixed data shows that the cutoff trades precision against resolution, which is the dial we expose. Stable and Accurate Least Squares Radial Basis Function Approximations on Bounded Domains gives the same lesson for a severely ill-conditioned least-squares problem. The open problem the file names for this line of work, choosing the cutoff (Selecting the rank of truncated SVD by maximum approximation capacity), becomes in our setting something we can measure directly: which $\tau$ minimizes stranded GPUs on held-out time.
Research Program
The first step is a feasibility audit on the Alibaba traces. We build $Q$ from group-level request histories and measure its conditioning. We then measure how far groups sharing a near-null singular direction differ in persistence $r$. ATLAS reports that about 81.3% of test jobs are recurring for their user or group, which suggests group profiles and persistence can be estimated. If near-duplicate groups turn out to have similar persistence, the instability described above does not occur, and the regularization argument collapses to "any smoother works." We would report that outcome as a finding.
The second step builds the forecaster. It combines the dictionary $Q$, per-group persistence and duration weighting, and truncated SVD with $\tau$ chosen by rolling-origin validation on stranded-GPU outcomes, not on forecast error alone. Group profiles change slowly as new groups appear and old ones drift. We therefore maintain the truncated factorization incrementally, using the projection updates of Projection techniques to update the truncated SVD of evolving matrices, so that re-forecasting costs little next to FGD's per-task candidate scan.
The third step plugs $\hat p$ into an unmodified FGD placement rule inside a trace-driven simulator that replays arrivals and departures. A secondary study repeats the plug-in for the power-aware hybrid of Power- and Fragmentation-aware Online Scheduling for GPU Datacenters. That work combines FGD with a node power model through a static weight $\alpha$, and its sweet spot for $\alpha$ may itself move with the workload mix.
Baselines
The naive reference point is FGD with its reference workload taken as the empirical shape distribution of all historical tasks, which is the snapshot the file describes. Beware of Fragmentation reports that FGD "reduces unallocated GPUs by up to 49% compared to existing packing-based schedulers" and recovers 150–290 GPUs in large production clusters. This is the strongest existing method on exactly our question, and our method must beat it on its own trace and metric. The file reports no FGD result under deliberate workload drift (no reported result found on Lacuna for FGD under distribution shift), so we generate that baseline number ourselves.
The second baseline is sliding-window FGD, which re-estimates $p$ from the last $W$ minutes of arrivals with $W$ tuned. It is the obvious adaptive fix and is often hard to beat.
For context we also run Best-fit and Dot-product packing, which Power- and Fragmentation-aware Online Scheduling for GPU Datacenters evaluates and finds inferior to fragmentation-aware scoring.
The ablations isolate the key ingredient. The first is the same group-mixture forecaster solved with plain least squares, which should show the instability. The second replaces truncated SVD with ridge (Tikhonov) regularization. The third uses non-negative least squares. The fourth merges near-duplicate groups into clusters beforehand, so no regularization is needed.
An oracle version of FGD that uses the realized future shape distribution gives the ceiling on what any forecast of $p$ can achieve.
All variants share the same simulator, trace splits, placement code and candidate scan. Each gets the same hyperparameter budget on a validation month: $W$ for the sliding window, $\tau$ for truncation, the ridge penalty, and the cluster count. Beating FGD means a statistically consistent reduction in the unallocated-GPU fraction at matched cluster load, across several held-out periods, with no increase in queueing delay. Beating the ablations means doing so specifically in the high-drift periods.
Why not just…?
Why not just re-estimate the workload from a sliding window? This is the real threat. A window adapts to drift with no model at all. It lags, however, and cannot anticipate that a group now submitting heavily will stop, or that its long jobs will hold their shapes for days. ATLAS reports durations from 3 seconds to 7 days, a spread that makes arrival mix and resident mix very different. The oracle-versus-window gap measures how much room exists. If the window closes most of that gap, the proposal reduces to "tune FGD's window," and we will say so.
Why not just use ridge regression instead of truncated SVD? Ridge also damps ill-conditioned directions and may perform equally well. Our claim does not rest on truncated SVD beating ridge. It rests on keeping a redundant group dictionary and regularizing it spectrally, versus using no forecast or an unregularized one. We run both. We prefer truncation only if its cutoff, which has a direct meaning as the number of distinguishable workload modes, turns out easier to set or more stable across months.
Why not just cluster similar groups so the dictionary is well-conditioned? Merging near-duplicates removes the small singular values by construction. It is a hard, one-time version of truncation. It fails when groups with similar shapes have different persistence, which is exactly the case our audit measures, and it needs re-clustering as groups drift. The clustered-dictionary ablation settles the question empirically.
Why not just use coarse allocation granularity instead of fighting fragmentation? Design and Operation of Shared Machine Learning Clusters on Campus avoids fragmentation with power-of-two allocations and reports a 96% GPU assignment rate on 160 GPUs. Rounding a 10–20% slice up to a whole device gives up the sharing that FGD exists to exploit, so it answers a different question than ours.
Proposed Experiments
The decisive check comes first and is cheap. On the Alibaba GPU-sharing trace used by FGD, compare snapshot FGD with oracle-$p$ FGD. If knowing the future shape distribution does not reduce unallocated GPUs meaningfully, no forecaster can help, and we stop. If it does, we run the full comparison on held-out weeks, reporting four things: the unallocated-GPU fraction as the cluster fills, mean and tail queueing delay in arrival–departure replay, total-variation error of $\hat p$ against realized demand, and the rate of placement decisions that change when the forecast is perturbed by resampling the input window. If the ATLAS/PAI trace carries both group identifiers and fractional requests, we use it to test generality; otherwise we note the limitation. We stratify results by measured drift and by the condition number of $Q$ in each period.
The specific prediction is that unregularized mixture forecasting degrades exactly in high-condition-number periods and that truncation repairs it there. That pattern, not an average gain, is what would show the numerical mechanism is real. Finally, sweeping $\tau$ should trace a U-shaped curve of stranded GPUs against cutoff, mirroring the resolution–stability trade-off reported for Fourier extensions. The location of the minimum should be stable enough across months to fix once per cluster.
References
- Beware of Fragmentation: Scheduling GPU-Sharing Workloads with Fragmentation Gradient Descent
- Frames and numerical approximation
- Parameter selection and numerical approximation properties of Fourier extensions from fixed data
- Stable and accurate least squares radial basis function approximations on bounded domains
- Selecting the rank of truncated SVD by maximum approximation capacity
- ATLAS: Alibaba Dataset and Benchmark for Learning-Augmented Scheduling
- Projection techniques to update the truncated SVD of evolving matrices
- Power- and Fragmentation-aware Online Scheduling for GPU Datacenters
- Design and Operation of Shared Machine Learning Clusters on Campus