Exploring and Exploiting Data Heterogeneity in Recommendation