[论文解读] MLGym: A New Framework and Benchmark for Advancing AI Research Agents
MLGym 引入一个基于 Gym 的框架和 Bench,用于评估和开发在开放式 ML 研究任务上工作的 AI 研究代理,包括工具、记忆和多领域能力。它评估前沿的大型语言模型并提出一种新的多任务评估指标。
We introduce Meta MLGym and MLGym-Bench, a new framework and benchmark for evaluating and developing LLM agents on AI research tasks. This is the first Gym environment for machine learning (ML) tasks, enabling research on reinforcement learning (RL) algorithms for training such agents. MLGym-bench consists of 13 diverse and open-ended AI research tasks from diverse domains such as computer vision, natural language processing, reinforcement learning, and game theory. Solving these tasks requires real-world AI research skills such as generating new ideas and hypotheses, creating and processing data, implementing ML methods, training models, running experiments, analyzing the results, and iterating through this process to improve on a given task. We evaluate a number of frontier large language models (LLMs) on our benchmarks such as Claude-3.5-Sonnet, Llama-3.1 405B, GPT-4o, o1-preview, and Gemini-1.5 Pro. Our MLGym framework makes it easy to add new tasks, integrate and evaluate models or agents, generate synthetic data at scale, as well as develop new learning algorithms for training agents on AI research tasks. We find that current frontier models can improve on the given baselines, usually by finding better hyperparameters, but do not generate novel hypotheses, algorithms, architectures, or substantial improvements. We open-source our framework and benchmark to facilitate future research in advancing the AI research capabilities of LLM agents.
研究动机与目标
- 提供一个基于 Gym 的框架,用于评估执行开放式 ML 任务的 AI 研究代理。
- 提供覆盖 CV、NLP、RL 与博弈论的 13 项多样 AI 研究任务的 MLGym-Bench。
- 使能够评估不同训练算法(强化学习、课程学习、开放式学习)在 AI 研究代理中的表现。
- 允许以灵活的产出物(模型、算法、代码)作为评估结果,以反映真实研究工作流。
- 引入一种新评估指标,以在具有异质指标的任务之间比较代理。
提出的方法
- 将代理定义为对基础 LLM 的封装,具有历史记录、工具和成本管理。
- 将 Environments 作为在 Docker 沙箱中非根权限运行的 Gymnasium 基底壳实现。
- 提供数据集作为解耦抽象,支持本地和 Hugging Face 数据,具只读保障。
- 通过配置文件描述任务,包括数据集、环境、评估脚本和预算。
- 扩展工具,增加基于 ACI 的命令、文献检索、记忆模块与权限管理。
- 提供扩展的评估流程,包含 validate 和 submit 命令,以及用于知识整合的文献解析。
实验结果
研究问题
- RQ1一个统一的基于 Gym 的框架是否能够在多领域支持开放式 AI 研究任务?
- RQ2前沿 LLM 是否在 MLGym-Bench 的开放式 AI 研究任务中达到 SOTA 或产生新的贡献?
- RQ3在标准化评估协议下,哪些产出物(模型、算法、代码)最能反映 AI 研究任务的进展?
- RQ4提出的记忆模块和工具增强设置是否能改善长时距离的 AI 研究工作流?
- RQ5与现有代理框架和基准相比,MLGym 在实现开放式研究任务方面的优势何在?
主要发现
- MLGym 使开放式 AI 研究任务的评估成为可能,并在统一的 Gym 环境中支持代理的强化学习训练。
- MLGym-Bench 包含横跨 CV、NLP、RL 和博弈论的 13 项多样任务,用以评估 AI 研究工作流。
- 前沿 LLM 通过超参数调优而非产生新假设或新架构,显示出对基线的改进。
- 该框架能够灵活评估产出物,如模型权重、强化学习算法或代表研究策略的代码。
- 提出一种新评估指标,用以在不同性能指标的任务之间公平比较代理。
- 实验表明,记忆与工具的增强有助于代理在长时距离内保留并重复利用训练配置。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。