当前位置:高等教育资讯网  >  中国高校课件下载中心  >  大学文库  >  浏览文档

《电子商务 E-business》阅读文献:the benefit of using tag-based profiles

资源类别:文库,文档格式:PDF,文档页数:10,文件大小:234.49KB,团购合买
点击下载完整版文档(PDF)

The benefit of using Tag-Based Profiles Claudiu s firan Wolfgang NejdI Raluca pain L3S Research Center L3S Research cente L3S Research Center Appelstrasse 9a appelstrasse a 60167 Hanover, Germany 30167 Hanover, Germany 30167 Hanover, Germany firan l3S. de nejdI@L3S.de pain @L3S.de Abstract Foaming the Music or Yahoo! Music are a few of the currently online available music recommendation systems Collaborative tagging, i.e. the process of assigning These systems employ different approaches for recom- metadata in the form of keywords to shared content by many mending music tracks to their users, ranging from content users, has emerged as an important way to provide informa- based and collaborative filtering techniques to hybrid meth- tion about resources on the Web and elsewhere. Such key- ods. While clearly useful to their users, these more conven- words(tags)are used to enable the organization of infor- tional recommendation techniques still suffer from a num mation within personal information spaces, such as photo ber of problems: in the case of collaborative filtering,mu- collections, but can also be shared, allowing browsing and sical pieces with no ratings cannot be recommended be- earching with the help of tags attached by other users to cause recommendations are based on actual user ratings information resources from the Web. Recent research has Besides, artist variety in recommended pieces can be poor, shown that such tag distributions stabilize over time and can making these recommendations less satisfactory than they be used to improve search on the Web. In this paper we are could be. Recommending tracks that are similar to users interested in another aspect, namely how they characterize favorites in terms of content induces unreliability in model- the user and enable personalized recommendations. Using ing users' preferences and besides, content similarity does data from a frequently used music search portal, Last. fm, not necessarily reflect preferences. Hybrid recommendation we analyze tag usage and statistics and investigate the use techniques combine the advantages of the two approaches of tag-based user profiles in contrast to conventional user and are thus better. However, to our knowledge, the only profiles based on song and track usage. We specify recom- usable music recommender system using hybrid techniques mendation algorithms based on tag user profiles, and ex- is Foafing the Music, which relies heavily on FOAF profiles plore how collaborative filtering recommendations based created by the users-not an easy task for non-expert users on these tag profiles are different from recommendations Last, but not least, though many of these community sites based on song/track profiles. Finally, we describe a new allow tagging, these tags are not used for recommendation search-based method, which uses tags to recommend songs or any form of advanced search. interesting to a user, yielding substantially improved results The rest of this paper is structured as follows: Sectio The paper finishes with a discussion of some future work to 2 presents a short motivating scenario, in Section 3 we dis further improve tag-based search and recommendation in cuss existing approaches to music recommendations. We continue with the description of the Last. fm dataset, which we used in our experiments(Section 4). In Section 5 we define track-based and respectively tag-based profiles, dis 1. Introductio cuss how they differ from each other and present appropri ate algorithms for creating these user profiles. Using the algorithms described in Section 5, we then propose 7 differ More and more companies start offering personalized ent music recommendation methods(Section 6)based on services toward their users and online music recommender systems are one prominent example. Pandora, Last. fm, shttp://foafing-the-music.iua.upf.edu/ http://music.yahoo.com/ 'Method of making automatic predictions about the interests of a user http://www.last.fml by collecting preference information from many user

The Benefit of Using Tag-Based Profiles Claudiu S. Firan L3S Research Center Appelstrasse 9a 30167 Hanover, Germany firan@L3S.de Wolfgang Nejdl L3S Research Center Appelstrasse 9a 30167 Hanover, Germany nejdl@L3S.de Raluca Paiu L3S Research Center Appelstrasse 9a 30167 Hanover, Germany paiu@L3S.de Abstract Collaborative tagging, i.e. the process of assigning metadata in the form of keywords to shared content by many users, has emerged as an important way to provide informa￾tion about resources on the Web and elsewhere. Such key￾words (tags) are used to enable the organization of infor￾mation within personal information spaces, such as photo collections, but can also be shared, allowing browsing and searching with the help of tags attached by other users to information resources from the Web. Recent research has shown that such tag distributions stabilize over time and can be used to improve search on the Web. In this paper we are interested in another aspect, namely how they characterize the user and enable personalized recommendations. Using data from a frequently used music search portal, Last.fm, we analyze tag usage and statistics and investigate the use of tag-based user profiles in contrast to conventional user profiles based on song and track usage. We specify recom￾mendation algorithms based on tag user profiles, and ex￾plore how collaborative filtering recommendations based on these tag profiles are different from recommendations based on song/track profiles. Finally, we describe a new search-based method, which uses tags to recommend songs interesting to a user, yielding substantially improved results. The paper finishes with a discussion of some future work to further improve tag-based search and recommendation in community web sites. 1. Introduction More and more companies start offering personalized services toward their users and online music recommender systems are one prominent example. Pandora1 , Last.fm2 , 1http://www.pandora.com/ 2http://www.last.fm/ Foafing the Music3 or Yahoo! Music4 are a few of the currently online available music recommendation systems. These systems employ different approaches for recom￾mending music tracks to their users, ranging from content based and collaborative filtering techniques to hybrid meth￾ods. While clearly useful to their users, these more conven￾tional recommendation techniques still suffer from a num￾ber of problems: in the case of collaborative filtering5 , mu￾sical pieces with no ratings cannot be recommended be￾cause recommendations are based on actual user ratings. Besides, artist variety in recommended pieces can be poor, making these recommendations less satisfactory than they could be. Recommending tracks that are similar to users’ favorites in terms of content induces unreliability in model￾ing users’ preferences and besides, content similarity does not necessarily reflect preferences. Hybrid recommendation techniques combine the advantages of the two approaches and are thus better. However, to our knowledge, the only usable music recommender system using hybrid techniques is Foafing the Music, which relies heavily on FOAF profiles created by the users - not an easy task for non-expert users. Last, but not least, though many of these community sites allow tagging, these tags are not used for recommendation or any form of advanced search. The rest of this paper is structured as follows: Section 2 presents a short motivating scenario, in Section 3 we dis￾cuss existing approaches to music recommendations. We continue with the description of the Last.fm dataset, which we used in our experiments (Section 4). In Section 5 we define track-based and respectively tag-based profiles, dis￾cuss how they differ from each other and present appropri￾ate algorithms for creating these user profiles. Using the algorithms described in Section 5, we then propose 7 differ￾ent music recommendation methods (Section 6) based on 3http://foafing-the-music.iua.upf.edu/ 4http://music.yahoo.com/ 5Method of making automatic predictions about the interests of a user by collecting preference information from many users

collaborative filtering and search. We evaluated our algo- Site Summary(RSS) vocabularies for recommending mu- rithms through a user study, the experimental setup and the sic to a user, depending on her musical tastes. Music in- results we obtained are summarized in Section 7. Sectior formation, such as new album releases, related news artists. 8 presents our conclusions and several ideas to be further or available audio pieces, is gathered from RSS feeds from investigated the Web. whereas foaf documents are used to define user preferences (i.e, for building the user profiles). An 2.A Motivating Scenario other hybrid music recommendation method is presented in 6, which simultaneously considers user ratings and con- tent similarity and is based on a three-way aspect model, As motivation for our work, let us look at the following so that it can directly represent substantial(unobservable) simple example: Tom is a programmer in a big company user preferences as a set of latent variables introduced in nd while writing code he likes to listen to music. His pre- a Bayesian network. Probabilistic relations over users, rat- ferred music is"electronic and related kinds of music. On ings, and contents are statistically estimated. Our approach his desktop Tom has stored quite a few MP3 files with his differs from these previous ones by the fact that the user pro- favorite music, but as he has been listening to them over file is inferred automatically from his desktop music data and over again, he would really like a change. He therefore without any additional manual effort from the user's side decides to use an online music recommender system. He and that we rely on tag information instead of track-based pens the corresponding web page in his browser, but be- fore being able to listen to some new music. he needs to pro- profiles ide personal information like age, location and gender. He A totally different approach for producing music recom- mendations is presented in [4]. Their method is applied also has to indicate one or more of his favorite artists. After to an interactive music system that generates playlists fit- finishing this long registration process he can finally start ting the preferences indicated by the user. For automati using the system, but to his bad surprise, the first track he cally generating music playlists, their approach uses a local gets recommended is a piece he already has on his desktop. search procedure in the solution space, based on simulated (hopefully) will get better as the system learns his prefer space moving from one solution to a neighboring solution, compares their quality and stops when an optimal solution ences. However, this intensive interaction with the online is found music recommender system in the initial phase is quite an- 5] describes a system that queries web search engines noying for Tom, and certainly his group manager will not for pages related to artists, downloads the pages, extracts be too happy if he sees Tom switching back and forth be- text and natural language features, and analyzes these fea- tween his working environment and the web browser for tures in order to produce textual summary descriptions of rating music pieces. What Tom needs is a system not suf- each artist. These descriptions are used to compute simi- fering from this cold start problem, a system that is able to infer his profile without much interaction, but still with the larity between artists and can be further used for produc ng recommendations. However, the paper does not present ability to provide good music recommendations any evaluation experiments regarding the quality of the rec ommendations received by using this technique. Also, our 3 Related work approach differs from the one presented in [5] by the fact that they are searching the web for finding similar artists Most available music recommender systems are based on whereas we rely on user tags(in particular from the Last.fm collaborative filtering methods; i.e., they recommend mu- web site) for grouping tracks and artists and for building up sic to a user by considering some other users' ratings for the same music pieces. This technique is quite widely uti- The most similar approach to ours is [1, which uses col- lized,including music shopping services like Amazon?' laboratively created data from the Web for making recom- mendations. However, their goal is generating personalized ommendation method suffers from the cold start problem, tag recommendations for users of social bookmarking sites as described in Section 2 such as Delicious. Techniques for recommending tags do a better recommendation technique is described in [2] already exist and are based on the popularity of tags among The paper gives an overview of the Foafing the Music sys- all users, on time usage information, or on simple heuristics tem, which uses the Friend-of-a-Friend (FOAF) and rich extract keywords from the URl being tagged. Their ap proach complements these techniques and is based on rec- Throughout the paper with"desktop"we mean any personal computer. ommending tags from URLs that are similar to the one in http://www.amazon.com

