跳到主要导航 跳到搜索 跳到主要内容

Run-Time Prevention of Software Integration Failures of Machine Learning APIs

  • Chengcheng Wan
  • , Yuhan Liu
  • , Kuntai Du
  • , Henry Hoffmann
  • , Junchen Jiang
  • , Michael Maire
  • , Shan Lu
  • The University of Chicago

科研成果: 期刊稿件文章同行评审

摘要

Due to the under-specified interfaces, developers face challenges in correctly integrating machine learning (ML) APIs in software. Even when the ML API and the software are well designed on their own, the resulting application misbehaves when the API output is incompatible with the software. It is desirable to have an adapter that converts ML API output at runtime to better fit the software need and prevent integration failures. In this paper, we conduct an empirical study to understand ML API integration problems in real-world applications. Guided by this study, we present SmartGear, a tool that automatically detects and converts mismatching or incorrect ML API output at run time, serving as a middle layer between ML API and software. Our evaluation on a variety of open-source applications shows that SmartGear detects 70% incompatible API outputs and prevents 67% potential integration failures, outperforming alternative solutions.

源语言英语
文章编号231
期刊Proceedings of the ACM on Programming Languages
7
OOPSLA2
DOI
出版状态已出版 - 16 10月 2023

指纹

探究 'Run-Time Prevention of Software Integration Failures of Machine Learning APIs' 的科研主题。它们共同构成独一无二的指纹。

引用此