arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.12299cs.CLcs.AI
收藏

Instruct-SCTG:通过指令引导序列式受控文本生成

Instruct-SCTG: Guiding Sequential Controlled Text Generation through Instructions

University of Cambridge(剑桥大学);Monash University(莫纳什大学)

Yinhong Liu, Yixuan Su, Ehsan Shareghi, Nigel Collier

AI总结:

针对大语言模型生成文本难维持类人语篇结构的问题,提出序列式框架Instruct-SCTG,通过自然语言指令逐节生成结构连贯的文本,还提出语篇差异模糊衡量指标,在多数据集上实现最优性能。

摘要:

经过指令微调的大语言模型在各类任务中对齐生成文本与用户意图方面已展现出卓越性能。然而,在生成文本中维持类人语篇结构仍是一个具有挑战性的研究问题。本文提出Instruct-SCTG,这是一个灵活且有效的序列式框架,利用经过指令微调的语言模型,在微调与零样本设置下均可生成结构连贯的文本。该框架以逐节方式生成文章,通过自然语言指令使其与期望的人类文本结构对齐。此外,我们提出了一种新的自动指标,以模糊方式衡量语篇差异。在新闻和食谱这两个代表性领域的三个数据集上开展的大量实验表明,我们的框架在文本生成过程中施加语篇结构方面实现了当前最优性能,这一点得到了自动评估与人工评估的双重验证。我们的代码将发布于Github。

英文摘要:

Instruction-tuned large language models have shown remarkable performance in aligning generated text with user intentions across various tasks. However, maintaining human-like discourse structure in the generated text remains a challenging research question. In this paper, we propose Instruct-SCTG, a flexible and effective sequential framework that harnesses instruction-tuned language models to generate structurally coherent text in both fine-tuned and zero-shot setups. Our framework generates articles in a section-by-section manner, aligned with the desired human structure using natural language instructions. Furthermore, we introduce a new automatic metric that measures discourse divergence in a fuzzy manner. Extensive experiments on three datasets from representative domains of news and recipes demonstrate the state-of-the-art performance of our framework in imposing discourse structure during text generation, as verified by both automatic and human evaluation. Our code will be available on Github.

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

↑