2017 ScalableDemandAwareRecommendati

From GM-RKB
Jump to navigation Jump to search

Subject Headings: Durable Good, Non-Durable Good]].

Notes

Cited By

Quotes

Abstract

Recommendation for e-commerce with a mix of durable and nondurable goods has characteristics that distinguish it from the well-studied media recommendation problem. The demand for items is a combined effect of form utility and time utility, i.e., a product must both be intrinsically appealing to a consumer and the time must be right for purchase. In particular for durable goods, time utility is a function of inter-purchase duration within product category because consumers are unlikely to purchase two items in the same category in close temporal succession. Moreover, purchase data, in contrast to ratings data, is implicit with non-purchases not necessarily indicating dislike. Together, these issues give rise to the positive-unlabeled demand-aware recommendation problem that we pose via joint low-rank tensor completion and product category inter-purchase duration vector estimation. We further relax this problem and propose a highly scalable alternating minimization approach with which we can solve problems with millions of users and millions of items in a single thread. We also show superior prediction accuracies on multiple real-world data sets.

1 Introduction

E-commerce recommender systems aim to present items with high utility to the consumers (Lee & Hosanagar, 2014). Utility may be decomposed into form utility: the item is desired as it is manifested, and time utility: the item is desired at the given point in time [28 ]; recommender systems should take both types of utility into account. Economists define items to be either durable goods or nondurable goods based on how long they are intended to last before being replaced [27 ]. A key characteristic of durable goods is the long duration of time between successive purchases within item categories whereas this duration for nondurable goods is much shorter, or even negligible. Thus, durable and nondurable goods have differing time utility characteristics which lead to differing demand characteristics. Although we have witnessed great success of collaborative filtering in media recommendation, we should be careful when expanding its application to general e-commerce recommendation involving both durable and nondurable goods due to the following reasons:

1. Since media such as movies and music are nondurable goods, most users are quite receptive to buying or renting them in rapid succession. However, users only purchase durable goods when the time is right. For instance, most users will not buy televisions the day after they have already bought one. Therefore, recommending an item for which a user has no immediate demand can hurt user experience and waste an opportunity to drive sales.
2. A key assumption made by matrix factorization- and completion-based collaborative filtering algorithms is that the underlying rating matrix is of low-rank since only a few factors typically contribute to an individual’s form utility [5 ]. However, a user’s demand is not only driven by form utility, but is the combined effect of both form utility and time utility. Hence, even if the underlying form utility matrix is of low-rank, the overall purchase intention matrix is likely to be of high-rank, [1] and thus cannot be directly recovered by existing approaches.

