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

Automated Testing of Software that Uses Machine Learning APIs

  • Chengcheng Wan
  • , Shicheng Liu
  • , Sophie Xie
  • , Yifan Liu
  • , Henry Hoffmann
  • , Michael Maire
  • , Shan Lu
  • The University of Chicago
  • Whitney Young High School

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

An increasing number of software applications incorporate machine learning (ML) solutions for cognitive tasks that statistically mimic human behaviors. To test such software, tremendous human effort is needed to design image/text/audio inputs that are relevant to the software, and to judge whether the software is processing these inputs as most human beings do. Even when misbehavior is exposed, it is often unclear whether the culprit is inside the cognitive ML API or the code using the API. This paper presents Keeper, a new testing tool for software that uses cognitive ML APIs. Keeper designs a pseudo-inverse function for each ML API that reverses the corresponding cognitive task in an empirical way (e.g., an image search engine pseudo-reverses the image-classification API), and incorporates these pseudo-inverse functions into a symbolic execution engine to automatically gener-ate relevant image/text/audio inputs and judge output correctness. Once misbehavior is exposed, Keeper attempts to change how ML APIs are used in software to alleviate the misbehavior. Our evalu-ation on a variety of open-source applications shows that Keeper greatly improves the branch coverage, while identifying many pre-viously unknown bugs.

源语言英语
主期刊名Proceedings - 2022 ACM/IEEE 44th International Conference on Software Engineering, ICSE 2022
出版商IEEE Computer Society
212-224
页数13
ISBN(电子版)9781450392211
DOI
出版状态已出版 - 5 7月 2022
已对外发布
活动44th ACM/IEEE International Conference on Software Engineering, ICSE 2022 - Hybrid, Pittsburgh, 美国
期限: 22 5月 202227 5月 2022

丛书

姓名Proceedings - International Conference on Software Engineering
2022-May
ISSN(印刷版)0270-5257

会议

会议44th ACM/IEEE International Conference on Software Engineering, ICSE 2022
国家/地区美国
Hybrid, Pittsburgh
时期22/05/2227/05/22

学术指纹

探究 'Automated Testing of Software that Uses Machine Learning APIs' 的科研主题。它们共同构成独一无二的学术指纹。

引用此