Large Language Models Are Zero-Shot Fuzzers: Fuzzing Deep-Learning Libraries via Large Language Models
Open accessThe DOI matches its Crossref record; 65 of the 65 references it cites were found in a registry or an index; 3 of the 45 sources its claims cite were checked for support.
Abstract
Deep Learning (DL) systems have received exponential growth in popularity and have become ubiquitous in our everyday life. Such systems are built on top of popular DL libraries, e.g., TensorFlow and PyTorch which provide APIs as building blocks for DL systems. Detecting bugs in these DL libraries is critical for almost all downstream DL systems in ensuring effectiveness/safety for end users. Meanwhile, traditional fuzzing techniques can be hardly effective for such a challenging domain since the input DL programs need to satisfy both the input language (e.g., Python) syntax/semantics and the DL API input/shape constraints for tensor computations. To address these limitations, we propose TitanFuzz – the first approach to directly leveraging Large Language Models (LLMs) to generate input programs for fuzzing DL libraries. LLMs are titanic models trained on billions of code snippets and can autoregressively generate human-like code snippets. Our key insight is that modern LLMs can also include numerous code snippets invoking DL library APIs in their training corpora, and thus can implicitly learn both language syntax/semantics and intricate DL API constraints for valid DL program generation. More specifically, we use both generative and infilling LLMs (e.g., Codex/InCoder) to generate and mutate valid/diverse input DL programs for fuzzing. Our experimental results demonstrate that TitanFuzz can achieve 30.38%/50.84% higher code coverage than state-of-the-art fuzzers on TensorFlow/PyTorch. Furthermore, TitanFuzz is able to detect 65 bugs, with 44 already confirmed as previously unknown bugs. This paper demonstrates that modern titanic LLMs can be leveraged to directly perform both generation-based and mutation-based fuzzing studied for decades, while being fully automated, generalizable, and applicable to domains challenging for traditional approaches (such as DL systems). We hope TitanFuzz can stimulate more work in this promising direction of LLMs for fuzzing.
Overview
CoChat Summary
TL;DR
TitanFuzz is presented as the first approach to fuzz deep-learning libraries by directly using large language models to generate and mutate Python programs that call library APIs. It reports higher API and code coverage than prior fuzzers and finds dozens of previously unknown bugs in TensorFlow and PyTorch.
Key findings
- TitanFuzz covered 2215 TensorFlow APIs and 1329 PyTorch APIs, improving API coverage over the best baseline, DeepREL, by 91.11% and 24.09%, respectively.
- It reached 39.97% line coverage on TensorFlow and 20.98% on PyTorch, improving over DeepREL by 30.38% and 50.84%.
- It detected 65 bugs total, with 55 confirmed and 44 confirmed as previously unknown; 21 of the previously unknown bugs were already fixed.
- Ablations showed the full set of mutation operators and the fitness function combining dataflow depth, unique API calls, and repeated-call penalty performed best; Thompson sampling for operator selection outperformed random selection.
Methods
- TitanFuzz uses Codex as a generative LLM with a step-by-step prompt to create seed programs for each target API, then uses InCoder as an infilling LLM within an evolutionary fuzzing loop.
- Mutation operators include argument replacement, keyword insertion, prefix/suffix edits, and method replacement; operator choice is learned with a multi-armed bandit using Thompson sampling, and generated programs are ranked by a fitness function based on dataflow depth, unique API calls, and repeated API calls.
- Evaluation targets PyTorch v1.12 and TensorFlow v2.10, compares against API-level and model-level fuzzers, and uses differential testing across CPU and GPU backends to detect wrong-computation and crash bugs.
Limitations
- The paper states internal validity threats around implementation correctness and randomness: RQ1 was run once due to the large API set, while RQ2 used five runs on 100 sampled APIs; external validity is limited to PyTorch and TensorFlow.
- The paper acknowledges that differential testing can produce false positives when CPU/GPU differences are tolerated or implementation-defined, as shown by a rejected right-shift bug report.
- The text also makes evident that TitanFuzz has higher execution time than prior tools and depends on access to specific LLMs such as Codex and InCoder.
Model-written summary. Check it against the paper before relying on it.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
2 Valid · 1 Not valid · 21 Not checked · 88 Own results and interpretations
Every source the paper cites for this claim was checked and supports it.
In the paper
“Also, our work shows for the first time that step-by-step prompt engineering [60] can substantially help boost fuzzing.”
§ Large Language Models Are Zero-Shot Fuzzers: Fuzzing Deep-Learning Libraries via Large Language Models > 2.3 Testing using Deep Learning Models
What the sources say
- Supportedcites [60] matched to “Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigm” (2021) source
The citation identifies step-by-step prompt engineering, not the citing authors’ own finding about fuzzing. Section 4.6 (p. 7) discusses prompts that lead GPT-3 through step-by-step procedures, and the Motivation (p. 2) describes prompts that make a model break a problem into components. (LLM, conf=0.91)
plainstates a cause- Asserted: passes — The authors put it forward as true.
- Checkable: passes — It can be checked against evidence.
- Load-bearing: passes — The paper’s conclusions depend on it.
- Based: passes — The paper gives a reason why it holds.
- Supported
The cited sources support only part of this claim — read each source’s verdict below.
In the paper
“Due to the large amounts of available pre-training data, LLMs without any fine-tuning on specialized datasets can already be directly used for very specific downstream tasks.”
- Also stated in: § 2.2 Large Pre-trained Language Models · plain
“This is accomplished using prompt engineering [47], where a natural language description of the task together with a few demonstrations of the task is provided to the LLM first before the actual input.”
§ Large Language Models Are Zero-Shot Fuzzers: Fuzzing Deep-Learning Libraries via Large Language Models > 2.2 Large Pre-trained Language Models
What the sources say
- Partly supportedcites [47] matched to “Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processing” (2023) sourceExperimental — accuracy not yet measured
Section 6.1 (Training Settings; page unavailable) says a pretrained language model can be applied as-is to prompts specifying a downstream task, without training it for that task. This supports use without fine-tuning via prompting, but the passage does not establish the sentence’s causal explanation that this is due to the large amount of available pre-training data. (LLM, conf=0.82)
plainstates a cause- Asserted: passes — The authors put it forward as true.
- Checkable: passes — It can be checked against evidence.
- Load-bearing: passes — The paper’s conclusions depend on it.
- Based: passes — The paper gives a reason why it holds.
- Also stated in: § 2.2 Large Pre-trained Language Models · plain
None of the sources cited for this claim have been checked yet.
In the paper
“Compared to our coverage-guided baseline which only adds programs with new coverage to the seed bank for later mutation, our fitness function has minimal additional overhead.”
§ Large Language Models Are Zero-Shot Fuzzers: Fuzzing Deep-Learning Libraries via Large Language Models > Additional information
What the sources say
- Not checked yetcites [18]
- Not checked yetcites [35]
- Could not verifycites [42] matched to “FairFuzz: a targeted mutation strategy for increasing greybox fuzz testing coverage” (2018) sourceExperimental — accuracy not yet measured
Our copy of FairFuzz never evaluates or claims anything about the overhead of its rare-branch scoring relative to a coverage-guided baseline: the only 'overhead' statements are generic background — fuzz testing's 'low computational overhead' versus dynamic symbolic execution (1 Introduction, p. 1) and AFL collecting 'some low-overhead program coverage information' (p. 1). The implementation/evaluation section (4, p. 5) reports only that FairFuzz adds ~600 lines of C to AFL and evaluates coverage, proportion of inputs hitting the target branch, and crashes — no executions-per-second or runtime-cost comparison against AFL's baseline. Searches on 'overhead', 'fitness function overhead', and 'throughput / executions per second / cost of rare branch counting' returned no passage on this point, so the claim can be neither confirmed nor contradicted. (LLM, conf=0.68)
- Not checked yetcites [50]
plain- Asserted: passes — The authors put it forward as true.
- Checkable: passes — It can be checked against evidence.
- Load-bearing: passes — The paper’s conclusions depend on it.
- Based: passes — The paper gives a reason why it holds.
- Rests on an assumption not shown here.
A result the paper reports from its own data — it cites no other source for it, so there is none to check. The quote shows it is in the paper.
In the paper
“Figure 9c shows a bug when a certain output index is left unspecified for the API ParallelDynamicStitch.”
§ Large Language Models Are Zero-Shot Fuzzers: Fuzzing Deep-Learning Libraries via Large Language Models > 5.2.1 Seed Generation.
plainstates a causeSingle case- Asserted: passes — The authors put it forward as true.
- Checkable: passes — It can be checked against evidence.
- Load-bearing: passes — The paper’s conclusions depend on it.
- Based: passes — The paper gives a reason why it holds.
A result the paper states — it cites no source for it, so there is none to check. The quote shows it is in the paper.
In the paper
“In practice, this bug is missed since this API is not covered by any of the previous techniques.”
§ Large Language Models Are Zero-Shot Fuzzers: Fuzzing Deep-Learning Libraries via Large Language Models > 5.2.1 Seed Generation.
plainstates a causeSingle case- Asserted: passes — The authors put it forward as true.
- Checkable: passes — It can be checked against evidence.
- Load-bearing: passes — The paper’s conclusions depend on it.
- Based: passes — The paper gives a reason why it holds.
47 more claims
Create a free account to see all 112 claims and to verify the 42 references still open.
- It may state two separate claims as one. 51
- The quote only partly states this claim. 4
- Probably not a substantial claim. 15
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
The cited source says what the claim attributes to it.
In the citing paper
“In addition to software issue resolution tasks, LIVE-SWE-AGENT can be easily applied to other challenging software engineering tasks like generating tests [16], detecting and patching vulnerabilities [21], and synthesizing production-ready software from scratch [48].”
From Live-SWE-agent: Can Software Engineering Agents Self-Evolve on the Fly? (2025) · cites this paper as [16]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
Each contradiction between two passages listed here was confirmed by an independent check.
Rated minor: it would not touch a result — a value no result rests on, a p-value that stays on the same side of the significance level, or a conflict that is clerical, resolved elsewhere in the paper, or outside its own findings.
In the paper
§ Large Language Models Are Zero-Shot Fuzzers: Fuzzing Deep-Learning Libraries via Large Language Models > Additional information
“| TitanFuzz | 6969 | 18245 | 17411 | 17957 | 5173 | 16865 | 84447 | 86536 |”
§ Large Language Models Are Zero-Shot Fuzzers: Fuzzing Deep-Learning Libraries via Large Language Models > Additional information
“| D+U-R | 6960 | 18245 | 17411 | 17957 | 5173 | 16865 | 84447 | 86536 |”
Citations
Cites
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., & Polosukhin, I. (2017) · arXiv · doi:10.48550/arxiv.1706.03762 · Cited by 120,404 · cited 2×
“Due to the recent advances in Deep Learning (DL), researchers have looked into using DL models to facilitate automated test generation or fuzzing of different software systems.”
BackgroundMethodLearning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation
Cho, K., van Merrienboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., & Bengio, Y. (2014) · Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.3115/v1/d14-1179 · Cited by 25,545 · cited 3×
“Learn&Fuzz [23], DeepSmith [15] and DeepFuzz [47] each trains a RNN to generate programs for PDF file parsers, OpenCL and C, respectively.”
MethodLanguage Models are Few-Shot Learners
Brown, T. B., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., et al. (2020) · arXiv · doi:10.48550/arxiv.2005.14165 · Cited by 23,372 · cited 7×
“Codex can be used to perform auto-completion where the input is simply a description of the task (known as a prompt [10, 43]).”
BackgroundMethodInfluentialAdvances in Neural Information Processing Systems 25
Zhang, Y., Sutton, C. A., Storkey, A., & Zoubin Ghahramani, A. (2012) · Cited by 12,653
XLNet: Generalized Autoregressive Pretraining for Language Understanding
Yang, Z., Dai, Z., Yang, Y., Carbonell, J., Salakhutdinov, R., & Le, Q. V. (2019) · arXiv · doi:10.48550/arxiv.1906.08237 · Cited by 6,687 · cited 1×
“These LLMs are pre-trained on billions of available text on the internet and have been widely used in many different Natural Language Processing (NLP) tasks [10, 48, 79].”
Chain-Of-Thought Prompting Elicits Reasoning in Large Language Models
Wei, J., Wang, X., Schuurmans, D., Bosma, M., Ichter, B., Xia, F., Chi, E., Le, Q. V., & Zhou, D. (2022) · Advances in Neural Information Processing Systems 35 · doi:10.52202/068431-1800 · Cited by 4,505
Liu, P., Yuan, W., Fu, J., Jiang, Z., Hayashi, H., & Neubig, G. (2023) · ACM Computing Surveys · doi:10.1145/3560815 · Cited by 4,361 · cited 3×
“in Figure 5) to improve the model’s performance following [2, 47, 53, 73].”
BackgroundMethodInfluentialLiu, P., Yuan, W., Fu, J., Jiang, Z., Hayashi, H., & Neubig, G. (2021) · arXiv · doi:10.48550/arxiv.2107.13586 · Cited by 4,352 · cited 3×
“in Figure 5) to improve the model’s performance following [2, 47, 53, 73].”
BackgroundMethodInfluentialChain-of-Thought Prompting Elicits Reasoning in Large Language Models
Wei, J., Wang, X., Schuurmans, D., Bosma, M., Ichter, B., Xia, F., Chi, E., Le, Q., & Zhou, D. (2022) · arXiv · doi:10.48550/arxiv.2201.11903 · Cited by 4,263
The Power of Scale for Parameter-Efficient Prompt Tuning
Lester, B., Al-Rfou, R., & Constant, N. (2021) · Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2021.emnlp-main.243 · Cited by 3,096 · cited 1×
“Codex can be used to perform auto-completion where the input is simply a description of the task (known as a prompt [10, 43]).”
MethodThe Power of Scale for Parameter-Efficient Prompt Tuning
Lester, B., Al-Rfou, R., & Constant, N. (2021) · arXiv · doi:10.48550/arxiv.2104.08691 · Cited by 3,092 · cited 1×
“Codex can be used to perform auto-completion where the input is simply a description of the task (known as a prompt [10, 43]).”
MethodCodeBERT: A Pre-Trained Model for Programming and Natural Languages
Feng, Z., Guo, D., Tang, D., Duan, N., Feng, X., Gong, M., Shou, L., Qin, B., Liu, T., Jiang, D., et al. (2020) · Findings of the Association for Computational Linguistics: EMNLP 2020 · doi:10.18653/v1/2020.findings-emnlp.139 · Cited by 2,824
THOMPSON, W. R. (1933) · Biometrika · doi:10.1093/biomet/25.3-4.285 · Cited by 2,712 · cited 7×
“Note the best mutation operators can be different for different target APIs, therefore we start a separate MAB game and re-initialize the operator prior distribution for each end-to-end run of the evolutionary fuzzing targeting one API.”
MethodInfluentialPaLM: Scaling Language Modeling with Pathways
Chowdhery, A., Narang, S., Devlin, J., Bosma, M., Mishra, G., Roberts, A., Barham, P., Chung, H. W., Sutton, C., Gehrmann, S., et al. (2022) · arXiv · doi:10.48550/arxiv.2204.02311 · Cited by 2,590
(2011) · IEEE Software · doi:10.1109/ms.2011.67 · Cited by 1,989
Evaluating Large Language Models Trained on Code
Chen, M., Tworek, J., Jun, H., Yuan, Q., Pinto, H. P. D. O., Kaplan, J., Edwards, H., Burda, Y., Joseph, N., Brockman, G., et al. (2021) · arXiv · doi:10.48550/arxiv.2107.03374 · Cited by 1,436 · cited 7×
“While our approach is general and can be built upon any LLMs, we build our technique on Codex [12] and InCoder [21] as they have shown state-of-the-art results for generative and infilling tasks, respectively.”
BackgroundMethodInfluentialProceedings of the 26th International Conference on Neural Information Processing Systems
Burges, C. J. C., Bottou, L., Welling, M., Zoubin Ghahramani, A., & Weinberger, K. Q. (2013) · Cited by 1,323
The Curious Case of Neural Text Degeneration
Holtzman, A., Buys, J., Du, L., Forbes, M., & Choi, Y. (2019) · arXiv · doi:10.48550/arxiv.1904.09751 · Cited by 1,304 · cited 1×
“Our default setting for code completion for Codex uses top-p (nucleus) sampling [31] with p = 0.”
MethodEvoSuite: automatic test suite generation for object-oriented software
Fraser, G., & Arcuri, A. (2011) · Proceedings of the 19th ACM SIGSOFT symposium and the 13th European conference on Foundations of software engineering · doi:10.1145/2025113.2025179 · Cited by 1,110 · cited 2×
“CodaMosa [41] combines traditional search-based software testing (SBST) [19, 20] with LLMs (e.”
MethodUnified Pre-training for Program Understanding and GenerationPreprint
Ahmad, W. U., Chakraborty, S., Ray, B., & Chang, K.-W. (2021) · North American Chapter of the Association for Computational Linguistics · doi:10.48550/arxiv.2103.06333 · Cited by 1,002 · cited 2×
“Encoder-decoder models [5, 59] use both the encoder and decoder component and are most commonly trained using the Masked Span Prediction (MSP) objective.”
MethodPrompt Programming for Large Language Models: Beyond the Few-Shot Paradigm
Reynolds, L., & McDonell, K. (2021) · Extended Abstracts of the 2021 CHI Conference on Human Factors in Computing Systems · doi:10.1145/3411763.3451760 · Cited by 952 · cited 2×
“Also, our work shows for the rst time that step-by-step prompt engineering [60] can substantially help boost fuzzing.”
BackgroundMethodFinding and understanding bugs in C compilers
Yang, X., Chen, Y., Eide, E., & Regehr, J. (2011) · Proceedings of the 32nd ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/1993498.1993532 · Cited by 825 · cited 2×
“Additionally, TitanFuzz is the rst work to demonstrate that LLMs can perform both generation-based [30, 80] and mutation-based [39, 50] fuzzing studied for decades [84], while being fully automated, generalizable, and applicable to domains challenging for traditional approaches (such as DL systems).”
BackgroundUnified Pre-training for Program Understanding and Generation
Ahmad, W., Chakraborty, S., Ray, B., & Chang, K.-W. (2021) · Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies · doi:10.18653/v1/2021.naacl-main.211 · Cited by 642
Klees, G., Ruef, A., Cooper, B., Wei, S., & Hicks, M. (2018) · Proceedings of the 2018 ACM SIGSAC Conference on Computer and Communications Security · doi:10.1145/3243734.3243804 · Cited by 633 · cited 1×
“for RQ2, we randomly sample 100 public APIs in each library and conduct the ablation study experiments for ve times and report the average following prior work [37].”
MethodZhang, M., Zhang, Y., Zhang, L., Liu, C., & Khurshid, S. (2018) · Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering · doi:10.1145/3238147.3238187 · Cited by 611 · cited 1×
“DL libraries (e.g., TensorFlow [66] and PyTorch [57]) serve as the fundamental building block for all DL pipelines by providing thousands of APIs for building, training, and deploying DL models.”
BackgroundSelf-citationFraser, G., & Arcuri, A. (2013) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2012.14 · Cited by 586 · cited 2×
“CodaMosa [41] combines traditional search-based software testing (SBST) [19, 20] with LLMs (e.”
MethodFuzzing: Brute Force Vulnerability Discovery
Sutton, M. J. D., Greene, A., & Amini, P. (2007) · Medical Entomology and Zoology · Cited by 548
On the naturalness of software
Hindle, A., Barr, E. T., Su, Z., Gabel, M., & Dévanbu, P. (2012) · doi:10.5555/2337223.2337322 · Cited by 541
A systematic evaluation of large language models of code
Xu, F. F., Alon, U., Neubig, G., & Hellendoorn, V. J. (2022) · Proceedings of the 6th ACM SIGPLAN International Symposium on Machine Programming · doi:10.1145/3520312.3534862 · Cited by 540
An Empirical Evaluation of Deep Learning on Highway Driving
Huval, B., Wang, T., Tandon, S., Kiske, J., Song, W., Pazhayampallil, J., Andriluka, M., Rajpurkar, P., Migimatsu, T., Cheng-Yue, R., et al. (2015) · arXiv · doi:10.48550/arxiv.1504.01716 · Cited by 537 · cited 1×
“Deep Learning (DL) is constantly providing revolutionary results and systems in critical fields like autonomous driving [34, 83], healthcare [9], and finance [67].”
BackgroundGraphCodeBERT: Pre-training Code Representations with Data Flow
Guo, D., Ren, S., Lu, S., Feng, Z., Tang, D., Liu, S., Zhou, L., Duan, N., Svyatkovskiy, A., Fu, S., et al. (2020) · arXiv · doi:10.48550/arxiv.2009.08366 · Cited by 480 · cited 1×
“Encoder-only models [17, 26] aim to provide a representation of the input through the use of the encoder component.”
BackgroundFairFuzz: a targeted mutation strategy for increasing greybox fuzz testing coverage
Lemieux, C., & Sen, K. (2018) · Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering · doi:10.1145/3238147.3238176 · Cited by 477 · cited 1×
“We compare our default tness function against its variants, as well as random selection (Random) and a simplistic coverage guided [18, 35, 42, 50] (Coverage) baseline in Table 4.”
MethodAutomated Program Repair in the Era of Large Pre-trained Language Models
Xia, C. S., Wei, Y., & Zhang, L. (2023) · 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE) · doi:10.1109/icse48619.2023.00129 · Cited by 433 · cited 1×
“Besides generative models, inspired by recent work [74, 75] on in lling-style program repair (where LLMs generate correct patches by directly lling in the correct code given the context), we also leverage in lling models to perform mutations by replacing a small part of an input program with masked tokens and then lli…”
MethodSelf-citationOn the naturalness of software
Hindle, A., Barr, E. T., Su, Z., Gabel, M., & Devanbu, P. (2012) · 2012 34th International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2012.6227135 · Cited by 425 · cited 2×
“In contrast, InCoder is trained on millions of code snippets, many of which contain usages of these library APIs [28].”
BackgroundLiu, J., Xia, C. S., Wang, Y., & Zhang, L. (2023) · arXiv · doi:10.48550/arxiv.2305.01210 · Cited by 390 · cited 1×
“Similar to the impressive performance achieved on NLP tasks, LLMs can also excel in many code related tasks such as code completion [12], code synthesis [6, 46], and automated program repair [74–76].”
MethodSelf-citationProgram synthesis by sketching
Bodík, R., & Solar-Lezama, A. (2008) · UC Berkeley · Cited by 389
Compiler validation via equivalence modulo inputs
Le, V., Afshari, M., & Su, Z. (2014) · Proceedings of the 35th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/2594291.2594334 · Cited by 388 · cited 2×
“Additionally, TitanFuzz is the rst work to demonstrate that LLMs can perform both generation-based [30, 80] and mutation-based [39, 50] fuzzing studied for decades [84], while being fully automated, generalizable, and applicable to domains challenging for traditional approaches (such as DL systems).”
BackgroundMethodProgram Synthesis with Large Language Models
Austin, J., Odena, A., Nye, M., Bosma, M., Michalewski, H., Dohan, D., Jiang, E., Cai, C., Terry, M., Le, Q., et al. (2021) · arXiv · doi:10.48550/arxiv.2108.07732 · Cited by 388 · cited 3×
“right_shift(X, -1) # On CPU: [[1, 2, 3], [4, 5, 6]] # On GPU: [[0, 0, 0], [0, 0, 0]] Target API: tf.”
Method0897915046/International Conference on Software Engineering
(1992) · doi:10.1145/143062 · Cited by 374
Learn&Fuzz: Machine learning for input fuzzing
Godefroid, P., Peleg, H., & Singh, R. (2017) · 2017 32nd IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2017.8115618 · Cited by 344
Dias, M. R., Ribeiro, R., & Pinto, H. S. (2019) · arXiv (Cornell University) · doi:10.4230/oasics.slate.2024.2 · Cited by 331
CodeBERT: A Pre-Trained Model for Programming and Natural Languages
Feng, Z., Guo, D., Tang, D., Duan, N., Feng, X., Gong, M., Shou, L., Qin, B., Liu, T., Jiang, D., et al. (2020) · arXiv · doi:10.48550/arxiv.2002.08155 · Cited by 243 · cited 2×
“Encoder-only models [17, 26] aim to provide a representation of the input through the use of the encoder component.”
BackgroundLess training, more repairing please: revisiting automated program repair via zero-shot learning
Xia, C. S., & Zhang, L. (2022) · Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3540250.3549101 · Cited by 231
Self-citationCRADLE: Cross-Backend Validation to Detect and Localize Bugs in Deep Learning Libraries
Pham, H. V., Lutellier, T., Qi, W., & Tan, L. (2019) · 2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2019.00107 · Cited by 190 · cited 4×
“CRADLE [55] is one of the first work in the area that detects inconsistencies by running existing models on multiple low-level backends of Keras [36].”
BackgroundInfluentialInCoder: A Generative Model for Code Infilling and Synthesis
Fried, D., Aghajanyan, A., Lin, J., Wang, S., Wallace, E., Shi, F., Zhong, R., Yih, W.-T., Zettlemoyer, L., & Lewis, M. (2022) · arXiv · doi:10.48550/arxiv.2204.05999 · Cited by 187 · cited 6×
“95 following previous studies [12, 21], and <0G_C>:4=B=256, C4<?4A0CDA4=0.”
BackgroundMethodResultInfluentialDeep learning library testing via effective model generation
Wang, Z., Yan, M., Chen, J., Liu, S., & Zhang, D. (2020) · Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3368089.3409761 · Cited by 167 · cited 12×
“While such model-level fuzzers are able to nd bugs in DL libraries, due to the input/output constraints of DL APIs, model-level mutation/generation rules either are restrictive to certain shape-preserving APIs [71] or require manual annotation of the restrictions of all targeted APIs [25], leading to a limited number…”
BackgroundMethodResultInfluentialFuzzing: Challenges and Reflections
Boehme, M., Cadar, C., & ROYCHOUDHURY, A. (2021) · IEEE Software · doi:10.1109/ms.2020.3016773 · Cited by 161 · cited 1×
“One such popular methodology is fuzzing [8, 65, 84] – where a large set of inputs are generated and fed to the libraries to nd potential bugs.”
BackgroundCompiler fuzzing through deep learning
Cummins, C., Petoumenos, P., Murray, A., & Leather, H. (2018) · Proceedings of the 27th ACM SIGSOFT International Symposium on Software Testing and Analysis · doi:10.1145/3213846.3213848 · Cited by 147 · cited 2×
“Learn&Fuzz [23], DeepSmith [15] and DeepFuzz [48] each trains a RNN to generate programs for PDF le parsers, OpenCL and C, respectively.”
MethodShow Your Work: Scratchpads for Intermediate Computation with Language Models
Nye, M., Andreassen, A. J., Gur-Ari, G., Michalewski, H., Austin, J., Bieber, D., Dohan, D., Lewkowycz, A., Bosma, M., Luan, D., et al. (2021) · arXiv · doi:10.48550/arxiv.2112.00114 · Cited by 144 · cited 1×
“in Figure 5) to improve the model’s performance following [2, 46, 52, 72].”
BackgroundFree lunch for testing: fuzzing deep-learning libraries from open source
Wei, A., Deng, Y., Yang, C., & Zhang, L. (2022) · Proceedings of the 44th International Conference on Software Engineering · doi:10.1145/3510003.3510041 · Cited by 106 · cited 15×
“FreeFuzz [72] is an API-level fuzzer that first learns the valid inputs for each target API through mining open-source code snippets and then applies simple mutations to generate diverse inputs to test a target API.”
BackgroundMethodInfluentialSelf-citationGANFuzz: a GAN-based industrial network protocol fuzzing framework
Hu, Z., Shi, J., Huang, Y., Xiong, J., & Bu, X. (2018) · ACM International Conference on Computing Frontiers (CF) · doi:10.1145/3203217.3203241 · Cited by 105 · cited 2×
“Seqfuzzer [86] employs a Recurrent Neural Network (RNN) [13, 29] and GANFuzz [32] leverages the Generative Adversarial Network (GAN) [24] for protocol fuzzing.”
MethodAudee: automated testing for deep learning frameworks
Guo, Q., Xie, X., Li, Y., Zhang, X., Liu, Y., Li, X., & Shen, C. (2020) · Proceedings of the 35th IEEE/ACM International Conference on Automated Software Engineering · doi:10.1145/3324884.3416571 · Cited by 92 · cited 3×
“While model-level fuzzing techniques [27, 55, 70] can potentially test API sequences, the mutation rules usually have ar X iv :2 21 2.”
BackgroundMethodFuzzing deep-learning libraries via automated relational API inference
Deng, Y., Yang, C., Wei, A., & Zhang, L. (2022) · Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3540250.3549085 · Cited by 86
Self-citationDocTer: documentation-guided fuzzing for testing deep learning API functions
Xie, D., Li, Y., Kim, M., Pham, H. V., Tan, L., Zhang, X., & Godfrey, M. W. (2022) · Proceedings of the 31st ACM SIGSOFT International Symposium on Software Testing and Analysis · doi:10.1145/3533767.3534220 · Cited by 81 · cited 11×
“While it is not explicitly stated in the documentation, the developers commented on the issue report that because the CPU and GPU use different lower-level shifting operators, the output result when shifting with negative values will be dependent on the implementation.”
MethodInfluentialAutomated conformance testing for JavaScript engines via deep compiler fuzzing
Ye, G., Tang, Z., Tan, S. H., Huang, S., Fang, D., Sun, X., Bian, L., Wang, H., & Wang, Z. (2021) · Proceedings of the 42nd ACM SIGPLAN International Conference on Programming Language Design and Implementation · doi:10.1145/3453483.3454054 · Cited by 77 · cited 1×
“Mutation operators are selected using a multi-armed bandit algorithm [67] (Section 3.2.2) aiming to maximize the number of valid and unique mutations generated.”
MethodInfluentialAdaptive Test Generation Using a Large Language ModelPreprint
Schäfer, M., Nadi, S., Eghbali, A., & Tip, F. (2023) · arXiv.org · doi:10.48550/arxiv.2302.06527 · Cited by 77 · cited 1×
“TestPilot [62] directly uses Codex by prompting with the source code and example usages of the method under test to automatically generate unit tests.”
MethodMuffin: testing deep learning libraries via neural architecture fuzzing
Gu, J., Luo, X., Zhou, Y., & Wang, X. (2022) · Proceedings of the 44th International Conference on Software Engineering · doi:10.1145/3510003.3510092 · Cited by 71 · cited 7×
“While such model-level fuzzers are able to nd bugs in DL libraries, due to the input/output constraints of DL APIs, model-level mutation/generation rules either are restrictive to certain shape-preserving APIs [71] or require manual annotation of the restrictions of all targeted APIs [25], leading to a limited number…”
BackgroundMethodInfluentialSeqFuzzer: An Industrial Protocol Fuzzing Framework from a Deep Learning Perspective
Zhao, H., Li, Z., Wei, H., Shi, J., & Huang, Y. (2019) · 2019 12th IEEE Conference on Software Testing, Validation and Verification (ICST) · doi:10.1109/icst.2019.00016 · Cited by 65 · cited 1×
“Seqfuzzer [84] employs a Recurrent Neural Network (RNN) [13, 29] and GANFuzz [32] leverages the Generative Adversarial Network (GAN) [24] for protocol fuzzing.”
MethodCoverage-guided tensor compiler fuzzing with joint IR-pass mutation
Liu, J., Wei, Y., Yang, S., Deng, Y., & Zhang, L. (2022) · Proceedings of the ACM on Programming Languages · doi:10.1145/3527317 · Cited by 51 · cited 1×
“In the forward pass, the first convolutional layer with a non-linear activation function ( RELU ) produces an intermediate output, which is then passed to the second convolutional layer.”
BackgroundSelf-citationCoverage guided, property based testing
Lampropoulos, L., Hicks, M., & Pierce, B. C. (2019) · Proceedings of the ACM on Programming Languages · doi:10.1145/3360607 · Cited by 49 · cited 1×
“…(e.g., changing random code elements) do not work in generating valid DL programs since they can easily cause runtime errors by incorrectly mutating the input and argument space, and also cannot easily ensure the semantic validity [38, 55] of the generated programs due to the dynamically language.”
BackgroundBUSTLE: Bottom-Up Program Synthesis Through Learning-Guided ExplorationPreprint
Odena, A., Shi, K., Bieber, D., Singh, R., Sutton, C. A., & Dai, H. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2007.14381 · Cited by 46 · cited 1×
“Traditional program synthesis techniques [50, 53, 63] typically restrict themselves to a small set of functionalities in the language and cannot deal with a large number of library APIs, each with their own specific input and output parameters and types.”
BackgroundKeep the Conversation Going: Fixing 162 out of 337 bugs for $0.42 each using ChatGPT
Xia, C. S., & Zhang, L. (2023) · arXiv · doi:10.48550/arxiv.2304.00385
Self-citationPrompt Programming for Large Language Models: Beyond the Few-Shot Paradigm
Reynolds, L., & McDonell, K. (2021) · arXiv · doi:10.48550/arxiv.2102.07350 · cited 2×
“Also, our work shows for the rst time that step-by-step prompt engineering [60] can substantially help boost fuzzing.”
BackgroundMethodLess Training, More Repairing Please: Revisiting Automated Program Repair via Zero-shot Learning
Xia, C. S., & Zhang, L. (2022) · arXiv · doi:10.48550/arxiv.2207.08281 · cited 2×
“Besides generative models, inspired by recent work [73, 74] on infilling-style program repair (where LLMs generate correct patches by directly filling in the correct code given the context), we also leverage infilling models to perform mutations by replacing a small part of an input program with masked tokens and then…”
BackgroundMethodSelf-citation
Research works printed but not linked: 13
- Andrea Fioraldi, Dominik Maier, Heiko Eißfeldt, and Marc Heuse. 2020. AFL++: Combining Incremental Steps of Fuzzing Research. In Proceedings of the 14th USENIX Conference on Offensive Technologies (WOOT'20). USENIX Association, USA, Article 10, 1 pages.
- Sepp Hochreiter and Jürgen Schmidhuber. 1997. Long Short-term Memory. Neural computation 9 (12 1997), 1735-80.
- Suyoung Lee, HyungSeok Han, Sang Kil Cha, and Sooel Son. 2020. Montage: A Neural Network Language {Model-Guided} {JavaScript} Engine Fuzzer. In 29th USENIX Security Symposium (USENIX Security 20). 2613-2630.
- Jiawei Liu, Jinkun Lin, Fabian Ruffy, Cheng Tan, Jinyang Li, Aurojit Panda, and Lingming Zhang. 2023. NNSmith: Generating Diverse and Valid Test Cases for Deep Learning Compilers. In ASPLOS. 530-543.
- Xiao Liu, Xiaoting Li, Rupesh Prajapati, and Dinghao Wu. 2019. Deepfuzz: Automatic generation of syntax valid c programs for fuzz testing. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 33. 1044-1051.
- Zohar Manna and Richard J. Waldinger. 1971. Toward Automatic Program Synthesis. Commun. ACM 14, 3 (mar 1971), 151-165.
- Pengyu Nie, Rahul Banerjee, Junyi Jessy Li, Raymond J. Mooney, and Milos Gligoric. 2023. Learning Deep Semantics for Test Completion. In 45th International Conference on Software Engineering.
- Jiwon Park, Dominik Winterer, Chengyu Zhang, and Zhendong Su. 2021. Gener- ative type-aware mutation for testing SMT solvers. Proceedings of the ACM on Programming Languages 5, OOPSLA (2021), 1-19.
- Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. 2019. Language models are unsupervised multitask learners. OpenAI blog 1, 8 (2019), 9.
- Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. 2020. Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer. J. Mach. Learn. Res. (jan 2020).
- Daniel J Russo, Benjamin Van Roy, Abbas Kazerouni, Ian Osband, Zheng Wen, et al. 2018. A tutorial on thompson sampling. Foundations and Trends® in Machine Learning 11, 1 (2018), 1-96.
- Jiannan Wang, Thibaud Lutellier, Shangshu Qian, Hung Viet Pham, and Lin Tan. 2022. EAGLE: Creating Equivalent Graphs to Test Deep Learning Libraries. (2022).
- Chenyuan Yang, Yinlin Deng, Jiayi Yao, Yuxing Tu, Hanchi Li, and Lingming Zhang. 2023. Fuzzing Automatic Differentiation in Deep-Learning Libraries. In International Conference on Software Engineering (ICSE). to appear.
Cited by
Large Language Models for Software Engineering: A Systematic Literature Review
Hou, X., Zhao, Y., Liu, Y., Yang, Z., Wang, K., Li, L., Luo, X., Lo, D., Grundy, J., & Wang, H. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3695988 · Cited by 1,029
Large language models for software engineering: survey and open problems
Fan, A., Gokkaya, B., Harman, M., Lyubarskiy, M., Sengupta, S., Yoo, S., & Zhang, J. M. (2023) · 2023 IEEE/ACM International Conference on Software Engineering: Future of Software Engineering (ICSE-FoSE) · doi:10.1109/icse-fose59343.2023.00008 · Cited by 650
“Deng et al. [104] propose TitanFuzz, which uses LLMs (i.e., Codex) to generate valid input DL programs to test DL libraries.”
MethodSoftware Testing With Large Language Models: Survey, Landscape, and Vision
Wang, J., Huang, Y., Chen, C., Liu, Z., Wang, S., & Wang, Q. (2024) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2024.3368208 · Cited by 573
“Another example is for generating unusual programs for fuzzing deep learning libraries, Deng et al. [58] first generate a possible “bug” (bug description) before generating the actual “bug-triggering” code snippet that invokes the target API.”
InfluentialLarge Language Models for Software Engineering: Survey and Open Problems
Fan, A., Gokkaya, B., Harman, M., Lyubarskiy, M., Sengupta, S., Yoo, S., & Zhang, J. M. (2023) · arXiv · doi:10.48550/arxiv.2310.03533 · Cited by 523
“Deng et al. [104] propose TitanFuzz, which uses LLMs (i.e., Codex) to generate valid input DL programs to test DL libraries.”
MethodAn Empirical Study of the Non-Determinism of ChatGPT in Code Generation
Ouyang, S., Zhang, J. M., Harman, M., & Wang, M. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3697010 · Cited by 258
Metadata
- Authors
- Deng, Y., Xia, C. S., Peng, H., Yang, C., & Zhang, L.
- Affiliations
- University of Illinois Urbana-Champaign (US)
- University of Science and Technology of China (CN)
- Venue
- Proceedings of the 32nd ACM SIGSOFT International Symposium on Software Testing and Analysis
- Publisher
- ACM
- Published
- 2023-07-12
- Pages
- 423-435
- OpenAlex
- W4378591002
- Semantic Scholar
- 66476832701361c9f9b2a7eb2354ee8cd9f72e67
- Cited by
- 326
- References
- 39
- Citations by year
- 2026: 93 · 2025: 137 · 2024: 87 · 2023: 9
- FWCI
- 63.11
- Type
- conference paper
- Language
- en
- Open access
- bronze
- doi.org
- Locations
- ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) (publishedVersion)
- arXiv (Cornell University) (submittedVersion)
- Zenodo (CERN European Organization for Nuclear Research) (submittedVersion, cc-by)
- arXiv (Cornell University) (cc-by)
- Funders
- National Science Foundation (CCF-2131943,CCF-2141474)
- Topics
- Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Physical Sciences › Computer Science › Artificial Intelligence › Adversarial Robustness in Machine Learning
- Keywords
- large language models, fuzzing, deep learning libraries, TensorFlow, PyTorch, bug detection, code generation, code mutation, input generation, code coverage
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
The claim verdicts this report counts are experimental: their accuracy is not yet measured.
A language model drew the claims from the paper on 2026-10-07, under version 3 of the claim definition (model deepseek-v4.1-flash, prompt extract-v3).
A second model labelled each claim on 2026-10-07 (model jev-1.13-20260917, definition revision gold-guideline-v0.2).
Cited sources are checked with a language model’s help (gpt-6-sol and qwen3.8-omni-flash).
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.