arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2509.25873cs.AIcs.CLcs.LGcs.PLcs.SE
收藏

Lita: 轻量智能体揭示大语言模型的智能体式编程能力

Lita: Light Agent Uncovers the Agentic Coding Capabilities of LLMs

Hankun Dai, Maoquan Wang, Mengnan Qi, Yikai Zhang, Zijian Jin, Yongqiang Yao, Yufan Huang, Shengyu Fu, Elsie Nallipogu

AI总结:

本研究提出轻量代码智能体Lita,以最小化人工设计的方式评估大语言模型的真实编程能力,在基准测试中取得了媲美或优于复杂基线的性能,且token消耗和设计成本更低,并提出智能体复杂度定律。

摘要:

大语言模型(LLM)正越来越多地被应用于编程任务,覆盖从单轮代码补全到自主智能体的各类场景。当前的代码智能体设计往往依赖复杂的人工构建工作流和工具集。然而,这种对精细脚手架的依赖带来了若干挑战:智能体的性能过度依赖提示词调优和定制化设计选择,大量的人工干预掩盖了模型真实的底层能力,且复杂的流水线构建和维护成本高昂。此外,优化复杂任务提示词会增加数据泄露的风险。目前,OpenAI、Anthropic等大语言模型服务商在推出新模型时,通常会发布基准测试分数以证明模型的编程能力,但会对其专有的评估框架保密。为解决这些局限,我们提出Lita(轻量智能体),它践行了“轻量性”原则——在保留全自主智能体核心要素的同时,最大限度减少人工设计。Lita无需复杂脚手架即可实现更可信、更统一的评估。我们使用前沿模型在Aider Polyglot和SWE-Bench上开展了实验,结果表明,与基于工作流的基线和智能体式基线相比,Lita取得了具有竞争力或更优的性能。关键的是,Lita消耗的token更少,且所需的设计工作量显著降低。我们的结果表明,Lita足以揭示现代大语言模型的底层编程能力。最后,我们提出“智能体复杂度定律”:随着核心模型性能提升,从简单到复杂设计的不同复杂度智能体之间的性能差距将会缩小,最终收敛至可忽略不计的差异。

英文摘要:

Large language models (LLMs) are increasingly being applied to programming tasks, ranging from single-turn code completion to autonomous agents. Current code agent designs frequently depend on complex, hand-crafted workflows and tool sets. However, this reliance on elaborate scaffolding presents several challenges: agent performance becomes overly dependent on prompt tuning and custom design choices, heavy human intervention obscures a model's true underlying capabilities, and intricate pipelines are costly to build and maintain. Furthermore, optimizing complex task prompts increases the risk of data leakage. Currently, when introducing new models, LLM providers like OpenAI and Anthropic often publish benchmark scores to demonstrate their models' coding proficiency, but keep their proprietary evaluation frameworks confidential. To address these limitations, we introduce Lita (Lite Agent), which operationalizes liteness, a principle of minimizing manual design while retaining the essential elements of a fully autonomous agent. Lita enables a more faithful and unified evaluation without elaborate scaffolding. Experiments on the Aider Polyglot and SWE-Bench with frontier models demonstrate that Lita achieves competitive or superior performance compared to workflow-based and agentic baselines. Crucially, Lita also consumes fewer tokens and requires significantly less design effort. Our results suggest that Lita is sufficient to reveal the underlying coding competence of modern LLMs. Finally, we propose the Agent Complexity Law: the performance gap between agents of varying complexity, from simple to sophisticated designs, will shrink as the core model improves, ultimately converging to a negligible difference.

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

↑