Sketch-Guided Constrained Decoding for Boosting Blackbox Large Language Models without Logit Access
Not on the map. Why?
Abstract (arXiv)
Constrained decoding, a technique for enforcing constraints on language model outputs, offers a way to control text generation without retraining or architectural modifications. Its application is, however, typically restricted to models that give users access to next-token distributions (usually via softmax logits), which poses a limitation with blackbox large language models (LLMs). This paper introduces sketch-guided constrained decoding (SGCD), a novel approach to constrained decoding for blackbox LLMs, which operates without access to the logits of the blackbox LLM. SGCD utilizes a locally hosted auxiliary model to refine the output of an unconstrained blackbox LLM, effectively treating this initial output as a "sketch" for further elaboration. This approach is complementary to traditional logit-based techniques and enables the application of constrained decoding in settings where full model transparency is unavailable. We demonstrate the efficacy of SGCD through experiments in closed information extraction and constituency parsing, showing how it enhances the utility and flexibility of blackbox LLMs for complex NLP tasks.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 17 of its 30 references that are in the map. First posted on arXiv 18 Jan 2024.
Builds on
17 of 30 references.
References · 17
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2022LM-Nav: Robotic Navigation with Large Pre-Trained Models of Language, Vision, and Actioncited by 435
- 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 402
- 2022Generating Sequences by Learning to Self-Correctcited by 271
- 2017Lexically Constrained Decoding for Sequence Generation Using Grid Beam Searchcited by 234
- 2023Grammar-Constrained Decoding for Structured NLP Tasks without Finetuningcited by 186
- 2021Constrained Language Models Yield Few-Shot Semantic Parserscited by 162
- 2023How to Index Item IDs for Recommendation Foundation Modelscited by 102
- 2023Exploiting Asymmetry for Synthetic Training Data Generation: SynthIE and the Case of Information Extractioncited by 89
5 more
- 2023Grounded Decoding: Guiding Text Generation with Grounded Models for Embodied Agentscited by 66
- 2021GenIE: Generative Information Extractioncited by 53
- 2023KCTS: Knowledge-Constrained Tree Search Decoding with Token-Level Hallucination Detectioncited by 43
- 2023Small Language Models Improve Giants by Rewriting Their Outputscited by 18
- 2023Don't Fine-Tune, Decode: Syntax Error-Free Tool Use via Constrained Decodingcited by 13
Built on by
Citing papers per year: 2024: 2; 2025: 5; 2026: 2.
9 papers.
- 2024Formal-LLM: Integrating Formal Language and Natural Language for Controllable LLM-based Agentscited by 39
- 2025Constrained Discrete Diffusioncited by 16
- 2025TreeCoder: Systematic Exploration and Optimisation of Decoding and Constraints for LLM Code Generationcited by 5
- 2025How to Make Large Language Models Generate 100% Valid Molecules?cited by 4
- 2024Open-domain Implicit Format Control for Large Language Model Generationcited by 2
- 2025Combining Constrained and Unconstrained Decoding via Boosting: BoostCD and Its Application to Information Extractioncited by 0
- 2025Repairing Regex Vulnerabilities via Localization-Guided Instructionscited by 0
- 2026Job Skill Extraction via LLM-Centric Multi-Module Frameworkcited by 0
- 2026SHARC: SHAP-Based Interpretability in Machine Learning Risk Models for Regulatory Capital under ICAAP and CCARcited by 0
- 2026SHARC: SHAP-Based Interpretability in Machine Learning Risk Models for Regulatory Capital under ICAAP and CCAR6 Jul 2026
- 2026Job Skill Extraction via LLM-Centric Multi-Module Framework23 Apr 2026
- 2025TreeCoder: Systematic Exploration and Optimisation of Decoding and Constraints for LLM Code Generation27 Nov 2025
- 2025Repairing Regex Vulnerabilities via Localization-Guided Instructions10 Oct 2025
- 2025How to Make Large Language Models Generate 100% Valid Molecules?27 Sep 2025
- 2025Combining Constrained and Unconstrained Decoding via Boosting: BoostCD and Its Application to Information Extraction17 Jun 2025
- 2025Constrained Discrete Diffusion12 Mar 2025
- 2024Open-domain Implicit Format Control for Large Language Model Generation8 Aug 2024
- 2024Formal-LLM: Integrating Formal Language and Natural Language for Controllable LLM-based Agents1 Feb 2024