File Download
There are no files associated with this item.
Supplementary
-
Citations:
- Scopus: 0
- Appears in Collections:
Conference Paper: Understanding Programs by Exploiting (Fuzzing) Test Cases
Title | Understanding Programs by Exploiting (Fuzzing) Test Cases |
---|---|
Authors | |
Issue Date | 2023 |
Citation | Proceedings of the Annual Meeting of the Association for Computational Linguistics, 2023, p. 10667-10679 How to Cite? |
Abstract | 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. |
Persistent Identifier | http://hdl.handle.net/10722/347072 |
ISSN |
DC Field | Value | Language |
---|---|---|
dc.contributor.author | Zhao, Jianyu | - |
dc.contributor.author | Rong, Yuyang | - |
dc.contributor.author | Guo, Yiwen | - |
dc.contributor.author | He, Yifeng | - |
dc.contributor.author | Chen, Hao | - |
dc.date.accessioned | 2024-09-17T04:15:10Z | - |
dc.date.available | 2024-09-17T04:15:10Z | - |
dc.date.issued | 2023 | - |
dc.identifier.citation | Proceedings of the Annual Meeting of the Association for Computational Linguistics, 2023, p. 10667-10679 | - |
dc.identifier.issn | 0736-587X | - |
dc.identifier.uri | http://hdl.handle.net/10722/347072 | - |
dc.description.abstract | 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. | - |
dc.language | eng | - |
dc.relation.ispartof | Proceedings of the Annual Meeting of the Association for Computational Linguistics | - |
dc.title | Understanding Programs by Exploiting (Fuzzing) Test Cases | - |
dc.type | Conference_Paper | - |
dc.description.nature | link_to_subscribed_fulltext | - |
dc.identifier.scopus | eid_2-s2.0-85173691344 | - |
dc.identifier.spage | 10667 | - |
dc.identifier.epage | 10679 | - |