An additional challenge faced by many real-world recommender systems is the one-sided sampling of implicit feedback [15, 23 ]. Unlike the Netflix-like setting that provides both positive and negative feedback (high and low ratings), no negative feedback is available in many e-commerce systems. For example, a user might not purchase an item because she does not derive utility from it, or just because she was simply unaware of it or plans to buy it in the future. In this sense, the labeled training data only draws from the positive class, and the unlabeled data is a mixture of positive and negative samples, a problem usually referred to as positive-unlabeled (PU) learning (Hsie et al., 2015.

To address these issues, we study the problem of demand-aware recommendation. Given purchase triplets (user, item, time) and item categories, the objective is to make recommendations based on users’ overall predicted combination of form utility and time utility.

We denote purchase]]s by the sparse binary tensor [math]\displaystyle{ \mathcal{P} }[/math]. To model implicit feedback, we assume that [math]\displaystyle{ \mathcal{P} }[/math] is obtained by thresholding an underlying real-valued utility tensor to a binary tensor Y and then revealing a subset of Y’s positive entries. The key to demand-aware recommendation is defining an appropriate utility measure for all (user, item, time) triplets. To this end, we quantify purchase intention as a combined effect of form utility and time utility. Specifically, we model a user’s time utility for an item by comparing the time t since her most recent purchase within the item’s category and the item category’s underlying inter-purchase duration d; the larger the value of d 􀀀 t, the less likely she needs this item. In contrast, d � t may indicate that the item needs to be replaced, and she may be open to related recommendations. Therefore, the function h = max (0; d 􀀀 t) may be employed to measure the time utility factor for a (user, item) pair. Then the purchase intention for a (user, item, time) triplet is given by x 􀀀 h, where x denotes the user’s form utility. This observation allows us to cast demand-aware recommendation as the problem of learning users’ form utility tensor X and items’ inter-purchase durations vector d given the [[binary tensor P.

Although the learning problem can be naturally formulated as a tensor nuclear norm minimization problem, the high computational cost significantly limits its application to large-scale recommendation problems. To address this limitation, we first relax the problem to a matrix optimization problem with a label-dependent loss. We note that the problem after relaxation is still non-trivial to solve since it is a highly non-smooth problem with nested hinge losses. More severely, the optimization problem involves [math]\displaystyle{ mnl }[/math] entries, where [math]\displaystyle{ m }[/math], [math]\displaystyle{ n }[/math], and [math]\displaystyle{ l }[/math] are the number of users, items, and time slots, respectively. Thus a naive optimization algorithm will take at least [math]\displaystyle{ \bf{O}(mnl) }[/math] time, and is intractable for largescale recommendation problems. To overcome this limitation, we develop an efficient alternating minimization algorithm and show that its time complexity is only approximately proportional to the number of nonzero elements in the purchase records tensor P. Since P is usually very sparse, our algorithm is extremely efficient and can solve problems with millions of users and items.

Compared to existing recommender systems, our work has the following contributions and advantages: (i) to the best of our knowledge, this is the first work that makes demand-aware recommendation by considering inter-purchase durations for durable and nondurable goods; (ii) the proposed algorithm is able to simultaneously infer items’ inter-purchase durations and users’ real-time purchase intentions, which can help e-retailers make more informed decisions on inventory planning and marketing strategy; (iii) by effectively exploiting sparsity, the proposed algorithm is extremely efficient and able to handle large-scale recommendation problems.

2 Related Work

Our contributions herein relate to three different areas of prior work: consumer modeling from a microeconomics and marketing perspective [6], time-aware recommender systems [4, 29, 8, 19], and PU learning [20, 9, 13, 14, 23, 2]. The extensive consumer modeling literature is concerned with descriptive and analytical models of choice rather than prediction or recommendation, but nonetheless forms the basis for our modeling approach. A variety of time-aware recommender systems have been proposed to exploit time information, but none of them explicitly consider the notion of time utility derived from inter-purchase durations in item categories. Much of the PU learning literature is focused on the binary classification problem, e.g. [20, 9], whereas we are in the collaborative filtering setting. For the papers that do examine collaborative filtering with PU learning or learning with implicit feedback [14, 23, 2, 32], they mainly focus on media recommendation and overlook users’ demands, thus are not suitable for durable goods recommendation.

Temporal aspects of the recommendation problem have been examined in a few ways: as part of the cold-start problem [3], to capture dynamics in interests or ratings over time [17], and as part of the context in context-aware recommenders [1]. However, the problem we address in this paper is different from all of those aspects, and in fact could be combined with the other aspects in future solutions. To the best of our knowledge, there is no existing work that tries to take inter-purchase durations into account to better time recommendations as we do herein.

3 Positive-Unlabeled Demand-Aware Recommendation

Throughout the paper, we use boldface Euler script letters, boldface capital letters, and boldface lower-case letters to denote tensors (e.g., A), matrices (e.g., A) and vectors (e.g., a), respectively. Scalars such as entries of tensors, matrices, and vectors are denoted by lowercase letters, e.g., a. In particular, the (i; j; k) entry of a third-order tensor A is denoted by aijk.

Given a set of m users, n items, and l time slots, we construct a third-order binary tensor P 2 f0; 1gm�n�l to represent the purchase history. Specifically, entry pijk = 1 indicates that user i has purchased item j in time slot k. We denote kPk0 as the number of nonzero entries in tensor P. Since P is usually very sparse, we have kPk0 � mnl. Also, we assume that the n items belong to r item categories, with items in each category sharing similar inter-purchase durations.3 We use an n-dimensional vector c 2 f1; 2; : : : ; rgn to represent the category membership of each item. Given P and c, we further generate a tensor T 2 Rm�r�l where ticjk denotes the number of time slots between user i’s most recent purchase within item category cj until time k. If user i has not purchased within item category cj until time k, ticjk is set to +1.

3.1 Inferring Purchase Intentions from Users’ Purchase Histories

In this work, we formulate users’ utility as a combined effect of form utility and time utility. To this end, we use an underlying third-order tensor X 2 Rm�n�l to quantify form utility. In addition, we employ a non-negative vector d 2 Rr + to measure the underlying inter-purchase duration times of the r item categories. It is understood that the inter-purchase durations for durable good categories are large, while for nondurable good categories are small, or even zero. In this study, we focus on items’ inherent properties and assume that the inter-purchase durations are user-independent. The problem of learning personalized durations will be studied in our future work. As discussed above, the demand is mediated by the time elapsed since the last purchase of an item in the same category. Let dcj be the inter-purchase duration time of item j’s category cj , and let ticjk be the time gap of user i’s most recent purchase within item category cj until time k. Then if dcj > ticjk, a previously purchased item in category cj continues to be useful, and thus user i’s utility from item j is weak. Intuitively, the greater the value dcj 􀀀ticjk, the weaker the utility. On the other hand, dcj < ticjk indicates that the item is nearing the end of its lifetime and the user may be open to recommendations in category cj . We use a hinge loss max(0; dcj 􀀀ticjk) to model such time utility. The overall utility can be obtained by comparing form utility and time utility. In more detail, we model a binary utility indicator tensor Y 2 f0; 1gm�n�l as being generated by the following thresholding process: yijk = 1[xijk 􀀀 max(0; dcj 􀀀 ticjk) > � ]; (1) where 1(�) : R ! f0; 1g is the indicator function, and � > 0 is a predefined threshold. 3To meet this requirement, the granularity of categories should be properly selected. For instance, the category ‘Smart TV’ is a better choice than the category ‘Electrical Equipment’, since the latter category covers a broad range of goods with different durations.

Note that the positive entries of Y denote high purchase intentions, while the positive entries of P denote actual purchases. Generally speaking, a purchase only happens when the utility is high, but a high utility does not necessarily lead to a purchase. This observation allows us to link the binary tensors P and Y: P is generated by a one-sided sampling process that only reveals a subset of Y’s positive entries. Given this observation, we follow [13] and include a label-dependent loss [26] trading the relative cost of positive and unlabeled samples: L(X;P)= � X ijk: pijk=1 max[1 􀀀 (xijk 􀀀 max(0; dcj 􀀀 ticjk)); 0]2 + (1 􀀀 �) X ijk: pijk=0 l(xijk; 0); where l(x; c) = (x 􀀀 c)2 denotes the squared loss. In addition, the form utility tensor X should be of low-rank to capture temporal dynamics of users’ interests, which are generally believed to be dictated by a small number of latent factors [22]. By combining asymmetric sampling and the low-rank property together, we jointly recover the tensor X and the inter-purchase duration vector d by solving the following tensor nuclear norm minimization (TNNM) problem: min X2Rm�n�l; d2Rr + � X ijk: pijk=1 max[1 􀀀 (xijk 􀀀 max(0; dcj 􀀀 ticjk)); 0]2 + (1 􀀀 �) X ijk: pijk=0 x2 ijk + � kXk�; (2) where kXk� denotes the tensor nuclear norm, a convex combination of nuclear norms ofX’s unfolded matrices [21]. Given the learned ^X and ^ d, the underlying binary tensor Y can be recovered by (1). We note that although the TNNM problem (2) can be solved by optimization techniques such as block coordinate descent [21] and ADMM [10], they suffer from high computational cost since they need to be solved iteratively with multiple SVDs at each iteration. An alternative way to solve the problem is tensor factorization [16]. However, this also involves iterative singular vector estimation and thus not scalable enough. As a typical example, recovering a rank 20 tensor of size 500�500�500 takes the state-of-the-art tensor factorization algorithm TenALS 4 more than 20; 000 seconds on an Intel Xeon 2:40 GHz processor with 32 GB main memory.

3.2 A Scalable Relaxation

In this subsection, we discuss how to significantly improve the scalability of the proposed demandaware recommendation model. To this end, we assume that an individual’s form utility does not change over time, an assumption widely-used in many collaborative filtering methods [25, 32]. Under this assumption, the tensor X is a repeated copy of its frontal slice x::1, i.e., X = x::1 � e; (3) where e is an l-dimensional all-one vector and the symbol � represents the outer product operation. In this way, we can relax the problem of learning a third-order tensor X to the problem of learning its frontal slice, which is a second-order tensor (matrix). For notational simplicity, we use a matrix X to denote the frontal slice x::1, and use xij to denote the entry (i; j) of the matrix X. Since X is a low-rank tensor, its frontal slice X should be of low-rank as well. Hence, the minimization problem (2) simplifies to: min X2Rm�n d2Rr � X ijk: pijk=1 max[1 􀀀 (xij 􀀀 max(0; dcj 􀀀 ticjk)); 0]2 + (1 􀀀 �) X ijk: pijk=0 x2 ij + � kXk� := f(X; d); (4) where kXk� stands for the matrix nuclear norm, the convex surrogate of the matrix rank function. By relaxing the optimization problem (2) to the problem (4), we recover a matrix instead of a tensor to infer users’ purchase intentions. 4http://web.engr.illinois.edu/~swoh/software/optspace/code.html

4 Optimization

Although the learning problem has been relaxed, optimizing (4) is still very challenging for two main reasons: (i) the objective is highly non-smooth with nested hinge losses, and (ii) it contains mnl terms, and a naive optimization algorithm will take at least O(mnl) time. To address these challenges, we adopt an alternating minimization scheme that iteratively fixes one of d and X and minimizes with respect to the other. Specifically, we propose an extremely efficient optimization algorithm by effectively exploring the sparse structure of the tensor P and low-rank structure of the matrix X. We show that (i) the problem (4) can be solved within O(kPk0(k + log(kPk0)) + (n + m)k2) time, where k is the rank of X, and (ii) the algorithm converges to the critical points of f(X; d). In the following, we provide a sketch of the algorithm. The detailed description can be found in the supplementary material.

4.1 Update d

When X is fixed, the optimization problem with respect to d can be written as: min d X ijk: pijk=1 ( max � 1 􀀀 (xij 􀀀 max(0; dcj 􀀀 ticjk)); 0 �2 )

= g(d) : =

X ijk: pijk=1 gijk(dcj ): (5) Problem (5) is non-trivial to solve since it involves nested hinge losses. Fortunately, by carefully analyzing the value of each term gijk(dcj ), we can show that gijk(dcj ) = � max(1 􀀀 xij ; 0)2; if dcj � ticjk + max(xij 􀀀 1; 0) (1 􀀀 (xij 􀀀 dcj + ticjk))2; if dcj > ticjk + max(xij 􀀀 1; 0): For notational simplicity, we let sijk = ticjk + max(xij 􀀀 1; 0) for all triplets (i; j; k) satisfying pijk = 1. Now we can focus on each category �: for each �, we collect the set Q = f(i; j; k) j pijk = 1 and cj = �g and calculate the corresponding sijks. We then sort sijks such that s(i1j1k1) � � � � � s(ijQjjjQjkjQj). For each interval [s(iqjqkq); s(iq+1jq+1kq+1)], the function is quadratic, thus can be solved in a closed form. Therefore, by scanning the solution regions from left to right according to the sorted s values, and maintaining some intermediate computed variables, we are able to find the optimal solution, as summarized by the following lemma: Lemma 1. The subproblem (5) is convex with respect to d and can be solved exactly in O(kPk0 log(kPk0)), where kPk0 is the number of nonzero elements in tensor P. Therefore, we can efficiently update d since P is a very sparse tensor with only a small number of nonzero elements. 4.2 Update X By defining aijk = � 1 + max(0; dcj 􀀀 ticjk); if pijk = 1 0; otherwise the subproblem with respect to X can be written as min X2Rm�n h(X)+�kXk� where h(X) : = � � X ijk: pijk=1 max(aijk􀀀xij ; 0)2+(1􀀀�) X ijk: pijk=0 x2 ij �

(6) Since there are O(mnl) terms in the objective function, a naive implementation will take at least O(mnl) time, which is computationally infeasible when the data is large. To address this issue, We use proximal gradient descent to solve the problem. At each iteration, X is updated by X S�(X 􀀀 firh(X)); (7) where S�(�) is the soft-thresholding operator for singular values.5 5If X has the singular value decomposition X = U�VT, then S�(X) = U(� 􀀀 �I)+VT where a+ = max(0; a). 5 Table 1: CPU time for solving problem (4) with different number of purchase records m (# users) n (# items) l (# time slots) kPk0 k CPU Time (in seconds) 1,000,000 1,000,000 1,000 11,112,400 10 595 1,000,000 1,000,000 1,000 43,106,100 10 1,791 1,000,000 1,000,000 1,000 166,478,000 10 6,496 In order to efficiently compute the top singular vectors of X 􀀀 firh(X), we rewrite it as X 􀀀 firh(X) = [1 􀀀 2(1 􀀀 �)l] X + 0 @2(1 􀀀 �) X ijk: pijk=1 xij 􀀀 2� X ijk: pijk=1 max(aijk 􀀀 xij ; 0) 1 A: = fa(X) + fb(X): Since fa(X) is of low-rank and fb(X) is sparse, multiplying (X 􀀀 firh(X)) with a skinny m by k matrix can be computed in O(nk2 + mk2 + kPk0k) time. As shown in [12], each iteration of proximal gradient descent for nuclear norm minimization only requires a fixed number of iterations of randomized SVD (or equivalently, power iterations) using the warm start strategy, thus we have the following lemma. Lemma 2. A proximal gradient descent algorithm can be applied to solve problem (6) within O(nk2T + mk2T + kPk0kT) time, where T is the number of iterations. We note that the algorithm is guaranteed to converge to the true solution. This is because when we apply a fixed number of iterations to update X via problem (7), it is equivalent to the “inexact gradient descent update” where each gradient is approximately computed and the approximation error is upper bounded by a constant between zero and one. Intuitively speaking, when the gradient converges to 0, the error will also converge to 0 at an even faster rate. See [12] for the detailed explanations.

4.3 Overall Algorithm

Combining the two subproblems together, the time complexity of each iteration of the proposed algorithm is: O(kPk0 log(kPk0) + nk2T + mk2T + kPk0kT): Remark: Since each user should make at least one purchase and each item should be purchased at least once to be included in P, n and m are smaller than kPk0. Also, since k and T are usually very small, the time complexity to solve problem (4) is dominated by the term kPk0, which is a significant improvement over the naive approach with at least O(mnl) complexity. Since our problem has only two blocks d; X and each subproblem is convex, our optimization algorithm is guaranteed to converge to a stationary point [11]. Indeed, it converges very fast in practice. As a concrete example, our experiment shows that it takes only 9 iterations to optimize a problem with 1 million users, 1 million items, and more than 166 million purchase records.

5 Experiments

5.1 Experiment with Synthesized Data

We first conduct experiments with simulated data to verify that the proposed demand-aware recommendation algorithm is computationally efficient and robust to noise. To this end, we first construct a low-rank matrix X = WHT , whereW 2 Rm�10 and H 2 Rn�10 are random Gaussian matrices with entries drawn from N(1; 0:5), and then normalize X to the range of [0; 1]. We randomly assign all the n items to r categories, with their inter-purchase durations d equaling [10; 20; : : : ; 10r]. We then construct the high purchase intension set

= f(i; j; k) j ticjk � dcj and xij � 0:5g, and

sample a subset of its entries as the observed purchase records. We let n = m and vary them in the range f10; 000; 20; 000; 30; 000; 40; 000g. We also vary r in the range f10; 20; � � � ; 100g. Given the learned durations d�, we use kd 􀀀 d�k2=kdk2 to measure the prediction errors.

(a) Error vs Number of users/items (b) Error vs Number of categories (c) Error vs Noise levels Figure 1: Prediction errors kd 􀀀 d�k2=kdk2 as a function of number of users, items, categories, and noise levels on synthetic data sets

Accuracy Figure 1(a) and 1(b) clearly show that the proposed algorithm can perfectly recover the underlying inter-purchase durations with varied numbers of users, items, and categories. To further evaluate the robustness of the proposed algorithm, we randomly flip some entries in tensor P from 0 to 1 to simulate the rare cases of purchasing two items in the same category in close temporal succession. Figure 1(c) shows that when the ratios of noisy entries are not large, the predicted durations ^d are close enough to the true durations, thus verifying the robustness of the proposed algorithm. Scalability To verify the scalability of the proposed algorithm, we fix the numbers of users and items to be 1 million, the number of time slots to be 1000, and vary the number of purchase records (i.e., kPk0). Table 1 summarizes the running time of solving problem (4) on a computer with 32 GB main memory using a single thread. We observe that the proposed algorithm is extremely efficient, e.g., even with 1 million users, 1 million items, and more than 166 million purchase records, the running time of the proposed algorithm is less than 2 hours.

5.2 Experiment with Real-World Data

In the real-world experiments, we evaluate the proposed demand-aware recommendation algorithm by comparing it with the six state-of the-art recommendation methods: (a) M3F, maximum-margin matrix factorization [24], (b) PMF, probabilistic matrix factorization [25], (c) WR-MF, weighted regularized matrix factorization [14], (d) CP-APR, Candecomp-Parafac alternating Poisson regression [7], (e) Rubik, knowledge-guided tensor factorization and completion method [30], and (f) BPTF, Bayesian probabilistic tensor factorization [31]. Among them, M3F and PMF are widely-used static collaborative filtering algorithms. We include these two algorithms as baselines to justify whether traditional collaborative filtering algorithms are suitable for general e-commerce recommendation involving both durable and nondurable goods. Since they require explicit ratings as inputs, we follow [2] to generate numerical ratings based on the frequencies of (user, item) consumption pairs. WR-MF is essentially the positive-unlabeled version of PMF and has shown to be very effective in modeling implicit feedback data. All the other three baselines, i.e., CP-APR, Rubik, and BPTF, are tensor-based methods that can consider time utility when making recommendations. We refer to the proposed recommendation algorithm as Demand-Aware Recommender for One-Sided Sampling, or DAROSS for short.

Our testbeds are two real-world data sets Tmall6 and Amazon Review7. Since some of the baseline algorithms are not scalable enough, we first conduct experiments on their subsets and then on the full set of Amazon Review. In order to generate the subsets, we randomly sample 80 item categories for Tmall data set and select the users who have purchased at least 3 items within these categories, leading to the purchase records of 377 users and 572 items. For Amazon Review data set, we randomly select 300 users who have provided reviews to at least 5 item categories on Amazon.com. This leads to a total of 5; 111 items belonging to 11 categories. Time information for both data sets is provided in days, and we have 177 and 749 time slots for Tmall and Amazon Review subsets, respectively. The full Amazon Review data set is significantly larger than its subset. After removing duplicate items, it contains more than 72 million product reviews from 19:8 million users and 7:7 million items that

6http://ijcai-15.org/index.php/repeat-buyers-prediction-competition

7http://jmcauley.ucsd.edu/data/amazon/

(a) Category Prediction (b) Purchase Time Prediction
Figure 2: Prediction performance on real-world data sets Tmall and Amazon Review subsets

Table 2: Estimated inter-reviewing durations for Amazon Review subset Categories Instant Apps for Automotive Baby Beauty Digital Grocery Musical Office Patio … Pet Video Android Music … Food Instruments Products Garden Supplies d 0 0 326 0 0 158 0 38 94 271 40

belong to 24 item categories. The collected reviews span a long range of time: from May 1996 to July 2014, which leads to 6; 639 time slots in total. Comparing to its subset, the full set is a much more challenging data set both due to its much larger size and much lower sampling rate, i.e., many reviewers only provided a few reviews, and many items were only reviewed a small number of times. For each user, we randomly sample 90% of her purchase records as the training data, and use the remaining 10% as the test data. For each purchase record (u, i, t) in the test set, we evaluate all the algorithms on two tasks: (i) category prediction, and (ii) purchase time prediction. In the first task, we record the highest ranking of items that are within item i’s category among all items at time t. Since a purchase record (u, i, t) may suggest that in time slot t, user u needed an item that share similar functionalities with item i, category prediction essentially checks whether the recommendation algorithms recognize this need. In the second task, we record the number of slots between the true purchase time t and its nearest predicted purchase time within item i’s category. Ideally, good recommendations should have both small category rankings and small time errors. Thus we adopt the average top percentages, i.e., (average category ranking) / n � 100% and (average time error) / l � 100%, as the evaluation metrics of category and purchase time prediction tasks, respectively. The algorithms M3F, PMF, and WR-MF are excluded from the purchase time prediction task since they are static models that do not consider time information.

Figure 2 displays the predictive performance of the seven recommendation algorithms on Tmall and Amazon Review subsets. As expected, M3F and PMF fail to deliver strong performance since they neither take into account users’ demands, nor consider the positive-unlabeled nature of the data. This is verified by the performance of WR-MF: it significantly outperforms M3F and PMF by considering the PU issue and obtains the second-best item prediction accuracy on both data sets (while being unable to provide a purchase time prediction). By taking into account both issues, our proposed algorithm DAROSS yields the best performance for both data sets and both tasks. Table 2 reports the inter-reviewing durations of Amazon Review subset estimated by our algorithm. Although they may not perfectly reflect the true inter-purchase durations, the estimated durations clearly distinguish between durable good categories, e.g., automotive, musical instruments, and non-durable good categories, e.g., instant video, apps, and food. Indeed, the learned inter-purchase durations can also play an important role in applications more advanced than recommender systems, such as inventory management, operations management, and sales/marketing mechanisms. We do not report the estimated durations of Tmall herein since the item categories are anonymized in the data set.

Finally, we conduct experiments on the full Amazon Review data set. In this study, we replace category prediction with a more strict evaluation metric item prediction [8], which indicates the predicted ranking of item i among all items at time t for each purchase record (u, i, t) in the test set. Since most of our baseline algorithms fail to handle such a large data set, we only obtain the predictive performance of three algorithms: DAROSS, WR-MF, and PMF. Note that for such a large data set, prediction time instead of training time becomes the bottleneck: to evaluate average item rankings, we need to compute the scores of all the 7.7 million items, thus is computationally inefficient. Therefore, we only sample a subset of items for each user and estimate the rankings of her purchased items. Using this evaluation method, the average item ranking percentages for DAROSS, WR-MF and PMF are 16:7%, 27:3%, and 38:4%, respectively. In addition to superior performance, it only takes our algorithm 10 iterations and 1 hour to converge to a good solution. Since WR-MF and PMF are both static models, our algorithm is the only approach evaluated here that considers time utility while being scalable enough to handle the full Amazon Review data set. Note that this data set has more users, items, and time slots but fewer purchase records than our largest synthesized data set, and the running time of the former data set is lower than the latter one. This clearly verifies that the time complexity of our algorithm is dominated by the number of purchase records instead of the tensor size. Interestingly, we found that some inter-reviewing durations estimated from the full Amazon Review data set are much smaller than the durations reported in Table 2. This is because the estimated durations tend to be close to the minimum reviewing/purchasing gap within each category, thus may be affected by outliers who review/purchase durable goods in close temporal succession. The problem of improving the algorithm robustness will be studied in our future work. On the other hand, this result verifies the effectiveness of the PU formulation – even if the durations are underestimated, our algorithm still outperforms the competitors by a considerable margin. As a final note, we want to point out that Tmall and Amazon Review may not take full advantage of the proposed algorithm, since (i) their categories are relatively coarse and may contain multiple sub-categories with different durations, and (ii) the time stamps of Amazon Review reflect the review time instead of purchase time, and inter-reviewing durations could be different from inter-purchase durations. By choosing a purchase history data set with a more proper category granularity, we expect to achieve more accurate duration estimations and also better recommendation performance.

6 Conclusion

In this paper, we examine the problem of demand-aware recommendation in settings when interpurchase duration within item categories affects users’ purchase intention in combination with intrinsic properties of the items themselves. We formulate it as a tensor nuclear norm minimization problem that seeks to jointly learn the form utility tensor and a vector of inter-purchase durations, and propose a scalable optimization algorithm with a tractable time complexity. Our empirical studies show that the proposed approach can yield perfect recovery of duration vectors in noiseless settings; it is robust to noise and scalable as analyzed theoretically. On two real-world data sets, Tmall and Amazon Review, we show that our algorithm outperforms six state-of-the-art recommendation algorithms on the tasks of category, item, and purchase time predictions.

References

[1] Gediminas Adomavicius and Alexander Tuzhilin. Context-aware recommender systems. In Recommender Systems Handbook , pages 217–253. Springer, New York, NY, 2011.

[2] Linas Baltrunas and Xavier Amatriain. Towards time-dependant recommendation based on implicit feedback. In Workshop on context-aware recommender systems , 2009.

[3] Jesús Bobadilla, Fernando Ortega, Antonio Hernando, and Jesús Bernal. A collaborative filtering approach to mitigate the new user cold start problem. Knowl.-Based Syst. , 26:225–238, February 2012.

[4] Pedro G. Campos, Fernando Díez, and Iván Cantador. Time-aware recommender systems: a comprehensive survey and analysis of existing evaluation protocols. User Model. User-Adapt. Interact. , 24(1-2):67–119, 2014.

[5] Emmanuel J. Candès and Benjamin Recht. Exact matrix completion via convex optimization. Foundations of Computational Mathematics , 9(6):717–772, 2009.

[6] Christopher Chatfield and Gerald J Goodhardt. A consumer purchasing model with erlang inter-purchase times. Journal of the American Statistical Association , 68(344):828–835, 1973. 9

[7] Eric C. Chi and Tamara G. Kolda. On tensors, sparsity, and nonnegative factorizations. SIAM Journal on Matrix Analysis and Applications , 33(4):1272–1299, 2012.

[8] Nan Du, Yichen Wang, Niao He, Jimeng Sun, and Le Song. Time-sensitive recommendation from recurrent user activities. In NIPS , pages 3474–3482, 2015.

[9] Marthinus Christoffel du Plessis, Gang Niu, and Masashi Sugiyama. Analysis of learning from positive and unlabeled data. In NIPS , pages 703–711, 2014.

[10] Silvia Gandy, Benjamin Recht, and Isao Yamada. Tensor completion and low-n-rank tensor recovery via convex optimization. Inverse Problems , 27(2):025010, 2011.

[11] L. Grippo and M. Sciandrone. On the convergence of the block nonlinear Gauss-Seidel method under convex constraints. Operations Research Letters , 26:127–136, 2000.

[12] C.-J. Hsieh and P. A. Olsen. Nuclear norm minimization via active subspace selection. In ICML , 2014.

[13] Cho-Jui Hsieh, Nagarajan Natarajan, and Inderjit S. Dhillon. PU learning for matrix completion. In ICML , pages 2445–2453, 2015.

[14] Y. Hu, Y. Koren, and C. Volinsky. Collaborative filtering for implicit feedback datasets. In ICDM , pages 263–272. IEEE, 2008.

[15] Yifan Hu, Yehuda Koren, and Chris Volinsky. Collaborative filtering for implicit feedback datasets. In ICDM , pages 263–272, 2008.

[16] P. Jain and S. Oh. Provable tensor factorization with missing data. In NIPS , pages 1431–1439, 2014.

[17] Yehuda Koren. Collaborative filtering with temporal dynamics. Commun. ACM , 53(4):89–97, April 2010.

[18] Dokyun Lee and Kartik Hosanagar. Impact of recommender systems on sales volume and diversity. In Proc. Int. Conf. Inf. Syst. , Auckland, New Zealand, December 2014.

[19] Bin Li, Xingquan Zhu, Ruijiang Li, Chengqi Zhang, Xiangyang Xue, and Xindong Wu. Cross-domain collaborative filtering over time. In IJCAI , pages 2293–2298, 2011.

[20] Bing Liu, Yang Dai, Xiaoli Li, Wee Sun Lee, and Philip S. Yu. Building text classifiers using positive and unlabeled examples. In ICML , pages 179–188, 2003.

[21] Ji Liu, Przemyslaw Musialski, Peter Wonka, and Jieping Ye. Tensor completion for estimating missing values in visual data. IEEE Trans. Pattern Anal. Mach. Intell. , 35(1):208–220, 2013.

[22] Atsuhiro Narita, Kohei Hayashi, Ryota Tomioka, and Hisashi Kashima. Tensor factorization using auxiliary information. In ECML/PKDD , pages 501–516, 2011.

[23] Steffen Rendle, Christoph Freudenthaler, Zeno Gantner, and Lars Schmidt-Thieme. BPR: bayesian personalized ranking from implicit feedback. In UAI , pages 452–461, 2009.

[24] Jason D. M. Rennie and Nathan Srebro. Fast maximum margin matrix factorization for collaborative prediction. In ICML , pages 713–719, 2005.

[25] Ruslan Salakhutdinov and Andriy Mnih. Bayesian probabilistic matrix factorization using markov chain monte carlo. In ICML , pages 880–887, 2008.

[26] Clayton Scott et al. Calibrated asymmetric surrogate losses. Electronic Journal of Statistics , 6:958–992, 2012.

[27] Robert L. Sexton. Exploring Economics . Cengage Learning, Boston, MA, 2013.

[28] Robert L. Steiner. The prejudice against marketing. J. Marketing , 40(3):2–9, July 1976.

[29] John Z. Sun, Dhruv Parthasarathy, and Kush R. Varshney. Collaborative Kalman filtering for dynamic matrix factorization. IEEE Trans. Signal Process. , 62(14):3499–3509, 15 July 2014.

[30] Yichen Wang, Robert Chen, Joydeep Ghosh, Joshua C. Denny, Abel N. Kho, You Chen, Bradley A. Malin, and Jimeng Sun. Rubik: Knowledge guided tensor factorization and completion for health data analytics. In SIGKDD , pages 1265–1274, 2015.

[31] Liang X., Xi C., Tzu-Kuo H., Jeff G. S., and Jaime G. C. Temporal collaborative filtering with bayesian probabilistic tensor factorization. In SDM , pages 211–222, 2010.

[32] Jinfeng Yi, Rong Jin, Shaili Jain, and Anil K. Jain. Inferring users’ preferences from crowdsourced pairwise comparisons: A matrix completion approach. In First AAAI Conference on Human Computation and Crowdsourcing (HCOMP) , 2013.


;

 AuthorvolumeDate ValuetitletypejournaltitleUrldoinoteyear
2017 ScalableDemandAwareRecommendatiCho-Jui Hsieh
Jinfeng Yi
Lijun Zhang
Kush R Varshney
Yao Li
Scalable Demand-Aware Recommendation2017
  1. A detailed illustration can be found in the supplementary material