potentialpaper

ReCompact: Learning to Act and Compact from Graph-Guided Trajectory Supervision

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:15 UTC · 79ed4eb7b9dd ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "1SJ2MIIlrr"
- }
- ],
- "title": "ReCompact: Learning to Act and Compact from Graph-Guided Trajectory Supervision",
- "authors": [],
- "abstract": "Long-horizon software agents compress interaction histories to operate within a finite context window. However, a mistaken edit is a poor imitation target, even though it remains part of the working tree after a history reset. We introduce **ReCompact**, which separates **action weighting** from **state retention** through graph-guided trajectory supervision. A supervised neural graph module assigns contribution labels to weight action targets and prioritize key and supporting information in compact training targets and online compaction. Two complementary training views jointly supervise compact generation and continuation after a history reset.\nRemarkably, on the same **500 SWE-bench Verified tasks**, ReCompact resolves **49.8%** of tasks, substantially outperforming **standard supervised fine-tuning (29.0%)**, **step-aware training (43.4%)**, and **compact-only training (39.4%)**. While achieving a **62.4% median input reduction**, comparable to the **61.2%** reduction of compact-only baselines, ReCompact nearly halves repetitions of previously failed commands, reducing them from **7.64 to 4.01 per 100 post-compaction tool actions**.\nAblations further confirm the importance of each component: disabling **online compaction and reset** reduces task resolution by **5.8 percentage points**, while removing **continuation training** or **retention-label guidance** causes drops of **4.6** and **3.4 percentage points**, respectively. ReCompact is also more inference-efficient, using **10.1% fewer total inference tokens per task** than compact-only alternatives.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "9d2c5622-f292-43f8-b7e4-9795572d7433"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "ReCompact: Learning to Act and Compact from Graph-Guided Trajectory Supervision",
+ "authors": [],
+ "abstract": "Long-horizon software agents compress interaction histories to operate within a finite context window. However, a mistaken edit is a poor imitation target, even though it remains part of the working tree after a history reset. We introduce **ReCompact**, which separates **action weighting** from **state retention** through graph-guided trajectory supervision. A supervised neural graph module assigns contribution labels to weight action targets and prioritize key and supporting information in compact training targets and online compaction. Two complementary training views jointly supervise compact generation and continuation after a history reset.\nRemarkably, on the same **500 SWE-bench Verified tasks**, ReCompact resolves **49.8%** of tasks, substantially outperforming **standard supervised fine-tuning (29.0%)**, **step-aware training (43.4%)**, and **compact-only training (39.4%)**. While achieving a **62.4% median input reduction**, comparable to the **61.2%** reduction of compact-only baselines, ReCompact nearly halves repetitions of previously failed commands, reducing them from **7.64 to 4.01 per 100 post-compaction tool actions**.\nAblations further confirm the importance of each component: disabling **online compaction and reset** reduces task resolution by **5.8 percentage points**, while removing **continuation training** or **retention-label guidance** causes drops of **4.6** and **3.4 percentage points**, respectively. ReCompact is also more inference-efficient, using **10.1% fewer total inference tokens per task** than compact-only alternatives.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}