mlsanityData to 7 Oct 2026

Evaluating, Understanding, and Improving Constrained Text Generation for Large Language Models

arXiv 2310.16343 ↗First posted 25 Oct 2023cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Advancements in natural language generation (NLG) and large language models (LLMs) have led to proficient text generation in various tasks. However, integrating intricate constraints into neural text generation, due to LLMs' opacity, remains challenging. This study investigates constrained text generation for LLMs, where predefined constraints are applied during LLM's generation process. Our research mainly focuses on mainstream open-source LLMs, categorizing constraints into lexical, structural, and relation-based types. We also present various benchmarks to facilitate fair evaluation. The study addresses some key research questions, including evaluating, understanding and improving constrained text generation for LLMs. Results illuminate LLMs' capacity and deficiency to incorporate constraints and provide insights for future developments in constrained text generation. Codes and datasets will be released upon acceptance.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 32 of its 51 references that are in the map. First posted on arXiv 25 Oct 2023.

Builds on

32 of 51 references.

References · 32

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  5. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  6. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
  7. 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,348
  8. 2014CIDEr: Consensus-based Image Description Evaluationcited by 2,027
  9. 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 858
  10. 2016SPICE: Semantic Propositional Image Caption Evaluationcited by 820
  11. 2019Are Sixteen Heads Really Better than One?cited by 803
  12. 2019What do you learn from context? Probing for sentence structure in contextualized word representationscited by 436
20 more
  1. 2016A Corpus and Evaluation Framework for Deeper Understanding of Commonsense Storiescited by 413
  2. 2023PandaLM: An Automatic Evaluation Benchmark for LLM Instruction Tuning Optimizationcited by 311
  3. 2023Label Words are Anchors: An Information Flow Perspective for Understanding In-Context Learningcited by 235
  4. 2017Lexically Constrained Decoding for Sequence Generation Using Grid Beam Searchcited by 234
  5. 2018Fast Lexically Constrained Decoding with Dynamic Beam Allocation for Neural Machine Translationcited by 181
  6. 2020Probing Pretrained Language Models for Lexical Semanticscited by 156
  7. 2021NeuroLogic A*esque Decoding: Constrained Text Generation with Lookahead Heuristicscited by 153
  8. 2020NeuroLogic Decoding: (Un)supervised Neural Text Generation with Predicate Logic Constraintscited by 146
  9. 2016Guided Open Vocabulary Image Captioning with Constrained Beam Searchcited by 105
  10. 2018CGMH: Constrained Sentence Generation by Metropolis-Hastings Samplingcited by 93
  11. 2019Training Neural Machine Translation To Apply Terminology Constraintscited by 73
  12. 2023Evaluating Large Language Models on Controlled Generation Taskscited by 73
  13. 2023COLLIE: Systematic Construction of Constrained Text Generation Taskscited by 69
  14. 2019Code-Switching for Enhancing NMT with Pre-Specified Translationcited by 53
  15. 2023Benchmarking and Improving Generator-Validator Consistency of Language Modelscited by 43
  16. 2023Bounding the Capabilities of Large Language Models in Open Text Generation with Prompt Constraintscited by 31
  17. 2021Quantifying Adaptability in Pre-trained Language Models with 500 Taskscited by 13
  18. 2021Show Me How To Revise: Improving Lexically Constrained Sentence Generation with XLNetcited by 10
  19. 2021Neural Rule-Execution Tracking Machine For Transformer-Based Text Generationcited by 4
  20. 2021Extract, Denoise and Enforce: Evaluating and Improving Concept Preservation for Text-to-Text Generationcited by 2

Built on by

Not cited yet.