Weighted Approximate-Rank Pairwise loss