arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.03302cs.LGcs.AI
收藏

MLAgentBench:评估语言智能体在机器学习实验中的表现

MLAgentBench: Evaluating Language Agents on Machine Learning Experimentation

Stanford University(斯坦福大学)

Qian Huang, Jian Vora, Percy Liang, Jure Leskovec

AI总结:

该研究提出包含13项机器学习实验任务的基准测试套件MLAgentBench,基于ReAct框架构建实验智能体并测试多款大模型,发现Claude v3 Opus成功率最高,同时指出了长期规划、幻觉等关键挑战。

摘要:

机器学习研究的核心环节是实验,即设计并运行实验、分析结果、朝着正向结果(如提升准确率)迭代推进的过程。由强大语言模型驱动的智能体能否高效完成机器学习实验?为解答这一问题,我们提出MLAgentBench(机器学习智能体基准测试套件),它包含13项任务,涵盖从提升CIFAR-10数据集上的模型性能,到BabyLM这类前沿研究问题。针对每项任务,智能体可执行读写文件、运行代码、查看输出等操作。我们随后基于ReAct框架(推理-行动框架)构建了一款可开展机器学习实验的智能体。我们对基于Claude v1.0、Claude v2.1、Claude v3 Opus、GPT-4、GPT-4-turbo、Gemini-Pro以及Mixtral的智能体进行了基准测试,结果显示Claude v3 Opus智能体的成功率最高,它能在MLAgentBench的多项任务中构建性能出色的机器学习模型,平均成功率达37.5%。我们的智能体还具备高度可解释的规划与行动过程。不过,不同任务的成功率差异显著:在成熟的经典数据集上成功率可达100%,而在底层语言模型训练后才发布的近期Kaggle挑战赛任务中,成功率低至0%。最后,我们指出了基于语言模型的智能体面临的若干关键挑战,如长期规划能力不足、幻觉问题难以抑制等。我们的代码已发布于https://github.com/snap-stanford/MLAgentBench。

英文摘要:

A central aspect of machine learning research is experimentation, the process of designing and running experiments, analyzing the results, and iterating towards some positive outcome (e.g., improving accuracy). Could agents driven by powerful language models perform machine learning experimentation effectively? To answer this question, we introduce MLAgentBench, a suite of 13 tasks ranging from improving model performance on CIFAR-10 to recent research problems like BabyLM. For each task, an agent can perform actions like reading/writing files, executing code, and inspecting outputs. We then construct an agent that can perform ML experimentation based on ReAct framework. We benchmark agents based on Claude v1.0, Claude v2.1, Claude v3 Opus, GPT-4, GPT-4-turbo, Gemini-Pro, and Mixtral and find that a Claude v3 Opus agent is the best in terms of success rate. It can build compelling ML models over many tasks in MLAgentBench with 37.5% average success rate. Our agents also display highly interpretable plans and actions. However, the success rates vary considerably; they span from 100% on well-established older datasets to as low as 0% on recent Kaggle challenges created potentially after the underlying LM was trained. Finally, we identify several key challenges for LM-based agents such as long-term planning and reducing hallucination. Our code is released at https://github.com/snap-stanford/MLAgentBench.

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

↑