# Primer: Recommender Systems

## posted on May 11th, 2020

The modern era of *recommender systems* (RS) research is largely considered to have begun in the mid 1990’s with projects such as GroupLens [1] and Tapestry [2]. Since that time the field has seen rapid growth in terms of applications and techniques. An early and important survey in the field says that the defining characteristice establishing RS as its own field was the focus on user ratings of items [3]. More recently however, authors have tended to define the field simply as the study of statistical relationships between users and items [4], [5], [6], [7] and [8]. This later definition creates room for important sub-topics within RS such as knowledge-based systems and association rules.

# Taxonomy of Techniques

Within the RS corpus there is relative agreement over the following taxonomy [5], [8]:

- Collaborative recommendation methods (aka,
*collaborative filtering*(CF)) - Content recommendation methods (aka, content-based recommendations)
- Knowledge recommendation methods (aka, knowledge-based recommendations)
- Hybrid recommendation methods

The primary characteristic distinguishing these methods is the ratings information assumed to be available to make a recommendation. Collaborative methods assume all observed ratings for all users and items are available. Content methods assume that all ratings are available either for a single user or a single item. Knowledge methods make no assumptions about ratings information and instead simply rely on comprehensive knowledge of their items to make recommendations.

Additionally, the duality of user-item ratings gives each method two interpretations:

It is worth noting that the usage of “Demographic-Based” in the above image doesn’t fit perfectly with the usage of the term within the literature. Nevertheless, we feel it is close in spirit and by that measure still helpful to place within our hierarchy.

Finally, one may notice that two common sub-categories have been left out above: (1) memory-based collaborative recommendations and model-based collaborative recommendations. While it is useful to be aware of these terms due to their usage within the literature, the terms themselves add nothing to our understanding of recommendation methods. If this were all then we’d probably keep them, however, including the terms also carries the very real risk of misleading new students. It is because of the risk of misleading while at the same time not providing any benefit that we remove them.

The terms themselves seem to be carried on primarily because of their historical usage (cf. [3] and [9]). Unfortunately, by only highlighting memory and model based approaches for CF it is implied that these distinctions don’t exist for other methods or are somehow extra special for CF methods. However, this simply isn’t the case, nor was it the argument of the original authors [9]. The original authors simply didn’t consider methods of recommendation beyond CF when making these distinctions [9]. Furthermore, it is easy to show that many statistical estimation problems can be solved via both model-free (e.g., local regression) and model-based (e.g., ordinary least squares) approaches implying that there is nothing special about these approaches with CF methods.

# Considering Context

An open research question regarding RS is how to best incorporate context. Perhaps the most popular model for representing context in an RS is the *multidimensional* (MD) model [5], [8], [10] and [11]. This model was originally proposed in [12] with the refined version presented below developed in [11]. The model is written as follows: \[ r: U \times I \times C \to \mathbb{R}, \] where \( U \) is the set of users, \(I\) is the set of items, \(C\) is the set of contexts and \(r\) is a function determining the rating. With this model the RS problem can be expressed as: *given a set of observations \(O \subseteq U \times I \times C \times \mathbb{R} \) determine \(r\)*. Many methods have been proposed to solve for \(r\) in the MD model: optimization [13], matrix factorization [14], pre-filtering [11] and [10], post-filtering [11] and [15], and reducing the MD model to the traditional \(r: U \times I \to \mathbb{R}\) by defining either \(I \times C \mapsto IC \) [16] or \(U \times C \mapsto UC \) [17].

# References

