基于梯度的马尔可夫链蒙特卡洛文本生成原则性方法
Principled Gradient-based Markov Chain Monte Carlo for Text Generation
AI总结:
本文针对基于梯度的MCMC文本生成采样不准确问题,提出多种忠实采样算法,确保极限分布为目标文本分布,实验证明其能生成更流畅且更好遵循控制目标的文本。
摘要:
近期论文展示了通过改编基于梯度的采样算法(一种承诺快速收敛的MCMC算法范式)实现基于能量的文本生成的可能性。然而,正如本文所示,先前在文本生成中采用此方法的尝试均未能从目标语言模型分布中正确采样。为解决此局限性,我们考虑了设计忠实文本采样器的问题,即其极限分布为目标文本分布。我们提出了几种忠实的基于梯度的采样算法,以正确地从目标基于能量的文本分布中采样,并研究其理论性质。通过在多种形式的文本生成实验,我们证明了忠实采样器能够生成更流畅的文本,同时更好地遵循控制目标。
英文摘要:
Recent papers have demonstrated the possibility of energy-based text generation by adapting gradient-based sampling algorithms, a paradigm of MCMC algorithms that promises fast convergence. However, as we show in this paper, previous attempts on this approach to text generation all fail to sample correctly from the target language model distributions. To address this limitation, we consider the problem of designing text samplers that are faithful, meaning that they have the target text distribution as its limiting distribution. We propose several faithful gradient-based sampling algorithms to sample from the target energy-based text distribution correctly, and study their theoretical properties. Through experiments on various forms of text generation, we demonstrate that faithful samplers are able to generate more fluent text while adhering to the control objectives better.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。