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

ZeroGen:基于多预言机的零样本多模态可控文本生成

ZeroGen: Zero-shot Multimodal Controllable Text Generation with Multiple Oracles

Institute of Information Engineering(信息工程研究所);University of Chinese Academy of Sciences(中国科学院大学)

Haoqin Tu, Bowen Yang, Xianfeng Zhao

AI总结:

提出ZeroGen框架,通过多模态信号实现零样本可控文本生成,无需额外训练即可在多任务上取得显著效果。

摘要:

自动生成具有期望属性的文本内容是人们长期追求的一项艰巨任务。现有工作在将单模态控制融入语言模型(LMs)方面取得了一系列进展,但如何以高效方式生成具有多模态信号的可控句子仍是一个开放问题。为解决这一难题,我们提出一种基于多模态信号的零样本可控文本生成新范式(ZeroGen)。具体而言,ZeroGen 依次利用从词元到句元的文本和图像控制,并在解码时将它们映射到统一的概率空间,,通过加权求和定制 LM 输出而无需额外训练。为实现更好的模态间权衡,我进一步引入一种有效的动态加权机制来调节所有控制权重。此外,我进行大量实验以探究来自不同模态的信号之间在深度或宽度上的关系。在三个下游任务上的令人鼓舞的实证结果表明,ZeroGen 不仅在描述任务上大幅超越同类方法,还在具有更高控制度的多模态新闻生成中显示出巨大潜力。代码将发布在 https://github.com/ImKeTT/ZeroGen。

英文摘要:

Automatically generating textual content with desired attributes is an ambitious task that people have pursued long. Existing works have made a series of progress in incorporating unimodal controls into language models (LMs), whereas how to generate controllable sentences with multimodal signals and high efficiency remains an open question. To tackle the puzzle, we propose a new paradigm of zero-shot controllable text generation with multimodal signals (\textsc{ZeroGen}). Specifically, \textsc{ZeroGen} leverages controls of text and image successively from token-level to sentence-level and maps them into a unified probability space at decoding, which customizes the LM outputs by weighted addition without extra training. To achieve better inter-modal trade-offs, we further introduce an effective dynamic weighting mechanism to regulate all control weights. Moreover, we conduct substantial experiments to probe the relationship of being in-depth or in-width between signals from distinct modalities. Encouraging empirical results on three downstream tasks show that \textsc{ZeroGen} not only outperforms its counterparts on captioning tasks by a large margin but also shows great potential in multimodal news generation with a higher degree of control. Our code will be released at https://github.com/ImKeTT/ZeroGen.

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

↑