- P. Resnick, N. Iacovou, M. Suchak, P. Bergstrom, and J. Riedl, “GroupLens: an open architecture for collaborative filtering of netnews,” in
*Proceedings of the 1994 ACM conference on Computer supported cooperative work*, 1994, pp. 175–186. - D. Goldberg, D. Nichols, B. M. Oki, and D. Terry, “Using collaborative filtering to weave an information tapestry,”
*Communications of the ACM*, vol. 35, no. 12, pp. 61–70, 1992. - G. Adomavicius and A. Tuzhilin, “Toward the next generation of recommender systems: a survey of the state-of-the-art and possible extensions,”
*IEEE Transactions on Knowledge and Data Engineering*, vol. 17, no. 6, pp. 734–749, Jun. 2005, doi: 10.1109/TKDE.2005.99. - Y. Shi, M. Larson, and A. Hanjalic, “Collaborative filtering beyond the user-item matrix: a survey of the state of the art and future challenges,”
*ACM Computing Surveys*, vol. 47, no. 1, pp. 1–45, Jul. 2014, doi: 10.1145/2556270. - C. C. Aggarwal,
*Recommender systems: the textbook*, 1st ed. Springer, 2016. - J. Bobadilla, F. Ortega, A. Hernando, and A. Gutiérrez, “Recommender systems survey,”
*Knowledge-Based Systems*, vol. 46, pp. 109–132, Jul. 2013, doi: 10.1016/j.knosys.2013.03.012. - L. Lü, M. Medo, C. H. Yeung, Y.-C. Zhang, Z.-K. Zhang, and T. Zhou, “Recommender systems,”
*Physics Reports*, vol. 519, no. 1, pp. 1–49, Oct. 2012, doi: 10.1016/j.physrep.2012.02.006. - F. Ricci, L. Rokach, and B. Shapira, Eds.,
*Recommender systems handbook*. Boston, MA: Springer US, 2015. - J. S. Breese, D. Heckerman, and C. Kadie, “Empirical analysis of predictive algorithms for collaborative filtering,” in
*Proceedings of the fourteenth conference on uncertainty in artificial intelligence*, 1998, pp. 43–52. - G. Adomavicius, R. Sankaranarayanan, S. Sen, and A. Tuzhilin, “Incorporating contextual information in recommender systems using a multidimensional approach,”
*ACM Transactions on Information Systems*, vol. 23, no. 1, pp. 103–145, Jan. 2005, doi: 10.1145/1055709.1055714. - G. Adomavicius, B. Mobasher, F. Ricci, and A. Tuzhilin, “Context-aware recommender systems,”
*AI Magazine*, vol. 32, no. 3, pp. 67–80, Oct. 2011. - G. Adomavicius and A. Tuzhilin, “Expert-driven validation of rule-based user models in personalization applications,”
*Data Mining and Knowledge Discovery*, vol. 5, no. 1-2, pp. 33–58, Jan. 2001. - K. Oku, S. Nakajima, J. Miyazaki, and S. Uemura, “Context-aware svm for context-dependent information recommendation,” in
*7th International Conference on Mobile Data Management (MDM’06)*, 2006, pp. 109–109, doi: 10.1109/MDM.2006.56. - A. Karatzoglou, X. Amatriain, L. Baltrunas, and N. Oliver, “Multiverse recommendation: n-dimensional tensor factorization for context-aware collaborative filtering,” in
*Proceedings of the fourth ACM conference on Recommender systems - RecSys ’10*, Barcelona, Spain, 2010, p. 79, doi: 10.1145/1864708.1864727. - U. Panniello, A. Tuzhilin, M. Gorgoglione, C. Palmisano, and A. Pedone, “Experimental comparison of pre- vs. post-filtering approaches in context-aware recommender systems,” in
*Proceedings of the third ACM conference on Recommender systems - RecSys ’09*, New York, New York, USA, 2009, pp. 265–268, doi: 10.1145/1639714.1639764. - L. Baltrunas and F. Ricci, “Context-based splitting of item ratings in collaborative filtering,” in
*Proceedings of the third ACM conference on Recommender systems - RecSys ’09*, New York, New York, USA, 2009, pp. 245–248, doi: 10.1145/1639714.1639759. - L. Baltrunas and X. Amatriain, “Towards time-dependant recommendation based on implicit feedback,” in
*Recsys’09 workshop 3: workshop on context-aware recommender systems (cars-2009)*, 2009.