paper-with-me

홈 › Papers

COMET: Coverage-guided Model Generation For Deep Learning Library Testing

2022-08-02 · Meiziniu Li, Jialun Cao, Yongqiang Tian, Tsz On Li, Ming Wen, Shing-Chi Cheung

Recent deep learning (DL) applications are mostly built on top of DL libraries. The quality assurance of these libraries is critical to the dependable deployment of DL applications. Techniques have been proposed to generate various DL models and apply them to test these libraries. However, their test effectiveness is constrained by the diversity of layer API calls in their generated DL models. Our study reveals that these techniques can cover at most 34.1% layer inputs, 25.9% layer parameter values, and 15.6% layer sequences. As a result, we find that many bugs arising from specific layer API calls (i.e., specific layer inputs, parameter values, or layer sequences) can be missed by existing techniques. Because of this limitation, we propose COMET to effectively generate DL models with diverse layer API calls for DL library testing. COMET: (1) designs a set of mutation operators and a coverage-based search algorithm to diversify layer inputs, layer parameter values, and layer sequences in DL models. (2) proposes a model synthesis method to boost the test efficiency without compromising the layer API call diversity. Our evaluation result shows that COMET outperforms baselines by covering twice as many layer inputs (69.7% vs. 34.1%), layer parameter values (50.2% vs. 25.9%), and layer sequences (39.0% vs. 15.6%) as those by the state-of-the-art. Moreover, COMET covers 3.4% more library branches than those by existing techniques. Finally, COMET detects 32 new bugs in the latest version of eight popular DL libraries, including TensorFlow and MXNet, with 21 of them confirmed by DL library developers and 7 of those confirmed bugs have been fixed by developers.

📄 PDF Abstract BibTeX arXiv:2208.01508

Code (1)

maybelee/comet 공식 구현 tf

Tasks

Deep LearningDiversity

Methods 이 논문이 사용한 방법론

Library 설명 없음
Test 설명 없음

Similar Papers 제목 키워드 기반

DeepSmartFuzzer: Reward Guided Test Generation For Deep Learning

2019-11-24 · Samet Demir, Hasan Ferit Eniser, Alper Sen

Testing Deep Neural Network (DNN) models has become more important than ever with the increasing usage of DNN models in safety-critical domains such as autonomous cars. The traditional approach of testing DNNs is to crea…

Data AugmentationDeep Learning

TensorFuzz: Debugging Neural Networks with Coverage-Guided Fuzzing

2018-07-28 · Augustus Odena, Ian Goodfellow

Machine learning models are notoriously difficult to interpret and debug. This is particularly true of neural networks. In this work, we introduce automated software testing techniques for neural networks that are well-s…

software testing

Library-Aware Doubles and Iterative Repair for Large Language Model-Generated Unit Tests in OpenSIL Firmware

2026-06-18 · Ma Toan Bach, Yuchi Zheng, Haingo Razafindranto, Tanvir Alam 외 arxiv

Validating changes in low-level C firmware is expensive because unit tests (UTs) are fragile under strict build constraints, where missing headers, unresolved symbols, and dependency mismatches frequently prevent compila…

testRNN: Coverage-guided Testing on Recurrent Neural Networks

2019-06-20 · Wei Huang, Youcheng Sun, Xiaowei Huang, James Sharp

Recurrent neural networks (RNNs) have been widely applied to various sequential tasks such as text processing, video recognition, and molecular property prediction. We introduce the first coverage-guided testing tool, co…

Molecular Property PredictionProperty PredictionVideo Recognition

EvoGPT: Enhancing Test Suite Robustness via LLM-Based Generation and Genetic Optimization

2025-05-18 · Lior Broide, Roni Stern

Large Language Models (LLMs) have recently emerged as promising tools for automated unit test generation. We introduce a hybrid framework called EvoGPT that integrates LLM-based test generation with evolutionary search t…

DiversityFault Detectionsoftware testing