Foundation models (FMs) such as large language models (LLMs) have significantly impacted many fields, including software engineering (SE). The interaction between SE and FMs has led to the integration of FMs into SE practices (FM4SE) and the application of SE methodologies to FMs (SE4FM). While several literature surveys exist on academic contributions to these trends, we are the first to provide a practitioner's view. We analyze 155 FM4SE and 997 SE4FM blog posts from leading technology companies, leveraging an FM-powered surveying approach to systematically label and summarize the discussed activities and tasks. We observed that while code generation is the most prominent FM4SE task, FMs are leveraged for many other SE activities such as code understanding, summarization, and API recommendation. The majority of blog posts on SE4FM are about model deployment & operation, and system architecture & orchestration. Although the emphasis is on cloud deployments, there is a growing interest in compressing FMs and deploying them on smaller devices such as edge or mobile devices. We outline eight future research directions inspired by our gained insights, aiming to bridge the gap between academic findings and real-world applications. Our study not only enriches the body of knowledge on practical applications of FM4SE and SE4FM but also demonstrates the utility of FMs as a powerful and efficient approach in conducting literature surveys within technical and grey literature domains. Our dataset, results, code and used prompts can be found in our online replication package at https://github.com/SAILResearch/fmse-blogs.
翻译:基础模型(如大语言模型)已对包括软件工程在内的诸多领域产生深远影响。软件工程与基础模型的交互催生了两个重要趋势:基础模型在软件工程实践中的集成应用(FM4SE),以及软件工程方法论在基础模型开发中的应用(SE4FM)。尽管已有若干学术文献综述探讨这些趋势的学术贡献,本研究首次从实践者视角展开分析。我们系统分析了来自领先科技企业的155篇FM4SE博客和997篇SE4FM博客,采用基于基础模型的调研方法对所述活动与任务进行系统性标注与总结。研究发现:在FM4SE领域,代码生成虽是最突出的任务,但基础模型同时被广泛应用于代码理解、摘要生成、API推荐等其他软件工程活动;SE4FM相关博客则主要聚焦模型部署与运维、系统架构与编排两大主题。尽管当前部署实践以云端为主,但模型压缩及在边缘设备、移动设备等小型终端部署的需求正日益增长。基于所得洞见,我们提出八个未来研究方向,旨在弥合学术发现与实际应用之间的鸿沟。本研究不仅丰富了FM4SE与SE4FM实践应用的知识体系,还验证了基础模型作为高效调研工具在技术文献与灰色文献综述中的实用价值。完整数据集、分析结果、代码及提示词可通过在线复现包获取:https://github.com/SAILResearch/fmse-blogs。