TRANSMISSION // 2612.02766v1

Can AI Predict How Long Fine-Tuning Will Take?

Source published

A CatBoost model estimated fine-tuning job times from production logs, but its cross-validation results may not transfer beyond the GPU setup studied.

AI-generated conceptual illustration for Can AI Predict How Long Fine-Tuning Will Take?
AI-generated conceptual illustration; not documentary evidence.

Training a language model is only part of the clock. Loading files, running evaluations and saving checkpoints also take time—and make job durations hard to predict. A preprint tests whether machine learning can forecast the full runtime from settings known before a job starts.

Why estimate training time?

Fine-tuning adapts a pretrained language model to a particular task. For organizations running these jobs on shared GPU clusters, a poor time estimate can complicate scheduling and capacity planning. A simple calculation based on the amount of computation and the GPUs’ theoretical speed misses much of the process: jobs also load models and data, run periodic evaluations, save checkpoints and share infrastructure with other workloads.

The authors ask whether details about real-world jobs can help predict total elapsed time before a job begins. They focus on supervised fine-tuning, or SFT, and compare analytical estimates with machine-learning models trained on past executions.

What the researchers did

The team analyzed 272 SFT jobs from a corporate production environment. All ran on NVIDIA H200 GPUs, with individual jobs allocated one, two or four GPUs. The cluster was shared with other training and inference work. Jobs lasted from 1.6 to 172.4 hours, with a mean duration of 23.43 hours.

The measured clock started when a job was assigned a worker and ended when it was marked complete. It included setup, downloads, model and dataset loading, tokenization, training, scheduled evaluations, checkpoint uploads and final model storage. Time spent waiting in the queue was excluded.

For each job, the researchers assembled information available before dispatch: model and dataset characteristics, GPU allocation, training settings, and planned evaluation and checkpoint schedules. They also engineered features to represent workload and overheads, including estimated evaluation data volume and the number of saves. They trained linear regression and two gradient-boosting models, CatBoost and XGBoost, and compared them with analytical estimates. Performance was assessed using five-fold cross-validation: the data were divided into five parts, with each part held out in turn while the model was trained on the others.

What they found

The best FLOPs-based analytical estimate had a mean absolute error of 12.41 hours. This is the average size of the prediction error, regardless of whether a prediction was too high or too low. The paper’s adapted Calculon baseline, which estimates training-step time, performed worse on this end-to-end target.

CatBoost had a reported mean absolute error of 1.71 hours and a median absolute error of 0.51 hours in cross-validation. The median is lower than the mean because a smaller number of larger errors pull the average upward. Across the 272 out-of-fold predictions—that is, predictions made for each job when it was held out from training—80% were within 2.20 hours of the observed duration and 90% within 4.31 hours. These are cross-validation results, not results from an independent test set. XGBoost was close, with a mean absolute error of 1.95 hours. The reported differences between the two boosting models were within one standard deviation, so the results do not clearly establish that CatBoost is superior.

Feature analyses highlighted both computational workload and work around the training loop. Evaluation data volume was the most important feature in the reported ranking; model-size measures and training-token volume also ranked among the influential predictors. Checkpoint-related features were relevant as well. These are associations the model used for prediction, not proof that changing any one setting will cause a particular runtime change. GPU count, for example, partly reflected the scale of jobs assigned more GPUs, rather than showing that adding GPUs itself makes jobs slower.

How much confidence is warranted?

The results are promising for forecasting jobs similar to those in the dataset, but they are not a general-purpose runtime guarantee. The study covers one organization’s SFT jobs and one GPU type. The authors say the model is calibrated to H200-based infrastructure; applying the method elsewhere would require representative local execution logs and likely retraining. The study also does not cover other training approaches, such as reinforcement-learning-based fine-tuning or preference optimization.

Long jobs are a particular uncertainty: only 13 executions lasted more than 60 hours, and errors were wider in that range. The authors also report that performance had not clearly plateaued as they increased the training-data fraction, suggesting that more examples might change the results. Cross-validation estimates performance on these collected data; it does not test transfer to a different company or cluster.

This work is available as a preprint, so its findings should be understood in that context, not as independently established results. The practical message is narrower: a predictor trained on local job histories and designed to account for operational overheads may estimate end-to-end fine-tuning time better than a compute-only formula in a matching environment.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.