<!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>AIRec: Attentive Intersection Model for Tag-Aware Recommendation</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Bo Chen</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Dong Wang</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Yue Ding</string-name>
          <email>dingyueg@sjtu.edu.cn</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Xin Xin</string-name>
          <email>x.xin.1@research.gla.ac.uk</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Shanghai Jiao Tong University</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>University of Glasgow</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>Tag-aware recommender systems (TRS) utilize rich tagging information to better depict user portraits and item features. Existing methods fail to capture multi-aspect user preferences and lack of exploration of tags intersection. In this work, we propose attentive intersection model (AIRec) to address these issues. User representations are constructed via a hierarchical attention network, where the item-level attention di erentiates the contributions of interacted items and the preference-level attention discriminates the saliencies between explicit and implicit preferences. Besides, the tags intersection is exploited to enhance the learning of conjunct features. Finally, we combine factorization machines (FM) with BPR for score prediction. Experiments on two real-world datasets demonstrate signi cant improvements of AIRec over state-of-the-art methods for tag-aware top-n recommendation.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>Social tagging systems, also known as folksonomies, are widely used in various
websites, where users can freely annotate online resources (e.g., movies, artists)
with arbitrary tags. These tags are composed by laconic words or phrases, which
can not only indicate user preferences, but also summarize features of items.
Consequently, user-de ned tags can be introduced into recommender systems
for alleviating the cold-start problem and improving recommendation quality.</p>
      <p>
        To solve the problem of sparsity, ambiguity and redundancy in tag space,
