paper-with-me

Papers

NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilers

2022-07-26 · Jiawei Liu, JinKun Lin, Fabian Ruffy, Cheng Tan, Jinyang Li, Aurojit Panda, Lingming Zhang

Deep-learning (DL) compilers such as TVM and TensorRT are increasingly being used to optimize deep neural network (DNN) models to meet performance, resource utilization and other requirements. Bugs in these compilers can result in models whose semantics differ from the original ones, producing incorrect results that corrupt the correctness of downstream applications. However, finding bugs in these compilers is challenging due to their complexity. In this work, we propose a new fuzz testing approach for finding bugs in deep-learning compilers. Our core approach consists of (i) generating diverse yet valid DNN test models that can exercise a large part of the compiler's transformation logic using light-weight operator specifications; (ii) performing gradient-based search to find model inputs that avoid any floating-point exceptional values during model execution, reducing the chance of missed bugs or false alarms; and (iii) using differential testing to identify bugs. We implemented this approach in NNSmith which has found 72 new bugs for TVM, TensorRT, ONNXRuntime, and PyTorch to date. Of these 58 have been confirmed and 51 have been fixed by their respective project maintainers.

📄 PDF Abstract BibTeX arXiv:2207.13066

Code (1)

ganler/nnsmith-asplos-artifact 공식 구현

Tasks

valid

Methods 이 논문이 사용한 방법론

Test 설명 없음

Similar Papers 제목 키워드 기반

Automata-Based Steering of Large Language Models for Diverse Structured Generation

2025-11-14 · Xiaokun Luan, Zeming Wei, Yihao Zhang, Meng Sun arxiv

Large language models (LLMs) are increasingly tasked with generating structured outputs. While structured generation methods ensure validity, they often lack output diversity, a critical limitation that we confirm in our…

ASTER: Automatic Speech Recognition System Accessibility Testing for Stutterers

2023-08-30 · Yi Liu, Yuekang Li, Gelei Deng, Felix Juefei-Xu 외

The popularity of automatic speech recognition (ASR) systems nowadays leads to an increasing need for improving their accessibility. Handling stuttering speech is an important feature for accessible ASR systems. To impro…

Automatic Speech RecognitionAutomatic Speech Recognition (ASR)speech-recognitionSpeech Recognition+1

VALTEST: Automated Validation of Language Model Generated Test Cases

2024-11-13 · Hamed Taherkhani, Hadi Hemmati

Large Language Models (LLMs) have demonstrated significant potential in automating software testing, specifically in generating unit test cases. However, the validation of LLM-generated test cases remains a challenge, pa…

HumanEvalLanguage ModelingLanguage Modellingmbpp+3

Alignment with Fill-In-the-Middle for Enhancing Code Generation

2025-08-27 · Houxing Ren, Zimu Lu, Weikang Shi, Haotian Hou 외 arxiv

The code generation capabilities of Large Language Models (LLMs) have advanced applications like tool invocation and problem-solving. However, improving performance in code-related tasks remains challenging due to limite…

Code Generation

Automatic Truss Design with Reinforcement Learning

2023-06-27 · Weihua Du, Jinglun Zhao, Chao Yu, Xingcheng Yao 외

Truss layout design, namely finding a lightweight truss layout satisfying all the physical constraints, is a fundamental problem in the building industry. Generating the optimal layout is a challenging combinatorial opti…

Combinatorial OptimizationLayout Designreinforcement-learningReinforcement Learning+2