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

MLHarness:面向MLCommons的可扩展基准测试系统

MLHarness: A Scalable Benchmarking System for MLCommons

University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University at Buffalo(布法罗大学)

Yen-Hsiang Chang, Jianhao Pu, Wen-mei Hwu, Jinjun Xiong

AI总结:

针对MLCommons Inference基准测试模型数量有限的问题,提出可扩展的MLHarness系统,支持多种输入输出模态的模型,并实现声明式贡献与跨平台基准测试,实验验证其灵活性与可扩展性。

摘要:

随着社会越来越多地采用机器学习(ML)和深度学习(DL)来构建各种智能解决方案,在共同的开发实践和资源下,使用大规模开放数据集对ML/DL模型标准化一套通用的衡量指标变得日益重要,以便人们能够在共同的基础上对模型的质量和性能进行基准测试和比较。MLCommons最近作为来自工业界和学术界的推动力量出现,以协调这一努力。尽管MLCommons Inference作为标准化基准被广泛采用,但它仅包含了有限数量的ML/DL模型(实际上总共只有七个模型)。这显著限制了MLCommons Inference基准测试结果的通用性,因为研究社区中有更多新颖的ML/DL模型,它们解决各种具有不同输入和输出模态的问题。为了解决这一局限性,我们提出了MLHarness,一个用于MLCommons Inference的可扩展基准测试系统,它具有三个显著特点:(1)它编纂了MLCommons Inference定义的标准基准测试流程,包括模型、数据集、DL框架以及软件和硬件系统;(2)它为模型开发者提供了一种简单且声明式的方法,将他们的模型和数据集贡献给MLCommons Inference;(3)它支持各种具有不同输入/输出模态的模型,以便我们能够在不同数据集、框架和硬件系统上对这些模型进行可扩展的基准测试。该基准测试系统是在MLModelScope系统之上开发的,并将向社区开源。我们的实验结果表明,该系统在MLCommons Inference基准测试中具有卓越的灵活性和可扩展性。

英文摘要:

With the society's growing adoption of machine learning (ML) and deep learning (DL) for various intelligent solutions, it becomes increasingly imperative to standardize a common set of measures for ML/DL models with large scale open datasets under common development practices and resources so that people can benchmark and compare models quality and performance on a common ground. MLCommons has emerged recently as a driving force from both industry and academia to orchestrate such an effort. Despite its wide adoption as standardized benchmarks, MLCommons Inference has only included a limited number of ML/DL models (in fact seven models in total). This significantly limits the generality of MLCommons Inference's benchmarking results because there are many more novel ML/DL models from the research community, solving a wide range of problems with different inputs and outputs modalities. To address such a limitation, we propose MLHarness, a scalable benchmarking harness system for MLCommons Inference with three distinctive features: (1) it codifies the standard benchmark process as defined by MLCommons Inference including the models, datasets, DL frameworks, and software and hardware systems; (2) it provides an easy and declarative approach for model developers to contribute their models and datasets to MLCommons Inference; and (3) it includes the support of a wide range of models with varying inputs/outputs modalities so that we can scalably benchmark these models across different datasets, frameworks, and hardware systems. This harness system is developed on top of the MLModelScope system, and will be open sourced to the community. Our experimental results demonstrate the superior flexibility and scalability of this harness system for MLCommons Inference benchmarking.

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

↑