scieee AI-readable full text Open interactive document viewer

Presentation Bias in movie recommendation algorithms

Garat, Fernanda Velasco

Abstract

The emergence of video on demand (VOD) has transformed the way the content finds its audience. Several improvements have been made on algorithms to provide better movie recommendations to individuals. Given the huge variety of elements that characterize a film (such as casting, genre, soundtrack, amongst others artistic and technical aspects) and that characterize individuals, most of the improvements relied on accomplishing those characteristics to do a better job regarding matching potential clients to each product. However, little attention has been given to evaluate how the algorithms’ result selection are affected by presentation bias. Understanding bias is key to choosing which algorithms will be used by the companies. The existence of a system with presentation bias and feedback loop is already a problem stated by Netflix. In this sense, this research will fill that gap providing a comparative analysis of the bias of the major movie recommendation algorithms.

Full text

i PRESENTATION BIAS IN MOVIE RECOMMENDATION ALGORITHMS Fernanda Velasco Garat Dissertation presented as partial requirement for obtaining the Master’s degree in Statistics and Information Management ii NOVA Information Management School Instituto Superior de Estatística e Gestão de Informação Universidade Nova de Lisboa PRESENTATION BIAS IN MOVIE RECOMMENDATION ALGORITHMS by Fernanda Garat Dissertation presented as the partial requirement for obtaining a Master's degree in Statistics and Information Management, specialization Information Analysis and Management Advisor: Flávio L. Pinheiro Co Advisor: Francisco R. Almeida September 2020 iii ABSTRACT The emergence of video on demand (VOD) has transformed the way the content finds its audience. Several improvements have been made on algorithms to provide better movie recommendations to individuals. Given the huge variety of elements that characterize a film (such as casting, genre, soundtrack, amongst others artistic and technical aspects) and that characterize individuals, most of the improvements relied on accomplishing those characteristics to do a better job regarding matching potential clients to each product. However, little attention has been given to evaluate how the algorithms’ result selection are affected by presentation bias. Understanding bias is key to choosing which algorithms will be used by the companies. The existence of a system with presentation bias and feedback loop is already a problem stated by Netflix. In this sense, this research will fill that gap providing a comparative analysis of the bias of the major movie recommendation algorithms. KEYWORDS Recommendation system; Algorithm; Presentation bias; Netflix; Video on demand (VOD) iv INDEX 1. Introduction .................................................................................................................. 1 1.1. Background and problem identification ................................................................ 1 1.2. Study objectives..................................................................................................... 2 1.3. Study relevance and importance .......................................................................... 3 2. Literature review .......................................................................................................... 5 2.1. K-nearest neighbor (K-NN) .................................................................................... 9 2.2. Singular Value Decomposition (SVD)................................................................... 10 2.3. SVD++................................................................................................................... 11 2.4. Restricted Boltzmann Machines (RBM)............................................................... 12 3. Methodology .............................................................................................................. 13 3.1. Datasets ............................................................................................................... 13 3.1.1. MovieLens Latest Datasets - Small ............................................................... 14 3.1.2. Sample of MovieLens 1M Dataset ................................................................ 14 3.2. Research Strategies and Hypothesis ................................................................... 15 3.2.1. Analysis of recommendations ...................................................................... 15 3.2.2. Analysis of RMSE .......................................................................................... 20 3.2.3. Analysis of diversity ...................................................................................... 21 3.3. Definition of parameters ..................................................................................... 21 3.3.1. K-nearest neighbor (K-NN) ........................................................................... 22 3.3.2. Singular Value Decomposition (SVD) ........................................................... 23 3.3.3. SVD++ ........................................................................................................... 23 3.3.4. Restricted Boltzmann Machines (RBM) ....................................................... 24 4. Exploratory data analysis ............................................................................................ 25 4.1. MovieLens Latest Datasets - Small ...................................................................... 25 4.2. Sample of MovieLens 1M Dataset ....................................................................... 28 5. Results and discussion ................................................................................................ 33 5.1. Analysis of recommendations ............................................................................. 33 5.1.1. MovieLens latest dataset – small ................................................................. 33 5.1.2. Sample of MovieLens 1M dataset ................................................................ 38 5.2. Analysis of RMSE ................................................................................................. 50 5.3. Analysis of diversity ............................................................................................. 54 6. Conclusions ................................................................................................................. 55 v 7. Limitations and recommendations for future works ................................................. 57 8. Bibliography ................................................................................................................ 59 vi LIST OF FIGURES Figure 1 – Long-tail distribution ................................................................................................. 6 Figure 2 – The recommendation generation process with the original bases ........................ 15 Figure 3 – The recommendation generation process with the synthetic datasets ................. 16 Figure 4 – First randomization procedure ................................................................................ 18 Figure 5 – Second randomization procedure ........................................................................... 18 Figure 6 – Third randomization procedure .............................................................................. 19 Figure 7 – All datasets .............................................................................................................. 20 Figure 8 – Star rating histogram ............................................................................................... 25 Figure 9 – Nº of ratings per user .............................................................................................. 26 Figure 10 – Nº of ratings per movie ......................................................................................... 26 Figure 11 – Popularity distribution........................................................................................... 27 Figure 12 – Distribution of the nº rating by movie (Synthetic Dataset 3) ............................... 28 Figure 13 - Star rating histogram ............................................................................................. 29 Figure 14 – Nº of rating per user .............................................................................................. 30 Figure 15 – Nº of rating per movie ........................................................................................... 30 Figure 16 – Popularity distribution........................................................................................... 31 Figure 17 – Rating distribution by movie ................................................................................ 32 Figure 18 – Distribution of the nº rating by movie (Synthetic Dataset 3) ............................... 32 Figure 19 – Item-KNN: Histogram (original data)..................................................................... 39 Figure 20 – SVD: Histogram (original data) .............................................................................. 39 Figure 21 – SVD++: Histogram (original data) .......................................................................... 40 Figure 22 – RBM: Histogram (original data) ............................................................................. 40 Figure 23 – Item-KNN: Histogram (Synthetic Dataset 1) ........................................................ 41 Figure 24 – SVD: Histogram (Synthetic Dataset 1) ................................................................... 42 Figure 25 – SVD++: Histogram (Synthetic Dataset 1) ............................................................... 42 Figure 26 – RBM: Histogram (Synthetic Dataset 1) .................................................................. 53 Figure 27 – Item-KNN: Histogram (Synthetic Dataset 2) ......................................................... 44 Figure 28 – SVD: Histogram (Synthetic Dataset 2) ................................................................... 45 Figure 29 – SVD++: Histogram (Synthetic Dataset 2) ............................................................... 45 Figure 30 – RBM: Histogram (Synthetic Dataset 2) .................................................................. 46 Figure 31 – Item-KNN: Histogram (Synthetic Dataset 3) ......................................................... 47 Figure 32 – SVD: Histogram (Synthetic Dataset 3) ................................................................... 47 Figure 33 – SVD++: Histogram (Synthetic Dataset 3) ............................................................... 48 Figure 34 – RBM: Histogram (Synthetic Dataset 3) .................................................................. 48 vii Figure 35 – Item-KNN: RMSE .................................................................................................... 53 Figure 36 – SVD: RMSE ............................................................................................................. 53 Figure 37 – SVD++: RMSE ......................................................................................................... 53 Figure 38 – RBM: RMSE ............................................................................................................ 53 viii LIST OF TABLES Table 1 – Top 10 popular movies .................................................................................... 27 Table 2 – Top 10 popular movies .................................................................................... 31 Table 3 – SVD: Frequency distribution table .................................................................. 33 Table 4 – Item-KNN: Frequency distribution table ........................................................ 33 Table 5 – RBM: Frequency distribution table ................................................................. 34 Table 6 – SVD++: Frequency distribution table .............................................................. 34 Table 7 – Item-KNN: Frequency distribution table ........................................................ 35 Table 8 – SVD: Frequency distribution table .................................................................. 35 Table 9 – RBM: Frequency distribution table ................................................................. 35 Table 10 – SVD++: Frequency distribution table ............................................................ 35 Table 11 – Item-KNN: Frequency distribution table ...................................................... 36 Table 12 – SVD: Frequency distribution table ................................................................ 36 Table 13 – RBM: Frequency distribution table ............................................................... 36 Table 14 – SVD++: Frequency distribution table ............................................................ 36 Table 15 – SVD: Frequency distribution table ................................................................ 37 Table 16 – Item-KNN: Frequency distribution table ...................................................... 37 Table 17 – RBM: Frequency distribution table ............................................................... 37 Table 18 – SVD++: Frequency distribution table ............................................................ 37 Table 19 – Item-KNN: Frequency distribution table ...................................................... 39 Table 20 – SVD: Frequency distribution table ................................................................ 39 Table 21 – SVD++: Frequency distribution table ............................................................ 40 Table 22 – RBM: Frequency distribution table ............................................................... 40 Table 23 – Item-KNN: Frequency distribution table ...................................................... 41 Table 24 – SVD: Frequency distribution table ................................................................ 42 Table 25 – SVD++: Frequency distribution table ............................................................ 42 Table 26 – RBM: Frequency distribution table ............................................................... 43 Table 27 – Item-KNN: Frequency distribution table ...................................................... 44 Table 28 – SVD: Frequency distribution table ................................................................ 45 Table 29 – SVD++: Frequency distribution table ............................................................ 45 Table 30 – RBM: Frequency distribution table ............................................................... 46 Table 31 – Item-KNN: Frequency distribution table ...................................................... 47 Table 32 – SVD: Frequency distribution table ................................................................ 47 Table 33 – SVD++: Frequency distribution table ............................................................ 48 Table 34 – RBM: Frequency distribution table………………………………………………………….. 48 ix LIST OF ABBREVIATIONS AND ACRONYMS Item-KNN Item K-Nearest Neighbor RBM Restricted Boltzmann Machines RMSE Root-Mean-Square Error SVD Singular Value Decomposition SVD++ Singular Value Decomposition ++ VOD Video on demand 7 A lot had been done to improve the algorithm´s performance with the concern of encompass the whole aspect that compose a movie so that they could better identify the similarities between them and better represent the tastes of the users. For example, in one study regarding the long-tail movies, it was found that the dominant attribute was the director (Jung, 2012). The complexity is not limited to choosing the main attributes, but also, having chosen some, how to make use of an infinity of information. For example, it was also very common to conduct research taking into account the genre of the film (Choi, Ko, & Han, 2012). In one of those studies, it was attempted to identify from 18 genres which ones were most significant for characterizing a movie, and the number was reduced to 6 main genres (Ahmed, Imtiaz, & Khan, 2018). Therefore, dimensionality reduction techniques had been very common in the development of recommendation algorithms since not all information is helpful and that why it is important to focus on the significant ones (Konstan & Riedl, 2012). Interesting works had also been done to analyse the textual, the audio and the visual domain (Bougiatiotis & Giannakopoulos, 2018), or the stylistic visual features (Quadrana et al., 2016), or the trailer (Deldjoo, Elahi, & Cremonesi, 2016), or to detect key story elements such as turning points (Liu, Last, & Shmilovici, 2019), etc. Sentiment analysis of social media also had been incorporated by recommendation system (Kesharwani, Rakesh, Tech, Abdul, & Prof, 2017). Even the effect of artwork presentation and customization had been refined: which items of the movie should be presented to each user in the VOD platform (for example, it can be choose to emphasize the main actor when the user is a fan), which image is selected by them, or where the image should be positioned in the screen device (Chandrashekar, Amat, Basilico, & Jebara, 2017). In a nutshell, it is vast the number of elements on which recommendation systems can be based. During the Netflix prize contest, BellKor team (one of the winners) stated that they used 107 different algorithms in the final solution (Bell, Koren, & Volinsky, 2007b). In 2016, Netflix recommendation system was composed by a collection of algorithms that used both supervised and unsupervised machine learning method, serving at least eight main functionalities: Personalized Video Ranker (PVR), Top-N Video Ranker, Trending Now, Continue Watching, Because You Watched (BYW), Page Generation, Evidence and Search (Gomez-Uribe & Hunt, 2015). Fortunately, in the interest of this research, it was also mentioned by BellKor team that many of those 107 algorithms were close variants and that fewer would be necessary (Bell et al., 2007b). In addition, it was indicated the main approaches behind them: Neighborhood-based model (K-NN), Matrix Factorization models (such as Singular Value Decomposition - SVD), Restricted Boltzmann Machines (RBM) and Regression model. Netflix managed to identify the two best performing algorithms among the 107: SVD and RBM (Amatriain & Basilico, 2012a). In general, recommender system are mostly relied on collaborative filtering technique (Himabindu, Padmanabhan, & Pujari, 2018). Besides the long-tail problem, collaborative filtering it is also recognized for presenting the following main problems (Ghazanfar & Prugel-bennett, 2010): scalability, cold-start, and sparsity. Scalability problem regards to fact that the real dataset is massive compared to the dataset used to train the algorithms and can be computational expensive and worse the real-time performance. Cold-start problem is originated by the learning process of the algorithms since they only can learn from input data. So, when there is a lack of information, typical when there are new clients - for 8 which any previously rating profile exists - the algorithms have difficult to find the similarities and to make inference about them (Ghazanfar, Iqbal, Azam, Aljohani, & Alowibdi, 2018). Cold-star can be considered the extreme situation of sparsity (He & Chu, 2010). Sparsity occurs when there is not enough information about the user for prediction or when there are movies with not enough evaluations (Ayyaz, Qamar, & Nawaz, 2018). Sparsity can affect accuracy of recommendation (Choi et al., 2012). Sparsity was pointed as one of the two main reasons the suggestions are biased towards popular movies given that to improve accuracy the recommendations focus the dense region, where are located the few popular movies (Zolaktaf et al., 2018). Analogously, sparsity was pointed to reduce the coverage, which is the percentage of movies recommended in relation to the total films on the catalogue (Ghazanfar & Prugel-bennett, 2010). It was reported that model-based methods was developed to surpass the scalability problem (Deshpande & Karypis, 2004). Collaborative filtering is classified into memory-based (or user-based, or neighborhood based) and model-based (or item-based) (Sarwar, Karypis, Konstan, & Riedl, 2001). Memory-based measures the similarity between individuals (neighbors) in terms of preferences. In model-based, a model is developed to identify similarities of all pairs of movies and to learn user preferences. Many models’ algorithms are used such as Bayesian networks, clustering, matrix factorization, latent semantic, latent dirichlet allocation, etc. Among the model-based techniques, matrix factorization is the prevalent (Z. Wang, Guo, & Du, 2018). Some authors claims that matrix factorization tackle both cold-start and sparsity problem (He & Chu, 2010), others claims that it tackle scalability and sparsity issue (Wu & Li, 2008). SVD is the most popular application of matrix factorization and it is studied here. Also, we study SVD++, a variant of SVD. From memory-based models, it is selected the neighbor approach (KNN) algorithm, as it is the most popular (Bell & Koren, 2007a). And from deep learning, it is picked Restricted Boltzmann Machines (RBM). In summary, the algorithms in this paper were selected and motivated by the best models explicitly cited for its usage in the database of Netflix (Bell & Koren, 2007b). But before exploring them, it is necessary to emphasize two important points. The first is related to the fact that the objective of a recommender system is to show a new movie that a consumer would appreciate. However, this is impossible to test offline because with historical data it is only possible to test the capacity to predict how individual rated shows they already watched (Kane, 2019). It is considered an open question the extent of offline testing may have in the corporate environment (Jannach & Jugovac, 2019). In the real-world, Netflix uses online testing (for instance, A/B test is commonly quoted by them), which allows to evaluate how people appreciate movies that they´ve never seen before. It is important to say that although the higher predictiveness of A/B testing, Netflix doesn’t discard the use of offline test, but they have been more limited to preliminary test to save cost, diminish risk and accelerate the innovation (Jannach & Jugovac, 2019), (Gomez-Uribe & Hunt, 2015). Also, offline models prevent scalability problems by reducing time response. As it is not possible to use online test in our research, all mentioned algorithms will be tested offline. The second point regards to the fact that a good recommendation system should indicate the best top recommendations in front of users, which is a different problem than predict the rating for a movie (Deshpande & Karypis, 2004). After all, what is important is the top-n movies that a person will 9 get and not if the systems can predict the review they would give (Kane, 2019). To illustrate it better, it shouldn´t matter the films that received bad scores because they are not going to be between the top-n recommendation; but under the predictive rating task, all the opinions (good and bad) are taken into account in order to train the algorithms and achieve better efficiency. And better efficiency doesn't mean having the most useful recommendations for users (L. Chen et al., 2017). Therefore, the usage of accuracy metrics, which is mainly focus on the predictive rating problem, maybe is not the better one. Because of that, Information Retrieval metrics started to be adapted to evaluate the performance of the recommendation (Bellogı, Castells, & Cantador, 2017). 2.1. K-NEAREST NEIGHBOR (K-NN) As it is of the interest to our research, K-NN search had a large application in recommender systems. Nearest neighbor approach is based on the similarity between pairs of movies or users (Goodfellow, Bengio, & Courvill, 2016). K-NN is considered a simple and a nonparametric and supervised machine learning algorithm that can be used for both classification and regression 6 . As K-NN is more popularly used for classification, K-NN classifier is going to be the one chosen in our research. In this technique, the output is a predicted class for an object based on the majority class of its neighbors. It uses an instance-based learning algorithm and can be viewed from two perspectives: the customer-based and the movie-based. The movie-based approach was used by “Big Chaos Solution” and by “BellKor” teams 7 , winners of the Netflix Prize (Toscher & Jahrer, 2009b), (Bell et al., 2007b). In this approach, the goal is to find a target number (which is referred to as “k”) of the most similar movies. For the customer-based approach the difference is that the objective is to find first the similarities between individuals and then select a number of “k” persons that are the most similar. However, this approach hasn't been much used in real life because the user base is usually much bigger than the movie base (which can be verified even in the datasets used in our research) and because movie's similarities changes much slower compared to user's similarities (human tastes and preferences are more complex, volatile and unpredictable, whereas the similarity calculated between movies can remain stable for years) (Bell et al., 2007b). However, the use of item-based KNN would be impossible with elevated scalability problem (Moreno, Segrera, López, Muñoz, & Sánchez, 2016). The application of KNN algorithm is also limited in the presence of big data since the computation requirement increases with the number of users and movies (Karypis, 2001). The usage of Item-KNN with a sparse matrix can disturb the quality of its recommendation (Z. Wang et al., 2018) and have a significant deterioration in its performance 6 https://en.wikipedia.org/wiki/K-nearest_neighbors_algorithm 7 BellKor’s Pragmatic Chaos was the winner of Netflix Prize 2009. This team was composed by three teams: BellKor (Yehuda Koren, Robert Bell and Chris Volinsky), Big Chaos (Andreas Töscher and Michael Jahrer) and Pragmatic Theory (Piotte & Chabbert, 2009). 10 (Nikolakopoulos, Berberidis, Karypis, & Giannakis, 2019). We should keep this in mind when analysing the results of our study. 2.2. SINGULAR VALUE DECOMPOSITION (SVD) Singular Value Decomposition (SVD) and SVD++ are some of the many variants of Matrix Factorization technique, which, in turn, is a widely used type of latent-factor models. Latent-factor model is a family of methods which gained popularity for its usage in the Netflix Prize contest. It is an advancement made on neighborhood-based method because it tries to explain the ratings by characterizing both movie and user. Latent factors can be thought as the characteristics, for example, for the movies it could be its genre. It is something that is not explicit observed in the data, but inferred from the data, that is why is latent (the proper definition of latent is related to something that is present but not visible). So, the generation of latent factors for users and movies transforms both to the same latent factor space (H. Chen, 2017). Through dimensionality reduction, both representations became comparable and predictions on ratings can be made by multiplying those factors. SVD represents the data in form of a matrix (where the rows are user IDs, the columns are movie IDs, and the space is filled by the ratings), which is reduced in simpler matrices (Hallinan & Striphas, 2016). As a matrix factorisation technique, it reduces the number of features of the data by reducing the space dimension from N-dimension to K-dimension (where K<N). The idea is that lower dimension could describe better the data. In fact, if we think of a real database in a matrix format, such as the Netflix database, we can imagine that the huge number of rows and columns needed to place all users and movies is excessive and redundant, besides not being practical to work with. Intuitively, we know that the information can be summarized, and we don´t need that huge dimension. For example, if a person gave 5-stars to Star Trek and to Star Wars, maybe that is not two separated information but one information about his preference. So, instead of representing our preference in terms of what movies I like or I dislike, we represent in terms of attributes. By doing so, it is possible to find similar individuals that have any movie in common, if they have the same preference in term of those attributes. These attributes (or features) not necessarily are understandable, but their importance is to have a predictive power. So, SVD describes preference in terms of latent features that are learned from the data. The technique consists in decomposing this big matrix through factorization into the product of three new matrices of lower rank that represent user factors and movie factors: the user feature matrix (or user profile, which represents the relationship between users and latent factors. It represents how much each user appreciate a particular feature of the movie), the singular value matrix (which contains the relative importance of each factor for prediction), and the movie feature matrix (which indicates the similarity between movies and latent factors. It represents how much each movie manifest the same particular feature). Those matrices carry some proprieties: two of them are orthogonal, they produce orthonormal bases, and they are dense, unlike the original matrix, which is sparse. It can be stated SVD algorithm 11 provides a procedure that factorize a matrix into singular vectors and singular values (Goodfellow et al., 2016). The relationship between the user and item is given by the inner product of their vectors. As it was already indicated, there are studies that quote SVD as a method to handle sparsity and scalability problems (Moreno et al., 2016). This method was widespread during the Netflix Prize by Brandyn Webb, known as Simon Funk (Funk, 2006), who had shared the theorical background and the code used for the newly launched competition (Levene, 2010). The greatest contribution of Funk was to show a solution to compute SVD when the matrix had missing data. Since we never have a complete matrix - that’s is, we don´t have a matrix where all user have given a rate for all movie - it was needed a way to fill the missing values so that it could be possible to apply factorization. This is done through an iterative method where the loss (cost) function can be minimized thought two main different optimization techniques: Stochastic Gradient Descent (SGD) and Alternating Least Squares (ALS). SGD is one of the most popular algorithm used for optimization that computes, for each iteration, the error and then update the parameters by a factor in the opposite direction of the gradient, converging to local optima (Ruder, 2016), (Luhaniwal, 2019). ALS also works iteratively optimizing the parameters one by one while leaving the others fixed, minimizing the sum of squared residuals. Both were used by the winners of Netflix Prize. This method had been refined during the progress prize, creating and implementing variations of it. As it was pointed out, SVD was one of the centrepieces of all algorithms used by competitors. 2.3. SVD++ As already studied, implicit feedback gives additional indication of user preferences. SVD++ algorithm is an improvement of SVD to incorporate implicit feedback (Xian, Li, Li, & Li, 2017). It was introduced by members of “BellKor” team (Bell, Koren, & Volinsky, 2009), and basically this method uses two matrices relatives to the movie, one with the explicit feedback and the other with the implicit feedback (Aggarwal, 2016). It was noticed that the inclusion of implicit feedback resulted in better prediction, and it turned to be the most accurate from the previous models tried on Netflix data (Koren, 2008). The main idea resides on the fact that if the user chooses a moving picture to give an evaluation, despite which was the evaluation assigned, this is an implicit feedback. That is to say, the individual indirectly reveals his preferences by selecting which film he wants to give opinion. It was found that incorporating this binary data (where “1” means that a person rated a movie and "0" means that a reviewer did not rated it) improved the prediction accuracy considerably (Koren, 2008). Implicit data are much more abundant than explicit data in most corporate databases (Steck, 2018). Since we don´t have access to data from companies of VOD and to better implicit measures such as user´s consumption or browsing history, SVD++ have an interesting and useful approach to include implicit feedback in this research. 12 2.4. RESTRICTED BOLTZMANN MACHINES (RBM) RBM together with matrix factorization had the best performance measured by RMSE, according to the winners of Netflix Prize (Bell et al., 2007b). Both methods became more popular thanks to the successfully application during the competition. RBM also was considered to be a powerful technique to be used over large datasets, since it provided very accurate results (Abdollahi & Nasraoui, 2016). RBM is an unsupervised machine learning method, coming from the deep learning family, methods based on artificial neural networks 8 . Neural networks are able to learn internal representation and underlying hidden factors, discovering complex correlation hidden in the data. RBM can learn to infer lower-dimensional representations automatically. The purpose is to model the statistical behaviour of data, looking for some distribution pattern (Louppe, 2010). One difference in relation to the previous methods studied here is that RBM discovers the probability distribution over the inputs, that´s it, the probability distribution of ratings and use it to prediction (Han, Wang, & Hong, 2017). Hence, the model makes possible to measure the confidence of the prediction made. RBM is one of the simplest neural networks composed of stochastic 9 binary 10 units with symmetric connections and the layers (or the nodes) are divided in two types: a visible layer and a hidden layer (Hwang & Chen, 2017). Usually, the hidden layer represents the latent factors (example: feature of movies) and the visible layer represents the ratings of a user on a film (Truyen, Phung, & Venkatesh, 2009). RBM is able to find the relationship between the movies and the relationship between the individuals, identifying the structure and relation in data. Once trained, RBMs can be used for predicting a user´s preference. 8 https://en.wikipedia.org/wiki/Deep_learning 9 When it has a random probability distribution or pattern that may be analysed statistically but may not be predicted precisely - https://www.lexico.com/definition/stochastic 10 Each unit can have a state which can be on or off. 13 3. METHODOLOGY The main idea behind the employed methodology is based in one Netflix's suggestion about presentation bias problem: by introducing randomness into the recommendations and learning better models (Gomez-Uribe & Hunt, 2015). Netflix stated that since the feedback loop is not considered in most of the standard recommendation´s techniques and in most of their own statistical model, there is room for the development of better algorithms that take it into account. 3.1. DATASETS MovieLens is a recommender system developed in 1997 by GroupLens Research 11 that helps humans finds movies to watch 12 . GroupLens Research is a research lab in the Department of Computer Science and Engineering at the University of Minnesota and is a pioneer with projects in the field of recommender systems 13 . MovieLens datasets are heavily used in research and industry (Harper & Konstan, 2015). For example, if you had searched for “MovieLens” on Google Scholar on 01 of January of 2020, you would have found 17,8K results. MovieLens provides different sizes of datasets, with some difference relative to specific characteristics of the data content. MovieLens datasets use the star rating as the measure of an individual opinion about some movie, in which 5-stars is the most favourable opinion. We can think the rating score as a measure that expresses the whole set of a movie attractiveness (genre, art, cast, plot, etc) from an individual perspective. That is, there is a razon why an individual gave 5-stars to a movie, and we can say that this value reflects some aspect of the movie which was enjoyed. Of course, the rating score also expresses characteristics of the individual itself as well, such as a person who is more severe in criticism, for example. It is important to mentioned that although MovieLens datasets are considered confidents (Yang & Qiu, 2018), the disposal of the movies in its webpage is affected by search, filter an order mechanisms, which had an impact in the shape of datasets (Harper & Konstan, 2015). Until September 2008, MovieLens had four major releases that changed those mechanisms, but it was not clear if the datasets used in this study aggregate data coming from all these releases or just from some specific one. However, it was explicit that the webpage applied collaborative filtering and that the disposal of the movies were affected by the feedback loop coming from the rating given by the users (Harper & Konstan, 2015). Besides, there are sources indicating that MovieLens uses not only one but a variety of algorithms from collaborative filtering such as item-based and SVD 14 . Thus, although MovieLens datasets are composed by random selection of data, this does not eliminate the possibility that their inputs contain information relative to those recommendation mechanisms used in the webpage, and consequently, relative to presentation bias. 11 https://en.wikipedia.org/wiki/MovieLens 12 https://grouplens.org/ 13 https://en.wikipedia.org/wiki/GroupLens_Research 14 https://en.wikipedia.org/wiki/MovieLens 14 For our analysis it was selected two different MovieLens databases. 3.1.1. MovieLens Latest Datasets - Small The selected database met the criterion of the largest amount of data followed by the physical limitation of data processing by the computers available for this research. It is used MovieLens Latest Datasets – Small (MovieLens Small), released in September 2008, which contain 100.836 ratings given by 610 users on 9.724 movies, measured in a 5-stars scale, in half-star increments (0,5 stars - 5,0 stars) (Harper & Konstan, 2015). MovieLens Small database contains the ratings with the relative user IDs, movie IDs and the date of the rate (a variable called “timestamp”). This dataset is composed by a random selection of individuals that rated at least 20 movies, ensuring a minimum information about the users, and by films with at least 1 evaluation received. In this research we ignore time dependence and make a simplifier assumption that the ratings do not change over time (neither the movie popularity nor the user preference change over time). 15 3.1.2. Sample of MovieLens 1M Dataset For the continuation of our research, we use a sample of the MovieLens 1M Dataset (Harper & Konstan, 2015). Originally this base, released in February 2003, contains 1 million ratings given by 6.040 users on 3.952 movies, measured in a 5-stars scale in whole increments (1 star - 5 stars). The dataset has the same structure as the previous one (user IDs, movie IDs, ratings and timestamp) and is composed by MovieLens by the same criteria reported above. We subsample this database so that each movie was rated by at least 1.000 users. To achieve that goal, the sample was formed by the following rules: first, the movies that contain at least 1.000 users were selected. Then all user’s IDs were detected, and it was counted the number of films evaluated by each person. What happens here is that now the minimum number of movies evaluated by user is no longer 20. But if we eliminate all individuals with less than 20 reviews, at the same time we reduce the number of movies with 1.000 consumers, and this process ends on a very reduced base. Therefore, what we did was to stop the elimination process until we reached a reasonable number: the minimum amount of reviews per user is 16 movies and the minimum amount of reviews per film is 912, ending with a total of 292.684 ratings (our sample is almost three times higher than MovieLens Small), with 4.820 users and 207 films. 15 Besides, the variable “timestamp” wouldn´t be useful for this research. First because it corresponds to the date on which the rate was given and not to the consumption day of the movie. And second because the users tends to give many classifications in a single day, which means that it is difficult to interpret this variable, as it could be either an indication of the moment the user searched them or of the moment the movies were suggested to the consumers (Harper & Konstan, 2015). 15 This sample serve to conclude this study, since in the development of the research it was noticed that there was a constrain with MovieLens Small that distorted the results. This is further explained in Chapter 5, which is about the discussions regarding the outcomes achieved. As MovieLens 1M sample was compiled with the intention of only selecting films with a large number of different evaluators, it will not be useful for diversity analysis since we discard large part of the dataset, specially the less popular movies, tending to select the most popular ones. The popularity here cannot be analysed either, as in the process of user´s elimination, we modify the popularity of all movies (including the most popular) without worrying about preserving their original popularity of the database. 3.2. RESEARCH STRATEGIES AND HYPOTHESIS 3.2.1. Analysis of recommendations In the first part of our analysis, we focus on analysing how the number of recommendations per film are distributed. The purpose is to identify if there are any bias along the distribution concerning the presence of movies that, prominently, are much more suggested than others. Figure 2 – The recommendation generation process with the original bases We split the selected bases 16 at random into 75% for the training set and 25% for the test set. Once the algorithm is trained, it is used to predict the ratings of all movies that weren´t rated by each user and return the top 10 highest predictions for each of them as a recommendation. So, the first thing to be done is to generate recommendations for the original bases with each of the algorithms 16 The selected original bases are: MovieLens Small dataset and the sample of 1M dataset. 16 selected, in order to obtain a benchmark. At the end of the process, we finish with four set of recommendations for each dataset (one using KNN algorithm, one employing SVD, one using SVD++ and one applying RBM model). The research methodology adopted follow a stepwise approach, with three steps where each is marked by a different randomization procedure of the original database that generate three synthetic datasets. The main difference between the synthetic and the original datasets is that the firsts are generated programmatically and, therefore, artificially manufactured. The purpose of the synthetic data is to provide results (recommendations) that can be analysed and compared with the outcomes of the real data. The synthetic datasets mirror the real data by preserving some statistical properties and relationship of it. All synthetic datasets keep constant the total number of movies, of individuals, of ratings and the number of ratings by user of the original base. The objective of maintaining aspects of the original database is to make valid the comparison of the results. In other words, it is generated synthetic datasets where only one point is random, which is the point that is in the interest of the research, keeping the rest equal (Farine, 2017). Once created the synthetic bases, each one goes through the same process the real base went through. At the end of the process, we finish with four set of recommendations for each synthetic dataset. Figure 3 – The recommendation generation process with the synthetic datasets With the results of each set of recommendation, it is counted the number of times each film was suggested. For instance: Movie A was indicated two times: one for User 1 and another for User 2. In the extreme case, a film can be recommended for all users or none; and each algorithm can recommend all movies from the catalogue or only ten. 23 j = different movie from i ruj = rating of user on movie j = predicted rating of user on movie i k = The (max) number of neighbors to take into account for aggregation. Default is 40 rui = rating of user on movie i µi = average rating (of all users) on movie i µj = average rating (of all users) on movie j sim = similarity measure, which is going to be chosen the Pearson Correlation. 3.3.2. Singular Value Decomposition (SVD) This algorithm will be tested with the support of Surprise library. The model is based on the one proposed by members of “BellKor” team (Koren, Bell, & Volinsky, 2015). The minimization will follow the stochastic gradient descent method, which was also use by the winners of Netflix Prize (Toscher & Jahrer, 2009a). Notation = predicted rating of user on movie i µ = average rating bu = bias of user from the average bi = bias of movie from the average qi = each item i is associated with a vector qi ∈ f, where is latent factor space of dimensionality f. For a given movie, the elements of qi measure the extent to which the film possesses those factors, positive or negative. pu = each user u is associated with a vector pu ∈ f. For a given user u, the elements of pu measure the extent of interest the individual has in items that are high on the corresponding factors, positive or negative. The dot product captures the interaction between user u and item i and the user’s overall interest in the item’s characteristics. 3.3.3. SVD++ It is going to be used Surprise library to run this algorithm. The model follows the one proposed in the “Recommender Systems Handbook” (Ricci, Rokach, Shapira, Kantor, & Ricci, 2011), and the 24 optimization technique will be the stochastic gradient descent. The difference in the formula from SVD is that now the user is modelled by the term in parenthesis. Notation I(u) is a set that contains the items rated by user u yi = captures the implicit ratings 3.3.4. Restricted Boltzmann Machines (RBM) RBM model will be based on the one proposed in the book “Signal Processing and Networking for Big Data Applications” (Han et al., 2017), with a binary visible units and binary hidden units (Bernoulli or Boolean). The pair of Boolean vectors (v, h) is defined as: Or, in matrix notation as: Notation v = visible units (the number of nodes in the visible layer is defined as the number of items multiplied h = hidden units (each hidden unit can learn to model the dependency between the ratings of different movies) a = bias weights related to visible units b = bias weights related to hidden units W = matrix of weights associated with the connection between hidden and visible units, and the biases weights 25 4. EXPLORATORY DATA ANALYSIS 4.1. MOVIELENS LATEST DATASETS - SMALL The rating-score histogram indicates a higher concentration of data in the highest rates rather than in the lowest, with 4-stars being the mode. The average rating is 3,5 stars (with standard deviation of 1,04) and is close to mode value. Figure 8 – Star rating histogram If we plot the number of rating given by person and we count how many users gave that amount of reviews, we get the result below, where 2.698 is the maximum number of reviews given by an individual 23 . The fifth largest evaluator contributed with 1.346 ratings, what is almost half of 2.698. This express the size of the significant drop throughout the first positions, which means that few people rated this magnitude. It is important to remember that the maximum number of rating that a reviewer can give is 9.724 (which is the total number of movies in the database) and the minimum is 20 (restriction imposed by MovieLens). Hence, the average number of reviews by user (165) certainly does not represent a good measure of central tendency because it is influenced by the upper outliers. We prefer to use the median, equal to 71, instead. That means that from 9.724 eligible movies, people tend to choose 71 to give an opinion, which indicates that our database suffers from a substantial reduction in the potential data that could be at the disposal of the research. 23 Figure 8 can be read as follows: 14 individuals rated 20 films. 15 users evaluated 21 movies. And so on. 26 14 15 1 0 2 4 6 8 10 12 14 16 20 40 61 82 106 130 167 202 247 299 397 505 831 2698 Nº of Users Nº of Ratings Figure 9 – Nº of ratings per user Something similar occur with the number of ratings by movie. It can be observed that the majority of the films received few or only 1 review 24 . 3446 0 500 1000 1500 2000 2500 3000 3500 1 5 9 13 17 21 25 29 33 37 41 45 49 53 57 61 65 69 73 77 81 85 89 93 98 102 106 110 115 121 125 131 136 142 146 161 170 178 185 192 201 211 224 278 329 Nº of Movies Nº of Ratings Figure 10 – Nº of ratings per movie The most popular film of the base was reviewed by 54% or 329 of all individuals. Note that the maximum number of rating a movie can receive is 610 (which is the total number of individuals) and the minimum is 1 (MovieLens’ restriction). This is to say, a little more than half of the people rated this film, even though the users' selection to compose the dataset was random. This number is more surprising if we remember that the reviewers of the dataset tend to select very few movies to 24 Figure 10 can be read as follows: 3.446 movies had only 1 review. 27 evaluate, specifically 71 from 9.724 films. The median number of rating received by movie is 3 that is, from 610 available users to rate a movie, usually a film receives 3 votes. You might be curious to know the popular movies, so below we printed the top 10. Rank Title Nº of Ratings 1 Forrest Gump 329 2 The Shawshank Redemption 317 3 Pulp Fiction 307 4 The Silence of the Lambs 279 5 The Matrix 278 6 Star Wars: Episode IV - A New Hope 251 7 Jurassic Park 238 8 Braveheart 237 9 Terminator 2: Judgment Day 224 10 Schindler's List 220 Table 1 – Top 10 popular movies This implies that there is a high probability that users have a tendency to select the popular films or a tendency that such movies had a higher prominence on MovieLens´ platform (as pointed out in Chapter 3). Figure 11 – Popularity distribution The popularity of the movies falls rapidly as we move down the popularity list. If we select the movies that had a popularity greater than 30%, we only select 0,29% of all moving picture in the dataset (28 films). This reminds what we have studied in Chapter 2 as the long-tail problem. If we move further on that list, we observe that only 3,4% of all movies had popularity greater than 10%. In the figure above it can be noted that 91% of the movies were not popular, since they had at most only 5% of the users watching it. As we move to the other extreme of the chart, there are located the most popular movies of the dataset, which are very few compared to the non-popular ones. 28 So, the sparsity of MovieLens Small dataset seems to be high. As we studied before, sparsity is pointed out as a factor that deteriorates the performance of recommendation algorithms (S. Wang, Tang, Wang, & Liu, 2018). But sparsity is a very common problem faced both in the academic and real-world. In fact, there are many studies conducted with MovieLens dataset and sparsity is a constant problem present in all datasets. Our attention, once again, must reside in the fact that with sparsity, recommendation algorithms face limitations to suggest movies in the long-tail (Yin et al., 2012). It will be important to always keep this in mind when analysing the results of our research. In Chapter 3, we created three synthetics datasets based on MovieLens Small. The first two synthetic datasets maintained constant the films' popularity. However, in Synthetic Dataset 3 the popularity of the movies was no longer preserved. As a result, we obtained a distribution that had a similar shape to a normal distribution. Figure 12 – Distribution of the nº rating by movie (Synthetic Dataset 3) 4.2. SAMPLE OF MOVIELENS 1M DATASET The rating-score histogram of the dataset have a higher concentration of data in the highest scores, with 4-stars being the mode. The average rating is 3,9 stars (very close to the mode value) with standard deviation of 1-star. In our sample there are relative few films with the worst score. As we selected the movies with a good relative number of reviewers, at first glance it could mean that in general there is a greater consensus among movies considered good than those considered bad. However, on a second thought we can compare the histogram of the whole MovieLens 1M dataset with our sample histogram and verify if there had been a significant change on it. It was verified that movies with 1- 29 star rating were already very few on MovieLens 1M dataset 25 . So, this indicates that in general people tend to rate more the films that they liked than those they didn't (this conclusion can be extended to the histogram of MovieLens Small dataset). Figure 13 - Star rating histogram The maximum number of rating given by person in this database was 203. Remember that the minimum number of movies that a person can choose to evaluate is 16 and the maximum is 207. Figure 8 shows a better homogenization between the number of classifications per user, revealing that there is a greater number of individuals with similar number of reviews. Hence, since 203 represents 98,1% of the 207 films at the disposal to be evaluated, we managed to make that an individual classified almost all the movies from our sample and also that a greater number of individuals selected a higher percentage of films from the catalogue to classification. So now, at the median, reviewers tend to choose 48 movies to give an opinion from 207 eligible ones. 25 The frequency occurs in this sequence: 1.57% of the films receive 1-star, 6.0% of the movie have 2- star, 21.87% obtain 3-star, 38.97% reach 4-star and 31.59% earn 5-star. 30 134 1 0 20 40 60 80 100 120 140 160 16 23 30 37 44 51 58 65 72 79 86 93 100 107 114 121 128 135 142 149 156 163 170 177 185 192 203 Nº of Users Nº of Ratings Figure 14 – Nº of rating per user Regarding to the movies, the minimum number of rating a movie can receive is 912 and the maximum is 4.820 reviews. At the median, a movie received 1.295 classifications from 4.820 users (which is much better than the previous dataset). The maximum number of evaluations collect by a movie was 3.015, that is, 62,6% of the individuals of the sample rated it. It can be seen in the figure below that there is a greater homogenization between films in relation to their number of ratings. 0 1 2 3 4 912 977 998 1010 1025 1040 1048 1067 1081 1098 1114 1133 1149 1165 1183 1205 1215 1233 1288 1311 1323 1341 1381 1416 1443 1486 1556 1613 1624 1673 1742 1972 2064 2135 2228 2426 2530 3015 Movie Count Nº of Ratings Figure 15 – Nº of rating per movie 31 Below we printed the top 10 popular films: Rank Title Nº of Ratings 1 American Beauty 3.015 2 Star Wars: Episode V - The Empire Strikes Back 2.854 3 Star Wars: Episode IV - A New Hope 2.832 4 Star Wars: Episode VI - Return of the Jedi 2.666 5 Terminator 2: Judgment Day 2.532 6 The Matrix 2.530 7 Saving Private Ryan 2.488 8 Jurassic Park 2.483 9 Back to the Future 2.460 10 Men in Black 2.446 Table 2 – Top 10 popular movies If we select the movies that had a popularity greater than 30%, we pick 31,9% of all in the catalogue (which is terrific better than MovieLens Small). In this sample all the films have a popularity greater than 18,9%, which is a huge improvement comparing with MovieLens Small where only 1,0% of them had a popularity greater than 18,9%). But we still have a long-tail distribution as can see in the figure below. We have few popular movies compared with the least popular ones (almost 45% of them had a popularity between 18% and 25%). Figure 16 – Popularity distribution Another interesting thing is to look at the distribution of the number of ratings per movie in our sample. That is, we have a relative high frequency of films located in the class range with the least number of ratings (where are located the least popular movies). At the other extreme, we have a low concentration of the popular ones. In Chapter 5, we revisit this graph and compare it with the results of the recommendations. 32 Figure 17 – Rating distribution by movie Finally, we see how the graph above was modified when the last randomization procedure was applied on our MovieLens 1M sample. That is, Synthetic Dataset 3 had a shape very similar to a normal distribution. Here it is eliminated the long-tail problem. The greater amount of the evaluations is in the middle classes. So, neither the popular films (located in the last interval) or the least popular movies (situated in the first range) concentrate a high number of reviews. It is also good to note that the total amplitude has been reduced, that is, now the minimum number of ratings that a film can have is 1.310 votes and the maximum number is 1.524, which implies that there is less disparity between the films that are in different classes, in terms of number of evaluations. In Chapter 5 it will be important to remember this main difference between the datasets. Figure 18 – Distribution of the nº rating by movie (Synthetic Dataset 3) 39 Figure 20 - SVD: Histogram (original data) Compared with the previous section, now it can be noticed a huge differentiation between the algorithms’ outputs coming from the original base. Although each algorithm produced a distinct outcome, it was confirmed the expectation stated in Chapter 3 for Item-KNN, SVD and SVD++. Namely: it was observed a relevant asymmetry between the frequency of its histograms, which indicated that few movies were more recommended than most films. Item-KNN had a bias for the first two ranges of recommendations, especially if compared to the latest ranges. Item-KNN and RBM had 100% of coverage, evidencing that all movies from catalogue were suggested. For RBM we had the opposite of the expectation stated in Chapter 3. We concluded that SVD and SVD++ were the algorithms that most favored a bias in the recommendations. Both presented a very high concentration in the first class of recommendation (which was the range with the movies with smaller visibility). The other classes exhibited low or Nº of recommenda tions Amplit ude Nº of Movies % Frequency 23-119 97 55 26,6% 120-216 97 60 29,0% 217-313 97 39 18,8% 314-410 97 26 12,6% 411-507 97 14 6,8% 508-604 97 5 2,4% 605-701 97 4 1,9% 702-794 97 4 1,9% Total 207 100% Table 19 - Item-KN: Frequency distribution table Figure 19 - Item-KNN: Histogram (original data) SVD Nº of recommenda tions Amplit ude Nº of Movies % Frequency 1-265 265 149 74,1% 266-530 265 24 11,9% 531-795 265 12 6,0% 796-1.060 265 5 2,5% 1.061-1.325 265 4 2,0% 1.326-1.590 265 4 2,0% 1.591-1.855 265 1 0,5% 1.856-2.115 265 2 1,0% Total 201 100% Table 20 - SVD: Frequency distribution table 40 almost null concentration, especially the latest interval (which was the band with the movies better positioned). Also, both models where the ones that generated the greatest discrepancy between the number of times that movies were recommended. For example, there was a movie suggested for one person at the same time that there was another indicated for 2.318 users. These models had the least coverage (SVD with 97,1% and SVD++ with 97,6%), although now all algorithms expressed an excellent level of coverage. Figure 21 – SVD++: Histogram (original data) RBM was the algorithm that presented the most differentiated result. First of all, a movie was not suggested for less than 111 people, which was an excellent result. It was also the algorithm with the lowest maximum number of recommendations, and it was by far the one with a minor discrepancy between the number of recommendations achieved by movies. In the extreme case, there was a film indicated for 111 people and another pointed out for 320 individuals, which was not such a wide discrepancy range when compared to the other outputs. In addition to the discrepancy not being high, the lowest frequencies were situated in the first and in the last class, showing that there were few cases where this disparity occurs. Figure 22 - RBM: Histogram (original data) Nº of recommenda tions Amplit ude Nº of Movies % Frequency 1-290 290 156 77,2% 291-580 290 16 7,9% 581-870 290 15 7,4% 871-1.160 290 4 2,0% 1.161-1.450 290 6 3,0% 1.451-1.740 290 2 1,0% 1.741-2.030 290 0 0,0% 2.031-2.318 290 3 1,5% Total 202 100% Table 21 - SVD++: Frequency distribution table Nº of recommenda tions Amplit ude Nº of Movies % Frequency 111-137 27 7 3,4% 138-164 27 8 3,9% 165-191 27 16 7,7% 192-218 27 32 15,5% 219-245 27 55 26,6% 246-272 27 67 32,4% 273-299 27 21 10,1% 300-320 27 1 0,5% Total 207 207 Table 22 - RBM: Frequency distribution table 41 Finally, RBM was the only algorithm with a different histogram curve, as the concentration of movies tended to increase as the bands with the highest levels of number of recommendations increased (which was totally opposite to that observed in the other algorithms, since all were right-skewed, while this was left-skewed). Here, the maximum frequency was reached in the third from last class. Despite being left-skewed, it was the distribution that most closely resembled the shape of a normal distribution. The bias was toward promoting more films among the most recommended. We consider that RBM presented the best result, being contrary and much better than our initial expectation. It is interesting to have it as a counterpoint in the analysis of the outputs from the synthetic bases. Here it is important to make an additional observation. Remember Figure 17. We can say that SVD and SVD++ intensified the pattern observed in data regarding the distribution of rating by movie, but that RBM did not mirror it. That is, the existence of long-tail seemed to be enhanced by SVD and SVD++, while it seemed not to influence RBM as this model improved the balance between popular and not-popular movies. Looking at it in another way, it cannot be stated that all algorithms behave in the same way under the presence of long-tail. In second step of the analysis, we start to analyse the results run on the synthetic bases, beginning with Synthetic Dataset 1. Figure 23 – Item-KNN: Histogram (Synthetic Dataset 1) We have interesting outcomes here. A quick look at the figures and comparing them to the ones on the first step, they showed that randomization influenced all the results produced by the algorithms. Let's start with Item-KNN. First, we must note that the total amplitude (or the discrepancy between the highest and lowest number of a movie recommendation) had reduced considerably: if before we had a minimum of 23 and a maximum of 794, now we have a minimum of 127 and a maximum of 375. That is, no film was indicated for less than 127 consumers, and the extreme case was much less disadvantageous than before. Secondly, there was a significant improvement in the distribution format, which was much more symmetric, resembling the shape of a normal distribution. Nº of recommenda tions Amplit ude Nº of Movies % Frequency 127-159 33 9 4,3% 160-192 33 36 17,4% 193-225 33 49 23,7% 226-258 33 58 28,0% 259-291 33 28 13,5% 292-324 33 18 8,7% 325-357 33 6 2,9% 358-375 33 3 1,4% Total 207 100% Table 23 - Item-KNN: Frequency distribution table 42 Regarding SVD, it was the one with the best distribution curve, a surprisingly terrific result since in the original sample its chart resembled a negative exponential curve, having a huge elevated concentration in the first class. The curve now is very similar to a normal distribution, with a slight right skewness. The discrepancy between the least and the most recommended films also dropped a lot, showing an excellent improvement: before there was a difference from 1 to 2.115 times and now the difference is from 68 to 448 times. Also, now, together with SVD++, SVD achieved 100% coverage, being identical to the other algorithms in this score. Figure 24 - SVD: Histogram (Synthetic Dataset 1) Figure 25 - SVD++: Histogram (Synthetic Dataset 1) What draws the attention of SVD++ was that, although it had an extremely skewed outcome, similar with SVD, in the original dataset, on Synthetic Dataset 1, SVD++ was the algorithm that presented the worst distribution, in opposition to SVD, which had the best. However, if we compare all the outputs from the first and second steps, the improvement obtained by SVD++ was one of the best. The asymmetry decreased considerably and now, the right-skewed distribution had the highest Nº of recommenda tions Amplit ude Nº of Movies % Frequency 68-115 48 19 9,2% 116-163 48 24 11,6% 164-211 48 39 18,8% 212-259 48 52 25,1% 260-307 48 34 16,4% 308-355 48 21 10,1% 356-403 48 12 5,8% 404-448 48 6 2,9% Total 202 100% Table 24 - SVD: Frequency distribution table Nº of recommenda tions Amplit ude Nº of Movies % Frequency 8-102 95 41 19,8% 103-197 95 59 28,5% 198-292 95 46 22,2% 293-387 95 32 15,5% 388-482 95 18 8,7% 483-577 95 4 1,9% 578-672 95 4 1,9% 673-761 95 3 1,4% Total 202 100% Table 25 - SVD++: Frequency distribution table 43 concentration in the second class, followed by the third class (ceasing to be the first class the focus of the recommendations). The divergence between the films recommended more or less times was reduced: the range of 1 to 2.318 (the worst achieved on the first step) is now from 8 to 761 time (still being the worst on the second step). Figure 26 - RBM: Histogram (Synthetic Dataset 1) RBM, which had the best output in the first step, suffered the slightest change in its histogram shape compared to that result. The negative asymmetry decreased and softened, but if we compare this improvement with that obtained by SVD or even by SVD++ we could expect that the result could have been much better. The drop between the minimum and maximum number of recommendations obtained by a movie was also very low if compared to the drop seen in the other algorithms: the total range that was from 111 to 320 users has been reduced from 110 to 303 times. We can consider that the introduction of randomness in the individuals´ preference (Synthetic Dataset 1) had a greater effect in the algorithms the higher was the bias exhibited on the original base. That is, SVD and SVD++ were the algorithms whose outputs were more biased in the first step, and they were the ones which had the best improvement. Then, Item-KNN had the third best progress, and finally RBM, which was the least biased algorithm in the first step, therefore was the least impacted in the second stage. From another perspective, we can also think that the preference of individuals had a greater influence on SVD and SVD++ algorithms. However, it may emerge a curiosity to this examination. In general, it can be inferred that the introduction of randomness in individual preference reduced the presentation bias. But we must remember that what differentiated SVD++ from SVD was the inclusion of implicit feedback. Therefore, if SVD++ added information related to the user's choice in its calculation, the introduction of randomness in those choices should had produced a greater impact on SVD++ than on SVD. However, it was on SVD that we observed a clearly better result. As mentioned earlier, SVD obtained the best and SVD++ the worst result among all the algorithms in the second step. The only possible explanation for this apparent contradiction is that on Synthetic Dataset 1 we did not change the shows watched by each user. And, implicit feedback was measured precisely by these choices. So, as SVD++ included that choices into its calculation, it means that we RBM Nº of recommenda tions Amplit ude Nº of Movies % Frequency 110-134 25 4 1,9% 135-159 25 12 5,8% 160-184 25 16 7,7% 185-209 25 19 9,2% 210-234 25 43 20,8% 235-259 25 53 25,6% 260-284 25 49 23,7% 285-303 25 11 5,3% Total 207 100% Table 26 – RBM: Frequency distribution table 44 did not change so much its inputs as much as we changed them to SVD. SVD ended up giving a much greater weight to the average score of the films (which was modified in Synthetic Dataset 1) than the choices made by the individuals. Therefore, the introduction of randomness ends up affecting SVD much more than SVD++ precisely because SVD did not consider these choices so much in its calculation. The opposition between the results of SVD and SVD++ in the first and second stages encourages us to affirm that much of the bias observed in the first stage was a reflection of the consumers' own choice, and that is why it was still present on SVD++ in the second step. In any case, without doubt it can be concluded that the introduction of randomness in individual´s taste improved the result of all algorithms in terms of reducing presentation bias. That is, much of the skewness observed in the results coming from the original base was a reproduction of a preexisting bias in the base resulting from individual’s preference. More than that, we can note that the outcomes of the second step no longer suggest the strong evidence of a position bias as it existed before, specially by the strong contrast between the extreme interval´s frequencies of the histograms in the first stage. We must now remember Figure 17 again. On Synthetic Dataset 1, we preserved the film popularity, so Figure 17 is still valid for this dataset. Hence, we are still under the same influence of the long-tail distribution. We can conclude that no algorithm was affected solely by the format of the distribution (or by the movie popularity), otherwise we should have the same result for the original and Synthetic Dataset 1. In this step, we no longer had any of the algorithms intensifying or reflecting precisely the Figure 17 shape. Thus, this was another evidence that much of the bias observed in the results of the algorithms run on the original sample was a reflection of the bias contained in the individuals’ preferences. Let's start with the analysis of the second synthetic base and third step of the analysis (Synthetic Dataset 2). Figure 27 - Item-KNN: Histogram (Synthetic Dataset 2) Nº of recommenda tions Amplit ude Nº of Movies % Frequency 133-164 32 7 3,4% 165-196 32 32 15,5% 197-228 32 56 27,1% 229-260 32 63 30,4% 261-292 32 35 16,9% 293-324 32 9 4,3% 325-356 32 4 1,9% 357-382 32 1 0,5% Total 207 100% Table 27 - Item-KNN: Frequency distribution table 45 Compared to the original sample, it is clear that all distributions showed improvement in terms of reducing the asymmetry or bias. However, in relation to the first randomization, there were both improvement and worsening in the algorithms’ outputs. Figure 28 - SVD: Histogram (Synthetic Dataset 2) Figure 29 - SVD++: Histogram (Synthetic Dataset 2) Item-KNN had a good improvement in relation to the original base, although in relation to the first randomization there was no substantial variation. The right skewness persisted, although much more smoothly than the one noted in the original sample. SVD, which in the first randomization obtained the best distribution curve, now had one of the worst. However, if we compare it with the original base, we still had a great improvement and a notable positive impact (both in terms of the reduction of asymmetry and total amplitude). SVD++ showed a right skewness that lasted the first four intervals, having a larger decay from the fifth range onwards. We can say that, in terms of number of recommendations, the films positioned Nº of recommenda tions Amplit ude Nº of Movies % Frequency 60-128 69 26 12,6% 129-197 69 59 28,5% 198-266 69 57 27,5% 267-335 69 42 20,3% 336-404 69 11 5,3% 405-473 69 6 2,9% 474-542 69 3 1,4% 543-607 69 3 1,4% Total 207 100% Table 28 - SVD: Frequency distribution table Nº of recommenda tions Amplit ude Nº of Movies % Frequency 1-96 96 52 25,1% 97-192 96 40 19,3% 193-288 96 47 22,7% 289-384 96 35 16,9% 385-480 96 17 8,2% 481-576 96 7 3,4% 577-672 96 5 2,4% 673-761 96 4 1,9% Total 207 100% Table 29 - SVD++: Frequency distribution table 46 among the first four ranges did not present significant bias among themselves, and that the bias prevailed in the comparison of all those class with the successive intervals. Finally, RBM was the only algorithm that showed a visible improvement compared to the original sample and to the first randomization. First, we must note that the total amplitude had been reduced even further: the smallest number of recommendations for a film is now 169 users and the maximum number is 296 (noticing that the ranges where these extremes occur are the least populous). In other words, there was not much difference or advantage between a film that had been suggested too much or too little. Lastly, it should be noted that the distribution is more centralized, resembling more a normal distribution, making the left skewness less pronounced and less noticeable. Figure 3 - RBM Histogram (Synthetic Dataset 2) So, the greater flexibility in the randomization of individual´s preferences done in Synthetic Dataset 2 did not totally agree with what we concluded about the results of Synthetic Dataset 1. That is, it could not be stated that the more biased were the outputs on the first step, the more impacted the algorithms will be by the introduction of randomness in individual choice. If that was the case, we would expect that that SVD and SVD++ would continue to improve when compared with Synthetic Dataset 1. That is, the introduction of randomness in the original base regarding to user´s tastes contributed to make the distributions less asymmetric (just compare the first with the third stage). However, in general, the deepening of randomization in consumer´s choice did not result in a greater symmetry of the histograms (just compare the third with the second stage). In theory, the more randomization there is in the data, the more it will be reflected in the results, which means that the histograms will tend to be more symmetric. Why then is this theory was confirmed when we compared the outcomes of the step 3 with the step 1, but not when we compared the outputs of the step 3 with the step 2? Well, if we have a less randomized base and a much more randomized base and the results don't change so much, it is a sign that probably the algorithms are responsible for that bias. So, considering the results of third stage, we can no longer confirm what was observed in the first randomization: the introduction of randomness seemed to remove the strong evidence of presentation bias. In the third step, it was evident that there were still some relationship between its distribution’s shapes with those of the original sample. Those algorithms that were more biased remained the most biased (SVD and SVD++) and the least Nº of recommenda tions Amplit ude Nº of Movies % Frequency 169-184 16 10 4,8% 185-200 16 13 6,3% 201-216 16 24 11,6% 217-232 16 44 21,3% 233-248 16 62 30,0% 249-264 16 37 17,9% 265-280 16 15 7,2% 281-296 16 2 1,0% Total 207 100% Table 30 - RBM: Frequency distribution table 47 remained the least skewed (Item-KNN and RBM). If even with randomness, the algorithms continue to reflect the pattern observed in the results of the original base, but there was not necessarily a considerable improvement with respect to Synthetic Dataset 1, we can consider this as an evidence that presentation bias may be being partly produced by the algorithm itself. Lastly, let's analyse the results of the third randomization done and last step of the analysis (Synthetic Dataset 3). In this step we must also take in mind Figure 18. In the third base it was where Item-KNN presented its best result in terms of a symmetric distribution. We can visualize that this was the best graph among all previous Item-KNN outcomes. It's still possible to visualize a right skewness, but much smoother. It must be highlighted that the total amplitude had been reduced a lot: the biggest difference between the number of recommendations is between 201. This difference was the second smallest obtained from all algorithms run on all bases. Figure 31 - Item-KNN: Histogram (Synthetic Dataset 3) Regarding SVD, there was a slight improvement compared to Synthetic Dataset 2, most notable by the total amplitude of the recommendations. But, undoubtedly, it was on Synthetic Dataset 1 that SVD achieved its best result. Nº of recommenda tions Amplit ude Nº of Movies % Frequency 150-175 26 7 3,4% 176-201 26 37 17,9% 202-227 26 51 24,6% 228-253 26 52 25,1% 254-279 26 33 15,9% 280-305 26 15 7,2% 306-331 26 10 4,8% 332-351 26 2 1,0% Total 207 100% Table 31 - Item-KNN: Frequency distribution table Nº of recommenda tions Amplit ude Nº of Movies % Frequency 64-124 61 18 8,7% 125-185 61 54 26,1% 186-246 61 56 27,1% 247-307 61 40 19,3% 308-368 61 24 11,6% 269-429 61 7 3,4% 430-490 61 4 1,9% 491-546 61 4 1,9% Total 207 100% Table 32 - SVD: Frequency distribution table 48 Figure 32 - SVD: Histogram (Synthetic Dataset 3) Figure 33 - SVD++: Histogram (Synthetic Dataset 3) Figure 34 - RBM Histogram (Synthetic Dataset 3) Concerning SVD++ outcomes, a common characteristic in all four tested bases was that it was always the worst when compared to the other algorithms. In Synthetic Dataset 3, the asymmetry remained visible, with a bias towards the first class. The result of RBM in Synthetic Dataset 3 was the best result of all outcomes of this research. It should be noted that the highest difference of the number of recommendations between two films was the smallest of all: equal to 74. Thus, the work done by the algorithm was very good, since there is almost no big advantage in the number of recommendations. Plus, the higher concentration of movies was in the intermediate ranges, being minimal in the extreme bands, meaning that most of the numbers are close to the average. The standard deviation was low and equal to 15,5 times, revealing that, on average, a film was recommended for 15,5 individuals more or less than another Nº of recommenda tions Amplit ude Nº of Movies % Frequency 14-104 91 54 26,1% 105-195 91 46 22,2% 196-286 91 35 16,9% 287-377 91 33 15,9% 378-468 91 16 7,7% 469-559 91 15 7,2% 560-650 91 5 2,4% 651-735 91 3 1,4% Total 207 100% Table 33 - SVD++: Frequency distribution table Nº of recommenda tions Amplit ude Nº of Movies % Frequency 195-204 10 3 1,4% 205-214 10 24 11,6% 215-224 10 37 17,9% 225-234 10 49 23,7% 235-244 10 46 22,2% 245-254 10 30 14,5% 255-264 10 14 6,8% 265-268 10 4 1,9% Total 207 100% Table 34 - RBM+: Frequency distribution table 55 6. CONCLUSIONS The four main movie recommendation algorithms are: Item based neighborhoods (Item-KNN), Singular Value Decomposition (SVD), SVD++ and Restricted Boltzmann Machines (RBM). Besides they were quoted as the most popular or as with the best performance or as with the best fit for the Netflix company usage, we ensured that they were representative of distinct methods of machine learning for recommender system. The first three of them were from collaborative filtering method: Item-KNN from memory-based model and the SVD and SVD++ from model-based technique, specifically, from matrix factorization. The difference between those last two had the purpose to include implicit feedback in this study. Lastly, from deep learning method, RBM was selected. To conduct the research, it was necessary to subsample MovieLens 1M dataset. Each algorithm was applied separately in data in order to deliver the top 10 highest predictions for each user as a recommendation. It was examined the distribution of the number of recommendations obtained per movie. The outputs showed a strong evidence of presentation bias in at least two algorithms: SVD and SVD++, which intensified a pre-existing (inputs) asymmetry in the number of evaluations per film (or movie popularity). Then, it was started the process of data randomization. First, randomness was introduced in the individuals‘ preferences, which were shuffled between their own choices. The movie popularity was preserved, keeping intact the inputs asymmetry in relation to the number of evaluations received per movie. All the algorithms had a visible improvement in their histograms, suggesting that part of the previous observed bias was a reflection of individual´s taste, and not exactly a reflection of the movie popularity. In other words, was found indication that part of the bias derived from the human being himself, however, it was not all exclusive to human´s behaviour, since there was still a bias remaining in some algorithms. SVD was the one which experienced the most drastic advance, practically ceasing to exhibit evidence of presentation bias. Next, the randomization of consumer´s preference was intensified, which were mixed among each other. We maintained untouched the movie popularity. Although there was a reduction in asymmetry in comparison with the results from the original database, when compared with the results from the first randomization procedure there was a considerable worsening for SVD and no significant improvement for Item-KNN and SVD++. The greater randomization did not promote a proportional improvement in the symmetry of the distributions, and the outcomes signalized that probably part of the presentation bias could be being generated by the algorithms themselves. Finally, it was made a random draw of the films from the catalogue among the individuals, being therefore randomized the movie popularity and the individuals´ choices. In this last procedure, we changed the input distribution, which went from having a long-tail format to having a shape similar to that of a normal distribution. Item-KNN and RBM presented a symmetrical distribution, while SVD and SVD++ continued to be right-skewed. This showed evidence that some algorithms were not intensifying or reproducing the input patterns and continued to exhibit a tendency towards a few movies in the number of recommendations, inconsistent with the popularity of films or the humans’ choice. With that, it was concluded that part of presentation bias could be generated by some algorithms. 56 In terms of presentation bias, SVD++ was always the one with the worst results, being considered the worst of all algorithms because it expressed a tendency to generate this bias in all steps. That is, in general, few films had a high number of recommendations, while a large majority tended to be at disadvantage by being suggested to few users. In sequence, SVD was considered the second worst, as it also exhibited a tendency to generate presentation bias. RBM was the most robust model which delivered substantially better results. In all procedures RBM tended to favour a greater number of films to have a larger public when compared to the other algorithms. In all stages, RBM tended to increase the minimum number of recommendations obtained by movie, to reduce the discrepancy between the maximum and minimum number of suggestions and tended to be the algorithm with the better achievements. Based on all results, it had been found evidence of presentation bias. In part this bias was generated or intensified by some algorithms, but also in part the bias was mere reflection of a pre-existing bias in the human’s preferences. In any case, it was concluded that the algorithms did not behave in a single way, such as RBM, which never exhibited presentation bias in its recommendations, or Item- KNN, which tended to reproduce a pre-existing bias (or information) in the data. In general, the randomization procedures done on the database contributed to reduce the asymmetry and to centralize the frequency distributions. However, when compared to each other, the intensification of randomization performed on the database did not have a proportional effect on the results, by not conducting a higher centralization of the frequencies distributions. By an exclusive analysis of the algorithm’s performance, it was concluded that usually an increase in the percentage of data randomized led to a worsening of RMSE. However, there was no evidence that the intensification of the different randomization procedures applied at the original base had any effect on RMSE. Typically, the algorithm’s performance depended more on the percentage at which the randomization was done than on the type of randomization done on the dataset. Comparing the algorithm’s performance between themselves, RBM once again proved to be the most robust model because it presented a high stability on its RMSE curves, although it was the one that presented the worst RMSE value. All that said, it was concluded that a higher accuracy (lower RMSE) was not correlated with a better performance in terms of the recommendation’s distributions. More specifically, with regard to presentation bias. Indeed, this study brought more evidence to the line of thought that believe that rating predictive accuracy metrics may not be the most suitable for a ranking purpose. Our analysis leads us to believe that both algorithm’s performance and machine learning process should consider other metrics rather than RMSE. We even remain open to the possibility that part of the observed presentation bias may be a reflection of the usage of improper metrics. 57 7. LIMITATIONS AND RECOMMENDATIONS FOR FUTURE WORKS The biggest limitation was the computational capacity available to do the research. The ideal scenario would be to run the selected algorithms on the second largest dataset available on MovieLens website (MovieLens 25M), which is the most recent. However, it was only on the second smallest database (MovieLens Small) that we managed to apply the models. Yet, as it was revealed, the minimum number of reviews by movie on those datasets was extremely low and, in general, the relative number of films with few evaluations was significant. It was demonstrated that this ended up having a great impact on the functioning of the algorithms, losing the reliability of the results, in our view. For these reasons, it is suggested to reapply this study not on one of those largest bases, but on a sample of them with the intention to correct this problem, seeking to minimize the loss of information, especially in relation to diversity. Our research was mainly done with Surprise library. That is, we followed some pre-established definitions in this library regarding the selected algorithms, as well as the similarity metrics. Therefore, it would be interesting to apply the research in other validated models for Item-KNN, SVD, SVD++ and RBM and check if there are relevant changes in the results found. Moreover, even for each of these algorithms there was a huge number of configurations that could be tested against each other to verify if there would be any considerably better. This study was impaired in diversity analysis, which could not be done for the reasons explained. We believe that this is an important, complementary and inherent aspect of our research theme. So, it is essential to proceed with further investigations of which would be the best method to accomplish this analysis. A critical limitation of our work, somewhat complex to be faced, was presented in Chapter 2. The algorithms used by the recommendation systems works predominantly based on the rating prediction accuracy. But this not necessarily perform in relation to the main task: the production of a top-N recommendation list (McNee, Riedl, & Konstan, 2006). For example, when we fixed that our analysis would be based on the top 10 recommendations by user, what we have was the 10 films with the highest rating predicted for each person by the algorithms. But the ratings were predicted taking into account the accuracy metric, and not a ranking criterion. So, we had a result concerning about RMSE and not with the quality of top-N suggestions. Therefore, in the interest of deepen the understanding of presentation bias, one should not seek to measure it in the most used algorithms, but rather to create new models, or adapt the existing algorithms, that were relied on ranking criteria (naturally, along with that, it should be investigated what kind of database is ideal for such purpose). Moreover, we saw that sparsity (which was present in our datasets and very common in many databases) impacts negatively accuracy measures. However, we do not know how much RMSE is affected by it and how much it may have influenced the algorithm´s outcome. Another limitation, already presented in Chapter 2, concerns the infeasibility of conducting online tests. However, in relation to this issue, it would only be possible to circumvent it by having access to a real and dynamic database, which, even in an affirmative case, it would be hardly to have a wide academic dissemination. 58 A constraint, previously mentioned in Chapter 3, was related to the high possibility that the databases used in this research were already influenced by presentation bias. Since the datasets were affected by collaborative filtering applied on MovieLens website to order the movies in front of users, the origin per se of this problem could not be independently observed. That is, the inputs were already a product of filtering mechanisms and therefore contain some information related to the presentation bias 29 . However, this is a difficult problem to be overcome. Even if we put the films in alphabetical order, if we take a relatively small base like MovieLens Small, we had 9.724 movies. It is to be questioned whether the initial films would tend to be much more rated than the ones in other positions. That is, in a catalogue with a reasonable number of movies, it is impossible to eliminate the ordering issue as there must be always some movies shown before others. Our suggestion to work around this problem is to get a sample of users large enough to ensure that all films from the catalogue could has the same probability to be arranged firstly to each reviewer, and then, for each person the films would be ordered randomly. Thus, although in the individual sphere the ordering problem could not be eliminated, having a large sample of individuals for which this ordering was random it would be a way to get rid of presentation bias, as we would ending up having a sample where the order was random. 29 Even though all users selected to compose each dataset had been chosen randomly by MovieLens, the movies evaluated by them reflects this filtering mechanism. 59 8. BIBLIOGRAPHY Abdollahi, B., & Nasraoui, O. (2016). Explainable Restricted Boltzmann Machines for Collaborative Filtering. (Whi). Retrieved from http://arxiv.org/abs/1606.07129 Abdollahpouri, H., Burke, R., Mansoury, M., & Mobasher, B. (2019). The Unfairness of Popularity Bias in Recommendation. Abdollahpouri, H., Burke, R., & Mobasher, B. (2019). Managing Popularity Bias in Recommender Systems with Personalized Re-ranking. Adomavicius, G., & Tuzhilin, A. (2005). Toward the Next Generation of Recommender Systems: A Survey of the State-of-the-Art and Possible Extensions. The Philosophical Review, 12(5), 548. https://doi.org/10.2307/2176678 Aggarwal, C. C. (2016). Recommender Systems (Vol. 40). https://doi.org/10.1145/245108.245121 Ahmed, M., Imtiaz, M. T., & Khan, R. (2018). Movie recommendation system using clustering and pattern recognition network. 2018 IEEE 8th Annual Computing and Communication Workshop and Conference, CCWC 2018, 2018-Janua, 143–147. https://doi.org/10.1109/CCWC.2018.8301695 Amatriain, X., & Basilico, J. (2012a). Netflix Recommendations: Beyond the 5 stars (Part 1). Netflix Technology Blog Apr, (Part 1). Amatriain, X., & Basilico, J. (2012b). Netflix Recommendations: Beyond the 5 stars (Part 2). Netflix Technology Blog, (Part 2), 1–11. Anderson, C. (2006). The long tail - Why the future of business is selling less of more. 238. Retrieved from http://dl.motamem.org/long_tail_chris_anderson_motamem_org.pdf Ayyaz, S., Qamar, U., & Nawaz, R. (2018). HCF-CRS: A Hybrid content based fuzzy conformal recommender system for providing recommendations with confidence. In PLoS ONE (Vol. 13). https://doi.org/10.1371/journal.pone.0204849 Bar-Ilan, J., Keenoy, K., Levene, M., & Yaari, E. (2008). Presentation Bias is significant in determining user preference for search result - A User Study. Journal of the American Society for Information Science, 59(1), 126–135. https://doi.org/10.1002/asi Bell, R. M., & Koren, Y. (2007a). Improved Neighborhood-based Collaborative Filtering. 7–14. Bell, R. M., & Koren, Y. (2007b). Lessons from the Netflix prize challenge. ACM SIGKDD Explorations Newsletter, 9(2), 75. https://doi.org/10.1145/1345448.1345465 Bell, R. M., Koren, Y., & Volinsky, C. (2007a). Modeling relationships at Multiple Scales to improve cccuracy of large Recommender Systems. Bell, R. M., Koren, Y., & Volinsky, C. (2007b). The BellKor solution to the Netflix Prize. 15. Retrieved from https://www.netflixprize.com/assets/ProgressPrize2007_KorBell.pdf Bell, R. M., Koren, Y., & Volinsky, C. (2009). The BellKor 2008 Solution to the Netflix Prize. Pathologie- Biologie, (12), 1–21. https://doi.org/10.1016/j.patbio.2009.09.005 Bellogı, A., Castells, P., & Cantador, I. (2017). Statistical biases in Information Retrieval metrics for recommender systems. 606–634. https://doi.org/10.1007/s10791-017-9312-z 60 Bennett, J., & Lanning, S. (2007). The Netflix Prize. Proceedings of KDD Cup and Workshop, 3–6. https://doi.org/10.1145/1562764.1562769 Bougiatiotis, K., & Giannakopoulos, T. (2018). Enhanced movie content similarity based on textual, auditory and visual information. Expert Systems with Applications, 96, 86–102. https://doi.org/10.1016/j.eswa.2017.11.050 Celma, Ò., & Cano, P. (2008). From hits to niches? or how popular artists can bias music recommendation and discovery. Chandrashekar, A., Amat, F., Basilico, J., & Jebara, T. (2017). Artwork Personalization at Netflix. Netflix Technology Blog, (6), 67–72. Chen, H. (2017). Weighted-SVD: Matrix Factorization with Weights on the Latent Factors. (2010), 1– 19. Chen, L., Zhang, G., & Zhou, H. (2017). Improving the Diversity of Top-N Recommendation via Determinantal Point Process. Choi, S. M., Ko, S. K., & Han, Y. S. (2012). A movie recommendation algorithm based on genre correlations. Expert Systems with Applications, 39(9), 8079–8085. https://doi.org/10.1016/j.eswa.2012.01.132 Corduneanu, A. D., & Kim, H. (2015). Modifying search result ranking based on implicit user feedback and a model of presentation bias. 1(12). Cremonesi, P., Koren, Y., & Turrin, R. (2010). Performance of recommender algorithms on top-N recommendation tasks. RecSys’10 - Proceedings of the 4th ACM Conference on Recommender Systems, 39–46. https://doi.org/10.1145/1864708.1864721 Deldjoo, Y., Elahi, M., & Cremonesi, P. (2016). Using visual features and latent factors for movie recommendation. Deshpande, M., & Karypis, G. (2004). Item-Based Top-N Recommendation Algorithms. 22(1), 143– 177. Economist, T. (2019). Disney, AT&T and Comcast v Netflix, Amazon and Apple. The Economist, 1–7. Retrieved from https://www.economist.com/business/2019/03/30/disney-at-and-t-and- comcast-v-netflix-amazon-and-apple Farine, D. R. (2017). A guide to null models for animal social network analysis. 1309–1320. https://doi.org/10.1111/2041-210X.12772 Fleder, D., & Hosanagar, K. (2009). Blockbuster culture’s next rise or fall: The effect of recommender systems on sales diversity. (2007). Fontaine, G., & Simone, P. (2017). VOD distribution and the role of aggregators. European Audiovisual Observatory, (May). Funk, S. (2006). Netflix Update: Try This at Home. Retrieved from https://sifter.org/~simon/journal/20061211.html Ghazanfar, M. A., Iqbal, H., Azam, M. A., Aljohani, N. R., & Alowibdi, J. S. (2018). Building scalable and accurate hybrid kernel mapping recommender systems. 2017 Intelligent Systems Conference, IntelliSys 2017, 2018-Janua(September), 488–493. https://doi.org/10.1109/IntelliSys.2017.8324338 61 Ghazanfar, M. A., & Prugel-bennett, A. (2010). A scalable, accurate hybrid recommender system. 2010 Third International Conference on Knowledge Discovery and Data Mining, (2), 94–98. https://doi.org/10.1109/WKDD.2010.117 Gomez-Uribe, C. A., & Hunt, N. (2015). The Netflix Recommender System. ACM Transactions on Management Information Systems, 6(4), 1–19. https://doi.org/10.1145/2843948 Goodfellow, I., Bengio, Y., & Courvill, A. (2016). Deep learning. In Cambridge, Massachusetts, London, England: The MIT Press. https://doi.org/10.1007/s10710-017-9314-z Hallinan, B., & Striphas, T. (2016). The Netflix Prize and the production of algorithmic culture. New Media and Society, 18(1), 117–137. https://doi.org/10.1177/1461444814538646 Han, Z., Wang, D., & Hong, M. (2017). Signal Processing and Networking for Big Data Applications. Harper, F. M., & Konstan, J. A. (2015). The MovieLens Datasets: History and Context. ACM Transactions on Interactive Intelligent Systems (TiiS), 5(4), 1–19. https://doi.org/https://doi.org/10.1145/2827872 He, J., & Chu, W. W. (2010). A Social Network-Based Recommender System (SNRS). 47–74. https://doi.org/10.1007/978-1-4419-6287-4_4 Himabindu, T. V. R., Padmanabhan, V., & Pujari, A. K. (2018). Conformal matrix factorization based recommender system. Information Sciences, 467, 685–707. https://doi.org/10.1016/j.ins.2018.04.004 Hu, Y., Koren, Y., & Volinsky, C. (2008). Collaborative Filtering for Implicit Feedback Datasets. https://doi.org/10.1109/ICDM.2008.22 Huang, H., Zhao, Y., Yan, J., & Yang, L. (2015). Improve the “Long Tail " Recommendation through Popularity-Sensitive Clustering. Hurley, N., & Zhang, M. I. (2011). Novelty and diversity in Top- N recommendation – Analysis and evolution. https://doi.org/10.1145/1944339.1944341 Hwang, K., & Chen, M. (2017). Big-Data Analytics for Cloud, IoT and Cognitive Computing. Jannach, D., & Jugovac, M. (2019). Measuring the Business Value of Recommender Systems. Retrieved from http://arxiv.org/abs/1908.08328 Jung, J. J. (2012). Attribute selection-based recommendation framework for short-head user group: An empirical study by MovieLens and IMDB. Expert Systems with Applications, 39(4), 4049– 4054. https://doi.org/10.1016/j.eswa.2011.09.096 Kane, F. (2019). Building Recommender Systems with Machine Learning and AI. Karypis, G. (2001). Evaluation of Item-Based Top-N Recommendation Algorithms. 1–13. Kesharwani, M. A., Rakesh, M., Tech, B. M., Abdul, A. P. J., & Prof, A. (2017). Movie Rating Prediction Based on Twitter Sentiment Analysis. Journal of Advanced Computing and Communication Technologies, 5(1), 2347–2804. Retrieved from https://apps.twitter.com/app/new. Khan, M. W., Chan, G., Chua, F., & Haw, S. (2017). Ontology-Based Hybrid Recommender System for Internet Protocol Television. https://doi.org/10.1007/978-3-319-70010-6 Konstan, J. A., & Riedl, J. (2012). Recommender systems: from algorithms to user experience. 101– 62 123. https://doi.org/10.1007/s11257-011-9112-x Koren, Y. (2008). Factorization Meets the Neighborhood: a Multifaceted Collaborative Filtering Model. Proceedings of the 14th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD), 426–434. Koren, Y., Bell, R., & Volinsky, C. (2015). Matrix Factorization Techniques for Recommender Systems. 199–207. https://doi.org/10.1002/9781118770368.ch6 Lee, D., & Hosanagar, K. (2014). Impact of recommender systems on sales volume and diversity. 35th International Conference on Information Systems “Building a Better World Through Information Systems”, ICIS 2014, 1–15. Levene, M. (2010). An Introduction to Search Engines and Web Navigation. Li, G., & Chen, Q. (2016). Exploiting explicit and implicit feedback for personalized ranking. Mathematical Problems in Engineering, 2016. https://doi.org/10.1155/2016/2535329 Liu, C., Last, M., & Shmilovici, A. (2019). Identifying turning points in animated cartoons. Expert Systems with Applications, 123, 246–255. https://doi.org/10.1016/j.eswa.2019.01.003 Lops, P., Musto, C., Narducci, F., & Semeraro, G. (2019). Semantics in Adaptive and Personalised Systems - Methods, Tools and Applications. Louppe, G. (2010). Collaborative filtering. Luhaniwal, V. (2019). Why Gradient descent isn ’ t enough: A comprehensive introduction to optimization algorithms in neural networks. Towards Data Science, 1–18. McNee, S. M., Riedl, J., & Konstan, J. A. (2006). Accurate is not always good: How Accuracy Metrics have hurt Recommender Systems. Search, 1097–1101. Retrieved from http://scholar.google.com/scholar?hl=en&btnG=Search&q=intitle:Accurate+is+not+always+goo d:+How+Accuracy+Metrics+have+hurt+Recommender+Systems#1 Moreno, M. N., Segrera, S., López, V. F., Muñoz, M. D., & Sánchez, Á. L. (2016). Web mining based framework for solving usual problems in recommender systems. A case study for movies’ recommendation. Neurocomputing, 176, 72–80. https://doi.org/10.1016/j.neucom.2014.10.097 Musto, C., Narducci, F., Lops, P., de Gemmis, M., & Semeraro, G. (2019). Linked open data-based explanations for transparent recommender systems. International Journal of Human Computer Studies, 121(May 2017), 93–107. https://doi.org/10.1016/j.ijhcs.2018.03.003 Nikolakopoulos, A. N., Berberidis, D., Karypis, G., & Giannakis, G. B. (2019). Personalized difusions for Top-N recommendation. RecSys 2019 - 13th ACM Conference on Recommender Systems, 260– 268. https://doi.org/10.1145/3298689.3346985 Park, Y., & Tuzhilin, A. (2008). The Long Tail of Recommender Systems and How to Leverage It. 11–18. Patel, A. A. (2019). Hands-On Unsupervised Learning Using Python. In O’Reilly. O’Reilly Media. Piotte, M., & Chabbert, M. (2009). The Pragmatic Theory solution to the Netflix Grand Prize. Working Paper, (August), 1–92. https://doi.org/10.1.1.162.2118 Quadrana, M., Piazzolla, P., Elahi, M., Cremonesi, P., Deldjoo, Y., & Garzotto, F. (2016). Content- Based Video Recommendation System Based on Stylistic Visual Features. Journal on Data Semantics, 5(2), 99–113. https://doi.org/10.1007/s13740-016-0060-9 63 Resnick, P., Bergstrom, P., Riedl, J., & Iacovou, N. (1994). GroupLens: An Open Architecture for Collaborative Filtering of Netnews. 175–186. Resnick, P., Varian, H. R., & Editors, G. (1997). Recommender Systems. Communications of the ACM, 40(3), 56–58. Retrieved from http://portal.acm.org/citation.cfm?id=245121 Ricci, F., Rokach, L., Shapira, B., Kantor, P. B., & Ricci, F. (2011). Recommender Systems Handbook. https://doi.org/10.1007/978-0-387-85820-3 Ruder, S. (2016). An overview of gradient descent optimization algorithms. 1–14. Retrieved from http://arxiv.org/abs/1609.04747 Sarwar, B., Karypis, G., Konstan, J., & Riedl, J. (2001). Item-based Collaborative Filtering Recommendation Algorithms. Steck, H. (2018). Calibrated recommendations. 154–162. https://doi.org/10.1145/3240323.3240372 Su, X., & Khoshgoftaar, T. M. (2009). A Survey of Collaborative Filtering Techniques. 2009(Section 3). https://doi.org/10.1155/2009/421425 Tewari, A. S., Singh, J. P., & Barman, A. G. (2018). Generating Top-N items recommendation set using Collaborative, Content Based Filtering and rating variance. Procedia Computer Science, 132(Iccids), 1678–1684. https://doi.org/10.1016/j.procs.2018.05.139 Toscher, A., & Jahrer, M. (2009a). The BigChaos Solution to the Netflix Grand Prize. 1–52. Toscher, A., & Jahrer, M. (2009b). The BigChaos Solution to the Netflix Prize 2008. Netflix Prize Documentation, (August), 1–17. https://doi.org/10.1.1.162.2118 Truyen, T. T., Phung, D. Q., & Venkatesh, S. (2009). Ordinal Boltzmann machines for collaborative filtering. Proceedings of the 25th Conference on Uncertainty in Artificial Intelligence, UAI 2009, 548–556. Wang, H., & Zhang, H. (2018). Movie genre preference prediction using machine learning for customer-based information. 2018 IEEE 8th Annual Computing and Communication Workshop and Conference, CCWC 2018, 2018-Janua, 110–116. https://doi.org/10.1109/CCWC.2018.8301647 Wang, S., Tang, J., Wang, Y., & Liu, H. (2018). Exploring hierarchical structures for recommender systems. IEEE Transactions on Knowledge and Data Engineering, 30(6), 1022–1035. https://doi.org/10.1109/TKDE.2018.2789443 Wang, Z., Guo, Y., & Du, B. (2018). Matrix completion with preference ranking for top-n recommendation. IJCAI International Joint Conference on Artificial Intelligence, 2018-July, 3585– 3591. https://doi.org/10.24963/ijcai.2018/498 Wu, J., & Li, T. (2008). A Modified Fuzzy C-Means Algorithm For Collaborative Filtering. 2–5. Xian, Z., Li, Q., Li, G., & Li, L. (2017). New Collaborative Filtering Algorithms Based on SVD ++ and Differential Privacy. 2017. Yang, H., & Qiu, R. (2018). Advances in Service Science - Proceedings of the 2018 INFORMS International Conference on Service Science. Yin, H., Cui, B., Li, J., Yao, J., & Chen, C. (2012). Challenging the Long Tail Recommendation. 5(9), 896– 907. 64 Yue, Y., Patel, R., & Roehrig, H. (2010). Beyond position bias: Examining result attractiveness as a source of presentation bias in clickthrough data. Proceedings of the 19th International Conference on World Wide Web, WWW ’10, 1011–1015. https://doi.org/10.1145/1772690.1772793 Zolaktaf, Z., Babanezhad, R., & Pottinger, R. (2018). A generic Top-N recommendation framework for trading-off accuracy, novelty, and coverage. Proceedings - IEEE 34th International Conference on Data Engineering, ICDE 2018, 149–160. https://doi.org/10.1109/ICDE.2018.00023