FrontierSmith: 批量合成开放性编程问题
FrontierSmith: Synthesizing Open-Ended Coding Problems at Scale
AI总结:
本文提出FrontierSmith系统,通过迭代演化现有封闭性编程任务生成开放性问题,提升LLM编程能力,在两个基准测试中显著提升模型性能。
摘要:
许多现实中的编程挑战都是开放性的,且没有已知的最优解。然而,最近LLM编程的进步主要集中在定义明确的任务上,如特征实现、bug修复和竞争性编程。开放性编程仍是LLM的薄弱环节,主要是因为开放性训练问题稀缺且成本高。我们的目标是批量合成开放性编程问题以训练更强的LLM编程模型。我们引入FrontierSmith,一种自动系统,通过迭代演化现有封闭性编程任务生成开放性问题。从竞争性编程问题开始,FrontierSmith通过改变问题目标、限制输出和泛化输入生成候选开放性变体。然后使用定量想法分歧度量选择能激发不同求解者多样化方法的问题。代理生成测试用例和验证器用于存活候选。在两个开放性编程基准上,训练于我们合成的数据使模型显著提升:Qwen3.5-9B在FrontierCS上提升8.82分,在ALE-bench上提升306.36(基于Elo评级的性能);Qwen3.5-27B分别提升12.12和309.12。合成的问题使代理使用更多轮次和更多token,类似于人工整理的,表明封闭性种子可以作为长周期编程数据的实用起点。
英文摘要:
Many real-world coding challenges are open-ended and admit no known optimal solution. Yet, recent progress in LLM coding has focused on well-defined tasks such as feature implementation, bug fixing, and competitive programming. Open-ended coding remains a weak spot for LLMs, largely because open-ended training problems are scarce and expensive to construct. Our goal is to synthesize open-ended coding problems at scale to train stronger LLM coders. We introduce FrontierSmith, an automated system for iteratively evolving open-ended problems from existing closed-ended coding tasks. Starting from competitive programming problems, FrontierSmith generates candidate open-ended variants by changing the problems'goals, restricting outputs, and generalizing inputs. It then uses a quantitative idea divergence metric to select problems that elicit genuinely diverse approaches from different solvers. Agents then generate test cases and verifiers for the surviving candidates. On two open-ended coding benchmarks, training on our synthesized data yields substantial gains over the base models: Qwen3.5-9B improves by +8.82 score on FrontierCS and +306.36 (Elo-rating-based performance) on ALE-bench; Qwen3.5-27B improves by +12.12 and +309.12, respectively. The synthesized problems also make agents take more turns and use more tokens, similar to human-curated ones, suggesting that closed-ended seeds can be a practical starting point for long-horizon coding data.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。