<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Music Playlist Recommendation via Preference Embedding</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Chih-Ming Chen</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Chun-Yao Yang</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Chih-Chun Hsia</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Yian Chen</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ming-Feng Tsai</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="editor">
          <string-name>Graph Embedding; Music Playlist Recommendations</string-name>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Computer Science, National Chengchi University</institution>
          ,
          <addr-line>Taipei 116</addr-line>
          ,
          <country country="TW">Taiwan</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Research Center for Information Technology Innovation</institution>
          ,
          <addr-line>Academia Sinica, Taipei 115</addr-line>
          ,
          <country country="TW">Taiwan</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Research Center, KKBOX Inc.</institution>
          ,
          <addr-line>Taipei 115</addr-line>
          ,
          <country country="TW">Taiwan</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2016</year>
      </pub-date>
      <abstract>
        <p>Music playlists usually contain some particular musical styles or atmospheres in which users would like to be involved. Music streaming services, such as Spotify, Apple Music, and KKBOX, even allow users to edit and listen to playlists online. While there have been some well-known methods that can nicely model the preference between users and songs, little has been done in the literature to recommend music playlists, each of which can be considered as a set of many individual songs, to users. In the light of this, this paper proposes a preference embedding based on a user-song-playlist graph to learn the preference representations of these three entities. After the embedding process, we then use the learned representations to perform the task of playlist recommendation. Experiments conducted on a real-world dataset show that the proposed embedding method outperforms the baseline of popularity; in addition, we also make a comparison with DeepWalk and LINE for the recommendation task, and the results show that the proposed method can stand comparison with the two state-of-the-art graph embedding techniques.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. INTRODUCTION</title>
      <p>
        Music streaming services usually provide various ways for
users to explore the music they may like, such as creating
and sharing user playlists. Recommendation usually plays an
important role in the exploration via predicting songs toward
users according to their listening logs. In the literature,
much has been studied about how to model the preference of
users and items for an e ective recommender system, such
as [
        <xref ref-type="bibr" rid="ref2 ref4 ref5">2, 4, 5</xref>
        ]. However, little has been worked on how to
recommend a combined set of items (i.e., playlists) based
on user preference logs on individual items (i.e., songs). In
light of this, we propose to use the Heterogeneous Preference
Embedding (HPE) approach [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] based on a user-song-playlist
graph toward the task.
      </p>
      <p>
        The idea behind embedding techniques is to compress
the contextual/surrounding information of an object into
its vector representation. In the eld of natural language
processing, the techniques are usually referred to as word
embedding for language modeling and feature learning to
map words or phrases into a low-dimensional vector space.
In social network analysis, the similar idea has also been
applied to learn the representations of vertices of a social
graph that can keep the graph structure for further tasks
such as community detection. Inspired by the idea, the HPE
method [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] develops the techniques for music recommendation
by learning the representations of user preference over items.
Based on the HPE method, this paper proposes a preference
graph over three entities (i.e., users, songs, and playlists)
for embedding. Figure 1 plots the graph, in which the user
preference over songs and playlists can be nicely embedded
into the subsequent representations. In the experiments, a
real-world music streaming dataset containing 50,000 users,
400,000 songs, and 130,000 playlists is employed to verify the
e ectiveness of the proposed method. As shown in the results,
the network-embedding based methods all outperform the
baseline of popularity; in addition, the proposed HPE method
can bear comparison with the two state-of-the-art graph
embedding techniques, DeepWalk and LINE.
2.
      </p>
    </sec>
    <sec id="sec-2">
      <title>METHODOLOGY</title>
      <p>
        Given the users of U = fu1; :::; ujUjg, the songs of S =
fs1; :::; sjSjg, and the playlists of P = fp1; :::; pjP jg, the task
of playlist recommendation is to predict a set of the playlists
matching the user preference. The proposed approach models
the preference relationship as follows: each object is treated
as an individual vertex v of the graph; then, the model
iteratively updates each vertex representation according
to its proximity to the sampled vertices in the graph. The
update procedure can be summarized as the following
process of minimizing the set of sampled target-to-proximity
pairs (vi; vj) [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]:
      </p>
      <p>O =</p>
      <p>X
vj2proximity(vi)
log p(vjj (vi))
(1)</p>
      <p>To conduct the task of playlist recommendation, we
construct a preference graph, shown in Figure 1, with the
following connections:
1. The user-song connection: a user is connected to a
song if the user listens to the song more than t times.</p>
      <p>This connection is mainly to record the user preference
over songs.
u2
u4
Users
p2</p>
      <p>Popularity
