Recent progress in large language models (LLMs) for code generation has raised serious concerns about intellectual property protection. Malicious users can exploit LLMs to produce paraphrased versions of proprietary code that closely resemble the original. While the potential for LLM-assisted code paraphrasing continues to grow, research on detecting it remains limited, underscoring an urgent need for detection system. We respond to this need by proposing two tasks. The first task is to detect whether code generated by an LLM is a paraphrased version of original human-written code. The second task is to identify which LLM is used to paraphrase the original code. For these tasks, we construct a dataset LPcode consisting of pairs of human-written code and LLM-paraphrased code using various LLMs.
We statistically confirm significant differences in the coding styles of human-written and LLM-paraphrased code, particularly in terms of naming consistency, code structure, and readability. Based on these findings, we develop LPcodedec, a detection method that identifies paraphrase relationships between human-written and LLM-generated code, and discover which LLM is used for the paraphrasing. LPcodedec outperforms the best baselines in two tasks, improving F1 scores by 2.64% and 15.17% while achieving speedups of 1,343x and 213x, respectively. Our code and data are available at https://github.com/Shinwoo-Park/detecting_llm_paraphrased_code_via_coding_style_features.
code_transformed: The Influence of Large Language Models on Code
Huazhong University of Science and Technology(华中科技大学);École normale supérieure - Université PSL(巴黎高等师范学院-巴黎大学);Laboratoire LATTICE(LATTICE实验室);International School for Advanced Studies (SISSA)(国际先进研究学院(SISSA))
RoPGen: Towards Robust Code Authorship Attribution via Automatic Coding Style Transformation
University of Texas at San Antonio(得克萨斯大学圣安东尼奥分校);Huazhong University of Science and Technology(华中科技大学);Center for Research in Computer Vision, University of Central Florida(中佛罗里达大学计算机视觉研究中心);Northeastern University(东北大学);University of Colorado Colorado Springs(科罗拉多大学科罗拉多斯普林斯分校)
MultiParaDetox: Extending Text Detoxification with Parallel Data to New Languages
Technical University of Munich(慕尼黑工业大学);Centro Singular de Investigación en Tecnoloxías Intelixentes (CiTIUS)(智能技术 singular 研究中心(CiTIUS));Universidade de Santiago de Compostela(圣地亚哥德孔波斯特拉大学);Skolkovo Institute of Science and Technology(斯科尔科沃科技学院);Artificial Intelligence Research Institute(人工智能研究院)
Closed-loop evaluation of LLM agents for embedded software development
Lucentia Research, Department of Software and Computing Systems, University of Alicante(阿利坎特大学软件与计算系统系卢森西亚研究);Universitary Institute of Materials Technology (IUTM), Universitat Politècnica de València(巴伦西亚理工大学材料技术大学研究所)
Agentic AI for Gravitational Wave Data Analysis: A Head-to-Head Comparison of Coding Agents Executing a Matched Filter Pipeline on Einstein Telescope Simulated Data