arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.03003cs.LGcs.AI
收藏

Scanflow:用于机器学习工作流管理、监督和调试的多图框架

Scanflow: A multi-graph framework for Machine Learning workflow management, supervision, and debugging

Barcelona Supercomputing Center (BSC)(巴塞罗那超级计算中心);Universitat Politecnica de Catalunya (UPC)(加泰罗尼亚理工大学);Lenovo Data Center Group, Lenovo(联想数据中心集团)

Gusseppe Bravo-Rocca, Peini Liu, Jordi Guitart, Ajay Dholakia, David Ellison, Jeffrey Falkanger, Miroslav Hodak

摘要:

机器学习(ML)不仅仅是训练模型,还必须考虑整个工作流程。一旦部署,ML模型就需要被观察、不断监督和调试,以保证其在意外情况下的有效性和鲁棒性。ML中的建模旨在识别(和解决)模型在不平凡的上下文中的弱点。已经提出了几种技术来识别不同类型的模型弱点,例如分类偏差、模型衰减、对抗攻击等,然而,还没有一个通用的框架,使它们能够以协作、模块化、可移植、迭代的方式工作,更重要的是,还没有一个足够灵活的框架,使人类和机器驱动的技术都能使用。在本文中,我们提出了一种新的容器化有向图框架,以支持和加速端到端ML工作流管理,监督和调试。该框架允许在容器中定义和部署ML工作流,跟踪其元数据,检查其在生产中的行为,并通过使用学习和人类提供的知识来改进模型。我们通过在框架中集成两个混合系统来检测数据漂移分布来证明这些能力,这些系统识别远离原始分布潜在空间的样本,要求人工干预,以及是否重新训练模型或用过滤器将其包裹起来以在推理时消除损坏数据的噪声。我们在MNIST-C、CIFAR-10-C和FashionMNIST-C数据集上测试了这些系统,在人类参与的帮助下获得了有希望的准确性结果。

英文摘要:

Machine Learning (ML) is more than just training models, the whole workflow must be considered. Once deployed, a ML model needs to be watched and constantly supervised and debugged to guarantee its validity and robustness in unexpected situations. Debugging in ML aims to identify (and address) the model weaknesses in not trivial contexts. Several techniques have been proposed to identify different types of model weaknesses, such as bias in classification, model decay, adversarial attacks, etc., yet there is not a generic framework that allows them to work in a collaborative, modular, portable, iterative way and, more importantly, flexible enough to allow both human- and machine-driven techniques. In this paper, we propose a novel containerized directed graph framework to support and accelerate end-to-end ML workflow management, supervision, and debugging. The framework allows defining and deploying ML workflows in containers, tracking their metadata, checking their behavior in production, and improving the models by using both learned and human-provided knowledge. We demonstrate these capabilities by integrating in the framework two hybrid systems to detect data drift distribution which identify the samples that are far from the latent space of the original distribution, ask for human intervention, and whether retrain the model or wrap it with a filter to remove the noise of corrupted data at inference time. We test these systems on MNIST-C, CIFAR-10-C, and FashionMNIST-C datasets, obtaining promising accuracy results with the help of human involvement.

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

↑