arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.12095cs.SE
收藏

关于利用信息检索为软件工程师推荐机器学习良好实践的研究

On Using Information Retrieval to Recommend Machine Learning Good Practices for Software Engineers

Laura Cabra-Acela, Anamaria Mojica-Hanke, Mario Linares-Vásquez, Steffen Herbold

AI总结:

针对非机器学习专家难从灰色文献中获取合适机器学习实践的问题,研究团队开发了Idaka工具,结合BM25信息检索引擎与Alpaca大语言模型,可基于用户上下文推荐机器学习最佳实践并支持工具对比研究,已开源发布。

摘要:

如今,机器学习(ML)被广泛用于不同目的,应用于多个学科。从自动驾驶汽车到自动化医疗诊断,机器学习模型为用户的日常活动提供广泛支持,软件工程任务也不例外。不遵循良好的机器学习实践可能会引发各类问题,降低机器学习系统的性能,甚至导致意外结果。尽管已有关于机器学习最佳实践的文档和文献,但许多非机器学习专家在实现机器学习系统寻求帮助和指导时,仍会转向博客、问答系统等灰色文献。为更好地帮助用户从这类来源中提炼相关知识,我们提出了一个基于用户上下文推荐机器学习实践的推荐系统。作为构建机器学习实践推荐系统的第一步,我们开发了Idaka工具,该工具提供两种检索/生成机器学习最佳实践的方法:i)信息检索(IR)引擎,ii)大语言模型。其中信息检索引擎采用BM25算法检索实践内容,大语言模型则使用Alpaca。该平台的设计支持对最佳实践检索工具开展对比研究。Idaka已在GitHub公开可用,访问地址:https://bit.ly/idaka,演示视频地址:https://youtu.be/cEb-AhIPxnM。

英文摘要:

Machine learning (ML) is nowadays widely used for different purposes and in several disciplines. From self-driving cars to automated medical diagnosis, machine learning models extensively support users' daily activities, and software engineering tasks are no exception. Not embracing good ML practices may lead to pitfalls that hinder the performance of an ML system and potentially lead to unexpected results. Despite the existence of documentation and literature about ML best practices, many non-ML experts turn towards gray literature like blogs and Q&A systems when looking for help and guidance when implementing ML systems. To better aid users in distilling relevant knowledge from such sources, we propose a recommender system that recommends ML practices based on the user's context. As a first step in creating a recommender system for machine learning practices, we implemented Idaka. A tool that provides two different approaches for retrieving/generating ML best practices: i) an information retrieval (IR) engine and ii) a large language model. The IR-engine uses BM25 as the algorithm for retrieving the practices, and a large language model, in our case Alpaca. The platform has been designed to allow comparative studies of best practices retrieval tools. Idaka is publicly available at GitHub: https://bit.ly/idaka. Video: https://youtu.be/cEb-AhIPxnM.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