mlsanityData to 13 Oct 2026

Efficient and Asymptotically Unbiased Constrained Decoding for Large Language Models

arXiv 2504.09135 ↗First posted 12 Apr 2025cs.CLcited by 5

Not on the map. Why?

Abstract (arXiv)

In real-world applications of large language models, outputs are often required to be confined: selecting items from predefined product or document sets, generating phrases that comply with safety standards, or conforming to specialized formatting styles. To control the generation, constrained decoding has been widely adopted. However, existing prefix-tree-based constrained decoding is inefficient under GPU-based model inference paradigms, and it introduces unintended biases into the output distribution. This paper introduces Dynamic Importance Sampling for Constrained Decoding (DISC) with GPU-based Parallel Prefix-Verification (PPV), a novel algorithm that leverages dynamic importance sampling to achieve theoretically guaranteed asymptotic unbiasedness and overcomes the inefficiency of prefix-tree. Extensive experiments demonstrate the superiority of our method over existing methods in both efficiency and output quality. These results highlight the potential of our methods to improve constrained generation in applications where adherence to specific constraints is essential.

Key facts. Cited by 5 papers in the map (data through 13 Oct 2026). Builds on 32 of its 57 references that are in the map. First posted on arXiv 12 Apr 2025.

Builds on

32 of 57 references.

References · 32

  1. 2020Language Models are Few-Shot Learnerscited by 32,320
  2. 2023GPT-4 Technical Reportcited by 18,278
  3. 2024The Llama 3 Herd of Modelscited by 14,486
  4. 2023Visual Instruction Tuningcited by 7,827
  5. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,716
  6. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,925
  7. 2023MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Modelscited by 2,703
  8. 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,368
  9. 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,237
  10. 2023mPLUG-Owl: Modularization Empowers Large Language Models with Multimodalitycited by 1,040
  11. 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
  12. 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 617
20 more
  1. 2019ELI5: Long Form Question Answeringcited by 571
  2. 2020KILT: a Benchmark for Knowledge Intensive Language Taskscited by 571
  3. 2017Zero-Shot Relation Extraction via Reading Comprehensioncited by 425
  4. 2020Autoregressive Entity Retrievalcited by 333
  5. 2017Lexically Constrained Decoding for Sequence Generation Using Grid Beam Searchcited by 234
  6. 2023SafetyBench: Evaluating the Safety of Large Language Modelscited by 197
  7. 2020CLIMATE-FEVER: A Dataset for Verification of Real-World Climate Claimscited by 195
  8. 2023Recommender Systems with Generative Retrievalcited by 192
  9. 2023Grammar-Constrained Decoding for Structured NLP Tasks without Finetuningcited by 188
  10. 2018Fast Lexically Constrained Decoding with Dynamic Beam Allocation for Neural Machine Translationcited by 181
  11. 2021MasakhaNER: Named Entity Recognition for African Languagescited by 155
  12. 2022Autoregressive Search Engines: Generating Substrings as Document Identifierscited by 112
  13. 2016Guided Open Vocabulary Image Captioning with Constrained Beam Searchcited by 105
  14. 2024Guiding LLMs The Right Way: Fast, Non-Invasive Constrained Generationcited by 100
  15. 2018CGMH: Constrained Sentence Generation by Metropolis-Hastings Samplingcited by 93
  16. 2023Learning to Tokenize for Generative Retrievalcited by 67
  17. 2024Can Long-Context Language Models Subsume Retrieval, RAG, SQL, and More?cited by 54
  18. 2018Improving Entity Linking by Modeling Latent Relations between Mentionscited by 53
  19. 2018Pytrec_eval: An Extremely Fast Python Interface to trec_evalcited by 46
  20. 2019Neural Grammatical Error Correction with Finite State Transducerscited by 6

Built on by

Cited by year (2026 to 13 Oct)

Citing papers per year: 2026: 5.

5 papers.