collaborative filtering and search. We evaluated our algo￾rithms through a user study, the experimental setup and the results we obtained are summarized in Section 7. Section 8 presents our conclusions and several ideas to be further investigated. 2. A Motivating Scenario As motivation for our work, let us look at the following simple example: Tom is a programmer in a big company and while writing code he likes to listen to music. His pre￾ferred music is “electronic” and related kinds of music. On his desktop6 Tom has stored quite a few MP3 files with his favorite music, but as he has been listening to them over and over again, he would really like a change. He therefore decides to use an online music recommender system. He opens the corresponding web page in his browser, but be￾fore being able to listen to some new music, he needs to pro￾vide personal information like age, location and gender. He also has to indicate one or more of his favorite artists. After finishing this long registration process he can finally start using the system, but to his bad surprise, the first track he gets recommended is a piece he already has on his desktop. Tom has the possibility to rate the music this system rec￾ommends to him, such that over time the recommendations (hopefully) will get better as the system learns his prefer￾ences. However, this intensive interaction with the online music recommender system in the initial phase is quite an￾noying for Tom, and certainly his group manager will not be too happy if he sees Tom switching back and forth be￾tween his working environment and the web browser for rating music pieces. What Tom needs is a system not suf￾fering from this cold start problem, a system that is able to infer his profile without much interaction, but still with the ability to provide good music recommendations. 3. Related Work Most available music recommender systems are based on collaborative filtering methods; i.e., they recommend mu￾sic to a user by considering some other users’ ratings for the same music pieces. This technique is quite widely uti￾lized, including music shopping services like Amazon7 or iTunes8 , and has proven to be effective. However, this rec￾ommendation method suffers from the cold start problem, as described in Section 2. A better recommendation technique is described in [2]. The paper gives an overview of the Foafing the Music sys￾tem, which uses the Friend-of-a-Friend (FOAF) and Rich 6Throughout the paper with “desktop” we mean any personal computer. 7http://www.amazon.com/ 8http://www.apple.com/itunes/ Site Summary (RSS) vocabularies for recommending mu￾sic to a user, depending on her musical tastes. Music in￾formation, such as new album releases, related news artists, or available audio pieces, is gathered from RSS feeds from the Web, whereas FOAF documents are used to define user preferences (i.e., for building the user profiles). An￾other hybrid music recommendation method is presented in [6], which simultaneously considers user ratings and con￾tent similarity and is based on a three-way aspect model, so that it can directly represent substantial (unobservable) user preferences as a set of latent variables introduced in a Bayesian network. Probabilistic relations over users, rat￾ings, and contents are statistically estimated. Our approach differs from these previous ones by the fact that the user pro- file is inferred automatically from his desktop music data without any additional manual effort from the user’s side, and that we rely on tag information instead of track-based profiles. A totally different approach for producing music recom￾mendations is presented in [4]. Their method is applied to an interactive music system that generates playlists fit￾ting the preferences indicated by the user. For automati￾cally generating music playlists, their approach uses a local search procedure in the solution space, based on simulated annealing: the algorithm iteratively searches the solution space moving from one solution to a neighboring solution, compares their quality and stops when an optimal solution is found. [5] describes a system that queries web search engines for pages related to artists, downloads the pages, extracts text and natural language features, and analyzes these fea￾tures in order to produce textual summary descriptions of each artist. These descriptions are used to compute simi￾larity between artists and can be further used for produc￾ing recommendations. However, the paper does not present any evaluation experiments regarding the quality of the rec￾ommendations received by using this technique. Also, our approach differs from the one presented in [5] by the fact that they are searching the web for finding similar artists, whereas we rely on user tags (in particular from the Last.fm web site) for grouping tracks and artists and for building up user profiles. The most similar approach to ours is [1], which uses col￾laboratively created data from the Web for making recom￾mendations. However, their goal is generating personalized tag recommendations for users of social bookmarking sites such as Delicious9 . Techniques for recommending tags do already exist and are based on the popularity of tags among all users, on time usage information, or on simple heuristics to extract keywords from the URL being tagged. Their ap￾proach complements these techniques and is based on rec￾ommending tags from URLs that are similar to the one in 9http://del.icio.us/

question according to two variants of cosine similarity met rics. We use tags as well, but use them for recommending nteresting songs based on tag-based profiles 4. Last. fm Functionalities and Usage Data 62976 perimental allout 9 indie rock As basis for our experiments we have used a crawl of 10 classic rock the last. fm website. Claiming to be the"social music rev- 11 female vocalists184,47836instrumental olution, Last. fm is a great place to congregate and share musical tastes, giving to its users access to thousands of 754 tracks from all musical genres. Before using the system 857140indie pop users need to create an account and specify their preferred hardcore thrash metal The interaction with the service can be don ower metal 73,921 through the web interface, via the embedded Flash player, or through the Last. fm player which the users need to down- 9Os essive metal730 load and install locally on the desktop. By listening to tracks and rating them(there are three options: Love this track, 24 black metal eggan 25 progressive rock Skip this track or Ban this track), user profiles are created. Based on these profiles, the service produces a number of Table 1. Number of times the most popular 5 personalized features, such as finding out about artists that tags were used on Last. fm the user likes, other people with similar tastes, appropriate charts, or events in the neighborhood. Based on the music the user likes. Last. fm connects her to other users that have similar tastes(her neighbors). However, for using this tea- tion regarding the number of times each tag has been used about one week before their neighbors appear number of users which have used the tag as well as lists of the list of neighbors is updated, based on what the user has similar tags together with their similarity scores. Based on been listening to during that week the data we have crawled we can observe that the usage of Other social connections can be created on Last. fm the tags follows largely a power law distribution, except for through friendship relations: the user can add friends the sharp drop at the end( Figure 1): after the top first 76 through an appropriate button, and accept friendship re most used tags(representing 0.36% of the tags) the usage quests to make the friendship"mutual". As with neighbors, number falls down to 5%o of the usage number correspond they can listen to their friends'radio stations. Users with ing to the most used tag("rock"). At the time of our crawl similar interests can get together also by joining groups Music statistics are generated for groups as well as for in- dividual users. Anyone can create these groups and encour- 100,000 age people to join. It is also possible for a group founder to 0,000 restrict access to the group and its associated forum Another interesting functionality offered by Last. fm which we will focus on in this paper is the possibility of tt马 agging: users can assign as many tags as they want to any track, album or artist in their profile. With tagging, they can find their items better, can view everyone or choose to play a tag-featured radio(music that has been tagged with some specific tag) For the purpose of our investigations, we crawled an ex Figure 1. Tag Distribut tensive subset of the Last. fm website, namely pages corre- acks and user profiles. All infor mation extracted was indexed and stored into a Lucene lo tags have been used by the users of the Last. fm system for a total number of 18, 735, 549 times. The top 50 most used Tags. We could identify a number of 21, 177 different tags are summarized in Table 1 tags, which are used on Last. fm for tagging tracks, artists or An analysis of the top 100 most used tags showed tha approximately 60%o of the tags represent genre descriptions http://ucene.apacheorg while the rest of 40% is shared among tags describing per-

