[2303.18118] A two-head loss function for deep Average-K classification