一句话:提出软件基因组计划,将源代码视为软件DNA,细粒度标注代码特征并构建基因组图谱,以支持开源治理和LLM代码训练。
开源软件在现代开发中至关重要,但其复杂性给质量、安全与管理带来挑战;现有治理擅长协作却难以应对去中心化管理与安全需求,基于LLM的软件工程也亟需更细粒度的软件组成理解。受人类基因组计划启发,作者将源代码视为“软件DNA”,提出软件基因组计划(SGP):在细粒度上识别并标注集成与分类的代码特征,识别不同粒度下功能实现与非功能需求的保障机制,构建软件基因组图谱。作为愿景论文,未报告实证评估;预期SGP可帮助开发者与管理器理解软件复杂性与多样性,通过剖析功能基因与不良基因支持定向优化和开源治理,并为LLM代码训练提供富含语义标注的综合数据集。
Open-source software is crucial to modern development, but its complexity creates challenges in quality, security, and management. Current governance approaches excel at collaboration but struggle with decentralized management and security. With the rise of large language models (LLM)-based software engineering, the need for a finer-grained understanding of software composition is more urgent than ever. To address these challenges, inspired by the Human Genome Project, we treat the software source code as software DNA and propose the Software Genome Project (SGP), which is geared towards the secure monitoring and exploitation of open-source software. By identifying and labeling integrated and classified code features at a fine-grained level, and effectively identifying safeguards for functional implementations and non-functional requirements at different levels of granularity, the SGP could build a comprehensive set of software genome maps to help developers and managers gain a deeper understanding of software complexity and diversity. By dissecting and summarizing functional and undesirable genes, SGP could help facilitate targeted software optimization, provide valuable insight and understanding of the entire software ecosystem, and support critical development tasks such as open source governance. SGP could also serve as a comprehensive dataset with abundant semantic labeling to enhance the training of LLMs for code. Based on these, we expect SGP to drive the evolution of software development towards more efficient, reliable, and sustainable software solutions.CCS Concepts• Software and its engineering → Software design engineering.
@inproceedings{0001LXZZZ024,
title = {The Software Genome Project: Unraveling Software Through Genetic Principles},
author = {Yueming Wu and Chengwei Liu and Zhengzi Xu and Lyuye Zhang and Yiran Zhang and Zhiling Zhu and Yang Liu},
booktitle = {ASE},
year = {2024},
doi = {10.1145/3691620.3695307}
}