A new study published on arXiv investigates the effectiveness of detecting code generated by Large Language Models (LLMs). Researchers compared four models—GPT-3.5, Claude 3 Haiku, Claude Haiku 4.5, and GPT-OSS—across function and class granularities using interpretable software metrics. The study found that code generation granularity significantly impacts detectability, with function-level and class-level detection relying on distinct structural signatures. Notably, GPT-3.5 showed exceptional detectability at the function level, while other contemporary models were more detectable at the class level, highlighting the need for detectors that account for architectural diversity. AI
IMPACT Highlights the need for more robust and generalized methods for detecting LLM-generated code, which is crucial for software security and integrity.
RANK_REASON Academic paper detailing a comparative study of LLM-generated code detection. [lever_c_demoted from research: ic=1 ai=1.0]
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →