arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.16343cs.CL
收藏

评估、理解与改进大型语言模型的受约束文本生成

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

Wangxuan Institute of Computer Technology, Peking University(北京大学王选计算机研究所);Center for Data Science, Peking University(北京大学数据科学中心);The MOE Key Laboratory of Computational Linguistics, Peking University(北京大学教育部计算语言学重点实验室)

Xiang Chen, Xiaojun Wan

AI总结:

本研究针对大型语言模型受约束文本生成问题,对主流开源模型在词汇、结构和关系约束下的生成能力进行了评估与改进,并发布相关基准与数据集以促进未来研究。

摘要:

自然语言生成(NLG)和大型语言模型(LLMs)的进步使得各种任务的文本生成变得 proficient。然而,由于 LLMs 的不透明性,将复杂约束集成到神经文本生成中仍然具有挑战性。本研究调查了 LLMs 的受约束文本生成,其中预定义的约束被应用于 LLM 的生成过程。我们的研究主要关注主流开源 LLMs,将约束分为词汇、结构和基于关系的类型。我们还提出了各种基准以促进公平评估。该研究解决了包括评估、理解和改进 LLMs 受约束文本生成的一些关键研究问题。结果阐明了 LLMs 整合约束的能力和不足,并为未来受约束文本生成的发展提供了见解。代码和数据集将在接受后发布。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