Successive Halving Top-k Operator
2020-10-08Code Available1· sign in to hype
Michał Pietruszka, Łukasz Borchmann, Filip Graliński
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/applicaai/successive-halving-topkOfficialpytorch★ 16
Abstract
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.