CodeGPTSensor+: Detecting Slightly Modified LLM-Generated Code through Adversarial TrainingDetecting LLM-generated Code with Subtle Modification by Adversarial Training
AI summary
CodeGPTSensor+ detects slightly modified LLM-generated code through adversarial training, improving detection accuracy on the adversarial test set on the HMCorp dataset. It is an enhanced version of CodeGPTSensor that integrates the MIST module (multi-objective identifier and structure transformation), which systematically generates high-quality, representative adversarial samples. While maintaining high accuracy on the original test set, its detection accuracy on the adversarial test set is significantly improved, and its robustness is superior to CodeGPTSensor.