paper-with-me

Papers

What Causes Exceptions in Machine Learning Applications? Mining Machine Learning-Related Stack Traces on Stack Overflow

2023-04-25 · Amin Ghadesi, Maxime Lamothe, Heng Li

Machine learning (ML), including deep learning, has recently gained tremendous popularity in a wide range of applications. However, like traditional software, ML applications are not immune to the bugs that result from programming errors. Explicit programming errors usually manifest through error messages and stack traces. These stack traces describe the chain of function calls that lead to an anomalous situation, or exception. Indeed, these exceptions may cross the entire software stack (including applications and libraries). Thus, studying the patterns in stack traces can help practitioners and researchers understand the causes of exceptions in ML applications and the challenges faced by ML developers. To that end, we mine Stack Overflow (SO) and study 11,449 stack traces related to seven popular Python ML libraries. First, we observe that ML questions that contain stack traces gain more popularity than questions without stack traces; however, they are less likely to get accepted answers. Second, we observe that recurrent patterns exists in ML stack traces, even across different ML libraries, with a small portion of patterns covering many stack traces. Third, we derive five high-level categories and 25 low-level types from the stack trace patterns: most patterns are related to python basic syntax, model training, parallelization, data transformation, and subprocess invocation. Furthermore, the patterns related to subprocess invocation, external module execution, and remote API call are among the least likely to get accepted answers on SO. Our findings provide insights for researchers, ML library providers, and ML application developers to improve the quality of ML libraries and their applications.

📄 PDF Abstract BibTeX arXiv:2304.12857

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Library 설명 없음

Similar Papers 제목 키워드 기반

Automatic Cause Detection of Performance Problems in Web Applications

2021-03-08 · Quentin Fournier, Naser Ezzati-Jivan, Daniel Aloise, Michel R. Dagenais

The execution of similar units can be compared by their internal behaviors to determine the causes of their potential performance issues. For instance, by examining the internal behaviors of different fast or slow web re…

Clustering

A Framework for Assurance of Medication Safety using Machine Learning

2021-01-11 · Yan Jia, Tom Lawton, John McDermid, Eric Rojas 외

Medication errors continue to be the leading cause of avoidable patient harm in hospitals. This paper sets out a framework to assure medication safety that combines machine learning and safety engineering methods. It use…

BIG-bench Machine Learning

Introducing explainable supervised machine learning into interactive feedback loops for statistical production system

2022-02-07 · Carlos Mougan, George Kanellos, Johannes Micheler, Jose Martinez 외

Statistical production systems cover multiple steps from the collection, aggregation, and integration of data to tasks like data quality assurance and dissemination. While the context of data quality assurance is one of …

BIG-bench Machine Learning

How Java Programmers Test Exceptional Behavior

2020-12-01 · Diego Marcilio, Carlo A. Furia

Exceptions often signal faulty or undesired behavior; hence, high-quality test suites should also target exceptional behavior. This paper is a large-scale study of exceptional tests---which exercise exceptional behavior-…

"What makes my queries slow?": Subgroup Discovery for SQL Workload Analysis

2021-08-09 · Youcef Remil, Anes Bendimerad, Romain Mathonat, Philippe Chaleat 외

Among daily tasks of database administrators (DBAs), the analysis of query workloads to identify schema issues and improving performances is crucial. Although DBAs can easily pinpoint queries repeatedly causing performan…

Subgroup Discovery