Understanding Programs by Exploiting (Fuzzing) Test Cases
Not on the map. Why?
Abstract (arXiv)
Semantic understanding of programs has attracted great attention in the community. Inspired by recent successes of large language models (LLMs) in natural language understanding, tremendous progress has been made by treating programming language as another sort of natural language and training LLMs on corpora of program code. However, programs are essentially different from texts after all, in a sense that they are normally heavily structured and syntax-strict. In particular, programs and their basic units (i.e., functions and subroutines) are designed to demonstrate a variety of behaviors and/or provide possible outputs, given different inputs. The relationship between inputs and possible outputs/behaviors represents the functions/subroutines and profiles the program as a whole. Therefore, we propose to incorporate such a relationship into learning, for achieving a deeper semantic understanding of programs. To obtain inputs that are representative enough to trigger the execution of most part of the code, we resort to fuzz testing and propose fuzz tuning to boost the performance of program understanding and code representation learning, given a pre-trained LLM. The effectiveness of the proposed method is verified on two program understanding tasks including code clone detection and code classification, and it outperforms current state-of-the-arts by large margins. Code is available at https://github.com/rabbitjy/FuzzTuning.
Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Builds on 20 of its 39 references that are in the map. First posted on arXiv 23 May 2023.
Builds on
20 of 39 references.
References · 20
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2019Language Models as Knowledge Bases?cited by 1,936
- 2022Competition-Level Code Generation with AlphaCodecited by 1,462
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 744
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
- 2021Unified Pre-training for Program Understanding and Generationcited by 366
8 more
- 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 361
- 2020A Metric Learning Reality Checkcited by 321
- 2021SynCoBERT: Syntax-Guided Multi-Modal Contrastive Pre-Training for Code Representationcited by 63
- 2022StructCoder: Structure-Aware Transformer for Code Generationcited by 34
- 2021How could Neural Networks understand Programs?cited by 26
- 2020ProGraML: Graph-based Deep Learning for Program Optimization and Analysiscited by 23
- 2023ContraBERT: Enhancing Code Pre-trained Models via Contrastive Learningcited by 16
- 2018Angora: Efficient Fuzzing by Principled Searchcited by 15
Built on by
Citing papers per year: 2023: 4; 2024: 5; 2025: 1; 2026: 3.
13 papers.
Sort:
By area:
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 399
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 387
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 71
- 2023The Program Testing Ability of Large Language Models for Codecited by 11
- 2023Code Representation Pre-training with Complements from Program Executionscited by 8
- 2024UniTSyn: A Large-Scale Dataset Capable of Enhancing the Prowess of Large Language Models for Program Testingcited by 5
- 2024Research and application of artificial intelligence based webshell detection model: A literature reviewcited by 4
- 2024FuzzAug: Data Augmentation by Coverage-guided Fuzzing for Neural Test Generationcited by 3
- 2024Large Language Models are Few-shot Generators: Proposing Hybrid Prompt Algorithm To Generate Webshell Escape Samplescited by 2
- 2026Content Fuzzing for Escaping Information Cocoons on Digital Social Mediacited by 1
- 2025Towards Reliable LLM-Driven Fuzz Testing: Vision and Road Aheadcited by 0
- 2026Invariant Pretraining for Robust Code Representationscited by 0
- 2026Test-Driven Approaches to Software Engineering with Large Language Models: A Survey of Phases, Tasks, and Agent Skills10 Sep 2026
- 2026Invariant Pretraining for Robust Code Representations15 Aug 2026
- 2026Content Fuzzing for Escaping Information Cocoons on Digital Social Media7 Apr 2026
- 2025Towards Reliable LLM-Driven Fuzz Testing: Vision and Road Ahead2 Mar 2025
- 2024FuzzAug: Data Augmentation by Coverage-guided Fuzzing for Neural Test Generation12 Jun 2024
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Review6 May 2024
- 2024Research and application of artificial intelligence based webshell detection model: A literature review28 Apr 2024
- 2024Large Language Models are Few-shot Generators: Proposing Hybrid Prompt Algorithm To Generate Webshell Escape Samples12 Feb 2024
- 2024UniTSyn: A Large-Scale Dataset Capable of Enhancing the Prowess of Large Language Models for Program Testing4 Feb 2024
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Ugly4 Dec 2023
- 2023The Program Testing Ability of Large Language Models for Code9 Oct 2023
- 2023Code Representation Pre-training with Complements from Program Executions4 Sep 2023
1 more
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 399
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 387
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 71
- 2023The Program Testing Ability of Large Language Models for Codecited by 11
- 2023Code Representation Pre-training with Complements from Program Executionscited by 8
- 2024UniTSyn: A Large-Scale Dataset Capable of Enhancing the Prowess of Large Language Models for Program Testingcited by 5
- 2024Research and application of artificial intelligence based webshell detection model: A literature reviewcited by 4
- 2024FuzzAug: Data Augmentation by Coverage-guided Fuzzing for Neural Test Generationcited by 3
- 2024Large Language Models are Few-shot Generators: Proposing Hybrid Prompt Algorithm To Generate Webshell Escape Samplescited by 2
- 2026Content Fuzzing for Escaping Information Cocoons on Digital Social Mediacited by 1
- 2025Towards Reliable LLM-Driven Fuzz Testing: Vision and Road Aheadcited by 0
- 2026Invariant Pretraining for Robust Code Representationscited by 0
- 2026Invariant Pretraining for Robust Code Representations15 Aug 2026
- 2026Content Fuzzing for Escaping Information Cocoons on Digital Social Media7 Apr 2026
- 2025Towards Reliable LLM-Driven Fuzz Testing: Vision and Road Ahead2 Mar 2025
- 2024FuzzAug: Data Augmentation by Coverage-guided Fuzzing for Neural Test Generation12 Jun 2024
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Review6 May 2024
- 2024Research and application of artificial intelligence based webshell detection model: A literature review28 Apr 2024
- 2024Large Language Models are Few-shot Generators: Proposing Hybrid Prompt Algorithm To Generate Webshell Escape Samples12 Feb 2024
- 2024UniTSyn: A Large-Scale Dataset Capable of Enhancing the Prowess of Large Language Models for Program Testing4 Feb 2024
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Ugly4 Dec 2023
- 2023The Program Testing Ability of Large Language Models for Code9 Oct 2023
- 2023Code Representation Pre-training with Complements from Program Executions4 Sep 2023
- 2023Large Language Models for Software Engineering: A Systematic Literature Review21 Aug 2023