potentialpaper

CAPO: Constraint-Aware Prompt Optimization for LLM Agents

Update NeurIPS 2026 submission nS6hVWW0JO: 6 notes

@openreview[bot] · 2026-11-24 15:55 UTC · 6984a3886c3e ·

Evidence

reviews/openreview/ns6hvww0jo/notes/9xx2c86l8e.json added

+++ b/reviews/openreview/ns6hvww0jo/notes/9xx2c86l8e.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "9Xx2c86l8E",
+ "replyTo": "0BWjuj3Vx5",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer zC5P",
+ "content": {
+ "comment": "Thank you to the authors for the detailed response. My concerns have been addressed, and I am raising my score accordingly."
+ },
+ "createdAt": "2026-08-02T13:08:13.803Z",
+ "modifiedAt": "2026-11-19T16:49:11.377Z",
+ "url": "https://openreview.net/forum?id=nS6hVWW0JO&noteId=9Xx2c86l8E",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/ns6hvww0jo/notes/hrjna6pgs7.json added

+++ b/reviews/openreview/ns6hvww0jo/notes/hrjna6pgs7.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "HrjNa6pGS7",
+ "replyTo": "8oakKrCnKc",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer hhmX",
+ "content": {
+ "comment": "Thank you for the clarifications and explanations, which covered most of my main concerns. Especially, it is now clearer how you compare with other methods with constraint information. Although this is discussed in the appendix to some extent, it is very important that this is clarified in the main text, both how they receive the constraint signal and the rationale for why it is reasonable. Also, the rationale for MAPO needs to be clarified in the main text. Good also that you plan to add an end-to-end trace with explanations in the main text. Given this, I have raised my score."
+ },
+ "createdAt": "2026-08-03T08:35:40.463Z",
+ "modifiedAt": "2026-11-19T16:49:11.058Z",
+ "url": "https://openreview.net/forum?id=nS6hVWW0JO&noteId=HrjNa6pGS7",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/ns6hvww0jo/notes/jtkzhhzg66.json modified

+++ b/reviews/openreview/ns6hvww0jo/notes/jtkzhhzg66.json
@@ -5,11 +5,12 @@
"kind": "meta_review",
"invitation": "Meta_Review",
"signature": "Area Chair YJaC",
"content": {
- "metareview": "The paper presents an approach, Constraint-aware prompt optimization (CAPO) to make the prompt-optimization algorithm threshold constrained, that is, to comply with safety and formatting policies, keep constraints on prompts, etc. Previous methods have focused on prompt optimization without constraints or on explicit constraint decoding techniques applied to output tokens, but not as part of the prompt optimization strategy. The method uses Lagrangian relaxation as part of its optimization strategy. The work has been evaluated within three different agentic domains, as well as non-agentic use cases.\n\nThe work presents an interesting problem setting in which prompts are optimized under constraints. Parts of the paper are easily accessible, whereas some parts would benefit from a running example to understand. The approach seems novel, extending on the classic idea of prompt optimization. The benchmark is on the smaller end, but the actual experimental setup is relevant, with relevant applications. The evaluation is also compared with several relevant prompt optimization techniques.\n\nHowever, it seems not fair to compare with all other prompt optimization techniques, which do not support constrained optimization. It is not very surprising that CAPO is the only one that reaches AllSat since the other methods do not support constraints. \n\nThe convergence theory relies on the text gradient. The theory itself is sound and is supported by CMDP theory. However, whether the text gradient can actually function as an optimizer still requires validation."
+ "metareview": "The paper presents an approach, Constraint-aware prompt optimization (CAPO) to make the prompt-optimization algorithm threshold constrained, that is, to comply with safety and formatting policies, keep constraints on prompts, etc. Previous methods have focused on prompt optimization without constraints or on explicit constraint decoding techniques applied to output tokens, but not as part of the prompt optimization strategy. The method uses Lagrangian relaxation as part of its optimization strategy. The work has been evaluated within three different agentic domains, as well as non-agentic use cases.\n\nThe work presents an interesting problem setting in which prompts are optimized under constraints. Parts of the paper are easily accessible, whereas some parts would benefit from a running example to understand. The approach seems novel, extending on the classic idea of prompt optimization. The benchmark is on the smaller end, but the actual experimental setup is relevant, with relevant applications. The evaluation is also compared with several relevant prompt optimization techniques.\n\nHowever, it seems not fair to compare with all other prompt optimization techniques, which do not support constrained optimization. It is not very surprising that CAPO is the only one that reaches AllSat since the other methods do not support constraints. \n\nThe convergence theory relies on the text gradient. The theory itself is sound and is supported by CMDP theory. However, whether the text gradient can actually function as an optimizer still requires validation.",
+ "final_justification": "The initial questions raised by other reviewers and me are largely clarified. It is recommended addressing these critical questions raised by reviewers at the main body of the paper in the revision to make the points clearer. \n\nOverall, it is a good paper with clear and solid contributions. I have no problem to give it a clear recommendation."
},
"createdAt": "2026-07-22T19:58:57.507Z",
- "modifiedAt": "2026-11-18T15:25:46.299Z",
+ "modifiedAt": "2026-11-19T05:03:39.650Z",
"url": "https://openreview.net/forum?id=nS6hVWW0JO&noteId=jTKzHHZG66",
"license": "CC-BY-4.0"
}

