COLLIE:约束文本生成任务的系统化构建
COLLIE: Systematic Construction of Constrained Text Generation Tasks
AI总结:
提出基于语法的可扩展轻量框架 COLLIE,用于构建多粒度、可组合的约束文本生成任务,并自动生成 COLLIE-v1 数据集评估五个指令微调模型。
摘要:
约束条件下的文本生成在自然语言处理领域受到越来越多的关注,尤其是随着大型语言模型能力的快速提升。然而,现有的约束生成基准通常聚焦于固定的约束类型(例如生成包含特定词语的句子),而这些任务已被证明对 GPT-4 等最先进模型而言较为容易。我们提出了 COLLIE,这是一个基于语法的框架,允许指定丰富、可组合的约束,涵盖不同的生成层级(词语、句子、段落、篇章)以及建模挑战(例如语言理解、逻辑推理、计数、语义规划)。我们还开发了相应工具,可在给定约束结构和原始文本语料库的情况下自动提取任务实例。利用 COLLIE,我们构建了包含 2080 个实例的 COLLIE-v1 数据集,这些实例由 13 种约束结构组成。我们在五个最先进的指令微调语言模型上进行了系统实验,并分析其性能以揭示不足之处。COLLIE 被设计为可扩展且轻量级的框架,我们希望社区能够利用它在未来开发更复杂的约束和评估。
英文摘要:
Text generation under constraints have seen increasing interests in natural language processing, especially with the rapidly improving capabilities of large language models. However, existing benchmarks for constrained generation usually focus on fixed constraint types (e.g.,generate a sentence containing certain words) that have proved to be easy for state-of-the-art models like GPT-4. We present COLLIE, a grammar-based framework that allows the specification of rich, compositional constraints with diverse generation levels (word, sentence, paragraph, passage) and modeling challenges (e.g.,language understanding, logical reasoning, counting, semantic planning). We also develop tools for automatic extraction of task instances given a constraint structure and a raw text corpus. Using COLLIE, we compile the COLLIE-v1 dataset with 2080 instances comprising 13 constraint structures. We perform systematic experiments across five state-of-the-art instruction-tuned language models and analyze their performances to reveal shortcomings. COLLIE is designed to be extensible and lightweight, and we hope the community finds it useful to develop more complex constraints and evaluations in the future.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。