paper-with-me

Papers

LLM-based Vulnerable Code Augmentation: Generate or Refactor?

2025-12-09 · Dyna Soumhane Ouchebara, Stéphane Dupont arxiv

Vulnerability code-bases often suffer from severe imbalance, limiting the effectiveness of Deep Learning-based vulnerability classifiers. Data Augmentation could help solve this by mitigating the scarcity of under-represented vulnerability types. In this context, we investigate LLM-based augmentation for vulnerable functions, comparing controlled generation of new vulnerable samples with semantics-preserving refactoring of existing ones. Using Qwen2.5-Coder to produce augmented data and CodeBERT as a classifier on the SVEN dataset, we find that our approaches are indeed effective in enriching vulnerable code-bases through a simple process and with reasonable quality, and that a hybrid strategy best boosts vulnerability classifiers' performance. Code repository is available here : https://github.com/DynaSoumhaneOuchebara/LLM-based-code-augmentation-Generate-or-Refactor-

📄 PDF Abstract BibTeX arXiv:2512.08493

Code (0)

등록된 구현이 없습니다.

Tasks

Data Augmentation

Similar Papers 제목 키워드 기반

RefactorAssist: Agentic Refinement for Reliable Code Refactoring

2026-08-02 · Jonathan Cordeiro, Shayan Noei, Ying Zou arxiv

Code refactoring aims to enhance the internal structure of source code without affecting its functional behavior. The recent advancements of Large Language Models (LLMs) have demonstrated potential for automating softwar…

MIXCODE: Enhancing Code Classification by Mixup-Based Data Augmentation

2022-10-06 · Zeming Dong, Qiang Hu, Yuejun Guo, Maxime Cordy 외

Inspired by the great success of Deep Neural Networks (DNNs) in natural language processing (NLP), DNNs have been increasingly applied in source code analysis and attracted significant attention from the software enginee…

ClassificationCode ClassificationData Augmentation

CodeTaste: Can LLMs Generate Human-Level Code Refactorings?

2026-03-04 · Alex Thillen, Niels Mündler, Veselin Raychev, Martin Vechev arxiv

LLM coding agents can generate working code, but their solutions often accumulate complexity, duplication, and architectural debt. Human developers address such issues through refactoring: behavior-preserving program tra…

Proof-Refactor: Refactoring Generated Formal Proofs into Modular Artifacts

2026-06-02 · Yiming Fu, Peixuan Liu, Zichen Wang, Kun yuan arxiv

While Large Language Models (LLMs) have shown strong performance in generating formal proofs, their outputs often remain less readable, modular, maintainable, and reusable than proofs in mature formal mathematics librari…

ByteSized32Refactored: Towards an Extensible Interactive Text Games Corpus for LLM World Modeling and Evaluation

2025-09-28 · Haonan Wang, Junfeng Sun, Xingdi Yuan, Ruoyao Wang 외 arxiv

Simulating interactive world models remains a core challenge in Large Language Models(LLMs). In this work, we introduce the ByteSized32Refactored, a refactored, modular, and extensible implementation of the original Byte…