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

行列式波束搜索

Determinantal Beam Search

ETH Zürich(苏黎世联邦理工学院);University of Cambridge(剑桥大学)

Clara Meister, Martina Forster, Ryan Cotterell

AI总结:

针对波束搜索生成集合高度重叠的问题,提出行列式波束搜索,通过子行列式最大化实现多样化子集选择,并利用字符串子序列核提升 n-gram 覆盖率,在语言生成中表现优异。

摘要:

波束搜索是解码神经序列模型的首选策略。该算法自然可以被视为一个子集优化问题,尽管相应的集合函数并未反映候选之间的相互作用。经验上,这导致生成的集合往往高度重叠,例如,字符串可能仅因一个单词而不同。然而,在需要多个解决方案的使用场景中,通常期望得到多样化或具有代表性的集合。为了解决这个问题,我们提出了波束搜索的一种重新表述,称为行列式波束搜索。行列式波束搜索与行列式点过程(DPPs)有天然的联系,后者是固有地编码集合内相互作用的集合模型。通过将波束搜索中的迭代视为一系列子行列式最大化问题,我们可以将该算法转化为一个多样化的子集选择过程。在案例研究中,我们使用字符串子序列核来显式鼓励序列模型生成的文本中的 n-gram 覆盖率。我们观察到,在语言生成的背景下,我们的算法与其他多样化集合生成策略相比具有竞争力的性能,同时提供了一种更通用的优化多样性的方法。

英文摘要:

Beam search is a go-to strategy for decoding neural sequence models. The algorithm can naturally be viewed as a subset optimization problem, albeit one where the corresponding set function does not reflect interactions between candidates. Empirically, this leads to sets often exhibiting high overlap, e.g., strings may differ by only a single word. Yet in use-cases that call for multiple solutions, a diverse or representative set is often desired. To address this issue, we propose a reformulation of beam search, which we call determinantal beam search. Determinantal beam search has a natural relationship to determinantal point processes (DPPs), models over sets that inherently encode intra-set interactions. By posing iterations in beam search as a series of subdeterminant maximization problems, we can turn the algorithm into a diverse subset selection process. In a case study, we use the string subsequence kernel to explicitly encourage n-gram coverage in text generated from a sequence model. We observe that our algorithm offers competitive performance against other diverse set generation strategies in the context of language generation, while providing a more general approach to optimizing for diversity.

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

↑