Computer Science > Machine Learning
Title:Predicting End-to-End Fine-Tuning Time for Generative Language Models
Abstract:As organizations increasingly adopt the AI Factory paradigm, in which GPU-accelerated environments serve as production infrastructure for fine-tuning generative language models (GLMs), including large language models (LLMs) and small language models (SLMs), unpredictable training duration becomes an operational bottleneck. Under GPU scarcity and prohibitive compute costs, accurate estimation of end-to-end training time becomes critical for efficient resource utilization. However, estimating GLM fine-tuning duration is a multifactorial problem. Real-world pipelines also add orchestration overheads, such as model loading, periodic evaluation, and checkpointing, that affect wall-clock time. Existing analytical estimates fail to capture the end-to-end duration of full jobs running on a shared, multi-tenant production cluster. We present a machine learning-based methodology for predicting GLM fine-tuning job duration on GPU clusters, built on a feature set encompassing model, dataset, hardware, and fine-tuning configurations known before job dispatch, including engineered features that expose these overheads. Using production executions lasting 1.6 to 172.4 h (mean 23.43 h), we compare analytical baselines with linear and gradient-boosting regressors. The best analytical baseline reaches $R^2 = 0.31$ (MAE = 12.41 h), whereas the best predictor, based on CatBoost, achieved a mean absolute error (MAE) of 1.71 h, a median absolute error of 0.51 h, and a coefficient of determination ($R^2$) of 0.98 in 5-fold cross-validation.
| Comments: | 21 pages, 8 figures, 8 tables |
|---|---|
| Subjects: | Machine Learning (cs.LG) ; Artificial Intelligence (cs.AI); Distributed, Parallel, and Cluster Computing (cs.DC); Performance (cs.PF) |
| Cite as: | arXiv:2612.02766 [cs.LG] |
| (or arXiv:2612.02766v1 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2612.02766 arXiv-issued DOI via DataCite (pending registration) |
Submission history
Access Paper:
- HTML (experimental)
Additional Features
- Audio Summary
Current browse context:
References & Citations
- Google Scholar
- Semantic Scholar
BibTeX formatted citation
Bookmark
Bibliographic and Citation Tools
Code, Data and Media Associated with this Article
Demos
Recommenders and Search Tools
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.