It is known that the Bayes-optimal solution of AUC maximization is any function that has a strictly monotonic relationship with p(y = 1|x) (Menon and Williamson, 2016).
finding an appropriate threshold with an AUC maximizer can give an effective classifier (Narasimhan and Agarwal, 2013).