Algorithm 1: FIS using top-k strategy. |
Input: Dictionary of orders: . Output: Hard vector of gated unit: . Randomly initialize weights of features; Compute Gumbel-softmax of ; Get order of unit u from ; indexes of the top-k probabilities in ; Generate multi-hot vector based on . |