arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.05717cs.CLcs.LGstat.ML
收藏

面向文本生成的语篇感知软标注

Discourse-Aware Soft Prompting for Text Generation

Facebook AI Research(脸书人工智能研究院)

Marjan Ghazvininejad, Vladimir Karpukhin, Vera Gor, Asli Celikyilmaz

摘要:

当前有效的微调方法(例如,适配器、前缀调优等)通过训练神经语言模型的一小部分额外参数,优化了条件文本生成,同时冻结其余参数以提高效率。虽然在某些生成任务上表现出很强的性能,但它们并不能推广到所有的生成任务。我们表明,软提示为基础的条件文本生成可以改善简单而有效的方法,模拟人类书面文本的话语结构建模。我们研究了两种设计选择:第一,我们应用\textit{hierarchical blocking}的前缀参数来模拟人类书面文本的更高层次的话语结构。其次,我们在网络的不同层对前缀参数应用\textit{attention sparsity},并在softmax函数上学习稀疏变换。我们发现,结构化设计的前缀参数产生更多的连贯性,忠实性和相关的代比基线前缀调整的所有生成任务。

英文摘要:

Current efficient fine-tuning methods (e.g., adapters, prefix-tuning, etc.) have optimized conditional text generation via training a small set of extra parameters of the neural language model, while freezing the rest for efficiency. While showing strong performance on some generation tasks, they don't generalize across all generation tasks. We show that soft-prompt based conditional text generation can be improved with simple and efficient methods that simulate modeling the discourse structure of human written text. We investigate two design choices: First, we apply \textit{hierarchical blocking} on the prefix parameters to simulate a higher-level discourse structure of human written text. Second, we apply \textit{attention sparsity} on the prefix parameters at different layers of the network and learn sparse transformations on the softmax-function. We show that structured design of prefix parameters yields more coherent, faithful and relevant generations than the baseline prefix-tuning on all generation tasks.

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

↑