CompactionRL: Reinforcement Learning with Context Compaction for Long-Horizon Agents
Import ICLR 2027 submission iPFrJBDqRA: 14 notes
@openreview[bot] · 2026-11-22 21:33 UTC · 6ea2633292a1 ·
reviews/openreview/ipfrjbdqra/forms.json added
+++ b/reviews/openreview/ipfrjbdqra/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/ipfrjbdqra/notes/56ldplskhs.json added
+++ b/reviews/openreview/ipfrjbdqra/notes/56ldplskhs.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "56LDPlsKHS",+ "replyTo": "IIqvn0WaA7",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "> The empirical evaluation is primarily conducted on coding and terminal-style tasks with models from a single family. While the results are promising, it remains open how well the approach generalizes to other long-horizon agentic settings and to models with different architectures or scales. A broader evaluation would help clarify the scope of the claimed benefits.\n\nThis evaluation scope is consistent with prior RL studies: DAPO and VAPO study mathematical reasoning with a single Qwen2.5-32B backbone [1,2], while RLEF, Self-play SWE-RL, Agent-RLVR, and Seed-Coder etc.. primarily evaluate on coding tasks [3–6].\n\nCompactionRL is task-agnostic and requires no GLM-specific architecture, nevertheless, it achieves improvements at both 30B and 106B scales, including on Terminal-Bench 2.0 after training only on SWE-Dev. These results provide evidence of effectiveness across model scales and generalization beyond the training benchmark.\n\n[1] Yu et al. DAPO: An Open-Source LLM Reinforcement Learning System at Scale. arXiv:2503.14476.\n\n[2] Yue et al. VAPO: Efficient and Reliable Reinforcement Learning for Advanced Reasoning Tasks. arXiv:2504.05118.\n\n[3] Gehring et al. RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learning. arXiv:2410.02089.\n\n[4] Wei et al. Toward Training Superintelligent Software Agents through Self-Play SWE-RL. arXiv:2512.18552.\n\n[5] Da et al. Agent-RLVR: Training Software Engineering Agents via Guidance and Environment Rewards. arXiv:2506.11425.\n\n[6] ByteDance Seed et al. Seed-Coder: Let the Code Model Curate Data for Itself. arXiv:2506.03524. \n\n> In training, summary tokens and execution tokens share the same final task reward. How does the method prevent the policy from learning to produce longer or more detailed summaries simply to gain credit, rather than because they improve continuation? Is there any length, quality, or efficiency regularization?\n\nThe policy has no incentive to generate longer summaries merely to gain credit, as the reward depends solely on task correctness, not length. If leading to failed trajectories, longer summaries would instead receive greater negative penalties. We use no explicit length penalty or auxiliary summary-quality reward. Appendix C in our paper evaluates summary quality using a rubric covering fidelity, failure history, continuation usefulness etc... CompactionRL achieves a higher overall quality score (3.52 vs. 3.30), supporting that the learned summaries are of better quality and better facilitate subsequent task execution."+ },+ "createdAt": "2026-11-12T22:22:41.104Z",+ "modifiedAt": "2026-11-15T23:29:02.759Z",+ "url": "https://openreview.net/forum?id=iPFrJBDqRA¬eId=56LDPlsKHS",+ "license": "CC-BY-4.0"+}
reviews/openreview/ipfrjbdqra/notes/9g8jo8emth.json added
+++ b/reviews/openreview/ipfrjbdqra/notes/9g8jo8emth.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "9g8Jo8eMTH",+ "replyTo": "JSyKj3H8Kl",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer FS1N",+ "content": {+ "comment": "Thank you for the clarifications and additional experiments. I am raising my rating to Weak Accept, as the additional evidence sufficiently addresses my main empirical concerns. I nevertheless retain concerns about methodological novelty and the mathematical presentation.\n\nIn particular, I acknowledge that the paper explicitly describes cross-segment GAE as an approximation rather than an exact reconstruction of full-trajectory GAE. My remaining concern is that the distinction between mathematically established properties and the introduced heuristic is not sufficiently clear. The scaling aligns the discount applied to the terminal reward with its trajectory distance, but it also rescales the critic-related terms and does not generally recover the contributions of subsequent TD residuals. The reported reduction in MSE provides empirical support for the approximation; it does not establish a general equivalence or error guarantee.\n\nI recommend aligning the presentation more explicitly with standard RL and GAE definitions: first state the full-trajectory estimator under the paper’s assumptions, then identify the terms altered or omitted by the proposed approximation, and distinguish derived properties from empirical observations. This clarification matters beyond terminology: readers should not come away treating the proposed segment-wise rescaling as a generally valid reconstruction of GAE.\n\nMy novelty concern also remains. Much of the contribution consists of relatively simple adaptations of established techniques, particularly applying token-level loss normalization to compaction-induced segment imbalance, together with single-rollout PPO and a heuristic advantage correction. The additional experiments demonstrate the usefulness of this combination, but do not substantially change my assessment that the methodological contribution is incremental.\n\nNevertheless, I recognize the practical value of the framework and its empirical evaluation, and consider it suitable for acceptance as a conference paper."+ },+ "createdAt": "2026-11-16T20:13:47.959Z",+ "modifiedAt": "2026-11-16T20:13:47.959Z",+ "url": "https://openreview.net/forum?id=iPFrJBDqRA¬eId=9g8Jo8eMTH",+ "license": "CC-BY-4.0"+}
reviews/openreview/ipfrjbdqra/notes/9peavl1nwe.json added
+++ b/reviews/openreview/ipfrjbdqra/notes/9peavl1nwe.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "9peavl1NWE",+ "replyTo": "KUnNwOYDrY",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer 1hyn",+ "content": {+ "comment": "Thank you to the authors for the detailed response and the additional empirical results. Since my primary empirical concerns have been adequately addressed, I have decided to raise my score to a Weak Accept, though I maintain my previous reservations regarding the methodological novelty of the paper.\n\nFirst, I acknowledge the value of the supplementary experiments. However, at the conceptual and methodological level, my concerns remain. The core framework of this paper largely relies on the integration and direct adaptation of existing methods. Although cross-segment GAE reduces MSE empirically, it remains essentially a heuristic reweighting strategy lacking strict theoretical bounds, rather than a fundamental algorithmic breakthrough in cross-boundary credit assignment.\n\nWhile the algorithmic contribution is incremental, considering that the context bottleneck in long-horizon agents is a crucial and practically significant problem,and given the substantial performance gains demonstrated on 30B and 106B scale models,I believe the paper's practical value and empirical rigor are sufficient to warrant acceptance at the conference."+ },+ "createdAt": "2026-11-17T02:52:36.862Z",+ "modifiedAt": "2026-11-18T07:36:52.958Z",+ "url": "https://openreview.net/forum?id=iPFrJBDqRA¬eId=9peavl1NWE",+ "license": "CC-BY-4.0"+}
reviews/openreview/ipfrjbdqra/notes/elbiwv86cg.json added
+++ b/reviews/openreview/ipfrjbdqra/notes/elbiwv86cg.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "ElBiwv86cG",+ "replyTo": "9g8Jo8eMTH",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Thank you for your constructive feedback and recognition of our work. The additional experimental results and the clarifications of the mathematical formulation of cross-segment GAE, its relationship to exact GAE and the scope of the approximation, will be incorporated into the camera-ready version if accepted. We would appreciate any further suggestions to help improve our work."+ },+ "createdAt": "2026-11-18T09:45:08.624Z",+ "modifiedAt": "2026-11-18T09:45:08.624Z",+ "url": "https://openreview.net/forum?id=iPFrJBDqRA¬eId=ElBiwv86cG",+ "license": "CC-BY-4.0"+}
reviews/openreview/ipfrjbdqra/notes/gcbugeeajp.json added
+++ b/reviews/openreview/ipfrjbdqra/notes/gcbugeeajp.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "gcbUgEeAjP",+ "replyTo": "QuyGWAmqi4",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "> The PPO vs. GRPO/SUPO gap (66.4 vs. 61.8) is confounded: the advantage estimator, the sampling scheme, and the extra critic all change at once. The paper does not explain why PPO should help here, and the comparison is not matched on wall-clock time or GPU-hours, including critic cost. The proper baseline is PPO + compaction without the proposed changes; against it, the remaining gain looks limited.\n> \n> How does vanilla PPO + compaction perform (segment-level loss, local GAE)? Can you show learning curves vs. GPU-hours, including critic training and value pretraining?\n\nPPO supports compaction in two ways: (1) differences in compaction frequency increase rollout-time variability; PPO enabled single-rollout sampling eliminates within-group waiting and reduces the associated policy lag in asynchronous training and (2) the critic estimates more accurate state-dependent value baselines for each segment’s reconstructed context, accounting for the state changes introduced by compaction.\n\nThe critic and the advantage estimation are integral to PPO thus are not considered as confounded independent changes. The rollout procedure remains the same, except that the group size is reduced to one.\n\nThe comparison of CompactionRL and GRPO is matched on a wall-clock time of approximately 24 hours. Our actor and critic share the same training GPUs while waiting for rollouts,thus the training costs of the two methods are comparable as is shown below. We note that the pretrained critic can be reused across subsequent RL runs thus value pretraining cost is therefore a one-time overhead rather than a recurring cost for each training run. Including the full preparation cost, the first CompactionRL run uses 1,777 GPU-hours:\n\n**Table 4. Training resources for CompactionRL and SUPO.**\n\n| Method | Training GPUs | Rollout GPUs | Value pretrain GPU-hours | Total GPU-hours |\n| --- | --- | --- | --- | --- |\n| CompactionRL | 32 H800 (shared by actor + critic) | 32 H800 | 305 | 1777 |\n| SUPO | 32 H800 | 32 H800 | 0 | 1,600 |\n\nSUPO is not vanilla GRPO with compaction, as it already incorporates compaction-specific optimizations. Thus, a more suitable comparison is when proposed optimizations are applied to both methods, CompactionRL achieves 66.4% versus 61.8% for SUPO. With respective optimizations disabled, vanilla PPO achieves 60.8%, compared with 59.3% for vanilla GRPO.\n\n**Table 5. Vanilla PPO performance.**\n| PPO variant | SWE-bench Verified |\n| --- | --- |\n| CompactionRL | 66.4 ± 0.7 | \n| Vanilla PPO + compaction | 60.8 ± 0.8 |\n\nFigure below presents the training reward curve vs. GPU-hours. Costs include rollout generation, actor and critic training and an 305 GPU-hour for the 50-step value pretraining.\nTraining curve url: https://hackmd.io/_uploads/B1bIIhQ0zl.png\n\n> How does cross-segment GAE compare with exact GAE and with $\\lambda=1$? How large are the advantages on summary tokens after scaling?\n\nTo provide a comparison with exact GAE, we randomly sampled 840 compacted trajectories and evaluated all segments to which cross-segment correction was applied. MSE measures the mean squared difference from exact GAE advantages over optimized tokens. We group trajectories by their number of compactions. (1, 2, or 3).\n\nAs shown in Table 6, cross-segment GAE reduces approximation error by 48.4%, with larger improvements for trajectories involving multiple compactions.\n\n**Table 6. Advantage approximation error(MSE) against exact GAE with length-adaptive alpha=1.5.**\n\n| Compaction Count | Local GAE | Cross-segment GAE | MSE reduction |\n| --- | ---: | ---: | ---: |\n| 1 | 0.02047 | 0.01395 | 31.8% |\n| 2 | 0.03137 | 0.01185 | 62.2% |\n| 3 | 0.03111 | 0.01117 | 64.1% |\n| Overall | 0.02505 | 0.01293 | 48.4% |\n\nIn our implementation, exact GAE required a sequential backward pass across compaction segments, preventing independent parallel processing within a batch and making training impractically slow. Cross-segment GAE preserves segment-level parallelism while reducing approximation error by 48.4%, with larger gains under multiple compactions.\n\nWhen $\\lambda=1$, cross-segment GAE equals exact GAE: both reduce to R-V(x).\n\nAfter scaling, summary and execution tokens have comparable advantage magnitudes, with median $|A|$ of 0.303 and 0.319, respectively."+ },+ "createdAt": "2026-11-12T22:18:45.786Z",+ "modifiedAt": "2026-11-15T23:37:08.333Z",+ "url": "https://openreview.net/forum?id=iPFrJBDqRA¬eId=gcbUgEeAjP",+ "license": "CC-BY-4.0"+}
reviews/openreview/ipfrjbdqra/notes/iiqvn0waa7.json added
+++ b/reviews/openreview/ipfrjbdqra/notes/iiqvn0waa7.json@@ -0,0 +1,24 @@+{+ "schema": "review/1",+ "id": "IIqvn0WaA7",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer 1BML",+ "content": {+ "paper_summary": "This paper introduces CompactionRL, a PPO-based reinforcement learning framework for long-horizon LLM agents under a fixed context budget. When the context nears its limit during rollout, the policy generates a summary and resumes from the summary plus recent turns. Both execution and summarization tokens are optimized under the same task reward. The authors address compacted-rollout issues with single-rollout PPO, token-level loss normalization, and cross-segment GAE. Validation on SWE-bench Verified and Terminal-Bench 2.0 shows gains over base models with inference compaction, standard no-compaction RL, and a variant without summary loss. Results suggest that learning compaction during RL improves long-horizon agentic coding performance without increasing peak context length.",+ "presentation": 2,+ "informativeness": 2,+ "soundness": 2,+ "critical_strengths": "1.Jointly optimizing execution and summarization under a shared task reward is a strong practical contribution. It turns context compaction from an inference-time heuristic into a trainable policy component. Ablations show that summary loss matters, which is consequential for long-horizon agentic RL under fixed context budgets.\n\n2.The optimization methods for compacted rollouts are technically meaningful. Token-level loss normalization reduces segment-count bias, and cross-segment GAE improves credit assignment across compaction boundaries. Ablations support both, strengthening the framework beyond a simple application of PPO.",+ "critical_weaknesses": "The empirical evaluation is primarily conducted on coding and terminal-style tasks with models from a single family. While the results are promising, it remains open how well the approach generalizes to other long-horizon agentic settings and to models with different architectures or scales. A broader evaluation would help clarify the scope of the claimed benefits.",+ "questions_for_authors": "In training, summary tokens and execution tokens share the same final task reward. How does the method prevent the policy from learning to produce longer or more detailed summaries simply to gain credit, rather than because they improve continuation? Is there any length, quality, or efficiency regularization?",+ "flag_for_ethics_review": "No",+ "rating": 3,+ "confidence": 2+ },+ "createdAt": "2026-10-09T06:59:29.988Z",+ "modifiedAt": "2026-11-06T12:31:51.449Z",+ "url": "https://openreview.net/forum?id=iPFrJBDqRA¬eId=IIqvn0WaA7",+ "license": "CC-BY-4.0"+}
reviews/openreview/ipfrjbdqra/notes/iojrjc5umf.json added
+++ b/reviews/openreview/ipfrjbdqra/notes/iojrjc5umf.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "IojrjC5uMF",+ "replyTo": "QuyGWAmqi4",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "> W2. Limited novelty.\n> Joint training is not new. Training summarization and execution together under a shared outcome reward already appears in SUPO, MemAgent, MEM1.\n> Two of the three changes are borrowed. Single-rollout PPO comes from VAPO, and token-level loss comes from DAPO.\n> The new piece is a heuristic. Cross-segment GAE rescales the whole advantage, including the critic baseline terms, so it is not an approximation of GAE; it simply down-weights early segments. There is no theoretical justification and no comparison with exact GAE, which only needs bootstrapping at segment boundaries.\n> Overall, the paper reads as a re-assembly of existing methods plus a heuristic, with few new insights.\n\nCompactionRL provides a practical framework for large-scale RL on long-horizon agentic tasks. CompactionRL outperforms SUPO by 4.6 percentage points on SWE-bench Verified and 4.9 points on Terminal-Bench 2.0 on GLM-4.5-Air,achieving 3.3× SUPO’s gain. It also outperforms Vanilla PPO + compaction by 5.6 points on SWE-bench Verified, demonstrating the benefit of our adaptations beyond adopting PPO.\n\nThese improvements are supported by optimization tailored to compacted setting. \n1. Single-rollout PPO removes SUPO’s within-group waiting to reduce policy lag, while its critic accounts for different reconstructed context states. \n2. Token-level normalization addresses compaction-induced segment-count imbalance, extending DAPO’s application of response-length imbalance. \n3. Cross-segment GAE mitigates temporal overweighting of early segments. As demonstrated above, cross-segment GAE reduces approximation MSE against exact GAE by 48.4% while preserving parallel segment processing, supporting its effectiveness in improving temporal credit assignment."+ },+ "createdAt": "2026-11-12T22:19:28.011Z",+ "modifiedAt": "2026-11-15T23:26:36.812Z",+ "url": "https://openreview.net/forum?id=iPFrJBDqRA¬eId=IojrjC5uMF",+ "license": "CC-BY-4.0"+}
reviews/openreview/ipfrjbdqra/notes/jsykj3h8kl.json added
+++ b/reviews/openreview/ipfrjbdqra/notes/jsykj3h8kl.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "JSyKj3H8Kl",+ "replyTo": "QuyGWAmqi4",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "> Compaction overhead is not analyzed. Each compaction invalidates the KV cache and forces a re-prefill, and in training, overlapping prefixes are re-encoded.\n> How are the KV cache and re-prefill handled after compaction, and what is the overhead?\n\nAfter compaction, the reconstructed context is re-prefilled with a very small overhead, as the reconstructed input averages 8k tokens, with a mean first-token latency of 0.217 s, including re-prefill.\n\nAs shown in the table below,on 40 randomly sampled compacted trajectories, compaction reduces model generation time by 42.0%. This reduction is due to shorter contexts caused by compaction, which reduces attention computation and KV reads during decoding, offsetting summary and re-prefill costs.\n\n**Table 7. Generation time and compaction overhead.**\n\n| Metric | Mean time |\n| --- | ---: |\n| CompactionRL: total request time per trajectory, including summaries | 372.4 s |\n| No compaction: total request time per trajectory | 642.4 s |\n| Summary request time, per compaction | 138.1 s |\n| First-token latency after compaction, including re-prefill | 0.217 s |\n\n\n> No decontamination is reported between SWE-Dev and SWE-bench Verified. This mainly affects the headline gains over the base model, not the relative comparisons, since the RL baselines use the same data.\n\nWe checked the SWE-Dev RL training data against the 200-task SWE-bench Verified evaluation subset and found no overlapping tasks or highly similar problem descriptions. We compared problem descriptions using Jaccard similarity based on sequences of five consecutive words. The results are summarized below.\n\n**Table 8. Training–evaluation overlap check.**\n\n| Metric | Result |\n| --- | ---: |\n| Identical tasks (same repository and PR) | 0 |\n| Identical problem descriptions | 0 |\n| Identical reference patches | 0 |\n| Identical test patches | 0 |\n| Maximum Jaccard similarity between problem descriptions | 0.0625 |"+ },+ "createdAt": "2026-11-12T22:19:44.692Z",+ "modifiedAt": "2026-11-15T23:26:57.373Z",+ "url": "https://openreview.net/forum?id=iPFrJBDqRA¬eId=JSyKj3H8Kl",+ "license": "CC-BY-4.0"+}
reviews/openreview/ipfrjbdqra/notes/k7nochf2te.json added
+++ b/reviews/openreview/ipfrjbdqra/notes/k7nochf2te.json@@ -0,0 +1,16 @@+{+ "schema": "review/1",+ "id": "K7NochF2tE",+ "replyTo": "56LDPlsKHS",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer 1BML",+ "content": {+ "title": "Reply to author",+ "comment": "Thank you to the author for the response; my concerns have been addressed."+ },+ "createdAt": "2026-11-19T06:37:32.699Z",+ "modifiedAt": "2026-11-19T06:37:32.699Z",+ "url": "https://openreview.net/forum?id=iPFrJBDqRA¬eId=K7NochF2tE",+ "license": "CC-BY-4.0"+}
reviews/openreview/ipfrjbdqra/notes/kunnwoydry.json added
+++ b/reviews/openreview/ipfrjbdqra/notes/kunnwoydry.json@@ -0,0 +1,24 @@+{+ "schema": "review/1",+ "id": "KUnNwOYDrY",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer 1hyn",+ "content": {+ "paper_summary": "This paper addresses the challenge of context length limitations during the reinforcement learning training of long-horizon large language model agents. When the interaction history approaches the context limit, the agent uses the same policy to generate a summary and resumes execution based on that summary and recent interactions. Built on PPO, the proposed method partitions a rollout into execution and summarization segments, applying cross-segment advantage correction to leverage the final task reward for optimizing generation behaviors across both segment types.",+ "presentation": 3,+ "informativeness": 1,+ "soundness": 2,+ "critical_strengths": "1. The proposed method introduces an effective RL training scheme for long-horizon agents, demonstrating significant performance gains by incorporating context compression into RL training.\n\n2. The key training designs are thoroughly validated, supported by comprehensive experimental coverage and multi dimensional analyses.",+ "critical_weaknesses": "1. The novelty of this paper is relatively weak. SUPO, which is mentioned in the paper, has already incorporated compressed summaries into the RL training of long-horizon agents. This paper merely replaces GRPO with PPO and introduces several optimization measures, without proposing any significant conceptual or methodological innovations.\n\n2. The paper scales the local advantage of the current segment by the number of tokens to be optimized in subsequent segments to approximate credit assignment over the full trajectory. However, this section does not provide a direct comparison with full-trajectory GAE or an analysis of the approximation error.",+ "questions_for_authors": "1. How close is the cross-segment GAE estimate to the full-trajectory GAE result? Can the authors provide an empirical analysis?\n\n2. The paper compares the 80k×4 compressed setting with a 160k uncompressed context. Can the authors report the number of generated tokens for both settings?",+ "flag_for_ethics_review": "No",+ "rating": 3,+ "confidence": 2+ },+ "createdAt": "2026-10-15T08:14:05.912Z",+ "modifiedAt": "2026-11-17T02:52:51.847Z",+ "url": "https://openreview.net/forum?id=iPFrJBDqRA¬eId=KUnNwOYDrY",+ "license": "CC-BY-4.0"+}
reviews/openreview/ipfrjbdqra/notes/ofszvcdwst.json added
+++ b/reviews/openreview/ipfrjbdqra/notes/ofszvcdwst.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "OFsZVcdWSt",+ "replyTo": "QuyGWAmqi4",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "> W1. The evidence does not support the core claim that training the summarizer drives the gains.\nCompactionRL vs. w/o sum. loss is 54.5±1.2 → 56.0±0.4 (30B) and 64.5±2.4 → 66.4±0.7 (106B) on SWE-bench Verified. These gaps are similar to the reported std, measured on a 200-task subset (1 point = 2 tasks), from a single training run.\nAn untrained summarizer matches the method. In Table 1, the untrained GLM-4.7-Flash paired with an off-the-shelf Qwen3.5-27B summarizer already reaches 55.5, vs. 56.0 for CompactionRL.\n\nTraining the summarizer yields statistically significant gains on both model scales. We increased the number of evaluation repeats to six and the improvement from summary training is statistically significant(p value <0.05) as shown in Table 1.\n\n**Table 1. Additional evaluations of the summary-loss ablation.**\n\n| Backbone | Eval. runs | CompactionRL | w/o summary loss | p-value |\n| --- | ---: | ---: | ---: | ---: |\n| 30B | 6 | 55.4 ± 1.2 | 53.3 ± 1.8 | 0.0343 |\n| 106B | 6 | 66.4 ± 0.7 | 64.2 ± 1.7 | 0.0228 |\n\nCompactionRL also shows consistent stable performance across independent training runs. Table 2 below reports the results of both runs. The result reported in our paper is the average of the two runs. \n\n**Table 2. Two independent CompactionRL training runs on GLM-4.5-Air (106B-A12B).**\n\n| Training run | SWE 80k ×1 | SWE Comp. 80k ×4 | SWE 160k | TB 80k ×1 | TB Comp. 80k ×4 | TB 160k |\n| --- | --- | --- | --- | --- | --- | --- |\n| Run 1 | 57.3 ± 1.4 | 66.8 ± 0.75 | 62.1 ± 2.1 | 21.4 ± 0.9 | 24.5 ± 1.5 | 23.1 ± 0.6 |\n| Run 2 | 60.8 ± 0.7 | 66.0 ± 0.0 | 61.5 ± 0.7 | 22.1 ± 1.1 | 28.0 ± 0.9 | 25.1 ± 1.5 |\n\nWhile a strong off-the-shelf summarizer can support good task performance, summarizer training enables the summarizer's adaptation to the evolving actor policy during RL. Our ablation measures the benefit of this adaptation by comparing the same framework with and without summarizer training.\n\n\n> Most tasks never trigger compaction. Only 79/200 tasks trigger compaction (App. C), at 0.36 compactions per trace (Fig. 3). This benchmark mostly does not exercise the method; longer-horizon benchmarks such as SWE-bench Pro are needed.\n\nSWE-bench Verified provides a meaningful evaluation of CompactionRL. Without compaction, over one-third of trajectories would exhaust the context budget and fail. Disabling compaction on the same checkpoint reduces accuracy from 66.4% to 59.1% (as stated in Table 8 in appendix B), an 11.0% relative drop, demonstrating its impact on overall benchmark performance.\n\nThis level of compaction is also a bottleneck for RL training. We chose the 80k context budget to ensure stable RL training without compaction, as shorter budgets led to training collapse. \n\nCompactionRL also remains robust when compaction becomes more frequent. As shown in Table 3, CompactionRL substantially outperforms the base model under more frequent compaction and exhibits a smaller performance degradation, demonstrating its effectiveness and robustness under high compaction frequency.\n\n**Table 3. Effect of compaction frequency on performance on SWE-bench Verified.**\n\n| Context Budget | Model | Compactions Per Traj | Accuracy (%) |\n|---|---|---|---|\n| 80k | CompactionRL | 0.36 | 66.4 |\n| 60k | CompactionRL | 0.57 | 65.2 |\n| 80k | GLM-4.5-Air | 0.47 | 59.8 |\n| 60k | GLM-4.5-Air | 0.61 | 55.5 |\n\n\n> The largest gains come from known techniques. The biggest ablation drop is from removing token-level loss (66.4 → 60.0), an existing technique (DAPO) unrelated to compaction.\n\nInstead of unrelated to compaction, token-level loss normalization addresses compaction-induced weighting bias. Sample-level loss assigns equal weight to each segment, making a trajectory’s contribution depend on its segment count and overweighting short segments such as summaries. Token-level loss instead assigns equal weight to each optimized token across segments. CompactionRL and DAPO apply token-level normalization for different purposes: DAPO addresses length imbalance across responses, whereas CompactionRL addresses segment-count and segment-length imbalance introduced by compaction within a trajectory. Correcting this bias improves accuracy from 60.0% to 66.4%."+ },+ "createdAt": "2026-11-12T22:18:25.388Z",+ "modifiedAt": "2026-11-15T23:24:37.554Z",+ "url": "https://openreview.net/forum?id=iPFrJBDqRA¬eId=OFsZVcdWSt",+ "license": "CC-BY-4.0"+}
reviews/openreview/ipfrjbdqra/notes/quygwamqi4.json added
+++ b/reviews/openreview/ipfrjbdqra/notes/quygwamqi4.json@@ -0,0 +1,24 @@+{+ "schema": "review/1",+ "id": "QuyGWAmqi4",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer FS1N",+ "content": {+ "paper_summary": "The paper proposes CompactionRL, a PPO-based framework for training long-horizon agentic LLMs with context compaction. When the remaining context budget falls below a threshold, the same policy writes a summary of the interaction history, and the rollout resumes from the summary plus the most recent $k$ turns. Summary segments and execution segments are optimized jointly under the shared final task reward; there is no separate summary reward. Following SAO, the method uses single-rollout PPO with a learned critic instead of group-based advantages. On top of this, it adds two modifications: (i) token-level loss normalization, to handle imbalance in segment length and count; and (ii) a “cross-segment GAE” correction, which rescales each segment’s local GAE advantage by $(\\gamma\\lambda)^{N_{>s}}$, where $N_{>s}$ is the number of trainable tokens in later segments. Models are GLM-4.7-Flash (30B-A3B) and GLM-4.5-Air (106B-A12B), trained on SWE-Dev. Evaluation uses a 200-task subset of SWE-bench Verified and Terminal-Bench 2.0. Over the base model with inference-time compaction, the paper reports gains of +5.5/+6.6 on SWE-bench Verified and +6.7/+4.9 on Terminal-Bench 2.0. It also includes ablations (no summary loss, a SUPO/GRPO baseline, no token-level loss, no cross-segment GAE, and 160k no-compaction RL), inference-time hyperparameter sensitivity, and an LLM-judge study of summary quality.",+ "presentation": 3,+ "informativeness": 1,+ "soundness": 3,+ "critical_strengths": "S1. Timely and practically important problem. Context compaction is already a standard mechanism in deployed coding agents such as Claude Code and Codex, but it is mostly used as an inference-time heuristic. How to train an agent so that it works well under compaction is a relevant open question, and the paper tackles it at realistic model scales (30B and 106B MoE) on realistic agentic benchmarks.\n\nS2. Comprehensive ablations. The paper ablates each component and adds an extended-context (160k) RL baseline, a compute comparison with SUPO, a hyperparameter-sensitivity study, and a summary-quality analysis. This is valuable because readers can check where the gains actually come from. As discussed below, however, these same ablations show that the gains come mostly from components other than the claimed contribution.",+ "critical_weaknesses": "W1. The evidence does not support the core claim that training the summarizer drives the gains.\n\nCompactionRL vs. w/o sum. loss is 54.5±1.2 → 56.0±0.4 (30B) and 64.5±2.4 → 66.4±0.7 (106B) on SWE-bench Verified. These gaps are similar to the reported std, measured on a 200-task subset (1 point = 2 tasks), from a single training run.\n\nAn untrained summarizer matches the method. In Table 1, the untrained GLM-4.7-Flash paired with an off-the-shelf Qwen3.5-27B summarizer already reaches 55.5, vs. 56.0 for CompactionRL.\n\nMost tasks never trigger compaction. Only 79/200 tasks trigger compaction (App. C), at 0.36 compactions per trace (Fig. 3). This benchmark mostly does not exercise the method; longer-horizon benchmarks such as SWE-bench Pro are needed.\n\nThe largest gains come from known techniques. The biggest ablation drop is from removing token-level loss (66.4 → 60.0), an existing technique (DAPO) unrelated to compaction. \n\nThe PPO vs. GRPO/SUPO gap (66.4 vs. 61.8) is confounded: the advantage estimator, the sampling scheme, and the extra critic all change at once. The paper does not explain why PPO should help here, and the comparison is not matched on wall-clock time or GPU-hours, including critic cost. The proper baseline is PPO + compaction without the proposed changes; against it, the remaining gain looks limited.\n\nW2. Limited novelty.\n\nJoint training is not new. Training summarization and execution together under a shared outcome reward already appears in SUPO, MemAgent, MEM1.\n\nTwo of the three changes are borrowed. Single-rollout PPO comes from VAPO, and token-level loss comes from DAPO.\n\nThe new piece is a heuristic. Cross-segment GAE rescales the whole advantage, including the critic baseline terms, so it is not an approximation of GAE; it simply down-weights early segments. There is no theoretical justification and no comparison with exact GAE, which only needs bootstrapping at segment boundaries.\n\nOverall, the paper reads as a re-assembly of existing methods plus a heuristic, with few new insights.\n\nOther concerns:\n\nCompaction overhead is not analyzed. Each compaction invalidates the KV cache and forces a re-prefill, and in training, overlapping prefixes are re-encoded.\n\nNo decontamination is reported between SWE-Dev and SWE-bench Verified. This mainly affects the headline gains over the base model, not the relative comparisons, since the RL baselines use the same data.",+ "questions_for_authors": "How does vanilla PPO + compaction perform (segment-level loss, local GAE)? Can you show learning curves vs. GPU-hours, including critic training and value pretraining?\n\nHow does cross-segment GAE compare with exact GAE and with $\\lambda=1$? How large are the advantages on summary tokens after scaling?\n\nHow are the KV cache and re-prefill handled after compaction, and what is the overhead?",+ "flag_for_ethics_review": "No",+ "rating": 3,+ "confidence": 3+ },+ "createdAt": "2026-10-21T15:46:03.685Z",+ "modifiedAt": "2026-11-16T20:14:09.715Z",+ "url": "https://openreview.net/forum?id=iPFrJBDqRA¬eId=QuyGWAmqi4",+ "license": "CC-BY-4.0"+}
reviews/openreview/ipfrjbdqra/notes/rbpdbgepwj.json added
+++ b/reviews/openreview/ipfrjbdqra/notes/rbpdbgepwj.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "RbPDbGEpWJ",+ "replyTo": "KUnNwOYDrY",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "> The paper scales the local advantage of the current segment by the number of tokens to be optimized in subsequent segments to approximate credit assignment over the full trajectory. However, this section does not provide a direct comparison with full-trajectory GAE or an analysis of the approximation error.\n> How close is the cross-segment GAE estimate to the full-trajectory GAE result? Can the authors provide an empirical analysis?\n\nTo provide a comparison with exact GAE, we randomly sampled 840 compacted trajectories and evaluated all segments to which cross-segment correction was applied. MSE measures the mean squared difference from exact GAE advantages over optimized tokens. We group trajectories by their number of compactions (1, 2, or 3).\n\nAs shown in Table 1, cross-segment GAE reduces approximation error by 48.4%, with larger improvements for trajectories involving multiple compactions.\n\n**Table 1. Advantage approximation error(MSE) against exact GAE with length-adaptive alpha=1.5.**\n\n| Compaction Count | Local GAE | Cross-segment GAE | MSE reduction |\n| --- | ---: | ---: | ---: |\n| 1 | 0.02047 | 0.01395 | 31.8% |\n| 2 | 0.03137 | 0.01185 | 62.2% |\n| 3 | 0.03111 | 0.01117 | 64.1% |\n| Overall | 0.02505 | 0.01293 | 48.4% |\n\nIn our implementation, exact GAE required a sequential backward pass across compaction segments, preventing independent parallel processing within a batch and making training impractically slow. Cross-segment GAE preserves segment-level parallelism while reducing approximation error by 48.4%, with larger gains under multiple compactions.\n\n> The novelty of this paper is relatively weak. SUPO, which is mentioned in the paper, has already incorporated compressed summaries into the RL training of long-horizon agents. This paper merely replaces GRPO with PPO and introduces several optimization measures, without proposing any significant conceptual or methodological innovations.\n\nCompactionRL provides a practical framework for large-scale RL on long-horizon agentic tasks. CompactionRL outperforms SUPO by 4.6 percentage points on SWE-bench Verified and 4.9 points on Terminal-Bench 2.0 on GLM-4.5-Air,achieving 3.3× SUPO’s gain.\n\nThese improvements are supported by optimization tailored to compacted setting. \n1. Single-rollout PPO removes SUPO’s within-group waiting to reduce policy lag, while its critic accounts for different reconstructed context states. \n2. Token-level normalization addresses compaction-induced segment-count imbalance. \n3. Cross-segment GAE mitigates temporal overweighting of early segments, reducing approximation MSE against exact GAE by 48.4% while preserving parallel segment processing as stated above.\n\n> The paper compares the 80k×4 compressed setting with a 160k uncompressed context. Can the authors report the number of generated tokens for both settings?\n\nFor the same 200 SWE-bench Verified tasks, the table below reports generated token counts for CompactionRL (80k ×4) and RL (w/o compaction)-160k.\n\n**Table 2. Generated token counts on SWE-bench Verified.**\n\n| Metric | CompactionRL (80k ×4) | RL (w/o compaction)-160k |\n| --- | ---: | ---: |\n| Mean total generated tokens per task | 25,986 | 15,607 |\n| Mean generated tokens per summarization request | 2,609 | — |\n\nHowever,despite generating more tokens, CompactionRL achieves faster inference by reducing context length therefore reducing attention computation and KV reads during decoding. We randomly sampled 40 compacted trajectories, and found compaction reduces model-request time by 42.0% as shown in Table 3.\n\n**Table 3. Model-request time comparison.**\n\n| Metric | CompactionRL (80k ×4) | No compaction |\n| --- | ---: | ---: |\n| Mean request time per trajectory | 372.4 s | 642.4 s |"+ },+ "createdAt": "2026-11-12T22:22:00.557Z",+ "modifiedAt": "2026-11-15T23:27:30.643Z",+ "url": "https://openreview.net/forum?id=iPFrJBDqRA¬eId=RbPDbGEpWJ",+ "license": "CC-BY-4.0"+}
reviews/openreview/ipfrjbdqra/notes/zafm5er2nd.json added
+++ b/reviews/openreview/ipfrjbdqra/notes/zafm5er2nd.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "zAFM5Er2nD",+ "replyTo": "9peavl1NWE",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Thank you for your constructive feedback and recognition of the practical value of our work. We will further clarify the motivation and formulation of cross-segment GAE, including its relationship to exact GAE, and incorporate the additional experimental results into the camera-ready version if accepted. We would appreciate any further suggestions to help improve our work."+ },+ "createdAt": "2026-11-18T09:46:18.507Z",+ "modifiedAt": "2026-11-18T09:46:18.507Z",+ "url": "https://openreview.net/forum?id=iPFrJBDqRA¬eId=zAFM5Er2nD",+ "license": "CC-BY-4.0"+}
reviews/openreview/ipfrjbdqra/submission.json added
+++ b/reviews/openreview/ipfrjbdqra/submission.json@@ -0,0 +1,18 @@+{+ "schema": "submission/1",+ "id": "iPFrJBDqRA",+ "venue": {+ "id": "ICLR.cc/2027/Conference",+ "name": "ICLR 2027",+ "url": "https://openreview.net/group?id=ICLR.cc%2F2027%2FConference"+ },+ "number": 39456,+ "keywords": [+ "LLM Agent",+ "Context Management",+ "Long-Horizon Agents",+ "Reinforcement Learning"+ ],+ "url": "https://openreview.net/forum?id=iPFrJBDqRA",+ "license": "CC-BY-4.0"+}
versions/v_t2rdm2kq.json modified
+++ b/versions/v_t2rdm2kq.json@@ -1,7 +1,20 @@{+ "date": "2026-09-18","kind": "submitted","label": "ICLR 2027 (under review)",+ "submissions": [+ {+ "venue": "ICLR 2027",+ "status": "under_review",+ "number": 39456,+ "url": "https://openreview.net/forum?id=iPFrJBDqRA",+ "reviews": "openreview/ipfrjbdqra",+ "evidence": [+ "https://openreview.net/forum?id=iPFrJBDqRA"+ ]+ }+ ],"url": "https://openreview.net/forum?id=iPFrJBDqRA","pdf": {"source": "https://openreview.net/forum?id=iPFrJBDqRA","license": "CC-BY-4.0"