双层自动研究:元自动研究自身
Bilevel Autoresearch: Meta-Autoresearching Itself
AI总结:
提出双层自动研究框架,外层循环通过读取内层循环代码和轨迹、识别瓶颈并注入可执行Python搜索机制来改进内层循环,在GPT预训练基准上实现5倍改进。
摘要:
如果自动研究本身是一种研究形式,那么自动研究可以应用于研究本身。我们提出了双层自动研究(Bilevel Autoresearch),一种双层框架,其中外层自动研究循环通过读取内层自动研究循环的代码和轨迹,识别瓶颈,并在运行时生成可注入的Python搜索机制来改进内层循环。内层循环优化任务性能;外层循环优化内层循环的搜索方式。两个循环使用相同的LLM,因此改进来自双层架构而非更强的元级模型,尽管外层循环消耗额外的推理和挂钟时间预算。在Karpathy的GPT预训练基准上,元自动研究外层循环相比单独的内层循环实现了5倍的改进(验证集每字节困惑度从-0.045降至-0.009),而无需机制变化的参数级调整则没有可靠的增益。外层循环从相邻搜索领域实例化机制,包括组合优化、多臂老虎机和实验设计,无需人工指定最终机制设计。轨迹分析表明,这些机制打破了确定性搜索模式,并迫使探索LLM先验所避免的方向。实验表明,在该基准上迈出了双层的第一步:外层循环改进了内层循环的搜索行为。在此实现中,代码是机制载体,但技能、提示、工作流、评估器、领域原则、世界模型假设和记忆模式也可以编码塑造未来智能体行为的机制。这指向了一条递归自举的路径,其中为内层循环发现的机制可以反馈回来改进元级循环本身。
英文摘要:
If autoresearch is itself a form of research, then autoresearch can be applied to research itself. We present Bilevel Autoresearch, a bilevel framework in which an outer autoresearch loop improves an inner autoresearch loop by reading its code and traces, identifying bottlenecks, and generating injectable Python search mechanisms at runtime. The inner loop optimizes task performance; the outer loop optimizes how the inner loop searches. Both loops use the same LLM, so improvements come from the bilevel architecture rather than a stronger meta-level model, although the outer loop consumes additional inference and wall-clock budget. On Karpathy's GPT pretraining benchmark, the meta-autoresearch outer loop achieves a 5x improvement over the standard inner loop alone (-0.045 vs. -0.009 val_bpb), while parameter-level adjustment without mechanism change yields no reliable gain. The outer loop instantiates mechanisms from adjacent search domains, including combinatorial optimization, multi-armed bandits, and design of experiments, without human specification of the final mechanism design. Trace analysis suggests that these mechanisms break deterministic search patterns and force exploration of directions the LLM's priors avoid. The experiments demonstrate, on this benchmark, a first bilevel step: an outer loop improves the search behavior of an inner loop. Code is the mechanism carrier in this implementation, but skills, prompts, workflows, evaluators, domain principles, world-model assumptions, and memory schemas can also encode mechanisms that shape future agent behavior. This suggests a path toward recursive bootstrapping, where mechanisms discovered for the inner loop can be fed back to improve the meta-level loop itself.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。