arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.20256cs.CLcs.AIcs.CEcs.LGcs.MAcs.SYeess.SY
收藏

SciNav:一种通用的科学编码任务代理框架

SciNav: A General Agent Framework for Scientific Coding Tasks

The Ohio State University(俄亥俄州立大学)

Tianshu Zhang, Huan Sun

AI总结:

本文提出SciNav框架,用于科学编码任务,通过相对判断指导的top-K搜索提升解决方案探索效率,优于直接提示和现有代理。

摘要:

基于大语言模型的自主科学代理被越来越多用于生成假设、设计实验和撰写报告。然而,先前工作主要针对开放性科学问题,其输出主观性强,难以评估。科学编码基准提供可执行输出,便于客观评估。现有方法仍为工程驱动的流程,揭示了需要结构化、端到端的科学代理框架的必要性。我们通过聚焦科学编码任务,其中评估可以严格进行,引入SciNav(科学导航)框架,以更有效探索解决方案。我们的框架设计在受限搜索预算下运行,超越了依赖预定义成功指标和长时间搜索周期的依赖。受比较判断常揭示更细粒度质量差异且具有更大判别力的发现启发,我们的框架在树搜索过程中利用成对相对判断来选择top-K有前途的解决方案分支,修剪低潜力分支,并在所选分支上逐步缩小解决方案候选,由相对比较引导。我们在两个基准上展示了代理在不同类型任务中的有效性。实验表明,SciNav在不同基础模型、任务类型和难度级别上均显著优于直接提示和先前代理如OpenHands和Self-Debug,并超越随机选择和LLM绝对评分等前沿比较者。这些结果证实了我们代理设计的强度,并突显了相对判断指导的top-K搜索在高质量科学编码中的有效性,标志着更实用的科学代理迈出一步。

英文摘要:

Autonomous science agents built on large language models (LLMs) are increasingly used to generate hypotheses, design experiments, and produce reports. However, prior work mainly targets open-ended scientific problems with subjective outputs that are difficult to evaluate. Scientific coding benchmarks, by contrast, provide executable outputs for objective assessment. Existing approaches remain engineering-driven pipelines, revealing the need for structured, end-to-end science agent frameworks for scientific coding tasks. We address this gap by focusing on scientific coding tasks, where evaluation can be made rigorously, and introducing an agent framework SciNav (Scientific Navigator) that enables more effective solution exploration. Our framework is designed to operate under constrained search budgets, moving beyond reliance on pre-defined success metrics and prolonged search cycles. Inspired by findings that comparative judgments often reveal finer-grained quality differences and therefore provide greater discriminative power than absolute scoring, our framework leverages pairwise relative judgments within a tree search process to select top-K promising solution branches, prune low-potential ones, and progressively narrow down the solution candidates on the selected branches guided by relative comparisons. We demonstrate our agent's effectiveness across different types of tasks on two benchmarks. Experiments show that SciNav significantly outperforms direct prompting and prior agents like OpenHands and Self-Debug across different base models, task types, and difficulty levels, and exceeds different frontier comparators such as random selection and LLM absolute scoring. These results confirm the strength of our agent design and highlight the effectiveness of relative judgment-guided top-K search for high-quality scientific coding, marking a step toward more practical science agents.

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

↑