1.88%
3.67%
5.39%
7.08%
(DeepWalk, w=2) (DeepWalk, w=6) (LINE, 2nd) (HPE, w=2) (HPE, w=6)
12.85% *13.19% 7.14% 10.39% 12.22%
12.16% 12.37% 6.66% 10.29% 12.52%
11.69% 11.88% 6.30% 10.12% *12.36%
11.32% 11.56% 6.05% 9.99% *12.35%
2. The playlist-song connection: a playlist is connected to
a song if the playlist contains the song, which records
the relations between songs and playlists.
( Ps2P ref(u) log p(sj (u)) if v 2 U</p>
      <p>Ps2P list(p) log p(sj (p)) if v 2 P
:
(2)
In the process, songs can be considered as the connection
between users and playlists. Therefore, the learned
representation of users and playlists can be matchable via the
connection by means of some simple similarity metrics, such
as cosine distance and euclidean distance. Moreover, the
proposed method can be extended to consider the indirect
connections among vertexes, which is similar to the idea of
traditional collaborative ltering.</p>
    </sec>
    <sec id="sec-3">
      <title>EXPERIMENTAL RESULTS</title>
      <p>In our experiments, the dataset is collected from the
KKBOX music streaming service, consisting of 50,000 users,
400,000 songs, 130,000 playlists with a total of 16,000,000
user-to-song listening logs. We split the dataset as training
and testing with the 50-50 ruling. For evaluation, we assume
that, if a playlist contains over 70 percent songs that are
listened by a user, the playlist is considered as the desired
playlist for the user. The evaluation metrics we used in the
experiments is the Precision@n, which indicates the hit ratio
of the top n recommended playlists.</p>
      <p>
        We compare di erent network embedding techniques,
including HPE [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], DeepWalk [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], LINE [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], and one baseline
approach by the song popularity. From Table 1, we can
observe that the network-embedding based methods all
outperform the baseline. The w refers to window size which is
the model parameter. The larger w means adopting wider
context information. In the embedding based methods, the
learned representations preserve each user previous
listening preference. So, the embedding based methods achieve
better recommendation quality in terms of precision. In
addition, the proposed HPE method obtains the most e ective
performance of 12.52% in terms of Precision@10.
4.
      </p>
    </sec>
    <sec id="sec-4">
      <title>CONCLUSION AND FUTURE WORK</title>
      <p>In this paper, we propose a user-song-playlist graph for
playlist recommendation by applying the HPE method. In
the graph, songs can be considered as the connection
between users with playlists, which is useful for the playlist
recommendation. With the preference graph, the proposed
method can achieve e ective recommendation performance.
Furthermore, the proposed method can also be extended to
include other heterogeneous objects into the graph. So, in
our future work, we will attempt to study how to construct
other preference graphs with more heterogeneous information
to carry out more advanced context-aware recommendations.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>C.-M. Chen</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.-F. Tsai</surname>
            ,
            <given-names>Y.-C.</given-names>
          </string-name>
          <string-name>
            <surname>Lin</surname>
            , and
            <given-names>Y.-H.</given-names>
          </string-name>
          <string-name>
            <surname>Yang</surname>
          </string-name>
          .
          <article-title>Query-based music recommendations via preference embedding</article-title>
          .
          <source>In Proc. of ACM RecSys</source>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>J. L.</given-names>
            <surname>Herlocker</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. A.</given-names>
            <surname>Konstan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L. G.</given-names>
            <surname>Terveen</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J. T.</given-names>
            <surname>Riedl</surname>
          </string-name>
          .
          <article-title>Evaluating collaborative ltering recommender systems</article-title>
          .
          <source>ACM Trans. Inf</source>
          . Syst.,
          <volume>22</volume>
          (
          <issue>1</issue>
          ):5{
          <fpage>53</fpage>
          ,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>B.</given-names>
            <surname>Perozzi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Al-Rfou</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S.</given-names>
            <surname>Skiena</surname>
          </string-name>
          . Deepwalk:
          <article-title>Online learning of social representations</article-title>
          .
          <source>In Proc. of ACM SIGKDD</source>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>S.</given-names>
            <surname>Rendle</surname>
          </string-name>
          .
          <article-title>Factorization machines with libFM</article-title>
          .
          <source>ACM Trans. Intell. Syst. Technol.</source>
          ,
          <volume>3</volume>
          (
          <issue>3</issue>
          ):
          <volume>57</volume>
          :1{
          <fpage>57</fpage>
          :
          <fpage>22</fpage>
          , May
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>J. D. M.</given-names>
            <surname>Rennie</surname>
          </string-name>
          and
          <string-name>
            <given-names>N.</given-names>
            <surname>Srebro</surname>
          </string-name>
          .
          <article-title>Fast maximum margin matrix factorization for collaborative prediction</article-title>
          .
          <source>In Proc. of ICML</source>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>J.</given-names>
            <surname>Tang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Qu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , J. Yan, and
          <string-name>
            <given-names>Q.</given-names>
            <surname>Mei</surname>
          </string-name>
          . Line:
          <article-title>Large-scale information network embedding</article-title>
          .
          <source>In Proc. of ACM WWW</source>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>