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

逐次减半Top-k算子

Successive Halving Top-k Operator

Jagiellonian University(雅盖隆大学);Poznan University of Technology(波兹南理工大学);Adam Mickiewicz University(亚当·密茨凯维奇大学)

Michał Pietruszka, Łukasz Borchmann, Filip Graliński

摘要:

我们提出了一种可微的连续减半方法,放松top-k算子,使基于梯度的优化成为可能。通过使用锦标赛风格的选择,避免了对整个分数向量迭代执行softmax的需要。因此,与先前的方法相比,以较低的计算成本实现了对top-k的更好的近似。

英文摘要:

We propose a differentiable successive halving method of relaxing the top-k operator, rendering gradient-based optimization possible. The need to perform softmax iteratively on the entire vector of scores is avoided by using a tournament-style selection. As a result, a much better approximation of top-k with lower computational cost is achieved compared to the previous approach.

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

↑