用轻量辅助模块提升文本生成质量与可控性
PAGE: Prompt Augmentation for text Generation Enhancement
- 通过分类器等轻量模块增强输入,改进生成效果
- 在需求工程任务中显著提升软件需求生成质量
- 无需生成类辅助模型,适配性强易部署
近年来,自然语言生成模型在文本生成任务中表现优异。然而,在面对特定任务或要求时,可能表现不佳,或需大量额外数据进行调整。本文提出PAGE(Prompt Augmentation for text Generation Enhancement)框架,通过引入简单的辅助模块(如分类器或提取器)来增强生成模型的输入。这些轻量模块对输入文本进行推理,其输出被用于构建更丰富的输入表示,从而提升生成质量与可控性。与现有方法不同,PAGE不依赖辅助生成模型,而是采用更简单、模块化的架构,易于适配多种任务。本文展示了在需求工程领域的概念验证:使用分类器辅助模块显著提升了软件需求生成的质量。
原文摘要 · Abstract (English)
In recent years, natural language generative models have shown outstanding performance in text generation tasks. However, when facing specific tasks or particular requirements, they may exhibit poor performance or require adjustments that demand large amounts of additional data. This work introduces PAGE (Prompt Augmentation for text Generation Enhancement), a framework designed to assist these models through the use of simple auxiliary modules. These modules, lightweight models such as classifiers or extractors, provide inferences from the input text. The output of these auxiliaries is then used to construct an enriched input that improves the quality and controllability of the generation. Unlike other generation-assistance approaches, PAGE does not require auxiliary generative models; instead, it proposes a simpler, modular architecture that is easy to adapt to different tasks. This paper presents the proposal, its components and architecture, and reports a proof of concept in the domain of requirements engineering, where an auxiliary module with a classifier is used to improve the quality of software requirements generation.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。