Skip to main navigation Skip to search Skip to main content

Open Source AI-based SE Tools: Opportunities and Challenges of Collaborative Software Learning

  • Zhihao Lin
  • , Wei Ma
  • , Tao Lin
  • , Yaowen Zheng
  • , Jingquan Ge
  • , Jun Wang
  • , Jacques Klein
  • , Tegawende Bissyande
  • , Yang Liu
  • , Li Li*
  • *Corresponding author for this work
  • Beihang University
  • Singapore Management University
  • Westlake University
  • Nanyang Technological University
  • University of Luxembourg

Research output: Contribution to journalArticlepeer-review

Abstract

Large language models (LLMs) have become instrumental in advancing software engineering (SE) tasks, showcasing their efficacy in code understanding and beyond. AI code models have demonstrated their value not only in code generation but also in defect detection, enhancing security measures and improving overall software quality. They are emerging as crucial tools for both software development and maintaining software quality. Like traditional SE tools, open source collaboration is key in realizing the excellent products. However, with AI models, the essential need is in data. The collaboration of these AI-based SE models hinges on maximizing the sources of high-quality data. However, data, especially of high quality, often hold commercial or sensitive value, making them less accessible for open source AI-based SE projects. This reality presents a significant barrier to the development and enhancement of AI-based SE tools within the SE community. Therefore, researchers need to find solutions for enabling open source AI-based SE models to tap into resources by different organizations. Addressing this challenge, our position article investigates one solution to facilitate access to diverse organizational resources for open source AI models, ensuring that privacy and commercial sensitivities are respected. We introduce a governance framework centered on federated learning (FL), designed to foster the joint development and maintenance of open source AI code models while safeguarding data privacy and security. Additionally, we present guidelines for developers on AI-based SE tool collaboration, covering data requirements, model architecture, updating strategies, and version control. Given the significant influence of data characteristics on FL, our research examines the effect of code data heterogeneity on FL performance. We consider six different scenarios of data distributions and include four code models. We also include four most common FL algorithms. Our experimental findings highlight the potential for employing FL in the collaborative development and maintenance of AI-based SE models. We also discuss the key issues to be addressed in the co-construction process and future research directions.

Original languageEnglish
Article number126
JournalACM Transactions on Software Engineering and Methodology
Volume34
Issue number5
DOIs
StatePublished - 24 May 2025

Keywords

  • Data Privacy
  • Federated Learning
  • Open Source Code Model
  • Software Engineering

Fingerprint

Dive into the research topics of 'Open Source AI-based SE Tools: Opportunities and Challenges of Collaborative Software Learning'. Together they form a unique fingerprint.

Cite this