arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.12017cs.DCcs.LG
收藏

可扩展且成本高效的机器学习推理:基于无服务器函数的并行批处理

Scalable and Cost-Efficient ML Inference: Parallel Batch Processing with Serverless Functions

Oakland University(奥克兰大学)

Amine Barrak, Emna Ksontini

AI总结:

针对有限资源环境下批处理的可扩展性与资源管理挑战,本文提出将单体流程分解为并行无服务器函数的方法,经DistilBERT模型与IMDb数据集的情感分析案例验证,该方法可在成本不变的情况下将执行时间减少95%以上,提升大规模机器学习推理的效率与经济性。

摘要:

随着数据密集型应用的增长,有限资源环境中的批处理面临可扩展性和资源管理挑战。无服务器计算提供了一种灵活的替代方案,支持动态资源分配和自动扩展。本文探讨了无服务器架构如何通过将单体流程分解为并行函数,使大规模机器学习推理任务更快且具有成本效益。通过使用DistilBERT模型和IMDb数据集进行情感分析的案例研究,我们证明,与单体方法相比,无服务器并行处理可将执行时间减少95%以上,且成本相同。

英文摘要:

As data-intensive applications grow, batch processing in limited-resource environments faces scalability and resource management challenges. Serverless computing offers a flexible alternative, enabling dynamic resource allocation and automatic scaling. This paper explores how serverless architectures can make large-scale ML inference tasks faster and cost-effective by decomposing monolithic processes into parallel functions. Through a case study on sentiment analysis using the DistilBERT model and the IMDb dataset, we demonstrate that serverless parallel processing can reduce execution time by over 95% compared to monolithic approaches, at the same cost.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