Toward Unified Controllable Text Generation via Regular Expression Instruction
Not on the map. Why?
Abstract (arXiv)
Controllable text generation is a fundamental aspect of natural language generation, with numerous methods proposed for different constraint types. However, these approaches often require significant architectural or decoding modifications, making them challenging to apply to additional constraints or resolve different constraint combinations. To address this, our paper introduces Regular Expression Instruction (REI), which utilizes an instruction-based mechanism to fully exploit regular expressions' advantages to uniformly model diverse constraints. Specifically, our REI supports all popular fine-grained controllable generation constraints, i.e., lexical, positional, and length, as well as their complex combinations, via regular expression-style instructions. Our method only requires fine-tuning on medium-scale language models or few-shot, in-context learning on large language models, and requires no further adjustment when applied to various constraint combinations. Experiments demonstrate that our straightforward approach yields high success rates and adaptability to various constraints while maintaining competitiveness in automatic metrics and outperforming most previous baselines.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 52 of its 69 references that are in the map. First posted on arXiv 19 Sep 2023.
Builds on
52 of 69 references.
References · 52
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
- 2020Learning to summarize from human feedbackcited by 2,562
- 2014CIDEr: Consensus-based Image Description Evaluationcited by 2,027
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
38 more
- 2022Diffusion-LM Improves Controllable Text Generationcited by 1,006
- 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 851
- 2016SPICE: Semantic Propositional Image Caption Evaluationcited by 820
- 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 754
- 2016A Corpus and Evaluation Framework for Deeper Understanding of Commonsense Storiescited by 413
- 2020GeDi: Generative Discriminator Guided Sequence Generationcited by 377
- 2021FUDGE: Controlled Text Generation With Future Discriminatorscited by 374
- 2019Abductive Commonsense Reasoningcited by 300
- 2022UL2: Unifying Language Learning Paradigmscited by 292
- 2017The E2E Dataset: New Challenges For End-to-End Generationcited by 252
- 2022COLD Decoding: Energy-based Constrained Text Generation with Langevin Dynamicscited by 159
- 2021NeuroLogic A*esque Decoding: Constrained Text Generation with Lookahead Heuristicscited by 153
- 2020NeuroLogic Decoding: (Un)supervised Neural Text Generation with Predicate Logic Constraintscited by 146
- 2022A Survey of Controllable Text Generation using Transformer-based Pre-trained Language Modelscited by 128
- 2022Text and Patterns: For Effective Chain of Thought, It Takes Two to Tangocited by 128
- 2017Controllable Abstractive Summarizationcited by 110
- 2016Guided Open Vocabulary Image Captioning with Constrained Beam Searchcited by 105
- 2020CTRLsum: Towards Generic Controllable Text Summarizationcited by 98
- 2023Controlled Text Generation with Natural Language Instructionscited by 87
- 2016Controlling Output Length in Neural Encoder-Decoderscited by 75
- 2019Training Neural Machine Translation To Apply Terminology Constraintscited by 73
- 2020Back to the Future: Unsupervised Backprop-based Decoding for Counterfactual and Abductive Commonsense Reasoningcited by 65
- 2020Exploring Controllable Text Generation Techniquescited by 55
- 2021Plan-then-Generate: Controlled Data-to-Text Generation via Planningcited by 52
- 2018Content preserving text generation with attribute controlscited by 47
- 2020CoCon: A Self-Supervised Approach for Controlled Text Generationcited by 47
- 2020Lexically Constrained Neural Machine Translation with Levenshtein Transformercited by 45
- 2020Blank Language Modelscited by 43
- 2022Controllable Text Generation with Neurally-Decomposed Oraclecited by 41
- 2020TED: A Pretrained Unsupervised Summarization Model with Theme Modeling and Denoisingcited by 30
- 2022LINGUIST: Language Model Instruction Tuning to Generate Annotated Utterances for Intent Classification and Slot Taggingcited by 29
- 2019SEQ^3: Differentiable Sequence-to-Sequence-to-Sequence Autoencoder for Unsupervised Abstractive Sentence Compressioncited by 27
- 2020SongNet: Rigid Formats Controlled Text Generationcited by 25
- 2020EDITOR: an Edit-Based Transformer with Repositioning for Neural Machine Translation with Soft Lexical Constraintscited by 24
- 2021Parallel Refinements for Lexically Constrained Text Generation with BARTcited by 24
- 2021Controllable Summarization with Constrained Markov Decision Processcited by 17
- 2022MACSum: Controllable Summarization with Mixed Attributescited by 13
- 2021Encouraging Neural Machine Translation to Satisfy Terminology Constraintscited by 10
50 most cited of 52 All 52 (JSON)
Built on by
Citing papers per year: 2023: 1; 2024: 2; 2025: 3; 2026: 1.
7 papers.
- 2024Metasql: A Generate-then-Rank Framework for Natural Language to SQL Translationcited by 17
- 2023KITAB: Evaluating LLMs on Constraint Satisfaction for Information Retrievalcited by 10
- 2024Generalists vs. Specialists: Evaluating LLMs on Highly-Constrained Biophysical Sequence Optimization Taskscited by 8
- 2025GAPO: Learning Preferential Prompt through Generative Adversarial Policy Optimizationcited by 4
- 2025PG-CE: A Progressive Generation Dataset with Constraint Enhancement for Controllable Text Generationcited by 0
- 2025Cognitive-Level Adaptive Generation via Capability-Aware Retrieval and Style Adaptationcited by 0
- 2026Beyond Tokens: A Survey on Decoding Methods for Large Language and Vision-Language Modelscited by 0
- 2026Beyond Tokens: A Survey on Decoding Methods for Large Language and Vision-Language Models14 Aug 2026
- 2025PG-CE: A Progressive Generation Dataset with Constraint Enhancement for Controllable Text Generation22 Sep 2025
- 2025Cognitive-Level Adaptive Generation via Capability-Aware Retrieval and Style Adaptation15 Sep 2025
- 2025GAPO: Learning Preferential Prompt through Generative Adversarial Policy Optimization26 Mar 2025
- 2024Generalists vs. Specialists: Evaluating LLMs on Highly-Constrained Biophysical Sequence Optimization Tasks29 Oct 2024
- 2024Metasql: A Generate-then-Rank Framework for Natural Language to SQL Translation27 Feb 2024
- 2023KITAB: Evaluating LLMs on Constraint Satisfaction for Information Retrieval24 Oct 2023