{'fraction_non_alphanumeric': 0.014814814814814815, 'fraction_numerical': 0.0, 'mean_word_length': 5.558252427184466, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
SeBPR: Semantics Enhanced Bayesian Personalized Ranking with Comparable Item Pairs

Learning user preferences from their implicit feedbacks is crucial to enable recommendations in various online applications. The Bayesian personalized ranking (BPR) with pairwise preference learning has been reported as one of the most promising algorithms for this problem. It follows a fundamental assumption that a user prefers interacted items to the unobserved items, which feedbacks have not happened. Then in the item pair generation, it either uniformly samples negative samples from unobserved items or incorporate some heuristics for an observed item. This paradigm would obtain noisy item pairs thus lead to a biased solution and a prolonged training period. In this paper, we attempt to enhance BPR with semantics. We first introduce semantically comparable item pairs and elaborate why we should adopt them into pairwise learning. We then present what semantics can be utilized and how can they be modeled. Furthermore, we propose a new method named Semantics enhanced Bayesian Personalized Ranking (SeBPR) to incorporate semantically comparable item pairs into the BPR learning framework. Finally, experimental results demonstrate that the proposed methods could reduce the noisy relationships for learning and thus improve the recommendation accuracy.