Thinking inside the brackets: Grammar-Constrained Decoding
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 20:12 UTC · 867b4ce75edd ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "MSNBVGYBui"- }- ],- "title": "Thinking inside the brackets: Grammar-Constrained Decoding",- "authors": [],- "abstract": "LLM reasoning is a core driver of model performance, but it is costly. Practitioners typically use prompting and fine-tuning as axes of control to reduce the thinking-verbosity of reasoning models. We identify and exhibit grammar-constrained decoding (GCD) as a third axis of control. We structure reasoning traces by a small context-free grammar at decode-time (e.g. open a subgoal, derive, add a fact, check, close) which is compatible with free-text payloads. On GPQA-Diamond and AIME24, GCD on Qwen3.6-27B reduces median generated tokens by 98\\% and 94\\%, while holding or improving accuracy over chain of thought. While GCD reliably makes reasoning succinct, we further identify and characterise cases where controlling reasoning is detrimental, or ineffective.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "c385ecb6-4da1-46c5-9a84-d7df6be7b49d"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "Thinking inside the brackets: Grammar-Constrained Decoding",+ "authors": [],+ "abstract": "LLM reasoning is a core driver of model performance, but it is costly. Practitioners typically use prompting and fine-tuning as axes of control to reduce the thinking-verbosity of reasoning models. We identify and exhibit grammar-constrained decoding (GCD) as a third axis of control. We structure reasoning traces by a small context-free grammar at decode-time (e.g. open a subgoal, derive, add a fact, check, close) which is compatible with free-text payloads. On GPQA-Diamond and AIME24, GCD on Qwen3.6-27B reduces median generated tokens by 98\\% and 94\\%, while holding or improving accuracy over chain of thought. While GCD reliably makes reasoning succinct, we further identify and characterise cases where controlling reasoning is detrimental, or ineffective.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}