SOTAVerified

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.

Reproduce

Code

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.

Reproductions