轻量代理Lita让大模型真实编程能力暴露无遗
Lita: Light Agent Uncovers the Agentic Coding Capabilities of LLMs
- 用极简设计替代复杂流程,减少人工干预
- 在Aider Polyglot和SWE-Bench上表现优于或持平主流代理
- 适合想评估模型真实编程能力的研究者
大语言模型在编程任务中应用广泛,从单次代码补全到自主代理。现有代码代理多依赖复杂手工设计的工作流与工具集,导致性能过度依赖提示调优、人工干预掩盖模型真实能力,且维护成本高。此外,复杂提示优化易引发数据泄露。当前主流厂商发布基准分数时,常隐藏评估框架。为此,我们提出Lita(轻量代理),贯彻极简原则,在保留完全自治能力前提下最小化人工设计。Lita实现更真实统一的评估。在前沿模型上对Aider Polyglot和SWE-Bench的实验表明,其性能可媲美或超越基于工作流的代理基线,同时消耗更少令牌,设计投入显著降低。结果表明,Lita足以揭示现代大模型的底层编程能力。最后,我们提出代理复杂度定律:随着核心模型能力提升,不同复杂度代理间的性能差距将缩小并趋于一致。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。