question according to two variants of cosine similarity met￾rics. We use tags as well, but use them for recommending interesting songs based on tag-based profiles. 4. Last.fm Functionalities and Usage Data As basis for our experiments we have used a crawl of the Last.fm website. Claiming to be the “social music rev￾olution”, Last.fm is a great place to congregate and share musical tastes, giving to its users access to thousands of tracks from all musical genres. Before using the system, users need to create an account and specify their preferred music genre. The interaction with the service can be done through the web interface, via the embedded Flash player, or through the Last.fm player which the users need to down￾load and install locally on the desktop. By listening to tracks and rating them (there are three options: Love this track, Skip this track or Ban this track), user profiles are created. Based on these profiles, the service produces a number of personalized features, such as finding out about artists that the user likes, other people with similar tastes, appropriate charts, or events in the neighborhood. Based on the music the user likes, Last.fm connects her to other users that have similar tastes (her neighbors). However, for using this fea￾ture, users need to listen to at least 5 artists and wait for about one week before their neighbors appear. Every week, the list of neighbors is updated, based on what the user has been listening to during that week. Other social connections can be created on Last.fm through friendship relations: the user can add friends through an appropriate button, and accept friendship re￾quests to make the friendship “mutual”. As with neighbors, they can listen to their friends’ radio stations. Users with similar interests can get together also by joining groups. Music statistics are generated for groups as well as for in￾dividual users. Anyone can create these groups and encour￾age people to join. It is also possible for a group founder to restrict access to the group and its associated forum. Another interesting functionality offered by Last.fm which we will focus on in this paper is the possibility of tagging: users can assign as many tags as they want to any track, album or artist in their profile. With tagging, they can find their items better, can view everyone else’s tags, or choose to play a tag-featured radio (music that has been tagged with some specific tag). For the purpose of our investigations, we crawled an ex￾tensive subset of the Last.fm website, namely pages corre￾sponding to tags, music tracks and user profiles. All infor￾mation extracted was indexed and stored into a Lucene10 index. Tags. We could identify a number of 21,177 different tags, which are used on Last.fm for tagging tracks, artists or 10http://lucene.apache.org/ Nr. Tag Freq. Nr. Tag Freq. 1 rock 866,040 26 hard rock 114,871 2 indie 488,944 27 industrial 110,207 3 seen live 478,098 28 punk rock 108,388 4 alternative 453,081 29 heavy metal 107,851 5 electronic 346,832 30 japanese 106,091 6 metal 312,221 31 experimental 104,122 7 pop 299,499 32 favorites 102,619 8 punk 247,665 33 chillout 98,663 9 indie rock 206,876 34 rap 97,106 10 classic rock 206,654 35 soundtrack 90,875 11 female vocalists 184,478 36 instrumental 87,022 12 alternative rock 180,320 37 hip hop 81,780 13 jazz 174,782 38 british 76,549 14 electronica 167,989 39 trance 76,460 15 hip-hop 158,571 40 indie pop 75,997 16 singer-songwriter 139,041 41 soul 75,692 17 folk 137,598 42 metalcore 74,989 18 hardcore 133,682 43 thrash metal 74,786 19 emo 130,831 44 power metal 73,921 20 death metal 129,766 45 progressive metal 73,800 21 dance 127,282 46 90s 72,279 22 80s 123,183 47 blues 68,931 23 ambient 119,680 48 acoustic 65,627 24 black metal 119,468 49 reggae 65,355 25 progressive rock 116,036 50 post-rock 64,095 Table 1. Number of times the most popular 50 tags were used on Last.fm. albums. For each of these tags we have extracted informa￾tion regarding the number of times each tag has been used, number of users which have used the tag, as well as lists of similar tags together with their similarity scores. Based on the data we have crawled we can observe that the usage of the tags follows largely a power law distribution, except for the sharp drop at the end (Figure 1): after the top first 76 most used tags (representing 0.36% of the tags) the usage number falls down to 5% of the usage number correspond￾ing to the most used tag (“rock”). At the time of our crawl Figure 1. Tag Distribution tags have been used by the users of the Last.fm system for a total number of 18,735,549 times. The top 50 most used tags are summarized in Table 1. An analysis of the top 100 most used tags showed that approximately 60% of the tags represent genre descriptions, while the rest of 40% is shared among tags describing per-

