Mock Deep Testing: Toward Separate Development of Data and Models for Deep Learning
Ruchira Manke, Mohammad Wardat, Foutse Khomh, Hridesh Rajan

TL;DR
This paper introduces mock deep testing, a modular approach for independently testing data and models in deep learning applications, demonstrated through a framework called KUnit for the Keras library, improving bug detection and development efficiency.
Contribution
It proposes a novel methodology and framework for separate unit testing of data and models in deep learning, addressing the dependency challenge and enhancing quality assurance.
Findings
Mocks effectively identified issues in data and model stages
Participants successfully resolved numerous issues using KUnit
KUnit is perceived as helpful for DL developers
Abstract
While deep learning (DL) has permeated, and become an integral component of many critical software systems, today software engineering research hasn't explored how to separately test data and models that are integral for DL approaches to work effectively. The main challenge in independently testing these components arises from the tight dependency between data and models. This research explores this gap, introducing our methodology of mock deep testing for unit testing of DL applications. To enable unit testing, we introduce a design paradigm that decomposes the workflow into distinct, manageable components, minimizes sequential dependencies, and modularizes key stages of the DL. For unit testing these components, we propose modeling their dependencies using mocks. This modular approach facilitates independent development and testing of the components, ensuring comprehensive quality…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAnomaly Detection Techniques and Applications · Machine Learning in Materials Science
