Neural code intelligence (CI) models are opaque black-boxes and offer little insight on the features they use in making predictions. This opacity may lead to distrust in their prediction and hamper their wider adoption in safety-critical applications. Recently, input program reduction techniques have been proposed to identify key features in the input programs to improve the transparency of CI models. However, this approach is syntax-unaware and does not consider the grammar of the programming language. In this paper, we apply a syntax-guided program reduction technique that considers the grammar of the input programs during reduction. Our experiments on multiple models across different types of input programs show that the syntax-guided program reduction technique is faster and provides smaller sets of key tokens in reduced programs. We also show that the key tokens could be used in generating adversarial examples for up to 65% of the input programs.
Improving Code Translation with Syntax-Guided and Semantic-aware Preference Optimization
State Key Laboratory for Novel Software Technology, Nanjing University, China(南京大学新型软件技术国家重点实验室);National Institute of Healthcare Data Science, Nanjing University, China(南京大学健康数据科学国家研究院)
University of Pennsylvania(宾夕法尼亚大学);Ben-Gurion University(本-古里安大学);Microsoft Research, Redmond(微软研究院雷德蒙德);Massachusetts Institute of Technology(麻省理工学院)
Source Code Summarization with Structural Relative Position Guided Transformer
Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳));Noah’s Ark Lab, Huawei Technologies(华为技术有限公司诺亚方舟实验室);The Chinese University of Hong Kong(香港中文大学)
What Do They Capture? -- A Structural Analysis of Pre-Trained Language Models for Source Code
National Engineering Research Center for Big Data Technology and System, Services Computing Technology and System Lab, Cluster and Grid Computing Lab, HUST(华中科技大学(HUST)大数据技术与系统国家工程研究中心、服务计算技术与系统实验室、集群与网格计算实验室);School of Computer Science and Technology, Huazhong University of Science and Technology(华中科技大学计算机科学与技术学院);University of Newcastle(纽卡斯尔大学);School of Computer Science, University of Technology Sydney(悉尼科技大学计算机学院)
ShortCoder: Knowledge-Augmented Syntax Optimization for Token-Efficient Code Generation
Sun Yat-sen University, China(中山大学);Huawei Cloud Computing Technologies Co., Ltd., China(华为云计算技术有限公司);Chongqing University, China(重庆大学);University of Electronic Science and Technology of China, China(电子科技大学)
Towards an Understanding of Context Utilization in Code Intelligence
Sun Yat-sen University(中山大学);Huawei Cloud Computing Technologies Co., Ltd.(华为云计算技术有限公司);City University of Hong Kong(香港城市大学);Chongqing University(重庆大学)
TriFusion-LLM: Prior-Guided Multimodal Fusion with LLM Arbitration for Fine-grained Code Clone Detection
School of Computer Science and Technology University of Chinese Academy of Sciences(中国科学院大学计算机科学与技术学院);School of Cyber Engineering Xidian University(西安电子科技大学网络空间安全学院);Hainan University(海南大学)
Synergizing Code Coverage and Gameplay Intent: Coverage-Aware Game Playtesting with LLM-Guided Reinforcement Learning
College of Computer and Information Science, Southwest University(西南大学计算机与信息科学学院);College of Science and Technology, Nihon University(日本立命馆大学科学技术学院);Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);Waseda Institute for Advanced Study, Waseda University(早稻田大学高级研究机构)