arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.11585cs.LGcs.AIcs.CLcs.PLcs.SE
收藏

Linguacodus:一种用于机器学习流水线中变革性代码生成的协同框架

Linguacodus: A Synergistic Framework for Transformative Code Generation in Machine Learning Pipelines

HSE University(高等经济大学);Constructor University(康斯特大学);Institute for Functional Intelligent Materials, National University of Singapore(新加坡国立大学功能智能材料研究所)

Ekaterina Trofimova, Emil Sataev, Andrey E. Ustyuzhanin

AI总结:

本文提出Linguacodus框架,通过微调大语言模型和动态流水线,以最少人工交互将自然语言任务描述自动转换为可执行机器学习代码,并在Kaggle大规模数据集上验证了其有效性。

摘要:

在不断演进的机器学习领域中,将自然语言描述无缝转换为可执行代码仍然是一项艰巨的挑战。本文介绍了Linguacodus,一个创新框架,旨在通过部署动态流水线来应对这一挑战,该流水线通过高层数据整形指令将自然语言任务描述迭代地转换为代码。Linguacodus的核心是一个经过微调的大型语言模型(LLM),它能够评估针对各种问题的多种解决方案,并为给定任务选择最合适的一个。本文详细介绍了微调过程,并阐明了自然语言描述如何被转换为功能性代码。Linguacodus代表了向自动化代码生成迈出的重大一步,有效地弥合了任务描述与可执行代码之间的差距。它在推动跨不同领域的机器学习应用方面具有巨大前景。此外,我们提出了一种算法,能够以最少的人工交互将机器学习任务的自然语言描述转换为代码。在源自Kaggle的大规模机器学习代码数据集上进行的大量实验中,我们展示了Linguacodus的有效性。研究突出了其在不同领域的潜在应用,强调了它对各个科学领域中应用机器学习的影响。

英文摘要:

In the ever-evolving landscape of machine learning, seamless translation of natural language descriptions into executable code remains a formidable challenge. This paper introduces Linguacodus, an innovative framework designed to tackle this challenge by deploying a dynamic pipeline that iteratively transforms natural language task descriptions into code through high-level data-shaping instructions. The core of Linguacodus is a fine-tuned large language model (LLM), empowered to evaluate diverse solutions for various problems and select the most fitting one for a given task. This paper details the fine-tuning process, and sheds light on how natural language descriptions can be translated into functional code. Linguacodus represents a substantial leap towards automated code generation, effectively bridging the gap between task descriptions and executable code. It holds great promise for advancing machine learning applications across diverse domains. Additionally, we propose an algorithm capable of transforming a natural description of an ML task into code with minimal human interaction. In extensive experiments on a vast machine learning code dataset originating from Kaggle, we showcase the effectiveness of Linguacodus. The investigations highlight its potential applications across diverse domains, emphasizing its impact on applied machine learning in various scientific fields.

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

↑