ContractRL: Shielded Group-Relative Policy Optimization for Auditable Tool-Call Repair
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 18:53 UTC · 6f4f6c808a11 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "GCL4uDEKxg"- }- ],- "title": "ContractRL: Shielded Group-Relative Policy Optimization for Auditable Tool-Call Repair",- "authors": [],- "abstract": "Structured tool calls often fail after only a small number of fields violate a schema or an execution contract. Regenerating the complete object enlarges the action surface and makes repeated repair difficult to audit. We introduce \\emph{ContractRL}, a contract-constrained sequential repair protocol that models verifier-guided JSON repair as a bounded decision process. At each step the policy observes the candidate, typed verifier feedback, JSON Pointer, immutable repair history, and remaining budget; a contract-derived action mask filters malformed or prohibited RFC-6902 operations before a deterministic validator performs the transition. We specify a contract-constrained group-relative objective for patch, retry, and abstention decisions while keeping canonical targets and semantic labels outside the online state until trace freeze.\n\nOn the recorded five-seed held-out sweep, the 2B/r8 ContractRL row reaches 0.9331 semantic success at 34.8 generated tokens and 1.32 reported p95 latency units; the accompanying Patch-SFT, full-regeneration, and constrained-decoding rows reach 0.8924, 0.9041, and 0.8671. Under the completed same-information control, ContractRL reaches 0.9362 semantic success with 34.4 generated tokens, 1.30 p95 latency units, and 0.0169 collateral edits, compared with 0.9076/44.9/1.49/0.0488 for Patch-SFT and 0.9148/137.2/2.54/0.1876 for full regeneration. With the same public state and budgets, policy optimization reaches 0.9375 semantic success versus 0.9186 for ContractRL-SFT and 0.8927 for Patch-SFT. A separate three-seed paired ledger against Patch-SFT reports a semantic difference of $+0.0396$ (95\\% CI $[+0.0137,+0.0662]$, $p=0.0039$). Scale, feedback, budget, schema-shift, noisy-verifier, transfer, selective-risk, uncertainty, and blinded audit results identify where bounded repair helps and where it should abstain.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "8b752d66-0b77-4c39-be9e-7268392111cb"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "ContractRL: Shielded Group-Relative Policy Optimization for Auditable Tool-Call Repair",+ "authors": [],+ "abstract": "Structured tool calls often fail after only a small number of fields violate a schema or an execution contract. Regenerating the complete object enlarges the action surface and makes repeated repair difficult to audit. We introduce \\emph{ContractRL}, a contract-constrained sequential repair protocol that models verifier-guided JSON repair as a bounded decision process. At each step the policy observes the candidate, typed verifier feedback, JSON Pointer, immutable repair history, and remaining budget; a contract-derived action mask filters malformed or prohibited RFC-6902 operations before a deterministic validator performs the transition. We specify a contract-constrained group-relative objective for patch, retry, and abstention decisions while keeping canonical targets and semantic labels outside the online state until trace freeze.\n\nOn the recorded five-seed held-out sweep, the 2B/r8 ContractRL row reaches 0.9331 semantic success at 34.8 generated tokens and 1.32 reported p95 latency units; the accompanying Patch-SFT, full-regeneration, and constrained-decoding rows reach 0.8924, 0.9041, and 0.8671. Under the completed same-information control, ContractRL reaches 0.9362 semantic success with 34.4 generated tokens, 1.30 p95 latency units, and 0.0169 collateral edits, compared with 0.9076/44.9/1.49/0.0488 for Patch-SFT and 0.9148/137.2/2.54/0.1876 for full regeneration. With the same public state and budgets, policy optimization reaches 0.9375 semantic success versus 0.9186 for ContractRL-SFT and 0.8927 for Patch-SFT. A separate three-seed paired ledger against Patch-SFT reports a semantic difference of $+0.0396$ (95\\% CI $[+0.0137,+0.0662]$, $p=0.0039$). Scale, feedback, budget, schema-shift, noisy-verifier, transfer, selective-risk, uncertainty, and blinded audit results identify where bounded repair helps and where it should abstain.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}