Skip to main content
QUICK REVIEW

[论文解读] MLCopilot: Unleashing the Power of Large Language Models in Solving Machine Learning Tasks

Lei Zhang, Yuge Zhang|arXiv (Cornell University)|Apr 28, 2023
Topic ModelingComputer Science被引用 8
一句话总结

MLCopilot 使用大语言模型来检索并推理历史 ML 任务与知识,以离线-在线框架为新 ML 任务提出竞争性解决方案。

ABSTRACT

The field of machine learning (ML) has gained widespread adoption, leading to significant demand for adapting ML to specific scenarios, which is yet expensive and non-trivial. The predominant approaches towards the automation of solving ML tasks (e.g., AutoML) are often time-consuming and hard to understand for human developers. In contrast, though human engineers have the incredible ability to understand tasks and reason about solutions, their experience and knowledge are often sparse and difficult to utilize by quantitative approaches. In this paper, we aim to bridge the gap between machine intelligence and human knowledge by introducing a novel framework, which leverages the state-of-the-art large language models to develop ML solutions for novel tasks. We showcase the possibility of extending the capability of LLMs to comprehend structured inputs and perform thorough reasoning for solving novel ML tasks. And we find that, after some dedicated design, the LLM can (i) observe from the existing experiences of ML tasks and (ii) reason effectively to deliver promising results for new tasks. The solution generated can be used directly to achieve high levels of competitiveness. Examples and code available at https://github.com/microsoft/CoML.

研究动机与目标

  • 弥合人类设计模式与机器智能在 ML 任务求解中的差距。
  • 利用历史 ML 经验为基于 LLM 的新任务解决方案提供信息。
  • 在不进行大量试错的情况下实现快速、可解释的 ML 解决方案生成。

提出的方法

  • 离线阶段将历史任务-解决方案-度量记录规范化为体验库,并通过大语言模型提炼高层次知识。
  • 在线阶段利用任务文本嵌入检索相关经验与知识,并提示 LLM 进行一次轮次的解决方案生成。
  • 规范化将数值数据离散为语言化等级,以便 LLM 处理。
  • 在任务集合上进行事后验证,以降低幻觉并提升可靠性。
  • 一个两阶段的检索-提示框架引导 LLM 生成竞争性 ML 解决方案。

实验结果

研究问题

  • RQ1LLMs 是否能够通过利用历史经验与提取的知识为新任务生成具有竞争力的 ML 解决方案?
  • RQ2检索、规范化与知识提取如何影响 MLCopilot 的性能与可靠性?
  • RQ3MLCopilot 对任务描述与提示格式的变异是否鲁棒?

主要发现

  • MLCopilot 在 HPO-B、PD1 与 HyperFD 的若干基线中实现更高的 nAcc(如 HPO-B 的 nAcc@1 为 81.59、PD1 的排名为 1.48、HyperFD 的 AP 为 59.74,见表 5)。
  • 检索经验与知识都对性能至关重要;演示示例是必要的,知识的利用提升了结果。
  • 基于文本嵌入的检索在找到相关历史任务方面优于随机或手工设计的元特征。
  • 将数值数据离散为语言层级对于 LL M 处理和性能至关重要。
  • 知识提取过程中的事后验证有助于降低幻觉并提升可靠性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。