reviews/openreview/ns6hvww0jo/notes/ktki3axkft.json added

+++ b/reviews/openreview/ns6hvww0jo/notes/ktki3axkft.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "KTKI3axKft",
+ "replyTo": "9Xx2c86l8E",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "Thank you again for your thorough and valuable review. We are glad that our response addressed your concerns, and we will incorporate the corresponding clarifications and present the supporting evidence more clearly in the revised manuscript."
+ },
+ "createdAt": "2026-08-04T04:48:51.149Z",
+ "modifiedAt": "2026-11-19T16:49:10.897Z",
+ "url": "https://openreview.net/forum?id=nS6hVWW0JO&noteId=KTKI3axKft",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/ns6hvww0jo/notes/tlwjpxuzri.json added

+++ b/reviews/openreview/ns6hvww0jo/notes/tlwjpxuzri.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "TLWJpXuZri",
+ "replyTo": "jTKzHHZG66",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "We thank the AC for the thoughtful meta-review and for recognizing CAPO’s novelty, its sound theoretical basis, and the practical importance of prompt optimization under explicit constraints.\n\nTo clarify the baseline-comparison setup, we provide every baseline with the same objective and constraint measurements used by CAPO, as detailed in Appendix B.3. Multi-task APO and GEPA use fixed Lagrangian weights, while MOPO uses Pareto-based ranking over the same measurements. CAPO instead adapts a separate dual weight for each constraint during search. The comparison therefore evaluates adaptive threshold control against fixed scalarization and Pareto search under the same constraint information. Competing methods also satisfy all constraints in some evaluated settings, so feasibility is not unique to CAPO. We will move these protocol details into the main text and clarify the rationale for the baseline comparisons.\n\nTo address whether the text-gradient mechanism functions as an optimizer in practice, we evaluate its optimizer-like behavior at two complementary levels. At the system level, the submitted experiments show that CAPO/DCAPO’s rewrite-evaluate-select loop reaches feasible solutions and improves constrained performance across multiple models in both agentic and non-agentic settings. At the optimization-step level, our new analysis directly tests the alignment condition underlying the convergence theory: both rewrite-induced representation changes and parameter updates align positively, on average, with their estimated ascent directions, while selected child prompts yield positive mean improvement in the Lagrangian objective. Together, these system-level outcomes and the step-level analysis provide empirical evidence that the mechanism functions as an optimizer in the evaluated settings.\n\nWe addressed the feedback from all three reviewers in detail. Following our rebuttal, Reviewers `hhmX` and `zC5P` stated that our responses addressed their main concerns. We will incorporate the resulting methodological clarifications and presentation improvements into the revised manuscript, including a concise running example of a complete CAPO update and a clearer presentation of the evaluation’s scope and scale."
+ },
+ "createdAt": "2026-08-04T08:47:06.706Z",
+ "modifiedAt": "2026-11-19T16:49:10.897Z",
+ "url": "https://openreview.net/forum?id=nS6hVWW0JO&noteId=TLWJpXuZri",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/ns6hvww0jo/notes/vick1drt6p.json added

+++ b/reviews/openreview/ns6hvww0jo/notes/vick1drt6p.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "vIck1drT6p",
+ "replyTo": "HrjNa6pGS7",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "Thank you again for your valuable review and helpful suggestions, and for reconsidering your assessment. We will incorporate the methodological clarifications and presentation improvements outlined in our response and ensure that our comparison methodology and evaluation rationale are clearly explained in the revised main text."
+ },
+ "createdAt": "2026-08-04T05:11:42.969Z",
+ "modifiedAt": "2026-11-19T16:49:11.054Z",
+ "url": "https://openreview.net/forum?id=nS6hVWW0JO&noteId=vIck1drT6p",
+ "license": "CC-BY-4.0"
+}