Recent researches indicate that pairwise learning to rank methods could achieve high performance in dealing with data sparsity and long tail distribution in item recommendation, although suffering from problems such as high computational complexity and insufficient samples, which may cause low convergence and inaccuracy. To further improve the performance in computational capability and recommendation accuracy, in this article, a novel deep neural network based recommender architecture referred to as PDLR is proposed, in which the item corpus will be partitioned into two collections of positive instances and negative items respectively, and pairwise comparison will be performed between the positive instances and negative samples to learn the preference degree for each user. With the powerful capability of neural network, PDLR could capture rich interactions between each user and items as well as the intricate relations between items. As a result, PDLR could minimize the ranking loss, and achieve significant improvement in ranking accuracy. In practice, experimental results over four real world datasets also demonstrate the superiority of PDLR in contrast to state-of-the-art recommender approaches, in terms of Rec@N, Prec@N, AUC and NDCG@N.