Lexically Constrained Decoding for Sequence Generation Using Grid Beam Search
Not on the map. Why?
Abstract (arXiv)
We present Grid Beam Search (GBS), an algorithm which extends beam search to allow the inclusion of pre-specified lexical constraints. The algorithm can be used with any model that generates a sequence mathbfhaty = y0ldots yT , by maximizing p(y | x) = prodlimitstp(yt | x; y0 ldots yt-1) . Lexical constraints take the form of phrases or words that must be present in the output sequence. This is a very general way to incorporate additional knowledge into a model's output without requiring any modification of the model parameters or training data. We demonstrate the feasibility and flexibility of Lexically Constrained Decoding by conducting experiments on Neural Interactive-Predictive Translation, as well as Domain Adaptation for Neural Machine Translation. Experiments show that GBS can provide large improvements in translation quality in interactive scenarios, and that, even without any user input, GBS can be used to achieve significant gains in performance in domain adaptation scenarios.
Key facts. Cited by 234 papers in the map (data through 7 Oct 2026). First posted on arXiv 24 Apr 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 38; 2022: 39; 2023: 49; 2024: 34; 2025: 32; 2026: 42.
234 papers.
Sort:
By area:
- 2022Survey of Hallucination in Natural Language Generationcited by 2,056
- 2022ToxiGen: A Large-Scale Machine-Generated Dataset for Adversarial and Implicit Hate Speech Detectioncited by 419
- 2023Grammar-Constrained Decoding for Structured NLP Tasks without Finetuningcited by 186
- 2021Constrained Language Models Yield Few-Shot Semantic Parserscited by 162
- 2022COLD Decoding: Energy-based Constrained Text Generation with Langevin Dynamicscited by 159
- 2021NeuroLogic A*esque Decoding: Constrained Text Generation with Lookahead Heuristicscited by 153
- 2024From Decoding to Meta-Generation: Inference-time Algorithms for Large Language Modelscited by 136
- 2021Recent Advances in Deep Learning Based Dialogue Systems: A Systematic Surveycited by 130
- 2023Amortizing intractable inference in large language modelscited by 94
- 2023Controlled Text Generation with Natural Language Instructionscited by 87
- 2024Reversing the Forget-Retain Objectives: An Efficient LLM Unlearning Framework from Logit Differencecited by 85
- 2023Dictionary-based Phrase-level Prompting of Large Language Models for Machine Translationcited by 74
38 more
- 2022NaturalProver: Grounded Mathematical Proof Generation with Language Modelscited by 72
- 2021Controlled Text Generation as Continuous Optimization with Multiple Constraintscited by 70
- 2023COLLIE: Systematic Construction of Constrained Text Generation Taskscited by 69
- 2021Tailor: Generating and Perturbing Text with Semantic Controlscited by 67
- 2023Adaptive Machine Translation with Large Language Modelscited by 58
- 2021A Plug-and-Play Method for Controlled Text Generationcited by 55
- 2022Augmenting Operations Research with Auto-Formulation of Optimization Models from Problem Descriptionscited by 54
- 2024Grammar-Aligned Decodingcited by 54
- 2021Domain Adaptation and Multi-Domain Adaptation for Neural Machine Translation: A Surveycited by 46
- 2022Learning to Reason Deductively: Math Word Problem Solving as Complex Relation Extractioncited by 44
- 2022LayoutFormer++: Conditional Graphic Layout Generation via Constraint Serialization and Decoding Space Restrictioncited by 43
- 2022Controllable Text Generation with Neurally-Decomposed Oraclecited by 41
- 2022Plansformer: Generating Symbolic Plans using Transformerscited by 41
- 2024A Comprehensive Survey on Data Augmentationcited by 38
- 2021Guided Generation of Cause and Effectcited by 33
- 2023Inference-Time Policy Adapters (IPA): Tailoring Extreme-Scale LMs without Fine-tuningcited by 33
- 2022Should We Rely on Entity Mentions for Relation Extraction? Debiasing Relation Extraction with Counterfactual Analysiscited by 30
- 2022Faithfulness in Natural Language Generation: A Systematic Survey of Analysis, Evaluation and Optimization Methodscited by 27
- 2023DSPy Assertions: Computational Constraints for Self-Refining Language Model Pipelinescited by 27
- 2022General and Domain Adaptive Chinese Spelling Check with Error Consistent Pretrainingcited by 25
- 2021Parallel Refinements for Lexically Constrained Text Generation with BARTcited by 24
- 2022Zero-shot Sonnet Generation with Discourse-level Planning and Aesthetics Featurescited by 24
- 2022Don't Say What You Don't Know: Improving the Consistency of Abstractive Summarization by Constraining Beam Searchcited by 23
- 2023Mixture of Soft Prompts for Controllable Data Generationcited by 23
- 2023Gender Neutralization for an Inclusive Machine Translation: from Theoretical Foundations to Open Challengescited by 22
- 2023Interactive AI Alignment: Specification, Process, and Evaluation Alignmentcited by 22
- 2025FR-Spec: Accelerating Large-Vocabulary Language Models via Frequency-Ranked Speculative Samplingcited by 20
- 2021Facilitating Terminology Translation with Target Lemma Annotationscited by 19
- 2022Why is constrained neural language generation particularly challenging?cited by 19
- 2024DeFT: Decoding with Flash Tree-attention for Efficient Tree-structured LLM Inferencecited by 19
- 2021TranSmart: A Practical Interactive Machine Translation Systemcited by 17
- 2023Domain Terminology Integration into Machine Translation: Leveraging Large Language Modelscited by 17
- 2024Permute-and-Flip: An optimally stable and watermarkable decoder for LLMscited by 17
- 2023Chain-of-Dictionary Prompting Elicits Translation in Large Language Modelscited by 16
- 2021On the Evaluation of Machine Translation for Terminology Consistencycited by 15
- 2022Extracting or Guessing? Improving Faithfulness of Event Temporal Relation Extractioncited by 15
- 2023Formally Specifying the High-Level Behavior of LLM-Based Agentscited by 15
- 2022Factual and Informative Review Generation for Explainable Recommendationcited by 14
50 most cited of 234 All 234 (JSON)
- 2026Making Grid Beam Search Less Greedy30 Sep 2026
- 2026State of Thought Enables Endogenous Reasoning13 Sep 2026
- 2026Guaranteeing Faithful Evidence Extraction in Speculative Retrieval-Augmented Generation9 Sep 2026
- 2026SalamandraTA at WMT 2026 Terminology Shared Task: Hard Examples Are Better Teachers9 Sep 2026
- 2026Improving Term Evaluation in Machine Translation: Variation Matters8 Sep 2026
- 2026BlueprintAgent: Constraint-Triggered Targeted Revisits for Simulation-Ready Generation from Scanned Structural Blueprints7 Sep 2026
- 2026WIDE: Wildcard Inference with Dynamic Expansion for Cross-Modal Generative Retrieval3 Sep 2026
- 2026Confident but Wrong: A Constrained Decoding Diagnostic for Low-Resource Automatic Post-Editing30 Aug 2026
- 2026Do Language Models Know Their Own Constraints?26 Aug 2026
- 2026CAPO: Constraint-Aware Prompt Optimization for LLM Agents17 Aug 2026
- 2026BiasMix-Finance: Post-Generation KYC Guardrails for LLM Portfolio Advice14 Aug 2026
- 2026Auditable Release Control for Pedagogical Leakage in LLM Tutors1 Aug 2026
38 more
- 2026IFHierBench: Hierarchical Instruction Following for Large Language Models30 Jul 2026
- 2026Closed-Loop Validation-Repair for Healthcare Interoperability: A Multi-Model Study of Schema Compliance in Clinical LLMs27 Jul 2026
- 2026StageGuard: Physiologically Constrained Sleep Staging25 Jul 2026
- 2026Constrained CTC Decoding for Efficient Diacritic Restoration21 Jul 2026
- 2026When to Use Extra Context: Evidence-Grounded Terminology Adaptation for Simultaneous Speech Translation20 Jul 2026
- 2026Autoregressive Modeling of Film with Applications in Video Montage16 Jul 2026
- 2026Imprompt: A Language Framework for Prompt Programming13 Jul 2026
- 2026LBR: Towards Mitigating Length Bias in Large Language Models for Recommendation5 Jul 2026
- 2026"Don't Say It!": Constraints, Compliance, and Communication when Language Models Play Taboo1 Jul 2026
- 2026LabGuard: Grounding Natural-Language Laboratory Rules into Runtime Guards for Embodied Laboratory Agents30 Jun 2026
- 2026Answer Engineering: Local Trajectory Editing for Protocol-Constrained Decision Making in Large Language Models19 Jun 2026
- 2026Real-Time Execution with Autoregressive Policies11 Jun 2026
- 2026Where Should Knowledge Enter? A Layered Framework for Knowledge Infusion in Multimodal Iterative Generative Model4 Jun 2026
- 2026Compliance-Scored Best-of-N Guardrail Orchestration for Multimodal Document Generation in Payments Dispute Defense1 Jun 2026
- 2026Stochastic Primal-Dual Decoding for Multiobjective Generative Recommender Systems26 May 2026
- 2026Primal-Dual Guided Decoding for Constrained Discrete Diffusion10 May 2026
- 2026Exact Regular-Constrained Variable-Order Markov Generation via Sparse Context-State Belief Propagation8 May 2026
- 2026Intent-Driven Semantic ID Generation for Grounded Conversational News Recommendation8 May 2026
- 2026LatticeBridge: Rare-Event Sequential Inference for Faithful Structured Sequence Synthesis22 Apr 2026
- 2026To Know is to Construct: Schema-Constrained Generation for Agent Memory22 Apr 2026
- 2026Bangla Key2Text: Text Generation from Keywords for a Low Resource Language21 Apr 2026
- 2026DocQAC: Adaptive Trie-Guided Decoding for Effective In-Document Query Auto-Completion20 Apr 2026
- 2026DALM: A Domain-Algebraic Language Model via Three-Phase Structured Generation17 Apr 2026
- 2026ARCS: Autoregressive Circuit Synthesis with Topology-Aware Graph Attention and Spec Conditioning30 Mar 2026
- 2026Compositional Consistency-Guided Decoding for Three-Way Logical Question Answering12 Mar 2026
- 2026PathCRF: Ball-Free Soccer Event Detection via Possession Path Inference from Player Trajectories12 Feb 2026
- 2026The Hidden Cost of Structured Generation in LLMs: Draft-Conditioned Constrained Decoding8 Feb 2026
- 2026NLP for Local Governance Meeting Records: A Focus Article on Tasks, Datasets, Metrics and Benchmark8 Feb 2026
- 2026Adaptive Test-Time Compute Allocation via Learned Heuristics over Categorical Structure3 Feb 2026
- 2026Search-Augmented Masked Diffusion Models for Constrained Generation2 Feb 2026
- 2025Incorporating Structure and Chord Constraints in Symbolic Transformer-based Melodic Harmonization8 Dec 2025
- 2025Solving LLM Repetition Problem in Production: A Comprehensive Study of Multiple Solutions4 Dec 2025
- 2025Orthographic Constraint Satisfaction and Human Difficulty Alignment in Large Language Models26 Nov 2025
- 2025OpenGloss: A Synthetic Encyclopedic Dictionary and Semantic Knowledge Graph23 Nov 2025
- 2025Adaptive Residual-Update Steering for Low-Overhead Hallucination Mitigation in Large Vision Language Models13 Nov 2025
- 2025Lingua Custodi's participation at the WMT 2025 Terminology shared task20 Oct 2025
- 2025Anytime-Valid Answer Sufficiency Certificates for LLM Generation via Sequential Information Lift7 Oct 2025
- 2025Benchmarking Web API Integration Code Generation24 Sep 2025
50 newest of 234 All 234 (JSON)
- 2022Learning to Reason Deductively: Math Word Problem Solving as Complex Relation Extractioncited by 44
- 2025Self-Steering Language Modelscited by 13
- 2023PathFinder: Guided Search over Multi-Step Reasoning Pathscited by 12
- 2022Metric-guided Distillation: Distilling Knowledge from the Metric to Ranker and Retriever for Generative Commonsense Reasoningcited by 8
- 2024Combining Constraint Programming Reasoning with Large Language Model Predictionscited by 8
- 2026Adaptive Test-Time Compute Allocation via Learned Heuristics over Categorical Structurecited by 5
- 2024Dictionary Insertion Prompting for Multilingual Reasoning on Multilingual Large Language Modelscited by 3
- 2025Fine-Tuning Vision-Language Models for Neutrino Event Analysis in High-Energy Physics Experimentscited by 0
- 2026State of Thought Enables Endogenous Reasoningcited by 0
- 2026State of Thought Enables Endogenous Reasoning13 Sep 2026
- 2026Adaptive Test-Time Compute Allocation via Learned Heuristics over Categorical Structure3 Feb 2026
- 2025Fine-Tuning Vision-Language Models for Neutrino Event Analysis in High-Energy Physics Experiments26 Aug 2025
- 2025Self-Steering Language Models9 Apr 2025
- 2024Dictionary Insertion Prompting for Multilingual Reasoning on Multilingual Large Language Models2 Nov 2024
- 2024Combining Constraint Programming Reasoning with Large Language Model Predictions18 Jul 2024
- 2023PathFinder: Guided Search over Multi-Step Reasoning Paths8 Dec 2023
- 2022Metric-guided Distillation: Distilling Knowledge from the Metric to Ranker and Retriever for Generative Commonsense Reasoning21 Oct 2022
- 2022Learning to Reason Deductively: Math Word Problem Solving as Complex Relation Extraction19 Mar 2022
- 2023Formally Specifying the High-Level Behavior of LLM-Based Agentscited by 15
- 2023Don't Fine-Tune, Decode: Syntax Error-Free Tool Use via Constrained Decodingcited by 13
- 2024Agentic AI: The Era of Semantic Decodingcited by 1
- 2026To Know is to Construct: Schema-Constrained Generation for Agent Memorycited by 1
- 2026CAPO: Constraint-Aware Prompt Optimization for LLM Agentscited by 0
- 2026CAPO: Constraint-Aware Prompt Optimization for LLM Agents17 Aug 2026
- 2026To Know is to Construct: Schema-Constrained Generation for Agent Memory22 Apr 2026
- 2024Agentic AI: The Era of Semantic Decoding21 Mar 2024
- 2023Formally Specifying the High-Level Behavior of LLM-Based Agents12 Oct 2023
- 2023Don't Fine-Tune, Decode: Syntax Error-Free Tool Use via Constrained Decoding10 Oct 2023
- 2024Reversing the Forget-Retain Objectives: An Efficient LLM Unlearning Framework from Logit Differencecited by 85
- 2024Permute-and-Flip: An optimally stable and watermarkable decoder for LLMscited by 17
- 2024Nevermind: Instruction Override and Moderation in Large Language Modelscited by 1
- 2026Compliance-Scored Best-of-N Guardrail Orchestration for Multimodal Document Generation in Payments Dispute Defensecited by 1
- 2026BiasMix-Finance: Post-Generation KYC Guardrails for LLM Portfolio Advicecited by 0
- 2026BiasMix-Finance: Post-Generation KYC Guardrails for LLM Portfolio Advice14 Aug 2026
- 2026Compliance-Scored Best-of-N Guardrail Orchestration for Multimodal Document Generation in Payments Dispute Defense1 Jun 2026
- 2024Reversing the Forget-Retain Objectives: An Efficient LLM Unlearning Framework from Logit Difference12 Jun 2024
- 2024Permute-and-Flip: An optimally stable and watermarkable decoder for LLMs8 Feb 2024
- 2024Nevermind: Instruction Override and Moderation in Large Language Models5 Feb 2024
- 2024From Instructions to Constraints: Language Model Alignment with Automatic Constraint Verificationcited by 8
- 2025GAPO: Learning Preferential Prompt through Generative Adversarial Policy Optimizationcited by 4
- 2025Learning to Translate Ambiguous Terminology by Preference Optimization on Post-Editscited by 0
- 2025Learning to Translate Ambiguous Terminology by Preference Optimization on Post-Edits4 Jul 2025
- 2025GAPO: Learning Preferential Prompt through Generative Adversarial Policy Optimization26 Mar 2025
- 2024From Instructions to Constraints: Language Model Alignment with Automatic Constraint Verification10 Mar 2024
- 2025Adapting Vision-Language Models for Neutrino Event Classification in High-Energy Physicscited by 3
- 2024HPE-CogVLM: Advancing Vision Language Models with a Head Pose Grounding Taskcited by 1
- 2025Adaptive Residual-Update Steering for Low-Overhead Hallucination Mitigation in Large Vision Language Modelscited by 1
- 2025Adaptive Residual-Update Steering for Low-Overhead Hallucination Mitigation in Large Vision Language Models13 Nov 2025
- 2025Adapting Vision-Language Models for Neutrino Event Classification in High-Energy Physics10 Sep 2025
- 2024HPE-CogVLM: Advancing Vision Language Models with a Head Pose Grounding Task4 Jun 2024
- 2026Real-Time Execution with Autoregressive Policiescited by 0
- 2026Real-Time Execution with Autoregressive Policies11 Jun 2026
- 2022Survey of Hallucination in Natural Language Generationcited by 2,056
- 2022ToxiGen: A Large-Scale Machine-Generated Dataset for Adversarial and Implicit Hate Speech Detectioncited by 419
- 2023Grammar-Constrained Decoding for Structured NLP Tasks without Finetuningcited by 186
- 2021Constrained Language Models Yield Few-Shot Semantic Parserscited by 162
- 2022COLD Decoding: Energy-based Constrained Text Generation with Langevin Dynamicscited by 159
- 2021NeuroLogic A*esque Decoding: Constrained Text Generation with Lookahead Heuristicscited by 153
- 2024From Decoding to Meta-Generation: Inference-time Algorithms for Large Language Modelscited by 136
- 2021Recent Advances in Deep Learning Based Dialogue Systems: A Systematic Surveycited by 130
- 2023Amortizing intractable inference in large language modelscited by 94
- 2023Controlled Text Generation with Natural Language Instructionscited by 87
- 2023Dictionary-based Phrase-level Prompting of Large Language Models for Machine Translationcited by 74
- 2022NaturalProver: Grounded Mathematical Proof Generation with Language Modelscited by 72
12 most cited of 201 All 201 (JSON)
- 2026Making Grid Beam Search Less Greedy30 Sep 2026
- 2026SalamandraTA at WMT 2026 Terminology Shared Task: Hard Examples Are Better Teachers9 Sep 2026
- 2026Improving Term Evaluation in Machine Translation: Variation Matters8 Sep 2026
- 2026BlueprintAgent: Constraint-Triggered Targeted Revisits for Simulation-Ready Generation from Scanned Structural Blueprints7 Sep 2026
- 2026WIDE: Wildcard Inference with Dynamic Expansion for Cross-Modal Generative Retrieval3 Sep 2026
- 2026Confident but Wrong: A Constrained Decoding Diagnostic for Low-Resource Automatic Post-Editing30 Aug 2026
- 2026Do Language Models Know Their Own Constraints?26 Aug 2026
- 2026Auditable Release Control for Pedagogical Leakage in LLM Tutors1 Aug 2026
- 2026IFHierBench: Hierarchical Instruction Following for Large Language Models30 Jul 2026
- 2026Closed-Loop Validation-Repair for Healthcare Interoperability: A Multi-Model Study of Schema Compliance in Clinical LLMs27 Jul 2026
- 2026StageGuard: Physiologically Constrained Sleep Staging25 Jul 2026
- 2026Constrained CTC Decoding for Efficient Diacritic Restoration21 Jul 2026
12 newest of 201 All 201 (JSON)