mlsanityData to 7 Oct 2026

Sketch-Guided Constrained Decoding for Boosting Blackbox Large Language Models without Logit Access

arXiv 2401.09967 ↗First posted 18 Jan 2024cs.CLcited by 9

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  3. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  4. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
  5. 2022LM-Nav: Robotic Navigation with Large Pre-Trained Models of Language, Vision, and Actioncited by 435
  6. 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 402
  7. 2022Generating Sequences by Learning to Self-Correctcited by 271
  8. 2017Lexically Constrained Decoding for Sequence Generation Using Grid Beam Searchcited by 234
  9. 2023Grammar-Constrained Decoding for Structured NLP Tasks without Finetuningcited by 186
  10. 2021Constrained Language Models Yield Few-Shot Semantic Parserscited by 162
  11. 2023How to Index Item IDs for Recommendation Foundation Modelscited by 102
  12. 2023Exploiting Asymmetry for Synthetic Training Data Generation: SynthIE and the Case of Information Extractioncited by 89
5 more
  1. 2023Grounded Decoding: Guiding Text Generation with Grounded Models for Embodied Agentscited by 66
  2. 2021GenIE: Generative Information Extractioncited by 53
  3. 2023KCTS: Knowledge-Constrained Tree Search Decoding with Token-Level Hallucination Detectioncited by 43
  4. 2023Small Language Models Improve Giants by Rewriting Their Outputscited by 18
  5. 2023Don't Fine-Tune, Decode: Syntax Error-Free Tool Use via Constrained Decodingcited by 13

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 5; 2026: 2.

9 papers.