sonal impressions(e.g,"seen live"), artists(e.g,"female vocalists”), time period(eg“80s”), country of prove 10000 nience, soundtrack, tempo, or instruments Tracks. From the Last. fm music database we crawled 1.000 a total number of 317. 058 tracks and their associated at tributes, including track and artist name, number of times oteE2z the track has been played on Last. fm, albums featuring the track, users'comments and tags which have been used for tagging the tracks and the corresponding tags'scores(based on the number of times each tag has been used for taggin 1,00010000100000 each track). Figure 2 presents the variation of the track popularity over the collection of tracks, showing a similar distribution as in Figure 1, except for the power law curve Figure 3. User- Tag Distribution decreasing slower. 100000 收°tE 1 1,00010000100.000 User number Figure 4. User- Track Distribution ure 2. Track Distribution Users. We extracted details about 289 654 registered those tags that the users applied themselves to other track users on Last. fm. For these users the extracted information or artists. Although most music recommendation methods includes user ID, gender, age, location, registration date, IIs- use track-based algorithms to present the user with new tened number of tracks, list of friends and neighbors, overall teresting tracks, given the increasing tendency toward tag- top listened tracks and list of used tags. From this number ging all types of multimedia files on the Internet we wanted to investigate how these tags could be used for recommen to at least 50 tracks and who have not used at least 10 dif- dations. We also wanted to avoid extensive manual ranking. ferent tags, and were thus left with 12, 193 unique users for so opted to construct user profiles from locally stored MP3 our experiments. For these 12, 193 users the distribution of files. This usually works very well, as most users have quite the number of users and the total number of times each user much more than needed for a music recommender system made use of tags, by the time of our crawling Similarly, the relation user to total number of listened to provide satisfactory results tracks is shown in Figure 4. Note that both figures 3 and 4 For the rest of the paper we will distinguish between pro- are plotted for the set of users having listened to at least 50 files created for Last. fm users and for Non-Last fm users tracks and having used at least 10 different tags -therefore They differ in terms of the source of information which the sudden cutoff is used for building up the profiles: for Last. fm users the starting point is represented by their web pages on Last. fm, whereas in the case of the Non -Last fm users we start from 5. Tag-Based Profiles vs. Track-Based Profiles the information available on their desktops. For this type of users we extract metadata about each track existing on the Tags are more and more widely used, which makes it desktop, and match artist and track name(extracted from easier to extract them for all type oratio ename or ID3 tag) against the last fm music database including music tracks. We chose to extract available This, as we will show in section 5.2 provides all data nec- man annotations(tags) from Last. fm tracks or directly essary to create comprehensive user profiles that accurately

sonal impressions (e.g., “seen live”), artists (e.g., “female vocalists”), time period (e.g., “80s”), country of prove￾nience, soundtrack, tempo, or instruments. Tracks. From the Last.fm music database we crawled a total number of 317,058 tracks and their associated at￾tributes, including track and artist name, number of times the track has been played on Last.fm, albums featuring the track, users’ comments and tags which have been used for tagging the tracks and the corresponding tags’ scores (based on the number of times each tag has been used for tagging each track). Figure 2 presents the variation of the track popularity over the collection of tracks, showing a similar distribution as in Figure 1, except for the power law curve decreasing slower. Figure 2. Track Distribution Users. We extracted details about 289,654 registered users on Last.fm. For these users the extracted information includes user ID, gender, age, location, registration date, lis￾tened number of tracks, list of friends and neighbors, overall top listened tracks and list of used tags. From this number of users, we filtered out all users who have not yet listened to at least 50 tracks and who have not used at least 10 dif￾ferent tags, and were thus left with 12,193 unique users for our experiments. For these 12,193 users the distribution of tags is plotted in Figure 3, showing the correlation between the number of users and the total number of times each user made use of tags, by the time of our crawling. Similarly, the relation user to total number of listened tracks is shown in Figure 4. Note that both figures 3 and 4 are plotted for the set of users having listened to at least 50 tracks and having used at least 10 different tags – therefore the sudden cutoff. 5. Tag-Based Profiles vs. Track-Based Profiles Tags are more and more widely used, which makes it easier to extract them for all types of information objects, including music tracks. We chose to extract available hu￾man annotations (tags) from Last.fm tracks or directly use Figure 3. User - Tag Distribution Figure 4. User - Track Distribution those tags that the users applied themselves to other tracks or artists. Although most music recommendation methods use track-based algorithms to present the user with new in￾teresting tracks, given the increasing tendency toward tag￾ging all types of multimedia files on the Internet we wanted to investigate how these tags could be used for recommen￾dations. We also wanted to avoid extensive manual ranking, so opted to construct user profiles from locally stored MP3 files. This usually works very well, as most users have quite a few music files in MP3 format on their desktop, usually much more than needed for a music recommender system to provide satisfactory results. For the rest of the paper we will distinguish between pro- files created for Last.fm users and for Non-Last.fm users. They differ in terms of the source of information which is used for building up the profiles: for Last.fm users the starting point is represented by their web pages on Last.fm, whereas in the case of the Non-Last.fm users we start from the information available on their desktops. For this type of users we extract metadata about each track existing on the desktop, and match artist and track name (extracted from filename or ID3 tag) against the Last.fm music database. This, as we will show in section 5.2 provides all data nec￾essary to create comprehensive user profiles that accurately

reflect users' music preferences. We will use the following matched against the Last. fm database and only tracks with a TFxIDF score above 0.9 are kept for further processing ITF(TG)=Inverse Tag Frequency for Tag TG This pre-processing step is described below P(TR, U)=Preference of User U for Track TR Ale. 5.1.2.1: Get list of tracks P(TG, U)=Preference of User U for Tag TG 1: For each track(MP3) TR-U-Listened= Number of times User U has listened to Track TR Extract artist name and track name from filename as s/ Extract artist name and track name from ID3 tag as S2 Number of times Track T R was overall listened on earch with S on Last. fm index TG_Used For-TR= Number of times Track TR was tagged with Tag TG by tching query with Lucene TFxlDF score >0.9 dd tracks lt to the user's list of tracks utr TG. Used. Overall Number of times Tag TG was used overall 8: Return UTR TG-Used By- U= Number of times User U has used Tag TG Tracks Containing TG=Number of tracks on the User's Desktop that Once the list of tracks for a Non -Last. fm user is cre- ated, the track-profile is realized in a similar manner as for a Last. fm user: algorithm 5.1.1.1 is applied on the list of We distinguish between Last. fm and Non-Last fm users us- tracks with the only difference that the preference scores ng either Last. fm or Non-Last fim indices in the correspond- for the tracks are now a function of the overall number of ing formulas times tracks have been listened on last fm 5.1. Track-based Profiles Alg 5.1.2.2: Track-based profile for Non-Last fm user 1: Create list of tracks UTR applying Alg. 5.1.2.1 Track-based profiles are defined as collections of music 2: Apply Alg 5.1.1.1 on list of tracks UTR tracks with associated preference scores, describing users usical tastes. as follows: with P=P(TR, UNon-Last. fm)=log(TR.OverallListened) Profile Tracks TRi, P>ITR: =user's track, P=P(TR&, U)) 5.2. Tag-based Profiles 5.1.1 Track-based profiles for last. fm users Tag-based user profiles are defined as collections of In the case of Last. fm users the profiles are inferred from tags together with corresponding scores representing the the users web pages available on the Last. m site. Their user's interest in each of these tags. The formal definition is ollection of tracks includes all tracks the users have been given below. listening to inside the system. Their associated scores are a Profile Tags(U function of the number of times users have listened to these [ITGi -user's tag Pi= p(TGi, U)H music tracks. The algorithm for creating the track-based profiles for this type of users is described below Again, we distinguish between profiles created for Last. fm and non-Last fm users. For this type of profiles, the list of Alg 5.1.1.1: Track-based profile for Last. fm user tags can be extracted either from the users' list of tracks 1: For (tags which have been used to tag the tracks) or directly from the tags the users have used themselves The different 4: Return user's track-based profile profile variants of tag-based profiles for Last. fm and Non-Last fm with P=P(TR, ULastf m)=log(TR,ULastfm Listened users are described in detail in Sections 5.2.1 and 5.2.2 5.2.1 Tag-based profiles for Last. fm users 5.1.2 Track-based profiles for Non- Last. fm users For Last. fm users, the first type of tag-based profiles can be created starting from the list of tracks the users have been For Non-Last fm users the only available source of personal information is represented by their desktops. We first e I The TExIDF score(term frequency-inverse document freque tract explicit metadata such as artist and track name either weight often used in information retrieval and text mining for evaluating from the filename or from the ID3 tags(if any)of the mu- importance increases proportionally to the number of times a word appears ic files existing on the desktop. This information is ther in the document but is offset by the frequency of the word in the corpus

reflect users’ music preferences. We will use the following notations: IT F (T G) = Inverse Tag Frequency for Tag T G p(T R, U) = Preference of User U for Track T R p(T G, U) = Preference of User U for Tag T G T R U Listened = Number of times User U has listened to Track T R T R Overall Listened = Number of times Track T R was overall listened on Last.fm T G UsedF or T R = Number of times Track T R was tagged with Tag T G by all users T G Used Overall = Number of times Tag T G was used overall T G UsedBy U = Number of times User U has used Tag T G T racks Containing T G = Number of tracks on the User’s Desktop that were tagged with Tag T G We distinguish between Last.fm and Non-Last.fm users us￾ing either Last.fm or Non-Last.fm indices in the correspond￾ing formulas. 5.1. Track-based Profiles Track-based profiles are defined as collections of music tracks with associated preference scores, describing users’ musical tastes, as follows: P rof ile T racks(U) = { | T Ri =user’s track, Pi = p(T Ri, U)} 5.1.1 Track-based profiles for Last.fm users In the case of Last.fm users the profiles are inferred from the users’ web pages available on the Last.fm site. Their collection of tracks includes all tracks the users have been listening to inside the system. Their associated scores are a function of the number of times users have listened to these music tracks. The algorithm for creating the track-based profiles for this type of users is described below: Alg. 5.1.1.1: Track-based profile for Last.fm user 1: For each track T R in user’s tracks list UT R 2: Compute track’s score P 3: Add pair to user profile 4: Return user’s track-based profile with P = p(T R, ULast.fm) = log(T R ULast.fm Listened) 5.1.2 Track-based profiles for Non-Last.fm users For Non-Last.fm users the only available source of personal information is represented by their desktops. We first ex￾tract explicit metadata such as artist and track name either from the filename or from the ID3 tags (if any) of the mu￾sic files existing on the desktop. This information is then matched against the Last.fm database and only tracks with a TFxIDF11 score above 0.9 are kept for further processing. This pre-processing step is described below: Alg. 5.1.2.1: Get list of tracks 1: For each track (MP3) on user desktop 2: Extract artist name and track name from filename as S1 3: Extract artist name and track name from ID3 tag as S2 4: Combine S1 and S2 into S 5: Search with S on Last.fm index 6: Retrieve tracks LT matching query with Lucene TFxIDF score >0.9 7: Add tracks LT to the user’s list of tracks UT R 8: Return UT R Once the list of tracks for a Non-Last.fm user is cre￾ated, the track-profile is realized in a similar manner as for a Last.fm user: algorithm 5.1.1.1 is applied on the list of tracks with the only difference that the preference scores for the tracks are now a function of the overall number of times tracks have been listened on Last.fm. Alg. 5.1.2.2: Track-based profile for Non-Last.fm user 1: Create list of tracks UT R applying Alg. 5.1.2.1 2: Apply Alg. 5.1.1.1 on list of tracks UT R with P = p(T R, UNon−Last.fm) = log(T R Overall Listened) 5.2. Tag-based Profiles Tag-based user profiles are defined as collections of tags together with corresponding scores representing the user’s interest in each of these tags. The formal definition is given below: P rof ile T ags(U) = { | T Gi =user’s tag, Pi = p(T Gi, U)} Again, we distinguish between profiles created for Last.fm and non-Last.fm users. For this type of profiles, the list of tags can be extracted either from the users’ list of tracks (tags which have been used to tag the tracks) or directly from the tags the users have used themselves. The different variants of tag-based profiles for Last.fm and Non-Last.fm users are described in detail in Sections 5.2.1 and 5.2.2. 5.2.1 Tag-based profiles for Last.fm users For Last.fm users, the first type of tag-based profiles can be created starting from the list of tracks the users have been 11The TFxIDF score (term frequency-inverse document frequency) is a weight often used in information retrieval and text mining for evaluating how important a word is to a document in a collection or corpus. The importance increases proportionally to the number of times a word appears in the document but is offset by the frequency of the word in the corpus

listening to on Last. fm. For each of these tracks, we extract 5.2.1.1. Preference scores for the tags are now compute the list of all tags which have been used inside the system as follows: the score depends on the number of times these for annotating them. In this case, the preference associated tracks which are part of the users' profile and are tagged as to a tag is proportional to the number of times these tracks TG have been listened by all Last. fm users and to the num tagged as TG were listened by the user and to the number ber times this tag has been used by all users on Last. fm times this tag has been used by all users on Last. fm to tag Again in the formula we have the optional parameter ITF those tracks. The description of the algorithm is given be- used to decrease the bias toward very popular tags. More over, for Non-Last fm users we keep in the profile only the top 100 preferred tags, after evaluating recommendation re- Alg 5.2.1.1: Track-Tag-based Profile for Last. fm User sults with several such values for this algorithm ranging from 10 to 500 1: For each track TR in user's track list UT xtract list of used tags T TG for TR tag list UTG Alg 5.2.2.1: Track-Tag based Profile for Non-Last fm User 4: For each tag TG in UTG 5.12.1 6: Add pair to user's profile 7: Return user's tag-based profile 3: Retain in the profile top 100 preferred tags with P= P(TG, ULast fm)=[ITF(TG) log>, (log(TR:. ULast. mListened).log(TG.Used TR1)) with P=P(TG, UNon-Last. m)=[ITF(TG)]. log >(log(TR:_Overall Listened).log(TG.UsedFor-TR4) TGi-UsedOuerall ITF(TG)=log-Tausedovere Similar to the idf value in Information Retrieval. in or- The second variant of the tag-based profile correspond ler to reduce the influence of tags which are very popu g to a Non-Last fm user looks similar to the previous one lar among users, but might not accurately reflect user's per- In this case the preference depends on the number of tracks sonal musical taste, we introduce an optional parameter in on the user's desktop that are tagged with tag TG. the preference formula, ITF. The formula penalizes tags which appear very often and boosts the preference for tags Alg 5.2.2.2 Tag-based Profile for Non-Lastfm User appearing more rarely The second possibility for creating the tag-based profiles 1: Create list of tracks UTR applying Alg. 5.1.2.1 Apply Alg. 5.2.1.1 on list of tracks UTR for Last. fm users is to directly take the tags which the users Retain in the profile top 29 preferred tags have already used (information which can be found on their 4: Return user's tag-based profile web pages)together with their frequency. The algorithm with P=P(TG, UNon-Lastf m)=log(Tracks ContainingTG) this case looks as follows: Since Non-Last fm users did not use the tags building up Alg 5.2.1.2: Tag-based Profile for Last. fm User their profile by themselves-they are just inferred based 1: For each tag TG in users tag list UTG on the music tracks they have on their desktop-we chose Add pair TG, P>to users profile to simulate the Last. fm profiles by maintaining only the top 4: Return users tag-based profile 29 preferred tags From the data we have crawled we could with P= p(TG, ULast.fm)=log(TG-Used.ULastf see that the average number of used tags among the users is 29, therefore we keep in the tag-profiles we create with For this case, we do not need to introduce the ITF param- in the preference formula, since now the profile is al 6. Music recommendations ady very personalized the user has directly used thes mented and evaluated different algorithms for producing 5.2.2 Tag-based profiles for non-lLast Im users music recommendations. This paper describes 7 algorithms which, based on the type of profile and the technique we For non-Last fm users, the collection of tags building up used for getting the recommendations, can be grouped into their profiles is inferred based on the list of tracks the users three categories: Collaborative Filtering based on Tracks have on their desktops. This list of tracks is compiled as ( Section 6. 1), Collaborative Filtering based on Tags(Sec presented in Alg. 5.1.2.1 and then transformed using Alg. tion 6.2)and Search based on Tags(Section 6.3)

listening to on Last.fm. For each of these tracks, we extract the list of all tags which have been used inside the system for annotating them. In this case, the preference associated to a tag is proportional to the number of times these tracks tagged as TG were listened by the user and to the number times this tag has been used by all users on Last.fm to tag those tracks. The description of the algorithm is given be￾low: Alg. 5.2.1.1: Track-Tag-based Profile for Last.fm User 1: For each track T R in user’s track list UT R 2: Extract list of used tags T T G for T R 3: Add T T G to user’s tag list UT G 4: For each tag T G in UT G 5: Compute tag’s score P 6: Add pair to user’s profile 7: Return user’s tag-based profile with P = p(T G, ULast.fm) = [IT F (T G)]· logP i (log(T Ri ULast.fm Listened) · log(T G UsedF or T Ri)) IT F (T G) = log P i TGi Used Overall TG Used Overall Similar to the IDF value in Information Retrieval, in or￾der to reduce the influence of tags which are very popu￾lar among users, but might not accurately reflect user’s per￾sonal musical taste, we introduce an optional parameter in the preference formula, IT F. The formula penalizes tags which appear very often and boosts the preference for tags appearing more rarely. The second possibility for creating the tag-based profiles for Last.fm users is to directly take the tags which the users have already used (information which can be found on their web pages) together with their frequency. The algorithm in this case looks as follows: Alg. 5.2.1.2: Tag-based Profile for Last.fm User 1: For each tag T G in user’s tag list UT G 2: Compute tag’s score P 3: Add pair to user’s profile 4: Return user’s tag-based profile with P = p(T G, ULast.fm) = log(T G UsedBy ULast.fm) For this case, we do not need to introduce the IT F param￾eter in the preference formula, since now the profile is al￾ready very personalized – the user has directly used these tags. 5.2.2 Tag-based profiles for non-Last.fm users For non-Last.fm users, the collection of tags building up their profiles is inferred based on the list of tracks the users have on their desktops. This list of tracks is compiled as presented in Alg. 5.1.2.1 and then transformed using Alg. 5.2.1.1. Preference scores for the tags are now computed as follows: the score depends on the number of times these tracks which are part of the users’ profile and are tagged as TG have been listened by all Last.fm users and to the num￾ber times this tag has been used by all users on Last.fm. Again in the formula we have the optional parameter IT F used to decrease the bias toward very popular tags. More￾over, for Non-Last.fm users we keep in the profile only the top 100 preferred tags, after evaluating recommendation re￾sults with several such values for this algorithm ranging from 10 to 500. Alg. 5.2.2.1: Track-Tag-based Profile for Non-Last.fm User 1: Create list of tracks UT R applying Alg. 5.1.2.1 2: Apply Alg. 5.2.1.1 on list of tracks UT R 3: Retain in the profile top 100 preferred tags 4: Return user’s tag-based profile with P = p(T G, UNon−Last.fm) = [IT F (T G)]· logP i (log(T Ri Overall Listened) · log(T G UsedF or T Ri)) IT F (T G) = log P i TGi Used Overall TG Used Overall The second variant of the tag-based profile correspond￾ing to a Non-Last.fm user looks similar to the previous one. In this case the preference depends on the number of tracks on the user’s desktop that are tagged with tag TG. Alg. 5.2.2.2: Tag-based Profile for Non-Last.fm User 1: Create list of tracks UT R applying Alg. 5.1.2.1 2: Apply Alg. 5.2.1.1 on list of tracks UT R 3: Retain in the profile top 29 preferred tags 4: Return user’s tag-based profile with P = p(T G, UNon−Last.fm) = log(T racks Containing T G) Since Non-Last.fm users did not use the tags building up their profile by themselves — they are just inferred based on the music tracks they have on their desktop — we chose to simulate the Last.fm profiles by maintaining only the top 29 preferred tags. From the data we have crawled we could see that the average number of used tags among the users is 29, therefore we keep in the tag-profiles we create with algorithm 5.2.2.2 only top-29 most preferred tags. 6. Music Recommendations Using track-based and tag-based profiles we imple￾mented and evaluated different algorithms for producing music recommendations. This paper describes 7 algorithms which, based on the type of profile and the technique we used for getting the recommendations, can be grouped into three categories: Collaborative Filtering based on Tracks (Section 6.1), Collaborative Filtering based on Tags (Sec￾tion 6.2) and Search based on Tags (Section 6.3)

6.1. Track-based recommendations 2: Get tag recommendations based on the Taste-Recommender Java library: CF based on TRacks (CFTR). Traditional music rec- 4: For each similar user SU, ommender systems use User-Item Collaborative Filterin Get top 50 tags TG, by preference p(TGi, SU4) ombine lists TG, of tags into= RTG methods with music tracks as items. This method is suc- 7:C For each tag TGi in RTG cessfully used in Last. fm and other systems, though we still w, earch with Q tracks being tagged with tags inQ>RTR possibly rank) a minimum number of tracks and tracks have 12: Rank resulted tracks RTR bascd on cosine similarity to be ranked by some listeners, before recommendations are 13: Recommend music tracks RTR possible. We will use such an algorithm as baseline to com pare our other algorithms against. 6.1.1: Collaborative Filtering based on Tracks(CFT CF based on Track- Tags No-ITF (CFTTN). This sec Track profile c4 track recommendation a tracks ond algorithm differs from CFTTI by computing the tag 1: Create users track-based profile(Alg. 5.1.1.1/ Alg. 5.1.2.1) based profiles without the ITF parameter in the formula 2: Get track st similar users SU with current user U corresponding to tags'preference. Otherwise the steps in based on cosine similarity between track profiles the algorithm are the same as in Alg. 6.2.1 For each similar user SU Get tracks TR, with preference P(TR,, SUA) Combine lists T'R, of tracks into RT 7: Recommend music tracks rTR CF based on Tags(CFTG). For the third algorithm the user profiles on which the tag recommendation step is based, are more personal -users have already used those tags. In this case, line 1: in Alg 6.2. 1 is modified and the 6. 2. Tag-Based Recommendations algorithm looks as follows: For the three algorithms proposed in this paper as tag- based recommendation algorithms, the matrix on which we Alg 6.2.3: CF based on Tags(CFTG) apply collaborative filtering is a User-Tag matrix. In this Tos c→ Tag profile→ Tag Recommendation→ Search with Tags→ Tracks matrix, line i corresponds to the tag-profile of user i and 1: Create tag-based profiles(Alg. 5.2.1.2/ Alg. 5.2.2.2) contains corresponding preference scores for tags which 2: Get tag recommendations based on the Taste-Recommender Java library: ompute top 10 most similar users SU with current user U have been used by the userand 0 for the other tags). In 4: For each similar user SU, these algorithms what we obtain as result of applying CF5 Get top 50 tags TG, by preference p(TG, S04) on the User-Tag matrix is of course a list of recommended Combine lists TG, of tags into= RTG tags, based on what tags other similar users have used. What 8: For cach tag TG, in R"Gt U) Sto@RTR we want to achieve are music recommendations and not tag 9: 10: Search with Q tracks being tagged with tags in Q recommendations. Therefore with this list of tags we search 11: Compute cosine similarity between tracks in the Lucene index and Q ave been ta gged with most of these tags, tal 12: Rank resulted tracks RtR based on cosine similar ing into account their associated preference scores. We re- 13: Recommend music tracks RTR turn the top 10 matching tracks, scored by cosine similarity, as recommended song 6.3. Tag-Based Search CF based on Track- Tags with ITF(CFTTI). The first algorithm we propose in this category uses tag-based pro- In our last set of algorithms, we use the tags extracted files which have been extracted from the list of tracks us through the previously presented methods for direct match have been listening to(Alg. 5.2.1. 1/ Alg. 5.2.2.1). For ing with other tracks. This is done by creating a disjunctive not biasing profiles toward highly used tags, when comput- query of clauses where each clause consists of a tag and its ing preference scores associated to the tags we also include preference. The results are tracks ordered by cosine simi the ITF parameter. The recommended list of tags obtained larity between the vector of tags they have been tagged with after applying CF on the User-Tag matrix is then used for and the vector of tags given in the query. Direct search us- getting the music recommendations ing tags has the big advantage of being much faster than any collaborative filtering algorithm, the results being pro Alg. 6.21: CF based on Track- Tags with ITF (CFTTD duced instantly. It also offers the user the possibility to enter Tracks cTag Profile c- Tag Recommendation e- Search w/Tags- Tracks keyword queries based on tags and get new tracks from dif- 1: Create tag-based profiles(Alg. 5.2. 1 1 /Alg. 5.2.2. 1 both with ITF) ferent domains if wanted

6.1. Track-based Recommendations CF based on TRacks (CFTR). Traditional music rec￾ommender systems use User-Item Collaborative Filtering methods with music tracks as items. This method is suc￾cessfully used in Last.fm and other systems, though we still have the cold start problem, i.e. users have to listen (and possibly rank) a minimum number of tracks and tracks have to be ranked by some listeners, before recommendations are possible. We will use such an algorithm as baseline to com￾pare our other algorithms against. Alg. 6.1.1: Collaborative Filtering based on Tracks (CFTR) Track Profile ,→ Track Recommendation ,→ Tracks 1: Create users track-based profile (Alg. 5.1.1.1/ Alg. 5.1.2.1) 2: Get track recommendations based on the Taste-Recommender Java library: 3: Compute top 10 most similar users SU with current user U based on cosine similarity between track profiles 4: For each similar user SUi 5: Get tracks T Rj with preference p(T Rj , SUi) 6: Combine lists T Rj of tracks into ⇒ RT R 7: Recommend music tracks RT R 6.2. Tag-Based Recommendations For the three algorithms proposed in this paper as tag￾based recommendation algorithms, the matrix on which we apply collaborative filtering is a User-Tag matrix. In this matrix, line i corresponds to the tag-profile of user i and contains corresponding preference scores for tags which have been used by the user (and 0 for the other tags). In these algorithms what we obtain as result of applying CF on the User-Tag matrix is of course a list of recommended tags, based on what tags other similar users have used. What we want to achieve are music recommendations and not tag recommendations. Therefore with this list of tags we search which tracks have been tagged with most of these tags, tak￾ing into account their associated preference scores. We re￾turn the top 10 matching tracks, scored by cosine similarity, as recommended songs. CF based on Track-Tags with ITF (CFTTI). The first algorithm we propose in this category uses tag-based pro- files which have been extracted from the list of tracks users have been listening to (Alg. 5.2.1.1/ Alg. 5.2.2.1). For not biasing profiles toward highly used tags, when comput￾ing preference scores associated to the tags we also include the IT F parameter. The recommended list of tags obtained after applying CF on the User-Tag matrix is then used for getting the music recommendations: Alg. 6.2.1: CF based on Track-Tags with ITF (CFTTI) Tracks ,→ Tag Profile ,→ Tag Recommendation ,→ Search w/ Tags ,→ Tracks 1: Create tag-based profiles (Alg. 5.2.1.1 / Alg. 5.2.2.1 both with ITF) 2: Get tag recommendations based on the Taste-Recommender Java library: 3: Compute top 10 most similar users SU with current user U based on cosine similarity between tag profiles 4: For each similar user SUi 5: Get top 50 tags T Gj by preference p(T Gj , SUi) 6: Combine lists T Gj of tags into ⇒ RT G 7: Create Query Q 8: For each tag T Gi in RT G 9: Add pair to Q 10: Search with Q tracks being tagged with tags in Q ⇒ RT R 11: Compute cosine similarity between tracks in the Lucene index and Q 12: Rank resulted tracks RT R based on cosine similarity 13: Recommend music tracks RT R CF based on Track-Tags No-ITF (CFTTN). This sec￾ond algorithm differs from CFTTI by computing the tag￾based profiles without the IT F parameter in the formula corresponding to tags’ preference. Otherwise the steps in the algorithm are the same as in Alg. 6.2.1. CF based on Tags (CFTG). For the third algorithm the user profiles on which the tag recommendation step is based, are more personal – users have already used those tags. In this case, line 1: in Alg 6.2.1 is modified and the algorithm looks as follows: Alg. 6.2.3: CF based on Tags (CFTG) Tags ,→ Tag Profile ,→ Tag Recommendation ,→ Search with Tags ,→ Tracks 1: Create tag-based profiles (Alg. 5.2.1.2 / Alg. 5.2.2.2) 2: Get tag recommendations based on the Taste-Recommender Java library: 3: Compute top 10 most similar users SU with current user U based on cosine similarity between tag profiles 4: For each similar user SUi 5: Get top 50 tags T Gj by preference p(T Gj , SUi) 6: Combine lists T Gj of tags into ⇒ RT G 7: Create Query Q 8: For each tag T Gi in RT G 9: Add pair to Q 10: Search with Q tracks being tagged with tags in Q ⇒ RT R 11: Compute cosine similarity between tracks in the Lucene index and Q 12: Rank resulted tracks RT R based on cosine similarity 13: Recommend music tracks RT R 6.3. Tag-Based Search In our last set of algorithms, we use the tags extracted through the previously presented methods for direct match￾ing with other tracks. This is done by creating a disjunctive query of clauses where each clause consists of a tag and its preference. The results are tracks ordered by cosine simi￾larity between the vector of tags they have been tagged with and the vector of tags given in the query. Direct search us￾ing tags has the big advantage of being much faster than any collaborative filtering algorithm, the results being pro￾duced instantly. It also offers the user the possibility to enter keyword queries based on tags and get new tracks from dif￾ferent domains if wanted

Search based on Track-Tags with ITF (STTD. Similar user had to rate a maximum number of 70 recommended to CFTTI this algorithm is based on profiles created using tracks (it is possible that the same track gets recommended the algorithms 5.2. 1 1 and 5.2.2.1 and includes the ITF by more of the proposed algorithms, in which case the track factor in the preference formula was listed only once). Results were presented to the sub jects in shuffled order, so that they were not aware of the Alg. 6.3.1: Search based on Track-Tags with ITF (STTD) algorithm which produced the result nor the score of the Tags c Tag Profile c Search with Tags c Tracks recommended item. For each of the recommended tracks 1: Create tag-based profiles(Alg. 5.2.1.1/Alg. 5.2.2.1 both with ITF the users had to provide two different scores: one measur- 2: Create Query Q ing how well the recommended track matches their music preferences([0]-I dont like this track, [1]-I don't mind 5:Search with Q tracks being tagged with vag tracks in the Lucene index and Q istening to this track, [2]-I like the track)and one reflect- tracks RT R based on cosine similarity ing the novelty of the track([0]-I already know this track, 8: Recommend music tracks TR 1]-I know something about this track, e. g. I know the artist OR I heard the track on the radio but i do not remember the name, etc,and [2]-this track is really new for me) Search based on Track-Tags No-ITF(STTN). The sec- The quality of the recommended results was measured ond search-based algorithm is based on Alg 6.3.2, just that using the normalized version of Discounted Cumulated we remove the ITf parameter in the preference formula Gain(DCG)[3], a rich measure which gives more weigh to highly ranked documents, while also incorporating dif- ferent relevance levels by giving them different gain values Search based on Tags (STG). Like the CFTG algorithm, STG uses profiles created by alg. 5. 2. 1.2 and 5.2.2.2. Tags contained in the profiles are then directly used for searching DCG(i) G(1) if i=l I DCG(i-1)+G(i/log(),otherwise for tracks which have been tagged with these tags For novelty, only the average of the marks given was used, resulting in a value ranging from 0(known) to 2(really Alg. 6.3.3: Search based on Tags (STG) gs a Tag Profile c Search with Tags c Tracks 1: Create tag-based profiles(Alg. 5.2.1.2/ Alg. 5.2.2.2 2: Create Query Q 7. 2. Results For each tag TGi in the Add pair TGi, p(TGi, U)>to Q 5: Search with Q tracks being tagged with tags in Q= RTR Table 2 shows the NDCG value, its statistical signif- in the Lucene index and Q Rank resulted tracks RT R based on cosine similarity icance over the CFTR baseline computed using T-tests S: Recommend music tracks rtr nd the average popularity(number of times a track was listened to on Last. fm)of recommended tracks for each al- gorithm. All Collaborative Filtering algorithms based on 7. Evaluation tags(CFTG, CFTTT, CFTTN performed worse than the baseline, as standard User-Item CF techniques already show high precision. All our search algorithms, though 7.1. Experimental Setup show quite substantial improvements over track based CF (STG 12%, STTI%, STTN 44% as shown in Figure Ve evaluated our algorithms with 18 subjects(BSc, 5: STTI and STTN both highly statistically significant) Ph. D, and Post- Doc students in different areas of com- This outcome is certainly positively influenced by the con puter science and education). They installed our desktop sistent usage of tags on Last. fm: Most frequently used tags application to extract their user profiles as described in Alg. denote the tracks genre, so our search gets biased toward 5.1.2.2, 5.2.2.1, and 5.2.2.2. Then we ran all 7 variants specific user preferred music genres. It was also interesting of our algorithms(Track Collaborative Filtering CFTR- to note that the better people knew the tracks (i. e, a lower baseline, Track-Tag CF CFTTI, CFTTN-with or with- novelty value), the higher they rated the recommendations out Inverse Tag Frequency ITF, Tag CF CFTG, Track- We observed an almost perfect inverse correlation between Tag Search STTI, STTN- with or without ITF, Tag these two scores, with a Pearson, s correlation coefficient Search STG) over their profiles. The average number of between average NDCG and Novelty values per algorithm tracks in a user profile was 658, ranging from 17 up to of c=-0.987, and still a high inverse correlation of all 2, 848, not being statistically significant in influencing al preference and novelty marks with c=-0513 gorithm outcome. For each of the algorithms we collected Another interesting result is that STG recommends the top-10 recommended items (i.e, tracks), such that each much less popular tracks than our CFTR baseline, but still

Search based on Track-Tags with ITF (STTI). Similar to CFTTI this algorithm is based on profiles created using the algorithms 5.2.1.1 and 5.2.2.1 and includes the IT F factor in the preference formula: Alg. 6.3.1: Search based on Track-Tags with ITF (STTI) Tags ,→ Tag Profile ,→ Search with Tags ,→ Tracks 1: Create tag-based profiles (Alg. 5.2.1.1/ Alg. 5.2.2.1 both with ITF) 2: Create Query Q 3: For each tag T Gi in the profile of current user U 4: Add pair to Q 5: Search with Q tracks being tagged with tags in Q ⇒ RT R 6: Compute cosine similarity between tracks in the Lucene index and Q 7: Rank resulted tracks RT R based on cosine similarity 8: Recommend music tracks RT R Search based on Track-Tags No-ITF (STTN). The sec￾ond search-based algorithm is based on Alg. 6.3.2, just that we remove the IT F parameter in the preference formula. Search based on Tags (STG). Like the CFTG algorithm, STG uses profiles created by alg. 5.2.1.2 and 5.2.2.2. Tags contained in the profiles are then directly used for searching for tracks which have been tagged with these tags: Alg. 6.3.3: Search based on Tags (STG) Tags ,→ Tag Profile ,→ Search with Tags ,→ Tracks 1: Create tag-based profiles (Alg. 5.2.1.2/ Alg. 5.2.2.2) 2: Create Query Q 3: For each tag T Gi in the profile of current user U 4: Add pair to Q 5: Search with Q tracks being tagged with tags in Q ⇒ RT R 6: Compute cosine similarity between tracks in the Lucene index and Q 7: Rank resulted tracks RT R based on cosine similarity 8: Recommend music tracks RT R 7. Evaluation 7.1. Experimental Setup We evaluated our algorithms with 18 subjects (B.Sc., Ph.D., and Post- Doc students in different areas of com￾puter science and education). They installed our desktop application to extract their user profiles as described in Alg. 5.1.2.2, 5.2.2.1, and 5.2.2.2. Then we ran all 7 variants of our algorithms (Track Collaborative Filtering CF T R - baseline, Track-Tag CF CF T T I, CF T T N - with or with￾out Inverse Tag Frequency IT F, Tag CF CF T G, Track￾Tag Search ST T I, ST T N - with or without IT F, Tag Search ST G) over their profiles. The average number of tracks in a user profile was 658, ranging from 17 up to 2,848, not being statistically significant in influencing al￾gorithm outcome. For each of the algorithms we collected the top-10 recommended items (i.e., tracks), such that each user had to rate a maximum number of 70 recommended tracks (it is possible that the same track gets recommended by more of the proposed algorithms, in which case the track was listed only once). Results were presented to the sub￾jects in shuffled order, so that they were not aware of the algorithm which produced the result nor the score of the recommended item. For each of the recommended tracks, the users had to provide two different scores: one measur￾ing how well the recommended track matches their music preferences ([0] - I don’t like this track, [1] - I don’t mind listening to this track, [2] - I like the track) and one reflect￾ing the novelty of the track ([0] - I already know this track, [1] - I know something about this track, e.g. I know the artist OR I heard the track on the radio, but I do not remember the name, etc., and [2] - this track is really new for me). The quality of the recommended results was measured using the normalized version of Discounted Cumulated Gain (DCG) [3], a rich measure which gives more weight to highly ranked documents, while also incorporating dif￾ferent relevance levels by giving them different gain values: DCG(i) =  G(1) , if i = 1 DCG(i − 1) + G(i)/log(i) , otherwise. For novelty, only the average of the marks given was used, resulting in a value ranging from 0 (known) to 2 (really new). 7.2. Results Table 2 shows the NDCG value, its statistical signif￾icance over the CF T R baseline computed using T-tests, and the average popularity (number of times a track was listened to on Last.fm) of recommended tracks for each al￾gorithm. All Collaborative Filtering algorithms based on tags (CF T G, CF T T I, CF T T N) performed worse than the baseline, as standard User-Item CF techniques already show high precision. All our search algorithms, though, show quite substantial improvements over track based CF (ST G 12%, ST T I 37%, ST T N 44% as shown in Figure 5; ST T I and ST T N both highly statistically significant). This outcome is certainly positively influenced by the con￾sistent usage of tags on Last.fm: Most frequently used tags denote the track’s genre, so our search gets biased toward specific user preferred music genres. It was also interesting to note that the better people knew the tracks (i.e., a lower novelty value), the higher they rated the recommendations. We observed an almost perfect inverse correlation between these two scores, with a Pearson’s correlation coefficient between average NDCG and Novelty values per algorithm of c = −0.987, and still a high inverse correlation of all preference and novelty marks with c = −0.513. Another interesting result is that ST G recommends much less popular tracks than our CF T R baseline, but still

orithm NDCG Signif. vS CFTR thm NDCG Signif. vS CFTR Popularity gh,p<0.01 0.01 CFTTN 0 0.13 No,p=0.36 077High,p<001 No,p=0.25 Table 2. Normalized Discounted cumulative Table 4. Normalized Discounted Cumulative Gain over the first 10 recommended tracks Gain and average track popularity over the along with the average track popularity and first 10 recommended tracks, only for items average novelty with high novelty STN 0.76 Minimal, p=0.10 Table 3. Normalized Discounted Cumulative Gain, average track popularity, and aver- 0%6 -20% age novelty over the first 10 recommended ant vs, CFTR tracks, only for users with less than 50 tracks on their Desktop Figure 5. Relative NDCG gain(in %)over the CFTR baseline for each algorithm 8. Conclusions and future Work of higher quality, so that it is suited for people demand- ng a higher diversity of music, not listening to the same tracks over and over again. We can thus suggest different algorithms, depending on the user's preference concerning Tag usage is increasing in many community web sites popularity and novelty of tracks. Because of the high use yet only simple search algorithms are available to use these of the"rock"tag(used twice as much as any other tag), tags. In this paper we analyze tag usage and statistics for many hard rock or heavy metal songs were recommended, one of the most popular music community sites, Last. fm, mostly by tag-based CF algorithms. Further research has and compare user profiles based on these tags with conven to be done in order to disambiguate tag meanings, and to tional ones based on tracks. Using these tag-based profiles, reduce unwanted tag weights we define several new recommender and search algorithms and investigate their behavior, comparing it to classical col- When looking only at people with less than 50 personal laborative filtering based on track-based profiles lusic tracks on their desktop(Table 3)-this was the case line. A first set of algorithms, using collaborative filtering for 7 of our test subjects, the number of tracks ranging from on tag profiles that were extracted from tracks, proved to be 17 to 48 and averaging at 31- we still find a gain of 26% less successful than the baseline. A second set of tag-based and 33% over the baseline for STTI and STTN, respec- search algorithms however improved results quality signif- tively. This indicates that our user tag profiles also work icantly. In addition to a 44% increase in quality for the best with less rich music repositories. Results presented in Ta- algorithm, search-based methods are also much faster than ble 4 only for recommended tracks with high novelty (i.e, collaborative filtering and do not suffer from the cold start novelty mark 2), show a decrease in NDCG for all al- problem. An interesting additional feature we want to inves- gorithms, mostly not statistically significant since users had tigate in the future is to incorporate relevance feedback into different music knowledge. Still STTN performs 13% bet- search-based recommendations, such that the user is able to ter than CFTR, mainly because it recommends tracks with select negative tracks or tags, genres he does not like, live higher popularity performances, or even instrumental setups

Nr. Algorithm NDCG Signif. vs. CFTR Popularity Novelty 1 CFTR 0.54 - 15,177 1.39 2 CFTG 0.25 High, p  0.01 4,065 1.83 3 CFTTI 0.36 High, p  0.01 6,632 1.72 4 CFTTN 0.37 High, p  0.01 13,671 1.74 5 STG 0.60 No, p = 0.22 7,587 1.07 6 STTI 0.73 High, p  0.01 10,380 0.82 7 STTN 0.77 High, p  0.01 16,309 0.78 Table 2. Normalized Discounted Cumulative Gain over the first 10 recommended tracks, along with the average track popularity and average novelty Nr. Algorithm NDCG Signif. vs. CFTR Popularity Novelty 1 CFTR 0.60 - 19,717 1.33 2 CFTG 0.29 Yes, p = 0.02 7,787 1.84 3 CFTTI 0.33 Yes, p = 0.02 9,970 1.79 4 CFTTN 0.32 High, p  0.01 25,576 1.77 5 STG 0.55 No, p = 0.29 7,799 1.11 6 STTI 0.76 Minimal, p = 0.10 10,709 0.81 7 STTN 0.80 Minimal, p = 0.07 15,664 0.61 Table 3. Normalized Discounted Cumulative Gain, average track popularity, and aver￾age novelty over the first 10 recommended tracks, only for users with less than 50 tracks on their Desktop of higher quality, so that it is suited for people demand￾ing a higher diversity of music, not listening to the same tracks over and over again. We can thus suggest different algorithms, depending on the user’s preference concerning popularity and novelty of tracks. Because of the high use of the “rock” tag (used twice as much as any other tag), many hard rock or heavy metal songs were recommended, mostly by tag-based CF algorithms. Further research has to be done in order to disambiguate tag meanings, and to reduce unwanted tag weights. When looking only at people with less than 50 personal music tracks on their desktop (Table 3) - this was the case for 7 of our test subjects, the number of tracks ranging from 17 to 48 and averaging at 31 - we still find a gain of 26% and 33% over the baseline for ST T I and ST T N, respec￾tively. This indicates that our user tag profiles also work with less rich music repositories. Results presented in Ta￾ble 4 only for recommended tracks with high novelty (i.e., novelty mark = 2), show a decrease in NDCG for all al￾gorithms, mostly not statistically significant since users had different music knowledge. Still ST T N performs 13% bet￾ter than CF T R, mainly because it recommends tracks with higher popularity. Nr. Algorithm NDCG Signif. vs. CFTR Popularity 1 CFTR 0.31 - 22,766 2 CFTG 0.19 No, p = 0.21 4,852 3 CFTTI 0.24 No, p = 0.42 5,758 4 CFTTN 0.29 Minimal, p = 0.13 17,419 5 STG 0.27 No, p = 0.25 21,111 6 STTI 0.26 No, p = 0.36 29,196 7 STTN 0.35 No, p = 0.25 44,490 Table 4. Normalized Discounted Cumulative Gain and average track popularity over the first 10 recommended tracks, only for items with high novelty Figure 5. Relative NDCG gain (in %) over the CF T R baseline for each algorithm. 8. Conclusions and Future Work Tag usage is increasing in many community web sites, yet only simple search algorithms are available to use these tags. In this paper we analyze tag usage and statistics for one of the most popular music community sites, Last.fm, and compare user profiles based on these tags with conven￾tional ones based on tracks. Using these tag-based profiles, we define several new recommender and search algorithms, and investigate their behavior, comparing it to classical col￾laborative filtering based on track-based profiles as a base￾line. A first set of algorithms, using collaborative filtering on tag profiles that were extracted from tracks, proved to be less successful than the baseline. A second set of tag-based search algorithms however improved results’ quality signif￾icantly. In addition to a 44% increase in quality for the best algorithm, search-based methods are also much faster than collaborative filtering and do not suffer from the cold start problem. An interesting additional feature we want to inves￾tigate in the future is to incorporate relevance feedback into search-based recommendations, such that the user is able to select negative tracks or tags, genres he does not like, live performances, or even instrumental setups

References [1] A Byde, H. an, and S. Cayzer. Personalized tag recom mendations via tagging and content-based similarity metrics. Proceedings of the International Conference on Weblogs and Social Media(ICWSM), 2007. 2] O. Celma, M. Ramirez, and P. Herrera. Foafing the music A music recommendation system based on rss feeds and user preferences. Proceedings of the 6th international Conference n Music Information Retrieval(ISMIR), 2005 3] K Jarvelin and J. Keklinen Ir evaluation methods for retriev- ing highly relevant documents. Proc. of the 23th Intl. ACM SIGIR Conf on Research and development in information re [4] S Pauws, w. verhaegh, and M. Vossen. Fast generation of optimal music playlists using local search. Proceedings of the International Conference on Music Information Retrieval (ISMR),2006 [5] B. Whitman and S Lawrence Inferring descriptions and sim ilarity for music from community metadata. Proceedings of the intenational Computer Music Conference(ICMC), 2002 [6 K. Yoshii, M. Goto, K. Komatani, T Ogata, and H G. Okuno. Hybrid collaborative and content-based music recommenda- tion using probabilistic model with latent user preferences. Proceedings of the 7th International Conference on Music In formation Retrieval(ISMIR), 2006

References [1] A. Byde, H. Wan, and S. Cayzer. Personalized tag recom￾mendations via tagging and content-based similarity metrics. Proceedings of the International Conference on Weblogs and Social Media (ICWSM), 2007. [2] O. Celma, M. Ramirez, and P. Herrera. Foafing the music: A music recommendation system based on rss feeds and user preferences. Proceedings of the 6th International Conference on Music Information Retrieval (ISMIR), 2005. [3] K. Jarvelin and J. Keklinen. Ir evaluation methods for retriev- ¨ ing highly relevant documents. Proc. of the 23th Intl. ACM SIGIR Conf. on Research and development in information re￾trieval, 2000. [4] S. Pauws, W. Verhaegh, and M. Vossen. Fast generation of optimal music playlists using local search. Proceedings of the 6th International Conference on Music Information Retrieval (ISMIR), 2006. [5] B. Whitman and S. Lawrence. Inferring descriptions and sim￾ilarity for music from community metadata. Proceedings of the International Computer Music Conference (ICMC), 2002. [6] K. Yoshii, M. Goto, K. Komatani, T. Ogata, and H. G. Okuno. Hybrid collaborative and content-based music recommenda￾tion using probabilistic model with latent user preferences. Proceedings of the 7th International Conference on Music In￾formation Retrieval (ISMIR), 2006

点击下载完整版文档(PDF)VIP每日下载上限内不扣除下载券和下载次数;
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
已到末页,全文结束
相关文档

关于我们|帮助中心|下载说明|相关软件|意见反馈|联系我们

Copyright © 2008-现在 cucdc.com 高等教育资讯网 版权所有