基于聚类的LLM软件分析数据匿名化:研究JIT缺陷预测中的隐私-效用权衡
Cluster-guided LLM-Based Anonymization of Software Analytics Data: Studying Privacy-Utility Trade-offs in JIT Defect Prediction
AI总结:
本文提出基于LLM的聚类引导去标识化方法,用于JIT缺陷预测中的隐私-效用权衡研究,通过上下文感知参数配置提升隐私保护水平。
摘要:
随着机器学习(ML)在即时(JIT)缺陷预测中的日益广泛应用,软件分析数据的隐私泄露问题引起关注。现有的去标识化方法,如表格转换和图扰动,往往忽视软件度量之间的上下文依赖关系,导致隐私-效用权衡不优。利用大型语言模型(LLMs)的上下文推理能力,我们提出了一种基于聚类的去标识化技术,以在JIT数据集中保留上下文和统计关系。我们的方法将提交分为基于特征的聚类,并利用LLM为每个提交聚类生成上下文感知的参数配置,定义用于去标识化的alpha-beta比率和 churn 混合分布。我们在六个项目(Cassandra、Flink、Groovy、Ignite、OpenStack 和 Qt)上的评估显示,我们的LLM方法实现了隐私等级2(IPR ≥ 80%),在四个最先进的图基去标识化基线之上提高了隐私水平18至25%,同时保持了可比的F1分数。我们的结果表明,当提供具有相似数据点统计信息的聚类特定信息时,LLMs可以作为自适应的去标识化引擎,实现上下文敏感且隐私保护的软件分析,而不会影响预测准确性。
英文摘要:
The increasing use of machine learning (ML) for Just-In-Time (JIT) defect prediction raises concerns about privacy leakage from software analytics data. Existing anonymization methods, such as tabular transformations and graph perturbations, often overlook contextual dependencies among software metrics, leading to suboptimal privacy-utility tradeoffs. Leveraging the contextual reasoning of Large Language Models (LLMs), we propose a cluster-guided anonymization technique that preserves contextual and statistical relationships within JIT datasets. Our method groups commits into feature-based clusters and employs an LLM to generate context-aware parameter configurations for each commit cluster, defining alpha-beta ratios and churn mixture distributions used for anonymization. Our evaluation on six projects (Cassandra, Flink, Groovy, Ignite, OpenStack, and Qt) shows that our LLM-based approach achieves privacy level 2 (IPR >= 80 percent), improving privacy by 18 to 25 percent over four state-of-the-art graph-based anonymization baselines while maintaining comparable F1 scores. Our results demonstrate that LLMs can act as adaptive anonymization engines when provided with cluster-specific statistical information about similar data points, enabling context-sensitive and privacy-preserving software analytics without compromising predictive accuracy.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。