potentialpaper

FC-SWE: Failure-Conditioned RL for Long-Horizon Software Engineering Agents

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 18:57 UTC · eec5ccd69a38 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "LjRScLQkT8"
- }
- ],
- "title": "FC-SWE: Failure-Conditioned RL for Long-Horizon Software Engineering Agents",
- "authors": [],
- "abstract": "Repository-level software engineering (SWE) is a challenging\nlong-horizon setting: agents must reason over extended interactions,\nuse tools across multiple turns, and adapt to observations from\nstateful environments.\nRecent work trains SWE agents with reinforcement learning methods\nsuch as Group Relative Policy Optimization (GRPO), which independently\nsample multiple trajectories per issue, test the resulting patches,\nand compare terminal rewards within a fixed group.\nHowever, this training setup does not reuse verifier feedback from\nfailed patches as context for subsequent attempts, even though this\nfeedback contains valuable diagnostic information about what went wrong.\nTraining on recovery trajectories is challenging because the preceding\noutcome determines whether the next trajectory is generated, while\nthe failed execution determines its conditioning context.\nWe introduce FC-SWE, a failure-conditioned RL framework that incorporates\nrecovery attempts into policy training.\nAfter a patch fails verification, FC-SWE restores the repository to its\noriginal task state and uses the failed patch and verifier feedback as\ncontext for a recovery trajectory.\nEach attempt is a complete, multi-turn tool-use trajectory with its own\nverifier reward; a later success leaves the reward assigned to an earlier\nfailed attempt unchanged.\nFC-SWE adapts GRPO to estimate advantages from the trajectories actually\nexecuted for each issue.\nFailed attempts remain part of training, while unexecuted recovery\nattempts are excluded from the comparison group.\nOn all 500 SWE-bench Verified tasks under a verifier-assisted protocol,\nFC-SWE with Qwen3.5-4B and SWE-agent achieves 41.7\\% Resolved@1 and\n52.8\\% Resolved@2, compared with 38.9\\% and 48.5\\% for GRPO.\nAlthough trained with at most two attempts per chain, FC-SWE reaches\n70.7\\% Resolved@11 under an eleven-attempt test-time budget.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "3de90d48-31c2-4703-80ca-debd1e2f8239"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "FC-SWE: Failure-Conditioned RL for Long-Horizon Software Engineering Agents",
+ "authors": [],
+ "abstract": "Repository-level software engineering (SWE) is a challenging\nlong-horizon setting: agents must reason over extended interactions,\nuse tools across multiple turns, and adapt to observations from\nstateful environments.\nRecent work trains SWE agents with reinforcement learning methods\nsuch as Group Relative Policy Optimization (GRPO), which independently\nsample multiple trajectories per issue, test the resulting patches,\nand compare terminal rewards within a fixed group.\nHowever, this training setup does not reuse verifier feedback from\nfailed patches as context for subsequent attempts, even though this\nfeedback contains valuable diagnostic information about what went wrong.\nTraining on recovery trajectories is challenging because the preceding\noutcome determines whether the next trajectory is generated, while\nthe failed execution determines its conditioning context.\nWe introduce FC-SWE, a failure-conditioned RL framework that incorporates\nrecovery attempts into policy training.\nAfter a patch fails verification, FC-SWE restores the repository to its\noriginal task state and uses the failed patch and verifier feedback as\ncontext for a recovery trajectory.\nEach attempt is a complete, multi-turn tool-use trajectory with its own\nverifier reward; a later success leaves the reward assigned to an earlier\nfailed attempt unchanged.\nFC-SWE adapts GRPO to estimate advantages from the trajectories actually\nexecuted for each issue.\nFailed attempts remain part of training, while unexecuted recovery\nattempts are excluded from the comparison group.\nOn all 500 SWE-bench Verified tasks under a verifier-assisted protocol,\nFC-SWE with Qwen3.5-4B and SWE-agent achieves 41.7\\% Resolved@1 and\n52.8\\% Resolved@2, compared with 38.9\\% and 48.5\\% for GRPO.\nAlthough trained with at most two attempts per chain, FC-SWE reaches\n70.7\\% Resolved@11 under an eleven-attempt test-time budget.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}