paper-with-me

Papers

Semantic-Preserving Transformations as Mutation Operators: A Study on Their Effectiveness in Defect Detection

2025-03-30 · Max Hort, Linas Vidziunas, Leon Moonen

Recent advances in defect detection use language models. Existing works enhanced the training data to improve the models' robustness when applied to semantically identical code (i.e., predictions should be the same). However, the use of semantically identical code has not been considered for improving the tools during their application - a concept closely related to metamorphic testing. The goal of our study is to determine whether we can use semantic-preserving transformations, analogue to mutation operators, to improve the performance of defect detection tools in the testing stage. We first collect existing publications which implemented semantic-preserving transformations and share their implementation, such that we can reuse them. We empirically study the effectiveness of three different ensemble strategies for enhancing defect detection tools. We apply the collected transformations on the Devign dataset, considering vulnerabilities as a type of defect, and two fine-tuned large language models for defect detection (VulBERTa, PLBART). We found 28 publications with 94 different transformations. We choose to implement 39 transformations from four of the publications, but a manual check revealed that 23 out 39 transformations change code semantics. Using the 16 remaining, correct transformations and three ensemble strategies, we were not able to increase the accuracy of the defect detection models. Our results show that reusing shared semantic-preserving transformation is difficult, sometimes even causing wrongful changes to the semantics. Keywords: defect detection, language model, semantic-preserving transformation, ensemble

📄 PDF Abstract BibTeX arXiv:2503.23448

Code (0)

등록된 구현이 없습니다.

Tasks

Defect Detection

Similar Papers 제목 키워드 기반

Automatic Generation of Atomic Consistency Preserving Search Operators for Search-Based Model Engineering

2019-07-12 · Alexandru Burdusel, Steffen Zschaler, Stefan John

Recently there has been increased interest in combining the fields of Model-Driven Engineering (MDE) and Search-Based Software Engineering (SBSE). Such approaches use meta-heuristic search guided by search operators (mod…

Heuristic Search

An Empirical Study on Capability of Large Language Models in Understanding Code Semantics

2024-07-04 · Thu-Trang Nguyen, Thanh Trong Vu, Hieu Dinh Vo, Son Nguyen

Large Language Models for Code (code LLMs) have demonstrated remarkable performance across various software engineering (SE) tasks, increasing the application of code LLMs in software development. Despite the success of …

Code SummarizationMethod name predictionSensitivity

MANGO: Learning Disentangled Image Transformation Manifolds with Grouped Operators

2024-09-14 · Brighton Ancelin, Yenho Chen, Peimeng Guan, Chiraag Kaushik 외

Learning semantically meaningful image transformations (i.e. rotation, thickness, blur) directly from examples can be a challenging task. Recently, the Manifold Autoencoder (MAE) proposed using a set of Lie group operato…

Mutation Testing for Industrial Robotic Systems

2025-11-18 · Marcela Gonçalves dos Santos, Sylvain Hallé, Fábio Petrillo arxiv

Industrial robotic systems (IRS) are increasingly deployed in diverse environments, where failures can result in severe accidents and costly downtime. Ensuring the reliability of the software controlling these systems is…

Learning Identity-Preserving Transformations on Data Manifolds

2021-06-22 · Marissa Connor, Kion Fallah, Christopher Rozell

Many machine learning techniques incorporate identity-preserving transformations into their models to generalize their performance to previously unseen data. These transformations are typically selected from a set of fun…