SELGApr 19

SynthFix: Adaptive Neuro-Symbolic Code Vulnerability Repair

arXiv:2604.1718476.7h-index: 3Has Code
Predicted impact top 30% in SE · last 90 daysOriginality Incremental advance
AI Analysis

For developers and researchers using LLMs for automated code repair, SynthFix offers a more effective training strategy that adaptively combines pattern learning and symbolic feedback.

SynthFix improves LLM-based code vulnerability repair by combining supervised fine-tuning with compiler-informed reward fine-tuning, achieving up to 18% higher CodeBLEU/CrystalBLEU and 32% higher Exact Match on FixJS and CodeFlaws benchmarks.

Large Language Models (LLMs) show promise for automated code repair but often struggle with the complex semantic and structural correctness required. We present SynthFix, a hybrid neural-symbolic framework that improves LLM-based vulnerability repair by unifying code synthesis with compiler-informed symbolic feedback. The core of our approach is an adaptive training strategy where a neural Router Model directs code samples to either Supervised Fine-Tuning (SFT) to learn common patterns or Reward Fine-Tuning (RFT) with symbolic rewards for complex, iterative refinement. On the FixJS (JavaScript) and CodeFlaws (C) benchmarks, SynthFix achieves up to 18% relative improvement in CodeBLEU/CrystalBLEU and 32% in Exact Match over strong SFT and RFT baselines. Our results show that this adaptive combination of training strategies, which mirrors how developers alternate between pattern application and tool feedback, significantly improves the accuracy and efficiency of LLM-based vulnerability repair. Our code and data are available at https://github.com/CoderDoge1108/SynthFix.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes