面向支持持续学习系统开发的机器学习训练时间预测研究
Towards a Prediction of Machine Learning Training Time to Support Continuous Learning Systems Development
AI总结:
本文通过实证研究FPTC方法在逻辑回归和随机森林上的训练时间预测公式,揭示其优势与局限,指出该方法依赖具体数据集上下文且不具备泛化性。
摘要:
预测机器学习(ML)模型训练时间的问题在科学界已变得极为重要。能够先验地预测ML模型的训练时间,将使得在例如MLOps架构的背景下,能够自动选择在能源效率和性能方面均最优的模型。在本文中,我们介绍了我们朝着这一方向所开展的工作。具体而言,我们展示了针对Zheng等人提出的全参数时间复杂度(Full Parameter Time Complexity,FPTC)方法的广泛实证研究,据我们所知,该方法是唯一将ML模型训练时间形式化为数据集参数和模型参数函数的方法。我们研究了针对逻辑回归(Logistic Regression)和随机森林(Random Forest)分类器所提出的公式,并重点分析了该方法的主要优势与不足。最后,我们观察到,从所进行的研究来看,训练时间的预测与上下文(即所涉及的数据集)密切相关,并且FPTC方法不具备泛化性。
英文摘要:
The problem of predicting the training time of machine learning (ML) models has become extremely relevant in the scientific community. Being able to predict a priori the training time of an ML model would enable the automatic selection of the best model both in terms of energy efficiency and in terms of performance in the context of, for instance, MLOps architectures. In this paper, we present the work we are conducting towards this direction. In particular, we present an extensive empirical study of the Full Parameter Time Complexity (FPTC) approach by Zheng et al., which is, to the best of our knowledge, the only approach formalizing the training time of ML models as a function of both dataset's and model's parameters. We study the formulations proposed for the Logistic Regression and Random Forest classifiers, and we highlight the main strengths and weaknesses of the approach. Finally, we observe how, from the conducted study, the prediction of training time is strictly related to the context (i.e., the involved dataset) and how the FPTC approach is not generalizable.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。