A General Pairwise Comparison Model for Extremely Sparse Networks