当你交叉束搜索和原子核取样时,你会得到什么?
What Do You Get When You Cross Beam Search with Nucleus Sampling?
摘要:
我们结合束搜索和核采样的概率修剪技术,创建了两个确定性核搜索算法用于自然语言生成。第一个算法,p-精确搜索,局部修剪下一个令牌分布,并在剩余的空间上执行精确搜索。第二种算法,动态束搜索,根据候选者概率分布的熵来收缩和扩展束大小。尽管核搜索背后的概率直觉,机器翻译和摘要基准测试的实验表明,这两种算法达到了标准束搜索相同的性能水平。
英文摘要:
We combine beam search with the probabilistic pruning technique of nucleus sampling to create two deterministic nucleus search algorithms for natural language generation. The first algorithm, p-exact search, locally prunes the next-token distribution and performs an exact search over the remaining space. The second algorithm, dynamic beam search, shrinks and expands the beam size according to the entropy of the candidate's probability distribution. Despite the probabilistic intuition behind nucleus search, experiments on machine translation and summarization benchmarks show that both algorithms reach the same performance levels as standard beam search.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。