Towards Privacy-Preserving Code Generation: Understanding and Mitigating Memorization in Code Large Language Models

Recent advances in code-specialized language models (LLM4Code) have revolutionized software development by assisting with tasks like code generation, debugging, and testing. However, training these models on large, centralized datasets raises privacy concerns, as memorization of training data can lead to confidentiality and intellectual property risks. As a result, such models are often trained on publicly available data. This research examines code memorization patterns and explores privacy-preserving techniques, such as Federated Learning and Differential Privacy, to mitigate these risks. The goal is to develop secure, high-performance, and inclusive models that protect sensitive information, foster trust, and enable broader adoption in software engineering.

Authors

Institutions

Publication Details

Published
2025-06-23
DOI
https://doi.org/10.1145/3696630.3731473
Primary Topic
Privacy-Preserving Technologies in Data
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Towards Privacy-Preserving Code Generation: Understanding and Mitigating Memorization in Code Large Language Models

Melih Catal
Privacy-Preserving Technologies in Data
article

Towards Privacy-Preserving Code Generation: Understanding and Mitigating Memorization in Code Large Language Models

Melih Catal
article en

Abstract

Recent advances in code-specialized language models (LLM4Code) have revolutionized software development by assisting with tasks like code generation, debugging, and testing. However, training these models on large, centralized datasets raises privacy concerns, as memorization of training data can lead to confidentiality and intellectual property risks. As a result, such models are often trained on publicly available data. This research examines code memorization patterns and explores privacy-preserving techniques, such as Federated Learning and Differential Privacy, to mitigate these risks. The goal is to develop secure, high-performance, and inclusive models that protect sensitive information, foster trust, and enable broader adoption in software engineering.

University of Zurich (CH)
National Science Foundation, Schweizerischer Nationalfonds zur Förderung der Wissenschaftlichen Forschung
Openalex Percentile: Top 91%
Privacy-Preserving Technologies in Data
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.