Code as Carrier: Context-Efficient Multi-Turn Instruction Following
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 19:32 UTC · 44f667394804 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "bwyGCXVPNS"- }- ],- "title": "Code as Carrier: Context-Efficient Multi-Turn Instruction Following",- "authors": [],- "abstract": "Large language models often fail to preserve instructions across multi-turn conversations, especially when users update constraints without restating them. We present Code as Carrier (CoCa), a programmatic framework for conversation management that dynamically detects topic shifts, identifies user intents, and incrementally updates an executable program that maintains and enforces the topic thread's active constraints. This allows CoCa to reapply constraints through execution rather than recovering them from an ever-growing dialogue history. CoCa provides the largest gains when direct prompting struggles to retain prior constraints: on a short, single-topic benchmark, it improves turn-wise retention by $10.6\\%$ to $172.0\\%$ for weaker models while leaving an already-stable model nearly unchanged. For longer multi-topic dialogues, it can reduce the turn-level failure rate from $92\\%$ to $59\\%$. Finally, by updating programs in place, CoCa maintains approximately constant per-turn context and uses $2.9\\times$ fewer context tokens over direct baselines.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "5961eb16-4b4d-4017-ad43-bf82dd46a2c3"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "Code as Carrier: Context-Efficient Multi-Turn Instruction Following",+ "authors": [],+ "abstract": "Large language models often fail to preserve instructions across multi-turn conversations, especially when users update constraints without restating them. We present Code as Carrier (CoCa), a programmatic framework for conversation management that dynamically detects topic shifts, identifies user intents, and incrementally updates an executable program that maintains and enforces the topic thread's active constraints. This allows CoCa to reapply constraints through execution rather than recovering them from an ever-growing dialogue history. CoCa provides the largest gains when direct prompting struggles to retain prior constraints: on a short, single-topic benchmark, it improves turn-wise retention by $10.6\\%$ to $172.0\\%$ for weaker models while leaving an already-stable model nearly unchanged. For longer multi-topic dialogues, it can reduce the turn-level failure rate from $92\\%$ to $59\\%$. Finally, by updating programs in place, CoCa maintains approximately constant per-turn context and uses $2.9\\times$ fewer context tokens over direct baselines.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}