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

Homunculus:自动生成数据中心网络的高效数据平面ML管道

Homunculus: Auto-Generating Efficient Data-Plane ML Pipelines for Datacenter Networks

Tushar Swamy, Annus Zulfiqar, Luigi Nardi, Muhammad Shahbaz, Kunle Olukotun

摘要:

在过去的十年中,对网络中机器学习(ML)应用程序的支持已经有了显著的改善。公共数据集和可编程交换结构(包括对其进行编程的低级语言)的可用性为程序员提供了部署网络内ML的全栈。然而,所涉及的工具的多样性,加上ML模型设计和超参数调整的复杂优化任务,同时遵守网络约束(如吞吐量和延迟),使网络运营商有责任成为ML,网络设计和可编程硬件方面的专家。网络内工具的这种多方面性质以及ML和硬件方面的专业知识是ML成为当今网络主流的障碍。我们提出了Homunculus,这是一个高级框架,使网络运营商能够以声明式而不是命令式的方式指定他们的ML需求。Homunculus将训练数据和伴随的网络约束作为输入,并自动生成合适的模型并将其安装到底层交换硬件上。它执行模型设计-空间探索,训练和平台代码生成作为编译器阶段,让网络运营商专注于获取高质量的网络数据。我们对现实世界的机器学习应用程序的评估表明,与手动调优的替代方案相比,Homunculus生成的模型的F1得分提高了12%,而平均只需要30行单脚本代码。我们进一步展示了生成的模型在新兴的每包ML平台上的性能,以展示其及时性和实际意义。

英文摘要:

Support for Machine Learning (ML) applications in networks has significantly improved over the last decade. The availability of public datasets and programmable switching fabrics (including low-level languages to program them) present a full-stack to the programmer for deploying in-network ML. However, the diversity of tools involved, coupled with complex optimization tasks of ML model design and hyperparameter tuning while complying with the network constraints (like throughput and latency), put the onus on the network operator to be an expert in ML, network design, and programmable hardware. This multi-faceted nature of in-network tools and expertise in ML and hardware is a roadblock for ML to become mainstream in networks, today. We present Homunculus, a high-level framework that enables network operators to specify their ML requirements in a declarative, rather than imperative way. Homunculus takes as input, the training data and accompanying network constraints, and automatically generates and installs a suitable model onto the underlying switching hardware. It performs model design-space exploration, training, and platform code-generation as compiler stages, leaving network operators to focus on acquiring high-quality network data. Our evaluations on real-world ML applications show that Homunculus's generated models achieve up to 12% better F1 score compared to hand-tuned alternatives, while requiring only 30 lines of single-script code on average. We further demonstrate the performance of the generated models on emerging per-packet ML platforms to showcase its timely and practical significance.

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

↑