A Comprehensive Evaluation of Constrained Text Generation for Large Language Models.

Xiang Chen,Xiaojun Wan
DOI: https://doi.org/10.48550/arxiv.2310.16343
2023-01-01
Abstract: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 textgeneration for LLMs, where predefined constraints are applied during LLM'sgeneration process. Our research mainly focuses on mainstream open-source LLMs,categorizing constraints into lexical, structural, and relation-based types. Wealso present various benchmarks to facilitate fair evaluation. The studyaddresses some key research questions, including evaluating, understanding andimproving constrained text generation for LLMs. Results illuminate LLMs'capacity and deficiency to incorporate constraints and provide insights forfuture developments in constrained text generation. Codes and datasets will bereleased upon acceptance.
What problem does this paper attempt to address?