some neural networks-based methods are proposed by converting the tag space
into dense latent space, such as CFA [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], DSPR-NS [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] and TRSDL [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Although
these models have made some progress, there are some weaknesses that hinder
their performance. They construct user representations by either explicit tagging
behaviors (e.g., DSPR-NS) or implicit interacted items (e.g., TRSDL), which is
inadequate to capture multi-aspect user preferences. The intersection of user and
item tags re ects the diverse focuses of di erent users, which is the key incentive
of user-item transactions. Unfortunately, seldom research has explored this eld.
      </p>
      <p>Prediction Layer
෤
෤</p>
      <p>ො Training BPR
Factorization Machines</p>
      <p>Concat</p>
      <p>In this paper, we focus on developing solution to address the drawbacks
mentioned above and propose an Attentive Intersection Recommendation model
(AIRec) for TRS. Compared to the previous models, our method not only takes
both explicit and implicit preferences into consideration for capturing more
accurate user portrait via hierarchical attention network, but also makes full use
of the tags intersection to improve performance.
2</p>
    </sec>
    <sec id="sec-2">
      <title>The AIRec Model</title>
      <p>In this section, we will present the architecture of our proposed AIRec model and
explain the training procedure. Figure 1 illustrates the structure of our model.
Preference-level
෤1</p>
      <p>෤2
෤
Item-level</p>
      <p>Element-wise ⨉</p>
      <p>Element-wise +
Hybrid user model
···
···
Hidden Layers</p>
      <p>MLP</p>
      <p>Shared parameters</p>
      <p>Shared parameters
MLP</p>
      <p>MLP</p>
      <p>Input Layer and Hidden Layers The user feature vector is constructed as
xu = (p1u; p2u; :::; pVu ), where V is the size of tag set and pju = jf(u; i; tj ) 2 Aji 2 Igj
is the number of times that user u annotates items with tag tj . Similarly, the
item feature vector can be represented as yi = (q1i; q2i; :::; qVi ).</p>
      <p>To solve the problem of sparsity and high-dimension, xu and yi are fed into
the multi-layer perceptrons (MLPs) with shared parameters. Sharing parameters
can not only obtain better generalization capability and less computational
overhead, but force networks to use the same feature space to describe user and item.
The latent representations of user and item are x~1u = h(xu) and y~i = h(yi).
Hybrid User Model To capture multi-aspect user preferences, we should
consider not only the explicit preferences x~1u re ected by user's own tagging
behaviors, but also the implicit preferences x~2u conveyed by the historical interacted
items. In this part, we elaborate a hybrid user model with hierarchical attention
AIRec: Attentive Intersection Model for Tag-Aware Recommendation
network. The item-level attention aims to depict user implicit preferences x~2u by
di erentiating contributions of historical items, while the preference-level
attention dynamically discriminates the saliencies between explicit tagging behaviors
and implicit preferences for obtaining hybrid user representation x~uH .</p>
      <p>In the item-level attention, we leverage an additive attention network to
di erentiate contributions of items by investigating the similarities between item
representations and explicit preferences x~1 . Suppose the historical items set of
u
user u is Iu, the representation of kth item ik 2 Iu is y~k. The attention weight
(u; k) can be interpreted as the contribution of the kth item to the implicit
preferences, which is shown as:
(u; k) = sof tmax(v1T ReLU (W0x~1u + W1y~k + b1));
(1)
where matrices W0, W1 and vectors b1, v1 are the trainable parameters. Finally,
the implicit preferences x~2u can be represented as x~2u = Pik2Iu (u; k)y~k.</p>
      <p>The hybrid user representation can be obtained by fusing x~1u with x~2 .
Difu
ferent from manually setting a hyper-parameter for all users to determine
the trade-o , we design a self-attentive fusion mechanism for complying with
individual diversity. Similarly, the attention weight (u; k) of the kth part is:
(u; k) = sof tmax(v2T ReLU (W2x~ku + b2)):
(2)
And the hybrid user representation is formulated as x~uH = (u; 1)x~1u + (u; 2)x~2u.
Intersection Module Item features are multi-dimensional and have diverse
attractions for di erent users. The intersection of user and item tags reveals
the deep reason why the user focuses on the item and which are the vital
dimensions when modeling this transaction. Motivated by this observation, we
elaborate an intersection module to extract the intersection for further
enhancing the recommendation performance. Firstly, we calculate the tags intersection
by iiu = yi \xu = (r1iu; r2iu; :::; rViu), where rjiu = min(qji ; pj ) means the minimum
u
occurrences of tag tj . Then iiu is fed into a MLP that shares parameters with
the previous MLPs for further training the networks. At last, the latent
representation ~iiu is added to the user/item representations, that is, y~i = y~i iiu and
~
x~uH = x~uH ~iiu, where operation means element-wise addition.</p>
      <p>Due to the shared parameters, intersection module can constrain MLPs to
focus on the conjunct features, obtaining more concrete user/item representations
under a certain user-item transaction scenario.</p>
      <p>
        Training Details At the prediction stage, feature vectors y~i and x~uH are
concatenated into a single vector z = y~i; x~uH , and passed through a prediction
layer consisting of a factorization machine [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], which captures the second-order
interactions in a ne-grained manner, i.e, y^ui = F M (z).
      </p>
      <p>
        We optimize the model with the BPR framework and the loss function is
L = Phu;i+;i i ln (y^ui+ y^ui ), where i+ and i are the positive and
negative items of user u respectively. The negative items are randomly sampled from
a uniform distribution. Besides, dropout is also used to prevent over tting.
We conduct experiments on two public datasets: Last.Fm and Delicious and
adopt the same preprocessing as [
        <xref ref-type="bibr" rid="ref3 ref4 ref5">5, 3, 4</xref>
        ] to remove infrequent tags. For each
dataset, we randomly select 80% of the assignments as training set and 20% as
test set. The training set is used to construct tag-based user and item pro les.
      </p>
      <p>
        We compare the performance of AIRec with FM[
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], CFA[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], DSPR-NS[
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] and
HDLPR[
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. Precision (P ), Recall (R), F1-score (F ) and Mean Reciprocal Rank
(MRR) are used to evaluate the results. Table 1 illustrates the top-n
recommendation performances. It's obvious that AIRec achieves the best performance in
all metrics, which demonstrates the e ectiveness of our model.
4
      </p>
    </sec>
    <sec id="sec-3">
      <title>Conclusion</title>
      <p>In this work, we propose a novel tag-aware top-n recommendation model AIRec.
We design a hybrid user model with a hierarchical attention network for better
user modeling and leverage the tags intersection for constraining neural networks
to focus on the conjunct features. Extensive experiments shows that AIRec
signi cantly outperforms the state-of-the-art baselines.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Liang</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zheng</surname>
            ,
            <given-names>H.T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>J.Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sangaiah</surname>
            ,
            <given-names>A.K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhao</surname>
            ,
            <given-names>C.Z.</given-names>
          </string-name>
          :
          <article-title>Trsdl: Tag-aware recommender system based on deep learning{intelligent computing systems</article-title>
          .
          <source>Applied Sciences</source>
          <volume>8</volume>
          (
          <issue>5</issue>
          ),
          <volume>799</volume>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Rendle</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Factorization machines</article-title>
          . In: ICDM. pp.
          <volume>995</volume>
          {
          <fpage>1000</fpage>
          .
          <string-name>
            <surname>IEEE</surname>
          </string-name>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Xu</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lukasiewicz</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Miao</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Meng</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          :
          <article-title>Tag-aware personalized recommendation using a deep-semantic similarity model with negative sampling</article-title>
          .
          <source>In: CIKM</source>
          . pp.
          <year>1921</year>
          {
          <year>1924</year>
          . ACM (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Xu</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lukasiewicz</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Miao</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Meng</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          :
          <article-title>Tag-aware personalized recommendation using a hybrid deep model</article-title>
          .
          <source>In: IJCAI</source>
          . pp.
          <volume>3196</volume>
          {
          <issue>3202</issue>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Zuo</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zeng</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gong</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jiao</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Tag-aware recommender systems based on deep neural networks</article-title>
          .
          <source>Neurocomputing</source>
          <volume>204</volume>
          ,
          <issue>51</issue>
          {
          <fpage>60</fpage>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>