Composer 2 技术报告
Composer 2 Technical Report
AI总结:
Composer 2 是一种专为智能软件工程设计的模型,通过两阶段训练提升长期规划和编码能力,其在真实软件问题上的表现优于前代模型。
摘要:
Composer 2 是一种专门用于智能软件工程的模型。该模型在保持高效问题解决能力的同时,展示了强大的长期规划和编码智能。模型的训练分为两个阶段:首先进行持续预训练以提升模型的知识和潜在编码能力,随后通过大规模强化学习提升端到端的编码性能,通过更强的推理、准确的多步骤执行和长期真实编码问题的连贯性来实现。我们开发了支持在相同Cursor框架下训练的基础设施,使用与部署模型相同的工具和结构,并采用接近真实问题的环境。为了衡量模型在日益困难任务上的能力,我们引入了一个基于大型代码库中真实软件工程问题的基准测试。Composer 2 是一个前沿级别的编码模型,展示了训练强大领域专用模型的过程。在我们的CursorBench评估中,该模型在准确性上相比前代Composer模型实现了重大提升(61.3)。在公开基准测试中,该模型在Terminal-Bench上得分为61.7,在SWE-bench Multilingual上得分为73.7,与最先进的系统相当。
英文摘要:
Composer 2 is a specialized model designed for agentic software engineering. The model demonstrates strong long-term planning and coding intelligence while maintaining the ability to efficiently solve problems for interactive use. The model is trained in two phases: first, continued pretraining to improve the model's knowledge and latent coding ability, followed by large-scale reinforcement learning to improve end-to-end coding performance through stronger reasoning, accurate multi-step execution, and coherence on long-horizon realistic coding problems. We develop infrastructure to support training in the same Cursor harness that is used by the deployed model, with equivalent tools and structure, and use environments that match real problems closely. To measure the ability of the model on increasingly difficult tasks, we introduce a benchmark derived from real software engineering problems in large codebases including our own. Composer 2 is a frontier-level coding model and demonstrates a process for training strong domain-specialized models. On our CursorBench evaluations the model achieves a major improvement in accuracy compared to previous Composer models (61.3). On public benchmarks the model scores 61.7 on Terminal-Bench and 73.7 on SWE-bench Multilingual in our harness, comparable to state-of-the-art systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。