U2F:鼓励 SWE-Agent 在不丧失可行性的前提下抓住新颖性
U2F: Encouraging SWE-Agent to Seize Novelty without Losing Feasibility
AI总结:
本文提出认知启发的多智能体框架 U2F,通过发现-探索-集成机制和跨领域类比、逆向思维及外部验证三种认知增强手段,系统发掘“未知的未知”创新方案,在 218 个真实软件任务上实现新颖性提升且可行性保持稳定。
摘要:
大型语言模型(LLMs)在软件工程任务中展现出强大能力,然而现有大多数基于 LLM 的 SWE-Agent 主要使用传统方法处理定义明确的问题,往往忽视其预定义框架之外的替代性或创新性解决方案。这一局限在开放世界软件环境中尤为明显,因为新兴挑战超越了既有范式。我们提出 U2F(从未知的未知到功能性解决方案),这是一个受认知启发、拥抱不确定性的多智能体框架,能够系统性地浮现“未知的未知”——即初始问题表述中不存在但具有创新潜力的新颖解决路径。U2F 包含两个关键组成部分:(1)一个发现-探索-集成智能体系统,用于发掘和综合潜在解决方案;(2)跨三个维度的认知增强机制:跨领域类比推理、逆向思维和外部验证,从而策略性地重构并扩展传统解决方案边界。将 U2F 应用于从真实工程任务中整理的 218 个真实软件使能故事后,取得了显著改进:人类专家报告整体新颖性提升 14%,语义新颖性提升 51%,可行性保持稳定(4.02/5.0),这一结果也得到了基于 LLM 的评估器的证实。这些结果凸显了将不确定性作为软件工程创新催化剂加以拥抱的潜力。
英文摘要:
Large language models (LLMs) have shown strong capabilities in software engineering tasks, yet most existing LLM-based SWE-Agents mainly tackle well-defined problems using conventional methods, often overlooking alternative or innovative solutions beyond their predefined frameworks. This limitation is evident in open-world software environments, where emerging challenges transcend established paradigms. We propose U2F (Unknown Unknowns to Functional solutions), a cognitive-inspired, uncertainty-embracing multi-agent framework that systematically surfaces "Unknown Unknowns" - novel solution pathways absent from initial formulations but holding innovative potential. U2F consists of two key components: (1) a Discovery-Exploration-Integration agent system for uncovering and synthesizing potential solutions, and (2) cognitive enhancement mechanisms across three dimensions: cross-domain analogical reasoning, reverse thinking, and external validation, which strategically reframe and extend conventional solution boundaries. Applied to 218 real-world software enabler stories curated from authentic engineering tasks, U2F achieved notable improvements: human experts reported a 14 percent increase in overall novelty, 51 percent improvement in semantic novelty, and stable feasibility (4.02/5.0), corroborated by an LLM-based evaluator. These results highlight the potential of embracing uncertainty as a catalyst for innovation in software engineering.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。