mlsanityData to 7 Oct 2026

Large Language Models are Edge-Case Fuzzers: Testing Deep Learning Libraries via FuzzGPT

arXiv 2304.02014 ↗First posted 4 Apr 2023cs.SEcited by 36

Not on the map. Why?

Abstract (arXiv)

Deep Learning (DL) library bugs affect downstream DL applications, emphasizing the need for reliable systems. Generating valid input programs for fuzzing DL libraries is challenging due to the need for satisfying both language syntax/semantics and constraints for constructing valid computational graphs. Recently, the TitanFuzz work demonstrates that modern Large Language Models (LLMs) can be directly leveraged to implicitly learn all the constraints to generate valid DL programs for fuzzing. However, LLMs tend to generate ordinary programs following similar patterns seen in their massive training corpora, while fuzzing favors unusual inputs that cover edge cases or are unlikely to be manually produced. To fill this gap, this paper proposes FuzzGPT, the first technique to prime LLMs to synthesize unusual programs for fuzzing. FuzzGPT is built on the well-known hypothesis that historical bug-triggering programs may include rare/valuable code ingredients important for bug finding. Traditional techniques leveraging such historical information require intensive human efforts to design dedicated generators and ensure the validity of generated programs. FuzzGPT demonstrates that this process can be fully automated via the intrinsic capabilities of LLMs (including fine-tuning and in-context learning), while being generalizable and applicable to challenging domains. While FuzzGPT can be applied with different LLMs, this paper focuses on the powerful GPT-style models: Codex and CodeGen. Moreover, FuzzGPT also shows the potential of directly leveraging the instruct-following capability of the recent ChatGPT for effective fuzzing. Evaluation on two popular DL libraries (PyTorch and TensorFlow) shows that FuzzGPT can substantially outperform TitanFuzz, detecting 76 bugs, with 49 already confirmed as previously unknown bugs, including 11 high-priority bugs or security vulnerabilities.

Key facts. Cited by 36 papers in the map (data through 7 Oct 2026). First posted on arXiv 4 Apr 2023.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 14; 2024: 13; 2025: 6; 2026: 3.

36 papers.

Sort:

By area:

  1. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
  2. 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 400
  3. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
  4. 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
  5. 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 70
  6. 2024Large Language Models for Cyber Security: A Systematic Literature Reviewcited by 65
  7. 2024EffiBench: Benchmarking the Efficiency of Automatically Generated Codecited by 62
  8. 2023Bias Testing and Mitigation in LLM-based Code Generationcited by 53
  9. 2023A New Era in Software Security: Towards Self-Healing Software via Large Language Models and Formal Verificationcited by 42
  10. 2023WhiteFox: White-Box Compiler Fuzzing Empowered by Large Language Modelscited by 37
  11. 2024Can Large Language Models Understand Symbolic Graphics Programs?cited by 32
  12. 2024EffiLearner: Enhancing Efficiency of Generated Code via Self-Optimizationcited by 28
24 more
  1. 2024Glitch Tokens in Large Language Models: Categorization Taxonomy and Effective Detectioncited by 27
  2. 2024MHPP: Exploring the Capabilities and Limitations of Language Models Beyond Basic Code Generationcited by 25
  3. 2025EffiBench-X: A Multi-Language Benchmark for Measuring Efficiency of LLM-Generated Codecited by 24
  4. 2023Augmenting Greybox Fuzzing with Generative AIcited by 18
  5. 2024UniCoder: Scaling Code Large Language Model via Universal Codecited by 18
  6. 2023KernelGPT: Enhanced Kernel Fuzzing via Large Language Modelscited by 17
  7. 2024ChIRAAG: ChatGPT Informed Rapid and Automated Assertion Generationcited by 15
  8. 2024EffiCoder: Enhancing Code Generation in Large Language Models through Efficiency-Aware Fine-tuningcited by 15
  9. 2025CSR-Bench: Benchmarking LLM Agents in Deployment of Computer Science Research Repositoriescited by 15
  10. 2025A Contemporary Survey of Large Language Model Assisted Program Analysiscited by 10
  11. 2025Benchmarking LLMs for Unit Test Generation from Real-World Functionscited by 8
  12. 2023FLAG: Finding Line Anomalies (in code) with Generative AIcited by 7
  13. 2023Self-Deception: Reverse Penetrating the Semantic Firewall of Large Language Modelscited by 6
  14. 2023Bridging Code Semantic and LLMs: Semantic Chain-of-Thought Prompting for Code Generationcited by 6
  15. 2023Exploring the Limits of ChatGPT in Software Security Applicationscited by 5
  16. 2023LUNA: A Model-Based Universal Analysis Framework for Large Language Modelscited by 4
  17. 2024On the Challenges of Fuzzing Techniques via Large Language Modelscited by 4
  18. 2023PACE-LM: Prompting and Augmentation for Calibrated Confidence Estimation with GPT-4 in Cloud Incident Root Cause Analysiscited by 2
  19. 2026Like a Hammer, It Can Build, It Can Break: Large Language Model Uses, Perceptions, and Adoption in Cybersecurity Operations on Redditcited by 1
  20. 2026Beyond Problem Solving: UOJ-Bench for Evaluating Code Generation, Hacking, and Repair in Competitive Programmingcited by 1
  21. 2024Model-Enhanced LLM-Driven VUI Testing of VPA Appscited by 0
  22. 2025Large Language Models in Cybersecurity: Applications, Vulnerabilities, and Defense Techniquescited by 0
  23. 2025MultiFuzz: A Dense Retrieval-based Multi-Agent System for Network Protocol Fuzzingcited by 0
  24. 2026PBT-Bench: Benchmarking AI Agents on Property-Based Testingcited by 0