ReCompact: Learning to Act and Compact from Graph-Guided Trajectory Supervision
Import ICLR 2027 submission 1SJ2MIIlrr: 3 notes
@openreview[bot] · 2026-11-22 19:26 UTC · 4c013893a78f
.gitattributes added
+++ b/.gitattributes@@ -0,0 +1,10 @@+# PDFs and pictures are kept with Git LFS (https://git-lfs.com). With it installed (`git lfs install`),+# a clone has the files, and `git add` of one stores a pointer. This file is the same on every page.+/.potentialpaper/*.pdf filter=lfs diff=lfs merge=lfs -text+/versions/*.pdf filter=lfs diff=lfs merge=lfs -text+/thumbnail.png filter=lfs diff=lfs merge=lfs -text+/thumbnail.jpg filter=lfs diff=lfs merge=lfs -text+/thumbnail.jpeg filter=lfs diff=lfs merge=lfs -text+/thumbnail.gif filter=lfs diff=lfs merge=lfs -text+/thumbnail.webp filter=lfs diff=lfs merge=lfs -text+/thumbnail.avif filter=lfs diff=lfs merge=lfs -text
.potentialpaper/metadata.json added
+++ b/.potentialpaper/metadata.json@@ -0,0 +1,19 @@+{+ "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"+ }+}
community/10-tl-dr.md added
+++ b/community/10-tl-dr.md
community/20-summary.md added
+++ b/community/20-summary.md
community/30-why-it-matters.md added
+++ b/community/30-why-it-matters.md
community/40-critique.md added
+++ b/community/40-critique.md
community/50-errata.md added
+++ b/community/50-errata.md
community/60-reproductions.md added
+++ b/community/60-reproductions.md
community/70-follow-ups.md added
+++ b/community/70-follow-ups.md
owners/10-tl-dr.md added
+++ b/owners/10-tl-dr.md
owners/20-overview.md added
+++ b/owners/20-overview.md
owners/30-results.md added
+++ b/owners/30-results.md
owners/40-demos.md added
+++ b/owners/40-demos.md
owners/50-code-and-data.md added
+++ b/owners/50-code-and-data.md
owners/60-talks.md added
+++ b/owners/60-talks.md
prek.toml added
+++ b/prek.toml@@ -0,0 +1,36 @@+# Checks run before each commit, with prek (https://prek.j178.dev): `prek install` once in this clone.+# The site checks every push again; these catch mistakes before you commit. The same on every page.++[[repos]]+repo = "builtin"+hooks = [+ { id = "check-json" },+ { id = "pretty-format-json", args = ["--autofix", "--no-sort-keys", "--no-ensure-ascii"], exclude = '^demos/' },+ { id = "end-of-file-fixer", exclude = '^demos/' },+ { id = "trailing-whitespace", args = ["--markdown-linebreak-ext=md"], exclude = '^demos/' },+ { id = "check-case-conflict" },+ { id = "check-illegal-windows-names" },+ { id = "check-added-large-files", args = ["--maxkb=256"], exclude = '^demos/' },+]++# Each JSON file against its schema (https://papers.potentialhedge.com/schemas/).+[[repos]]+repo = "https://github.com/python-jsonschema/check-jsonschema"+rev = "0.39.0"+hooks = [+ { id = "check-jsonschema", name = "author section plugins files", files = '^owners/plugins\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/authorPlugins.json"] },+ { id = "check-jsonschema", name = "venue files", files = '^venue\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/venue.json"] },+ { id = "check-jsonschema", name = "topic files", files = '^topic\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/topic.json"] },+ { id = "check-jsonschema", name = "organisation files", files = '^org\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/org.json"] },+ { id = "check-jsonschema", name = "link files", files = '^links/[^/]+\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/link.json"] },+ { id = "check-jsonschema", name = "version files", files = '^versions/[^/]+\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/version.json"] },+ { id = "check-jsonschema", name = "picture files", files = '^thumbnail\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/thumbnail.json"] },+]++# Sections formatted the way the web editor formats them.+[[repos]]+repo = "https://github.com/rbubley/mirrors-prettier"+rev = "v3.9.9"+hooks = [+ { id = "prettier", files = '^(owners|community)/.*\.md$' },+]
reviews/openreview/1sj2miilrr/forms.json added
+++ b/reviews/openreview/1sj2miilrr/forms.json@@ -0,0 +1,183 @@+{+ "schema": "forms/1",+ "forms": {+ "Meta_Review": {+ "label": "Meta-review",+ "fields": [+ {+ "key": "metareview",+ "label": "Meta-review",+ "type": "text"+ },+ {+ "key": "summary",+ "label": "Summary",+ "type": "text"+ },+ {+ "key": "additional_comments_on_reviewer_discussion",+ "label": "Reviewer discussion",+ "type": "text"+ },+ {+ "key": "recommendation",+ "label": "Recommendation",+ "type": "choice"+ }+ ]+ },+ "Decision": {+ "label": "Decision",+ "fields": [+ {+ "key": "title",+ "label": "Title",+ "hidden": true+ },+ {+ "key": "decision",+ "label": "Decision",+ "type": "choice"+ },+ {+ "key": "comment",+ "label": "Comment",+ "type": "text"+ }+ ]+ },+ "Official_Comment": {+ "label": "Comment",+ "fields": [+ {+ "key": "title",+ "label": "Title",+ "type": "choice"+ },+ {+ "key": "comment",+ "label": "Comment",+ "type": "text"+ }+ ]+ },+ "Public_Comment": {+ "label": "Public comment",+ "fields": [+ {+ "key": "title",+ "label": "Title",+ "type": "choice"+ },+ {+ "key": "comment",+ "label": "Comment",+ "type": "text"+ }+ ]+ },+ "Withdrawal": {+ "label": "Withdrawal",+ "fields": [+ {+ "key": "withdrawal_confirmation",+ "label": "Confirmation",+ "hidden": true+ }+ ]+ },+ "Desk_Rejection": {+ "label": "Desk rejection",+ "fields": [+ {+ "key": "desk_reject_comments",+ "label": "Reason",+ "type": "text"+ }+ ]+ },+ "Official_Review": {+ "label": "Official review",+ "summary": [+ "rating",+ "confidence",+ "soundness",+ "presentation",+ "informativeness"+ ],+ "fields": [+ {+ "key": "rating",+ "label": "Rating",+ "type": "score",+ "min": 1,+ "max": 4+ },+ {+ "key": "confidence",+ "label": "Confidence",+ "type": "score",+ "min": 1,+ "max": 4+ },+ {+ "key": "soundness",+ "label": "Soundness",+ "type": "score",+ "min": 1,+ "max": 3+ },+ {+ "key": "presentation",+ "label": "Presentation",+ "type": "score",+ "min": 1,+ "max": 3+ },+ {+ "key": "informativeness",+ "label": "Informativeness",+ "type": "score",+ "min": 1,+ "max": 3+ },+ {+ "key": "paper_summary",+ "label": "Summary",+ "type": "text"+ },+ {+ "key": "critical_strengths",+ "label": "Strengths",+ "type": "text"+ },+ {+ "key": "critical_weaknesses",+ "label": "Weaknesses",+ "type": "text"+ },+ {+ "key": "questions_for_authors",+ "label": "Questions for the authors",+ "type": "text"+ },+ {+ "key": "flag_for_ethics_review",+ "label": "Flag for ethics review",+ "type": "choice",+ "omitWhen": [+ "No",+ "No ethics review needed."+ ]+ },+ {+ "key": "details_of_ethics_concerns",+ "label": "Ethics concerns",+ "type": "text"+ }+ ]+ }+ },+ "url": "https://openreview.net/group?id=ICLR.cc%2F2027%2FConference",+ "license": "CC-BY-4.0"+}
reviews/openreview/1sj2miilrr/notes/dehpvdczzf.json added
+++ b/reviews/openreview/1sj2miilrr/notes/dehpvdczzf.json@@ -0,0 +1,24 @@+{+ "schema": "review/1",+ "id": "dEhPVDCzzF",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer qb63",+ "content": {+ "paper_summary": "This paper proposes ReCompact, a graph-guided trajectory supervision framework for training long-horizon software agents to perform actions and manage their context through compaction. The central idea is to distinguish between actions that should be imitated during training and information that should be preserved for future execution. A supervised neural graph module assigns contribution labels to trajectory steps, which are used to weight action supervision and guide the construction of compact memory states. The method further introduces two training views: one for generating compact states from interaction histories and another for continuing task execution after the history has been replaced by the compact. At inference time, the agent generates a compact representation and continues execution while preserving the underlying repository and runtime state.",+ "presentation": 3,+ "informativeness": 2,+ "soundness": 2,+ "critical_strengths": "S1. I think the motivation is convincing. In long-horizon software engineering tasks, actions that should not be imitated can still produce important changes to the environment that need to be preserved after context compaction. The proposed separation between action weighting and state retention addresses this issue in a reasonable way. I also appreciate the two-view training design, which explicitly teaches the model to generate compact states and continue execution from them. This is a practically relevant direction for improving long-horizon agents under limited context windows.\n\ns2. The paper demonstrates substantial improvements over the standard SFT baseline and the two individual component baselines on SWE-bench Verified. The 2×2 experimental design is useful for distinguishing the effects of step-aware training and compaction. I also appreciate the targeted ablations, which show that removing continuation training or retention-label guidance reduces task resolution by 9.6 and 8.4 percentage points, respectively. The additional analysis of repeated failed commands and inference-token consumption provides useful evidence beyond final task success.",+ "critical_weaknesses": "My main concern is that the graph-guided supervision mechanism, which appears to be a central contribution of the paper, is not described in sufficient detail. Section 3.1 introduces a supervised neural graph module that assigns key, supporting, and redundant labels to trajectory actions. However, I could not find a sufficiently detailed explanation of how the graph structures and contribution annotations are constructed, how the neural module is trained, or how its prediction quality is evaluated. It is also unclear how the supervision labels and compact targets are generated from raw trajectories and how the online module operates using only the available prefix information. These details are important because the reported improvements depend substantially on the quality of the contribution labels. Although the ablation results support the usefulness of label-guided supervision, they do not establish whether the neural graph mechanism provides advantages over simpler alternatives, such as heuristic contribution scoring or LLM-based importance labeling.",+ "questions_for_authors": "Q1. Could the authors provide more details about the supervised neural graph module, particularly the graph construction process, the source of contribution-label annotations, the model architecture, and the training objective? How accurately does the module predict key, supporting, and redundant actions? Additionally, would a heuristic or LLM-based contribution-labeling baseline achieve similar improvements under the same training setup?\n\nQ2. I would appreciate clarification of whether the external baselines, especially SWE-MeM-RL, use comparable base models, training data, and inference budgets. This seems important given the relatively small difference between the two strongest methods.\n\nQ3. I noticed that Appendix B reports a median training compact length of 732 tokens, while the online compacts in Table 7 have a median length of approximately 2,200 tokens. Could the authors explain this difference and whether it affects the alignment between compact-generation training and actual inference-time compaction? A discussion of how compact boundaries are selected during training and inference would also be helpful.",+ "flag_for_ethics_review": "No",+ "rating": 2,+ "confidence": 3+ },+ "createdAt": "2026-10-21T02:29:30.401Z",+ "modifiedAt": "2026-11-06T12:20:49.067Z",+ "url": "https://openreview.net/forum?id=1SJ2MIIlrr¬eId=dEhPVDCzzF",+ "license": "CC-BY-4.0"+}
reviews/openreview/1sj2miilrr/notes/jbi4jgqul4.json added
+++ b/reviews/openreview/1sj2miilrr/notes/jbi4jgqul4.json@@ -0,0 +1,24 @@+{+ "schema": "review/1",+ "id": "JBi4JgquL4",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer kvDk",+ "content": {+ "paper_summary": "The paper addresses context management for long-horizon software agents by separating \"actions worth imitating\" from \"execution states that must be retained.\" It uses graph-contribution labels to weight action supervision and guide compaction, and jointly trains compaction generation and post-reset continuation. For the 4B model on 500 SWE-bench Verified tasks, the paper reports a 54.8% resolution rate.\n\nInput text to the LLM \" explain this paper to me\".",+ "presentation": 3,+ "informativeness": 2,+ "soundness": 3,+ "critical_strengths": "1. The motivation is reasonable: although erroneous edits should not be imitated, they have already changed the workspace. Retaining their state rather than simply deleting them helps avoid losing the basis for execution after compaction. \n2. The controls and ablations are relatively thorough: the four groups share trajectories and the number of optimization steps. Removing continuation, retention labels, and online resets reduces performance by 9.6, 8.4, and 10.8 percentage points, respectively.",+ "critical_weaknesses": "1. The core graph module is difficult to reproduce. Section 3.1 describes only the nodes, relations, and three-level labels, without specifying the network architecture, features, annotation procedure, or label quality. Operational details are also missing for compaction-target generation and boundary selection.\n2. Data auditability is insufficient: Section 4.1 and Table 4 report 4,617/392 training/development trajectories, but do not explain their provenance, generation and filtering, or how they are kept separate from Verified. \n3. The evidence for superiority over external systems is relatively weak: Table 2 shows only 4 more tasks solved than SWE-MeM-RL. The main text specifies matched settings only for the four groups of internal experiments and does not adequately describe the base models, training, and budget configurations of the systems in Table 2.",+ "questions_for_authors": "1.Could the authors provide a reproducible description of the graph predictor and label construction, and explain how offline hindsight labels are converted into online labels that depend only on the prefix? \n2. Could the authors clarify the provenance of the trajectories, their separation from evaluation data, and the alignment of configurations in Table 2, and use per-task results or task-level intervals to establish the reliability of the small advantage?",+ "flag_for_ethics_review": "No",+ "rating": 2,+ "confidence": 3+ },+ "createdAt": "2026-10-22T12:40:26.479Z",+ "modifiedAt": "2026-11-06T12:20:47.443Z",+ "url": "https://openreview.net/forum?id=1SJ2MIIlrr¬eId=JBi4JgquL4",+ "license": "CC-BY-4.0"+}
reviews/openreview/1sj2miilrr/notes/v6dggfmuez.json added
+++ b/reviews/openreview/1sj2miilrr/notes/v6dggfmuez.json@@ -0,0 +1,24 @@+{+ "schema": "review/1",+ "id": "V6dGgfmuEz",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer Q2to",+ "content": {+ "paper_summary": "ReCompact studies history compaction for long-horizon coding agents, distinguishing an action’s value as an imitation target from the need to retain its consequences in the persistent workspace. A supervised graph module predicts contribution labels that weight action-level SFT and guide information retention. Two training views supervise compact generation from a trajectory prefix and continuation conditioned on the resulting compact. The paper evaluates the approach on SWE-bench Verified using a four-condition component study, targeted ablations, and measurements of post-reset repetition and inference cost. However, the reported full-model resolution differs between the submission-page abstract (49.8%) and the PDF (54.8%) and requires clarification.",+ "presentation": 2,+ "informativeness": 2,+ "soundness": 2,+ "critical_strengths": "The distinction between action imitation and state retention is useful and well motivated. An unsuccessful edit can be a poor imitation target while remaining essential context because its effects persist after a history reset. Explicitly addressing this distinction provides a meaningful perspective on agent context management.\n\nThe controlled component study and targeted ablations examine both task outcomes and execution behavior. In particular, evaluating continuation training, retention guidance, context exhaustion, and repeated failed commands provides more informative evidence than resolution alone.",+ "critical_weaknesses": "The central graph-guided supervision pipeline is insufficiently specified. Section 3.1 introduces a supervised neural graph module without describing its architecture, graph construction procedure, annotation source, training objective, or predictive performance. The paper also does not sufficiently explain how prefix-only online labels are obtained when offline action weighting uses trajectory hindsight. The origins of the training trajectories and compact targets are unclear. These omissions prevent reproduction and make it difficult to assess whether graph structure, rather than generic importance labeling or target construction, accounts for the gains.\n\nImportant experimental comparisons remain difficult to interpret. Table 2 does not sufficiently document the external baselines’ checkpoints, training data, adaptation procedures, and evaluation budgets. The discrepancy between the webpage and PDF resolution rates materially changes the comparison with the strongest baselines. Furthermore, the no-continuation ablation does not explain whether suffix actions retain supervision under their original histories; otherwise, its performance drop could reflect reduced action supervision rather than the absence of compact-conditioned training. These issues limit the strength of the empirical conclusions.",+ "questions_for_authors": "Which full-model resolution is correct: 49.8% in the submission-page abstract or 54.8% in the PDF? Please reconcile the associated ablation drops and baseline comparisons.\n\nPlease specify the graph module’s architecture, node and edge construction, supervision source, training procedure, and labeling performance. How are online prefix-only labels produced, and what evidence demonstrates the benefit of dependency edges over a graph-free label predictor?",+ "flag_for_ethics_review": "No",+ "rating": 2,+ "confidence": 3+ },+ "createdAt": "2026-10-03T23:07:13.835Z",+ "modifiedAt": "2026-11-20T15:46:31.509Z",+ "url": "https://openreview.net/forum?id=1SJ2MIIlrr¬eId=V6dGgfmuEz",+ "license": "CC-BY-4.0"+}
reviews/openreview/1sj2miilrr/submission.json added
+++ b/reviews/openreview/1sj2miilrr/submission.json@@ -0,0 +1,22 @@+{+ "schema": "submission/1",+ "id": "1SJ2MIIlrr",+ "venue": {+ "id": "ICLR.cc/2027/Conference",+ "name": "ICLR 2027",+ "url": "https://openreview.net/group?id=ICLR.cc%2F2027%2FConference"+ },+ "number": 17042,+ "keywords": [+ "large language models",+ "coding agents",+ "supervised fine-tuning",+ "trajectory supervision",+ "dependency graphs",+ "context compaction",+ "agent memory",+ "long-horizon reasoning"+ ],+ "url": "https://openreview.net/forum?id=1SJ2MIIlrr",+ "license": "CC-BY-4.0"+}
versions/v_4r2nsbtn.json added
+++ b/versions/v_4r2nsbtn.json@@ -0,0 +1,21 @@+{+ "date": "2026-09-14",+ "kind": "submitted",+ "label": "ICLR 2027",+ "submissions": [+ {+ "venue": "ICLR 2027",+ "status": "under_review",+ "number": 17042,+ "url": "https://openreview.net/forum?id=1SJ2MIIlrr",+ "reviews": "openreview/1sj2miilrr",+ "evidence": [+ "https://openreview.net/forum?id=1SJ2MIIlrr"+ ]+ }+ ],+ "url": "https://openreview.net/forum?id=1SJ2MIIlrr",+ "evidence": [+ "https://openreview.net/forum?id=1SJ2MIIlrr"+ ]+}