arXiv:2605.15301cs.AI2026-05被引 2

让AI解题越练越强,不改模型也能持续进化。

Solvita: Enhancing Large Language Models for Competitive Programming via Agentic Evolution

论文配图:Solvita: Enhancing Large Language Models for Competitive Programming via Agentic Evolution
图 1 · 摘自论文原文
  • 四类智能体闭环协作,动态积累解题经验。
  • 在多个竞赛数据集上准确率近乎翻倍。
  • 适合需要长期优化的编程难题求解场景。

大型语言模型在硬核编程竞赛中仍面临严格推理挑战。现有多智能体框架多为无状态设计,依赖静态检索且忽略过往任务中的求解与调试经验。为此,我们提出Solvita——一种无需更新底层LLM权重的智能体演化框架。该系统将求解过程重构为策略选择、程序生成、认证监督和针对性攻破的闭环流程,由规划者、求解者、验证者和黑客四类专用智能体协同完成。每个智能体均配备可训练的图结构知识网络,通过通过失败/成功判别、测试认证质量及黑客发现的漏洞等反馈信号,以强化学习方式动态更新网络权重。这使得智能体能基于历史经验动态调整未来决策,实现可迁移的推理经验积累。在CodeContests、APPS、AetherCode及实时Codeforces比赛中评估,Solvita在代码生成智能体中达到新基准,优于现有多智能体流水线,并使单次通过基线准确率接近翻倍。

原文摘要 · Abstract (English)

Large language models (LLMs) still struggle with the rigorous reasoning demands of hard competitive programming. While recent multi-agent frameworks attempt to bridge this reliability gap, they remain fundamentally stateless: they rely on static retrieval and discard the valuable problem-solving and debugging experience gained from previous tasks. To address this, we present Solvita, an agentic evolution framework that enables continuous learning without requiring weight updates to the underlying LLM. Solvita reorganizes problem-solving into a closed-loop system of strategy selection, program synthesis, certified supervision, and targeted hacking, executed by four specialized agents: Planner, Solver, Oracle, and Hacker. Crucially, each agent is paired with a trainable, graph-structured knowledge network. As the system operates, outcome signals, such as pass/fail verdicts, test certification quality, and adversarial vulnerabilities discovered by the Hacker, are recast as reinforcement learning updates to these network weights. This allows the agents to dynamically route future queries based on past successes and failures, effectively accumulating transferable reasoning experience over time. Evaluated across CodeContests, APPS, AetherCode, and live Codeforces rounds, Solvita establishes a new state-of-the-art among code-generation agents, outperforming existing multi-agent pipelines and nearly doubling the accuracy of single-pass baselines.

编程竞赛智能体演化持续学习

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。