Skip to content
ImagineWorld

Heterogeneous Graph Representation for Recommendation

node_idnode-book_heterogeneous-graph-representations_chapter-07-heterogeneous-graph-representation-for-recommendation
node_typechapter-node
schema_profileworld.chapter_node.v1
statusactive
entropyhigh
manifoldworld
domainimagineworld.net
authorityinforms
layercorpus
chapter_num7
chapter_titleHeterogeneous Graph Representation for Recommendation
governed_byCORPUS
constitutional_citationCONSTITUTION
local graph

Chapter 7 — Heterogeneous Graph Representation for Recommendation

Section titled “Chapter 7 — Heterogeneous Graph Representation for Recommendation”

Abstract With the rapid development of web services, various kinds of useful auxiliary data (a.k.a., side information) become available in recommender systems. To characterize these complex and heterogeneous auxiliary data, heterogeneous graph (HG) representation methods have been widely adopted due to the flexibility in modeling data heterogeneity. In this chapter, we introduce three HG representation based recommendation systems solving the unique challenges existing in diverse real-world scenarios, including Top-N recommendation (MCRec), cold-start recommendation (MetaHIN), and bibliographic recommendation (ASI). In the field of HG representation for recommendation, methods mainly contain three key components: HG constructions, HG representation learning and recommendation based on the HG representation.

In recent years, recommender systems, which help users discover items of interest from a large resource collection, have been playing an increasingly important role in various online services [15], such as item recommendation and collaborator recommendation. Traditional recommendation methods (e.g., matrix factorization) mainly aim to learn an effective prediction function for recovering and completing interaction matrix. With the rapid development of web services, various kinds of auxiliary data (e.g., side information) become available in recommender systems. Although auxiliary data is likely to contain useful information for recommendation, it is difficult to model and utilize these heterogeneous and complex information in recommender systems.

As a promising direction, heterogeneous graph has been proposed as a powerful information modeling method [26, 27, 30]. Due to its flexibility in modeling data heterogeneity, heterogeneous graph (HG) has been adopted in recommender systems to characterize rich auxiliary data. Under the HG based representation, the recommendation problem can be considered as a similarity search task over the HG [30]. Such a recommendation setting is called as HG based recommendation. HG

© The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd. 2022 C. Shi et al., Heterogeneous Graph Representation Learning and Applications, Artificial Intelligence: Foundations, Theory, and Algorithms, https://doi.org/10.1007/978-981-16-6166-2_7

based recommendation has been widely adopted in recommender systems due to its excellence in modeling complex context information [8, 25, 39]. Although the existing HG based recommendation methods have achieved performance improvement to some extent, they still meet unique challenges existing in diverse applications.

In this chapter, we introduce three HG representation based recommendation systems solving the challenges in diverse real-world scenarios, including Top-N recommendation, cold-start recommendation and bibliographic recommendation. First, to leverage rich meta-path based context for top-N recommendation, Meta-path based Context for Recommendation (named MCRec) is designed as a novel deep neural network with the co-attention mechanism, explicitly learning the representation of meta-path and their complex relationships. Second, to better address the cold-start problem in recommendation, a Meta-learning approach to cold-start recommendation on Heterogeneous Information Networks (named MetaHIN) is proposed to capture richer semantics, by exploiting the power of meta-learning at the model level and HINs at the data level simultaneously. Third, to capture relationships between authors in bibliographic recommendation, Author Set Identification model (named ASI) first studies the problem of author set identification, which is to identify an author set related to an anonymous paper.

The existing heterogeneous graph based recommendation methods can be cate-gorized into two types. The first type leverages path based semantic relatedness as direct features for recommendation relevance [8, 25, 39], and the second type performs some transformation on path based similarities for learning effective transformed features [39, 42]. These two types of methods both extract meta-path based features for improving the characterization of two-way user–item interactions, as illustrated in Fig. 7.1, while these existing methods have two major shortcomings. First, these models seldom learn an explicit representation for path or meta-path in the recommendation task. Second, they do not consider the mutual effect between the meta-path and the involved user–item pair in an interaction.

A basic idea for the problems is to leverage rich meta-path information from heterogeneous graph for top-N recommendation in a more principled way. Our main idea is to: (1) Learn explicit representations for meta-path based context tailored for the recommendation task. (2) Characterize a three-way interaction of the form: ( user, meta-path, item). However, the solution is challenging. We have to consider three key problems: (1) How to design the base architecture that is suitable for the complicated heterogeneous graph based interaction scenarios. (2) How to generate meaningful path instances for constructing high-quality meta-path based context.

[!visual-conversion] Converted from the surrounding description (network schema / meta-path / path instance setting, and two-way vs. three-way interaction).

flowchart LR
    subgraph a["(a) HIN and Network Schema"]
        User((User)) -->|rate| Item[Item]
        Item -->|meta-path context| Attr[Attribute / Context nodes]
    end
    subgraph b["(b) Previous Models: two-way interaction"]
        Ub[User embedding] --> Interb[user, item interaction]
        Ib[Item embedding] --> Interb
    end
    subgraph c["(c) Our Model: three-way interaction"]
        Uc[User embedding] --> Interc[user, meta-paths, item interaction]
        Mc[Meta-path context embedding] --> Interc
        Ic[Item embedding] --> Interc
    end

Fig. 7.1 The illustration for heterogeneous graph based recommendation setting (network schema, meta-path, path instance) and the comparison between our model and previous methods (two-way interaction vs. three-way meta-path based interaction). (a) Heterogeneous Information Network and Network Schema. (b) Previous Models. (c) Our Model (3) How to capture the mutual effect between the involved user–item pair and meta-path based context in an interaction.

In this section, we introduce a novel deep neural network with the co-attention mechanism by leveraging rich meta-path based context, which is able to learn interaction-specific representations for users, items, and meta-path context. We present the proposed model that leverages Meta-path based Context for Recommendation, called MCRec. To our knowledge, it is the first time that meta-path based context has been explicitly modeled in a three-way neural interaction model for top-N recommendation in heterogeneous graph. More details about MCRec are given in the next section.

Differing existing heterogeneous graph based recommendation models, which only learn the representations for users and items, we explicitly incorporate meta-paths as the context in an interaction between a user and an item. Instead of modeling the two-way interaction ⟨user,item⟩\langle user, item \rangle, we aim to characterize a three-way interaction ⟨user,meta-paths,item⟩\langle user, meta\text{-}paths, item \rangle. We present the overall architecture for the proposed model in Fig. 7.2. As we can see, for learning a better interaction function that generates the recommendations, we learn the representations (i.e., embedding) for users, items, and their interaction contexts. Besides the components for learning user and item embeddings, the most important part lies in the embedding of meta-path based context. We first use a priority based sampling technique to select high-quality path instances. Hence, the meta-path based context is first modeled into a low-dimensional embedding using a hierarchical neural network. With the initially learned embeddings for users, items, and meta-path based context, the co-attention mechanism further improves the three representations through alternative enhancement. Due to the incorporation of meta-path based context, our model is expected to yield a better performance and also improve the interpretability for recommendation results.

[!visual-conversion] Converted from the model description in the surrounding text (priority-based path-instance sampling, hierarchical meta-path context embedding, co-attention over user/item/context).

flowchart TB
    HG[Heterogeneous Graph] --> UserEmb[User Embedding]
    HG --> ItemEmb[Item Embedding]
    HG --> Sampling[Priority-based path-instance sampling]
    Sampling --> PathNN[Hierarchical neural network over path instances]
    PathNN --> ContextEmb[Meta-path context embedding]
    UserEmb --> CoAttn[Co-attention mechanism]
    ItemEmb --> CoAttn
    ContextEmb --> CoAttn
    CoAttn --> Rec[Recommendation score]

Fig. 7.2 The overall architecture of the proposed model

7.2.2.2 Characterizing Meta-path Based Context for Interaction

Section titled “7.2.2.2 Characterizing Meta-path Based Context for Interaction”

Sampling Path Instances via Priority Based Random Walk Existing heterogeneous graph embedding models mainly adopt a meta-path guided random walk strategy to generate path instances [7], relying on a uniform sampling over the outgoing nodes. Intuitively, at each step, the walker should wander to a neighbor of a higher “priority” score with a larger probability, since such an outgoing node can reflect more reliable semantics by forming a closer link. Hence, we propose to use a similar pretrain technique to measure the priority degree of each candidate outgoing node. First, we train the feature-based matrix factorization framework SVDFeature [5] on all the available historical interaction records to learn a potential vector for each node that has a history of user–item interactions. We can incorporate the entities from heterogeneous graph related to an interaction as the context of a training instance. With the learned latent factors, we can compute the pairwise similarities between two consecutive nodes along a path instance and then average these similarities for ranking the candidate path instances. Finally, given a meta-path, we only keep top KK path instances with the highest average similarities.

Meta-path Based Context Embedding After obtaining path instances from multiple meta-paths, we focus on how to model these meta-path based contexts as an informative embedding. Our method naturally follows a hierarchical structure: embedding a single path instance →\rightarrow embedding a single meta-path →\rightarrow embedding the aggregated meta-paths.

For path instance embedding, formally, given a path pp from some meta-path ρ\rho, let Xp∈RL×d\mathbf{X}^{p} \in \mathbb{R}^{L \times d} denote the embedding matrix formed by concatenating node embeddings, where LL is the length of the path instance and dd is the embedding dimension for entities. We adopt the commonly used convolution neural network (CNN) to deal with sequences of variable lengths. The structure of CNN consists of a convolution layer and a max pooling layer. We learn the embedding of a path instance pp using CNN as follows:

hp=CNN(Xp;θ),(7.1)\mathbf{h}_{p} = CNN(\mathbf{X}^{p}; \theta), \tag{7.1}

where Xp\mathbf{X}^{p} denotes the matrix of the path instance pp and θ\theta denotes all the related parameters in CNNs.

For meta-path embedding, since a meta-path can produce multiple path instances, we further apply the max pooling operation to derive the embedding for a meta-path. Let {hp}p=1K\{\mathbf{h}_{p}\}_{p=1}^{K} denote the embeddings for the KK selected path instances from meta-path ρ\rho. The embedding cρ\mathbf{c}_{\rho} for meta-path ρ\rho can be given by

cρ=max-pooling({hp}p=1K).(7.2)\mathbf{c}_{\rho} = \text{max-pooling}\left( \{\mathbf{h}_{p}\}_{p=1}^{K} \right). \tag{7.2}

Our max pooling operation is carried out over KK path instance embeddings, which aims to capture the important dimension features from multiple path instances.

For simple average embedding for meta-path based context, we apply the average pooling operation to derive the embedding for modeling the aggregate meta-path based context

cu→i=1∣Mu→i∣∑ρ∈Mu→icρ,(7.3)\mathbf{c}_{u \rightarrow i} = \frac{1}{|\mathcal{M}_{u \rightarrow i}|} \sum_{\rho \in \mathcal{M}_{u \rightarrow i}} \mathbf{c}_{\rho}, \tag{7.3}

where cu→i\mathbf{c}_{u \rightarrow i} is the embedding for meta-path based context and Mu→i\mathcal{M}_{u \rightarrow i} is the set of the considered meta-paths for the current interaction. In this naive embedding method, each meta-path indeed receives equal attention, and the representation of meta-path based context fully depends on the generated path instances. It fails to take the involved user and item into consideration, which lacks the ability of capturing varying semantics from meta-paths in different interaction scenarios.

7.2.2.3 Improving Embeddings for Interaction Via Co-Attention Mechanism

Section titled “7.2.2.3 Improving Embeddings for Interaction Via Co-Attention Mechanism”

Inspired by the recent progress of attention mechanism made in computer vision and natural language processing [21, 38], we propose a novel co-attention mechanism to improve the embeddings of users, items, and meta-paths.

Attention for Meta-path Based Context Since distinct meta-paths may have different semantics in an interaction, we learn the interaction-specific attention weights over meta-paths conditioned on the involved user and item. Given the user embedding xu\mathbf{x}_u, item embedding yi\mathbf{y}_i, the context embedding cρ\mathbf{c}_\rho for a meta-path ρ\rho, we adopt a two-layer architecture to implement the attention

αu,i,ρ(1)=f(Wu(1)xu+Wi(1)yi+Wρ(1)cρ+b(1)),(7.4)\alpha_{u,i,\rho}^{(1)} = f\left( \mathbf{W}_u^{(1)} \mathbf{x}_u + \mathbf{W}_i^{(1)} \mathbf{y}_i + \mathbf{W}_\rho^{(1)} \mathbf{c}_\rho + \mathbf{b}^{(1)} \right), \tag{7.4} αu,i,ρ(2)=f(w(2)⊤αu,i,ρ(1)+b(2)),(7.5)\alpha_{u,i,\rho}^{(2)} = f\left( \mathbf{w}^{(2)\top} \alpha_{u,i,\rho}^{(1)} + b^{(2)} \right), \tag{7.5}

where W∗(1)\mathbf{W}_*^{(1)} and b(1)\mathbf{b}^{(1)} denote the weight matrix and the bias vector for the first layer, and the w(2)\mathbf{w}^{(2)} and b(2)b^{(2)} denote the weight vector and the bias for the second layer. f(⋅)f(\cdot) is set to the ReLU function.

The final meta-path weights are obtained by normalizing the above attentive scores over all the meta-paths using the softmax function,

αu,i,ρ=exp⁡(αu,i,ρ(2))∑ρ′∈Mu→iexp⁡(αu,i,ρ′(2)),(7.6)\alpha_{u,i,\rho} = \frac{\exp\left( \alpha_{u,i,\rho}^{(2)} \right)}{\sum_{\rho' \in \mathcal{M}_{u \to i}} \exp\left( \alpha_{u,i,\rho'}^{(2)} \right)}, \tag{7.6}

which can be interpreted as the contribution of the meta-path ρ\rho to the interaction between uu and ii. After we obtain the meta-path attention scores αu,i,ρ\alpha_{u,i,\rho}, the new embedding for aggregate meta-path context can be given as the following weighted sum:

cu→i=∑ρ∈Mu→iαu,i,ρ⋅cρ,(7.7)\mathbf{c}_{u \to i} = \sum_{\rho \in \mathcal{M}_{u \to i}} \alpha_{u,i,\rho} \cdot \mathbf{c}_\rho, \tag{7.7}

where cρ\mathbf{c}_\rho is the learned embedding for the meta-path ρ\rho in Eq. (7.2). Since the attention weights {αu,i,ρ}\{\alpha_{u,i,\rho}\} are generated for each interaction, they are interaction-specific and able to capture varying interaction context.

Attention for Users and Items Given a user and an item, the meta-path connecting them provides important interaction context, which is likely to affect the original representations of users and items. Giving original user and item latent embeddings xu\mathbf{x}_u and yi\mathbf{y}_i, and the meta-path based context embedding cu→i\mathbf{c}_{u \to i} for the interaction between uu and ii, we use a single-layer network to compute the attention vectors βu\beta_u and βi\beta_{i} for user uu and item ii as \begin{equation} \beta_{u} = f(\mathbf{W}{u}\mathbf{x}{u} + \mathbf{W}{u \to i}\mathbf{c}{u \to i} + \mathbf{b}{u}), \tag{7.8} \end{equation} \begin{equation} \beta{i} = f(\mathbf{W}{i}‘\mathbf{y}{i} + \mathbf{W}{u \to i}‘\mathbf{c}{u \to i} + \mathbf{b}{i}’), \tag{7.9} \end{equation} where W∗\mathbf{W}_{*} and bu\mathbf{b}_{u} denote the weight matrix and bias vector for user attention layer, and W∗′\mathbf{W}_{*}' and bi′\mathbf{b}_{i}' denote the weight matrix and bias vector for item attention layer. Similarly, f(⋅)f(\cdot) is set to the ReLU function. Then, the final representations of user and item are computed by using an element-wise product “⊙\odot” with the attention vectors: \begin{equation} \tilde{\mathbf{x}}{u} = \beta_{u} \odot \mathbf{x}{u}, \tag{7.10} \end{equation} \begin{equation} \tilde{\mathbf{y}}{i} = \beta_{i} \odot \mathbf{y}_{i}. \tag{7.11} \end{equation} The attention vectors βu\beta_{u} and βi\beta_{i} are used for improving the original user and item embeddings conditioned on the calibrated meta-path based context cu→i\mathbf{c}_{u \to i} (Eq. (7.7)).

By combining the two parts of attention components, our model improves the original representations for users, items, and meta-path based context in a mutual enhancement way. We call such an attention mechanism co-attention. To our knowledge, few heterogeneous graph based recommendation methods are able to learn explicit representations for meta-paths, especially in an interaction-specific way.

Until now, given an interaction between user uu and item ii, we have the embeddings for user uu, item ii, and the meta-path connecting them. We combine the three embedding vectors into a unified representation of the current interaction as below: \begin{equation} \tilde{\mathbf{x}}{u,i} = \tilde{\mathbf{x}}{u} \oplus \mathbf{c}{u \to i} \oplus \tilde{\mathbf{y}}{i}, \tag{7.12} \end{equation} where “⊕\oplus” denotes the vector concatenation operation, cu→i\mathbf{c}_{u \to i} (Eq. (7.7)) denotes the embedding of the meta-path based context for ⟨u,i⟩\langle u, i \rangle, x~u\tilde{\mathbf{x}}_{u} (Eq. (7.10)), and y~i\tilde{\mathbf{y}}_{i} (Eq. (7.11)) denotes the improved embeddings of user uu and item ii, respectively. x~u,i\tilde{\mathbf{x}}_{u,i} encodes the information of an interaction from three aspects: the involved user, the involved item, and the corresponding meta-path based context. Following [11], we feed x~u,i\tilde{\mathbf{x}}_{u,i} into a MLP component in order to implement a non-linear function for modeling complicated interactions: \begin{equation} \hat{r}{u,i} = \text{MLP}(\tilde{\mathbf{x}}{u,i}). \tag{7.13} \end{equation}

MLP component involves two hidden layers with ReLU as the activation function and an output layer with the sigmoid function. With the premise that neural network models can learn more abstractive features of data via using a small number of hidden units for higher layers [10], we empirically implement a tower structure for the MLP component, halving the layer size for each successive higher layer.

Defining a proper objective function for model optimization is a key step for learning a good recommendation model. Traditional point-wise recommendation models for the rating prediction task usually adopt the squared error loss [16]. However, in our task, we only have implicit feedback available. Following [11, 32], we learn the parameters of our model with negative sampling and the objective for an interaction (u,i)(u, i) can be formulated as follows:

ℓu,i=−log⁡r^u,i−Ej∼Pneg[log⁡(1−r^u,j)],(7.14)\ell_{u,i} = -\log \hat{r}_{u,i} - E_{j \sim P_{neg}}[\log(1 - \hat{r}_{u,j})], \tag{7.14}

where the first term models the observed interaction, and the second term models the negative feedback drawn from the noise distribution PnegP_{neg}. In MRec, we set the distribution PnegP_{neg} as uniform distribution, which is flexible to extend to other biased distributions, i.e., popularity based distribution.

Datasets In experiments, we employ three real datasets from different domains, namely MovieLens1^1 movie dataset, LastFM2^2 music dataset, and Yelp3^3 business dataset. The detailed descriptions of the three datasets are shown in Table 7.1. The selected meta-paths for each dataset are reported in Table 7.2.

Baselines In this section, we consider two kinds of representative recommendation methods: CF-based methods (ItemKNN [24], BPR [22], MF [16], and NeuMF [11]) only utilizing implicit feedback, and HIN-based methods utilizing rich heterogeneous information (SVDFeaturehete_{hete} [5], SVDFeaturemp_{mp}, HeteRS [20], and FMGrank_{rank} [42]). To examine the effectiveness of our priority based sampling strategy and co-attention mechanism, we prepare three variants of MRec (MRecrand_{rand}, MRecavg_{avg}, and MRecmp_{mp}). MRecrand_{rand} employs the random meta-path guided sampling strategy for path generation. MRecavg_{avg} employs the naive context embedding strategy for meta-paths. MRecmp_{mp} reserves the attention components for meta-paths and removes the attention component for users and items.

[1] https://grouplens.org/datasets/movielens/. [2] https://www.last.fm. [3] http://www.yelp.com/dataset-challenge.

Table 7.1 Statistics of the three datasets. The first row of each dataset corresponds to the number of users, items, and interactions

DatasetsRelations (A–B)#A#B#A–B
MovieLensUser–Movie9431682100,000
User–User94394347,150
Movie–Movie1682168282,798
Movie–Genre1682182861
LastFMUser–Artist189217,63292,834
User–User1892189218,802
Artist–Artist17,63217,632153,399
Artist–Tag17,63211,945184,941
YelpUser–Business16,23914,284198,397
User–User16,23916,239158,590
Business–City (Ci)14,2674714,267
Business–Category (Ca)14,18051140,009

Table 7.2 The selected meta-paths used in each dataset

DatasetMeta-paths
MovieLensUMUM, UMGM, UUUM, UMMM
LastFMUATA, UAUA, UUUA, UUA
YelpUBUB, UBCaB, UUB, UBCiB

Parameter Settings For our method MCRRec, we set the batch size to 256, the learning rate to 0.001, the regularization parameter to 0.0001, the CNN filter size to 3, the dimension of user and item embeddings to 128, the dimension of predictive factors to 32, and the number of sampled path instances to 5. For MF and NeuMF, we follow the optimal configuration in [11]. Moreover, we use 10% training data as the validation set to optimize the parameters for the other methods.

Evaluation Metrics The top-N recommendation task usually adopts similar evaluation metrics. Following [11, 39], we use Precision at rank K (Prec@K), Recall at rank K (Recall@K), and Normalized Discounted Cumulative Gain at rank K (NDCG@K) as the evaluation metrics. The final results are first averaged over all the test items of a user and then averaged over all the users. For stability, we perform ten runs using different random-splitting training/test sets and report the average results.

To evaluate the performance, we randomly split the entire user implicit feedback records of each dataset into training and test sets, i.e., we use 80% feedback records to predict the remaining 20% feedback records.⁴ We randomly sample 50 negative samples that have no interaction records with the target user. Then, we rank the list consisting of the positive item and 50 negative items.

Table 7.3 Results of effectiveness experiments on three datasets. We use “*” to mark the best performance from the baselines for each comparison. We use “#” to indicate the improvement of MCRRec over the best performance from the baselines is significant based on paired t-test at the significance level of 0.01. Here we simplify Prec@10 (%) to P@10, Recall@10 (%) to R@10, and NDCGG@10 (%) to N@10. The best results of all methods are indicated in bold

ModelMovieLensLastFMYelp
P@10R@10N@10P@10R@10N@10P@10R@10N@10
ItemKNN25.815.456.941.645.179.813.954.253.8
BRP30.119.564.641.344.981.014.755.055.5
MF32.520.565.143.646.379.215.053.553.2
NeuMF32.9*20.965.945.446.881.015.058.657.1
SVDFeaturehete31.720.264.545.848.482.9*14.056.152.9
SVDFeaturemp31.119.365.443.946.581.215.259.359.7*
HeteRS24.916.759.742.844.980.314.256.156.0
MG~rank\widetilde{\text{MG}}_{\text{rank}}32.621.7*66.8*46.3*49.2*82.615.4*59.5*58.6
MCRRecrand32.221.066.545.448.080.015.158.457.2
MCRRecavg32.721.166.346.549.183.116.059.360.2
MCRRecmp34.022.068.346.649.284.316.663.062.3
MCRRec34.5*22.6#69.0#48.1#50.7#85.3#16.9#63.3#63.0#

The comparison results of our proposed model and baselines on three datasets are reported in Table 7.3. There are some observations and analysis. (1) Our complete model MCRRec is consistently better than all the baselines on the three datasets. The results indicate the effectiveness of MCRRec on the task of top-N recommendation, which has adopted a more principled way to leverage heterogeneous context information for improving recommendation performance. (2) Considering the three variants of MCRRec, we can find that the overall performance order is as follows: MCRRec > MCRRecmp > MCRRecavg > MCRRecrand. The results show that the co-attention mechanism is able to better utilize the meta-path based context for recommendation. First, the importance of each meta-path should depend on a specific interaction instead of being treated equal (i.e., MCRRecavg). Second, meta-paths provide important context for the interaction between users and items, which has a potential influence on the learned representations of users and items. Ignoring such influence may not be able to achieve the optimal performance for utilizing meta-path based context information (i.e., MCRRecmp). In addition, although MCRRecrand achieves competitive performance compared to baselines, it is worse than the complete MCRRec. Our complete model adopts the priority based

⁴ We hold out 10% training data as the validation set for parameter tuning.

sampling strategy to generate path instances, while MCRerande_{rand} adopts a random sampling strategy. The more detailed method description and experiment validation can be seen in [13].

In recommender systems, the interaction data of new users or new items are often of high sparsity, leading to the so-called cold-start issue [44] in which it becomes challenging to learn effective user or item representations. To alleviate this problem, at the data level, heterogeneous information network (HIN) [26] has been leveraged to enrich user–item interactions with complementary heterogeneous information. As shown in Fig. 7.3a, a toy HIN can be constructed for movie recommendation, which captures how the movies are related with each other via actors and directors, in addition to the existing user–movie interactions. On the HIN, higher-order graph structures like meta-paths [30], a relation sequence connecting two objects, can effectively capture semantic contexts. For instance, the meta-path User–Movie–Actor–Movie or UMAM encodes the semantic context of “movies starring the same actor as a movie rated by the user”. Together with the content-based methods, HIN-based methods [13, 40] also assume a data-level strategy to alleviate the cold-start problem, as illustrated in Fig. 7.3b.

[!visual-conversion] Converted from the description in the surrounding text: (a) a toy HIN for movie recommendation (users, movies, actors, directors) illustrating the UMAM meta-path; (b) data-level alleviation, augmenting sparse user–item interactions with HIN-derived context; (c) model-level alleviation via meta-learning, adapting a prior θ (learned from existing users u1, u2) to a cold-start user u3 with only one rating.

flowchart LR
    subgraph a["(a) A toy HIN"]
        U((User)) -->|rates| M[Movie]
        M --> Actor((Actor))
        M --> Director((Director))
    end
    subgraph b["(b) Data-level alleviation"]
        Sparse[Sparse user-item interactions] --> Augmented[Augmented with HIN context]
    end
    subgraph c["(c) Model-level alleviation"]
        u1((u1)) --> Prior["prior θ (meta-training)"]
        u2((u2)) --> Prior
        Prior -->|adapt| u3((u3: cold-start user, 1 rating))
    end

Fig. 7.3 An example of HIN and existing data or model-level alleviation for cold-start recommendation. (a) An example of HIN. (b) Data-level alleviation. (c) Model-level alleviation

On another line, at the model level, the recent episodic meta-learning paradigm [9] has offered insights into modeling new users or items with scarce interaction data [34]. Meta-learning focuses on deriving general knowledge (i.e., a prior) across different learning tasks, so as to rapidly adapt to a new learning task with the prior and a small amount of training data. To some extent, cold-start recommendation can be formulated as a meta-learning problem, where each task is to learn the preferences of one user. From the tasks of existing users, the meta-learner learns a prior with strong generalization capacity during meta-training, such that it can be easily and quickly adapted to the new tasks of cold-start users with scarce interaction data during meta-testing. As illustrated in Fig. 7.3c, the cold-start user u3u_3 (with only one movie rating) can be adapted from the prior θ\theta in meta-testing, where the prior is derived by learning how to adapt to existing users u1u_1 and u2u_2 in meta-training.

In this section, we propose to address the cold-start recommendation at both data and model levels, in which learning the preference of each user is regarded as a task in meta-learning, and a HIN is exploited to augment data. One is to augment the task for each user with multifaceted semantic contexts. That is, in a task of a specific user, besides considering the items directly interacted with the user, we also introduce items that are semantically related to the user via higher-order graph structures, i.e., meta-paths. These related items form the semantic contexts of each task, which can be further differentiated into multiple facets as implied by different meta-paths. The other is to propose a co-adaptation meta-learner, which is equipped with both semantic-wise adaptation and task-wise adaptation. Specifically, the semantic-wise adaptation learns a unique semantic prior for each facet. While the semantic priors are derived from different semantic spaces, they are regulated by a global prior to capture the general knowledge of encoding contexts on a HIN. Furthermore, the task-wise adaptation is designed for each task (i.e., user), which updates the preference of each user from the various semantic priors, such that tasks sharing the same facet of semantic contexts can hinge on a common semantic prior.

Before we introduce the framework of MetaHIN, we first define the cold-start problem on HINs as follows [26].

Definition 1 (Cold-Start Recommendation) Given a HIN G={V,E,O,R}G = \{V, E, O, R\}, let VU,VI⊂VV_U, V_I \subset V denote the set of user and item objects, respectively. Given a set of ratings between users and items, i.e., R={ru,i≥0:u∈VU,i∈VI,⟨u,i⟩∈E}\mathcal{R} = \{r_{u,i} \ge 0 : u \in V_U, i \in V_I, \langle u, i \rangle \in E\}, we aim to predict the unknown rating ru,i∉Rr_{u,i} \notin \mathcal{R} between user uu and item ii. In particular, if uu is a new user with only a handful of existing ratings, i.e., ∣{ru′,i∈R:u′=u}∣|\{r_{u',i} \in \mathcal{R} : u' = u\}| is small, it is known as user cold-start (UC); correspondingly, if ii is a new item, it is known as item cold-start (IC); if both uu and ii are new, it is known as user–item cold-start (UIC).

[!visual-conversion] Converted from the description in the surrounding text.

flowchart TB
    Task[User task] --> Constructor["(a) Semantic-enhanced task constructor: augments support/query sets with meta-path based semantic contexts"]
    Constructor --> Support[Support set per meta-path facet]
    Constructor --> Query[Query set]
    Support --> Learner["(b) Co-adaptation meta-learner"]
    Learner --> SemAdapt[Semantic-wise adaptation]
    Learner --> TaskAdapt[Task-wise adaptation]
    SemAdapt --> Theta["global prior θ"]
    TaskAdapt --> Theta
    Query --> Optimize[Optimize θ on query loss]
    Theta --> Optimize

Fig. 7.4 Illustration of the meta-training procedure of a task in MetaHIN. (a) Semantic-enhanced task constructor, where the support and query sets are augmented with meta-path based heterogeneous semantic contexts. (b) Co-adaptation meta-learner, with semantic- and task-wise adaptations on the support set, while the global prior θ is optimized on the query set. During meta-testing, each task follows the same procedure except updating the global prior Fig. 7.4 Illustration of the meta-training procedure of a task in MetaHIN. (a) Semantic-enhanced task constructor, where the support and query sets are augmented with meta-path based heterogeneous semantic contexts. (b) Co-adaptation meta-learner, with semantic- and task-wise adaptations on the support set, while the global prior θ is optimized on the query set. During meta-testing, each task follows the same procedure except updating the global prior

As illustrated in Fig. 7.4, the proposed MetaHIN consists of two components: semantic-enhanced task constructor in Fig. 7.4a and co-adaptation meta-learner in Fig. 7.4b. First, we design a semantic-enhanced task constructor to augment the support and query sets of user tasks with heterogeneous semantic contexts, which comprise of items related to the user through meta-paths on a HIN. The semantic contexts are multifaceted in nature, such that each meta-path represents a different facet of heterogeneous semantics. Second, compared to task-wise adaptation, we perform semantic-wise adaptation, in order to adapt the global prior θ to finer-grained semantic priors for different facets (i.e., meta-paths) in a task. The global prior θ captures the general knowledge of encoding contexts for recommendation and can be materialized in the form of a base model fθ. Thus, our co-adaptation meta-learner performs both semantic- and task-wise adaptations on the support set and further optimizes the global prior on the query set.

7.3.2.2 Semantic-Enhanced Task Constructor

Section titled “7.3.2.2 Semantic-Enhanced Task Constructor”

Given a user u with task Tu = (Su, Qu), the semantic-enhanced support set is defined as

Su=(SuR,SuP),(7.15)\mathcal{S}_u = \left( \mathcal{S}_u^{\mathcal{R}}, \mathcal{S}_u^{\mathcal{P}} \right), \tag{7.15}

where SuR\mathcal{S}_u^{\mathcal{R}} is a set of items that has been rated by user u, and SuP\mathcal{S}_u^{\mathcal{P}} represents the semantic contexts based on a set of meta-paths P\mathcal{P}.

For new users in cold-start scenarios, the set of rated items SuR\mathcal{S}_u^{\mathcal{R}} is usually small, i.e., a new user only has a few ratings. For meta-training tasks, we follow previous work [17] to construct SuRS_u^{\mathcal{R}} by sampling a small subset of items rated by uu, i.e., {i∈VI:ru,i∈R}\{i \in V_I : r_{u,i} \in \mathcal{R}\}, in order to simulate new users.

On the other hand, the semantic contexts SuPS_u^{\mathcal{P}} are employed to encode multifaceted semantics into the task. Specifically, assume a set of meta-paths P\mathcal{P}, such that each path p∈Pp \in \mathcal{P} starts with User–Item and ends with Item with a length up to ll. For example, in Fig.7.3a, P={UM,UMAM,UMDM,UMUM}\mathcal{P} = \{UM, UMAM, UMDM, UMUM\} if we set l=3l = 3. For each user–item interaction ⟨u,i⟩\langle u, i \rangle, we define the semantic context of ⟨u,i⟩\langle u, i \rangle induced by meta-path pp as follows:

Cu,ip={j:j∈items reachable along p starting from u←i}.(7.16)C_{u,i}^p = \{j : j \in \text{items reachable along } p \text{ starting from } u \leftarrow i\}. \tag{7.16}

For instance, the semantic context of ⟨u2,m2⟩\langle u_2, m_2 \rangle induced by UMAM is {m2,m3,…}\{m_2, m_3, \ldots\}. Since in each task uu may interact with multiple items, we build the pp-induced semantic context for the task Tu\mathcal{T}_u as

Sup=⋃i∈SuRCu,ip.(7.17)S_u^p = \bigcup_{i \in S_u^{\mathcal{R}}} C_{u,i}^p. \tag{7.17}

Finally, accounting for all meta-paths in P={p1,p2,…,pn}\mathcal{P} = \{p_1, p_2, \ldots, p_n\}, the semantic contexts SuPS_u^{\mathcal{P}} of task Tu\mathcal{T}_u are formulated as

SuP=(Sup1,Sup2,…,Supn).(7.18)S_u^{\mathcal{P}} = (S_u^{p_1}, S_u^{p_2}, \ldots, S_u^{p_n}). \tag{7.18}

In essence, SuPS_u^{\mathcal{P}} is the set of items that are reachable from user uu via all items he/she has rated along the meta-paths, which incorporates multifaceted semantic contexts such that each meta-path represents one facet. As shown in Fig.7.4a, following the meta-path UMAM, the reachable items of user u2u_2 are {m2,m3,…}\{m_2, m_3, \ldots\}, which are the movies starring the same actor of movies that u2u_2 has rated in the past. That is, the semantic context induced by UMAM incorporates movies starring the same actor as a facet of user preferences, which makes sense since the user might be a fan of an actor and prefers most movies played by the actor.

Likewise, we can construct the semantic-enhanced query set Qu=(QuR,QuP)\mathcal{Q}_u = (\mathcal{Q}_u^{\mathcal{R}}, \mathcal{Q}_u^{\mathcal{P}}). In particular, QuR\mathcal{Q}_u^{\mathcal{R}} contains items rated by uu for calculating the task loss in meta-training, or items with hidden rating for making predictions in meta-testing; QuP\mathcal{Q}_u^{\mathcal{P}} captures the semantic contexts induced by meta-paths P\mathcal{P}. Note that in a task Tu\mathcal{T}_u, the items with ratings in the support and query sets are mutually exclusive, i.e., SuR∩QuR=∅S_u^{\mathcal{R}} \cap \mathcal{Q}_u^{\mathcal{R}} = \emptyset.

The co-adaptation meta-learner can learn fine-grained prior knowledge through semantic- and task-wise adaptations with semantic-enhanced tasks. The global prior can be abstracted as a base model to encode the general knowledge of how to learn with contexts on HINs, which can be further adapted to different semantic facets within a task.

Base Model As shown in Fig. 7.4b, the base model fθf_{\theta} involves context aggregation gϕg_{\phi} to derive user embeddings, and preference prediction hωh_{\omega} to estimate the rating score, i.e., fθ=(hω,gϕ)f_{\theta} = (h_{\omega}, g_{\phi}).

In context aggregation, the user embeddings are aggregated from his/her contexts, which are his/her related items via direct interactions or meta-paths (i.e., semantic contexts), since user preferences are reflected in items. Following [17], we initialize the user and item embeddings based on their features (or an embedding look up if there are no features), say eu∈RdU\mathbf{e}_u \in \mathbb{R}^{d_U} for user uu and ei∈RdI\mathbf{e}_i \in \mathbb{R}^{d_I} for item ii where dU,dId_U, d_I are the embedding dimensions. Subsequently, we obtain user uu‘s embedding xu\mathbf{x}_u as follows:

xu=gϕ(u,Cu)=σ(MEAN({Wej+b:j∈Cu})),(7.19)\mathbf{x}_u = g_{\phi}(u, C_u) = \sigma \left( \text{MEAN}(\{ \mathbf{W} \mathbf{e}_j + \mathbf{b} : j \in C_u \}) \right), \tag{7.19}

where CuC_u denotes the set of items related to user uu via direct interactions (i.e., the rated items) or meta-paths (i.e., their induced semantic contexts), MEAN(⋅)\text{MEAN}(\cdot) is mean-pooling, and σ\sigma is the activation function (we use LeakyReLU). Here gϕg_{\phi} is the context aggregation function parameterized by ϕ={W∈Rd×dI,b∈Rd}\phi = \{ \mathbf{W} \in \mathbb{R}^{d \times d_I}, \mathbf{b} \in \mathbb{R}^{d} \}, which are trainable to distill semantic information for user preferences. xu\mathbf{x}_u can be further concatenated with uu‘s initial embedding eu\mathbf{e}_u, when user features are available.

In preference prediction, given user uu‘s embedding xu\mathbf{x}_u and item ii‘s embedding ei\mathbf{e}_i, we estimate the rating of user uu on the item ii as

r^ui=hω(xu,ei)=MLP(xu⊕ei),(7.20)\hat{r}_{ui} = h_{\omega}(\mathbf{x}_u, \mathbf{e}_i) = \text{MLP}(\mathbf{x}_u \oplus \mathbf{e}_i), \tag{7.20}

where MLP is a two-layer multi-layer perceptron, and ⊕\oplus denotes concatenation. Here hωh_{\omega} is the rating prediction function parameterized by ω\omega, which contains the weights and biases in MLP. Finally, we minimize the following loss for user uu to learn his/her preferences:

Lu=1∣Ru∣∑i∈Ru(rui−r^ui)2,(7.21)\mathcal{L}_u = \frac{1}{|\mathcal{R}_u|} \sum_{i \in \mathcal{R}_u} (r_{ui} - \hat{r}_{ui})^2, \tag{7.21}

where Ru={i:rui∈R}\mathcal{R}_u = \{ i : r_{ui} \in \mathcal{R} \} denotes the set of items rated by uu, and ruir_{ui} is the actual rating of uu on item ii.

Note that the base model fθ=(gϕ,hω)f_{\theta} = (g_{\phi}, h_{\omega}) is a supervised model for recommendation, which typically requires a large number of example ratings to achieve reasonable performance, which is not upheld in the cold-start scenario. As motivated, we recast the cold-start recommendation as a meta-learning problem. Specifically, we abstract the base model fθ={gϕ,hω}f_{\theta} = \{ g_{\phi}, h_{\omega} \} as encoding the prior knowledge θ={ϕ,ω}\theta = \{ \phi, \omega \} of how to learn user preferences from contexts on HINs. Next, we detail the proposed co-adaptation meta-learner to learn the prior knowledge.

Co-adaptation The goal of the co-adaptation meta-learner is to learn the prior knowledge θ=(ϕ,ω)\theta = (\phi, \omega), which can quickly adapt to a new user task with just a few example ratings. As discussed in Fig. 7.4a, each task is augmented with multifaceted semantic contexts. Thus, the prior should not only encode the global knowledge shared across tasks, but also become capable of generalizing to different semantic facets within each task. To this end, we enhance the meta-learner with semantic- and task-wise adaptations.

For semantic-wise adaptation, the semantic-enhanced support set Su\mathcal{S}_u of the task Tu\mathcal{T}_u is associated with semantic contexts induced by different meta-paths (e.g., UMAM and UMDM in Fig. 7.4), where each meta-path represents one semantic facet. The semantic-wise adaptation evaluates the loss based on the semantic context induced by a meta-path pp (i.e., Sup\mathcal{S}_u^p). With one (or a few) gradient descent step w.r.t. the pp-specific loss, the global context prior ϕ\phi, which encodes how to learn with contexts on a HIN, is adapted to the semantic space induced by the meta-path pp.

Formally, given a task Tu\mathcal{T}_u of user uu, the support set Su=(SuR,SuP)\mathcal{S}_u = (\mathcal{S}_u^{\mathcal{R}}, \mathcal{S}_u^{\mathcal{P}}) is augmented with semantic contexts Sup\mathcal{S}_u^p, comprising various facets Supi\mathcal{S}_u^{p_i} induced by different meta-paths pip_i as in Eq. (7.18). Given a meta-path p∈Pp \in \mathcal{P}, user uu‘s embedding in the semantic space of pp is

xup=gϕ(u,Sup).(7.22)\mathbf{x}_u^p = g_\phi \left( u, \mathcal{S}_u^p \right). \tag{7.22}

In this semantic space of pp, we can further calculate the loss on the support set of rated items SuR\mathcal{S}_u^{\mathcal{R}} in task Tu\mathcal{T}_u as

LTu(ω,xup,SuR)=1∣SuR∣∑i∈SuR(rui−hω(xup,ei))2,(7.23)\mathcal{L}_{\mathcal{T}_u} \left( \omega, \mathbf{x}_u^p, \mathcal{S}_u^{\mathcal{R}} \right) = \frac{1}{|\mathcal{S}_u^{\mathcal{R}}|} \sum_{i \in \mathcal{S}_u^{\mathcal{R}}} \left( r_{ui} - h_\omega \left( \mathbf{x}_u^p, \mathbf{e}_i \right) \right)^2, \tag{7.23}

where hω(xup,ei)h_\omega(\mathbf{x}_u^p, \mathbf{e}_i) represents the predicted rating of user uu on item ii in the meta-path pp-induced semantic space.

Next, we adapt the global context prior ϕ\phi w.r.t. the loss in each semantic space of pp in task Tu\mathcal{T}_u with one gradient descent step, to obtain the semantic prior ϕup\phi_u^p. Thus, the meta-learner learns more fine-grained prior knowledge for various semantic facets:

ϕup=ϕ−α∂LTu(ω,xup,SuR)∂ϕ=ϕ−α∂LTu(ω,xup,SuR)∂xup∂xup∂ϕ,(7.24)\phi_u^p = \phi - \alpha \frac{\partial \mathcal{L}_{\mathcal{T}_u} \left( \omega, \mathbf{x}_u^p, \mathcal{S}_u^{\mathcal{R}} \right)}{\partial \phi} = \phi - \alpha \frac{\partial \mathcal{L}_{\mathcal{T}_u} \left( \omega, \mathbf{x}_u^p, \mathcal{S}_u^{\mathcal{R}} \right)}{\partial \mathbf{x}_u^p} \frac{\partial \mathbf{x}_u^p}{\partial \phi}, \tag{7.24}

where α\alpha is the semantic-wise learning rate, and xup=gϕ(u,Sup)\mathbf{x}_u^p = g_\phi(u, \mathcal{S}_u^p) is a function of ϕ\phi.

For task-wise adaptation, in the semantic space of meta-path pp with adapted semantic prior ϕup\phi_u^p, the task-wise adaptation further adapts the global prior ω\omega, which encodes how to learn rating predictions of uu, to the task Tu\mathcal{T}_u with one (or a few) gradient descent step.

The semantic prior ϕuP\phi_u^P subsequently updates user uu‘s embeddings in the semantic space of pp on the support set to xup(S)=gϕuP(u,SuP)\mathbf{x}_u^{p(S)} = g_{\phi_u^P}(u, \mathcal{S}_u^P), which further transforms the global prior ω\omega to the same space:

ωP=ω⊙κ(xup(S)),(7.25)\omega^P = \omega \odot \kappa \left( \mathbf{x}_u^{p(S)} \right), \tag{7.25}

where ⊙\odot is the element-wise product and κ(⋅)\kappa(\cdot) serves as a transformation function realized with a fully connected layer. Intuitively, ω\omega is gated into the current pp-induced semantic space. We then adapt ωP\omega^P to the task Tu\mathcal{T}_u with one gradient descent step:

ωuP=ωP−β∂LTu(ωP,xup(S),SuR)∂ωP,(7.26)\omega_u^P = \omega^P - \beta \frac{\partial \mathcal{L}_{\mathcal{T}_u} \left( \omega^P, \mathbf{x}_u^{p(S)}, \mathcal{S}_u^R \right)}{\partial \omega^P}, \tag{7.26}

where β\beta is the task-wise learning rate.

With the semantic- and task-wise adaptations, we have adapted the global prior θ\theta to the semantic- and task-specific parameters θuP={ϕuP,ωuP}\theta_u^P = \{ \phi_u^P, \omega_u^P \} in the pp-induced semantic space of task Tu\mathcal{T}_u. Given a set of meta-paths P\mathcal{P}, the meta-learner is trained by optimizing the performance of the adapted parameters θuP\theta_u^P on the query set Qu\mathcal{Q}_u in all semantic spaces of P\mathcal{P} across all meta-training tasks. That is, as shown in Fig. 7.4b, the global prior θ=(ϕ,ω)\theta = (\phi, \omega) will be optimized through backpropagation of the query loss:

min⁡θ∑Tu∈TuLTu(ωu,xu,QuR),(7.27)\min_{\theta} \sum_{\mathcal{T}_u \in \mathcal{T}^u} \mathcal{L}_{\mathcal{T}_u} \left( \omega_u, \mathbf{x}_u, \mathcal{Q}_u^R \right), \tag{7.27}

where ωu\omega_u and xu\mathbf{x}_u are fused from multiple semantic spaces (i.e., meta-paths in P\mathcal{P}). Specifically,

ωu=∑p∈Papωup,xu=∑p∈Papxup(Q),(7.28)\omega_u = \sum_{p \in \mathcal{P}} a_p \omega_u^p, \quad \mathbf{x}_u = \sum_{p \in \mathcal{P}} a_p \mathbf{x}_u^{p(Q)}, \tag{7.28}

where ap=softmax(−LTu(ωup,xup(Q),QuR))a_p = \text{softmax}(-\mathcal{L}_{\mathcal{T}_u}(\omega_u^p, \mathbf{x}_u^{p(Q)}, \mathcal{Q}_u^R)) is the weight of the pp-induced semantic space, and xup(Q)=gϕuP(u,Qup)\mathbf{x}_u^{p(Q)} = g_{\phi_u^P}(u, \mathcal{Q}_u^p) is uu‘s embedding aggregated on the query set. Since the loss value reflects the model performance [3], it is intuitive that the larger the loss value in a semantic space, the smaller the corresponding weight should be.

In summary, the co-adaption meta-learner aims to optimize the global prior θ\theta across several tasks, in such a way that the query loss of each meta-training task Tu\mathcal{T}_u using the adapted parameters {θup:p∈P}\{ \theta_u^p : p \in \mathcal{P} \} can be minimized (i.e., “learning to learn”); it does not directly update the global prior using task data. In particular, with the co-adaption mechanism, we adapt the parameters not only to each task, but also to each semantic facet within a task.

Datasets We conduct experiments on three benchmark datasets, namely, DBBook⁵, MovieLens⁶, and Yelp⁷, from publicly accessible repositories.

baselines We compare our proposed MetaHIN with three categories of methods. Traditional methods, including FM [23], NeuMF [11], and GC-MC [1]. As cannot handle HINs, we take the heterogeneous information (e.g., actor) as features of users or items. (2) HIN-based methods, including mp2vec [7] and Rec [28]. Both methods are based on meta-paths, and we utilize the same set meta-paths as in our method. (3) Cold-start methods, including content-based DropoutNet [35], as well as meta-learning based MeteEmb [19] and MeLU [17]. Since they do not handle HINs either, we input the heterogeneous information as user or item features following the original papers. We follow [17] to train the non-meta-learning baselines with the union of rated items in all support and query sets from meta-training tasks. To handle new users or items, we fine-tune the trained models with support sets and evaluate on query sets in meta-testing tasks.

Evaluation Metrics We adopt three widely used evaluation protocols [17, 28, 36], namely, mean absolute error (MAE), root mean square error (RMSE), and normalized discounted cumulative gain at rank K (nDCG@K). Here we use K = 5.

In this experiment, we empirically compare MetaHIN to several state-of-the-art baselines, in three cold-start scenarios and the traditional non-cold-start scenario. Table 7.4 demonstrates the performance comparison between all methods w.r.t. four recommendation scenarios.

Cold-Start Scenarios The first three parts of Table 7.4 present three cold-start scenarios (UC, IC, and UIC). Overall, our MetaHIN consistently yields the best performance among all methods on three datasets. For instance, MetaHIN improves over the best baseline w.r.t. MAE by 3.05–5.26%, 2.89–5.55%, and 2.22–5.19% on three datasets, respectively. Among different baselines, traditional methods (e.g., MF, NeuMF, and GC-MC) are least competitive despite incorporating heterogeneous information as content features. Such treatment of heterogeneous information is not ideal as higher-order graph structures are lost. HIN-based methods perform better due to the incorporation of such structures (i.e., meta-paths). Nevertheless,

[5] https://book.douban.com. [6] https://grouplens.org/datasets/movielens/. [7] https://www.yelp.com/dataset/challenge.

Table 7.4 Experimental results in four recommendation scenarios and on three datasets. A smaller MAE or RMSE value and a larger nDCG@5 value indicate a better performance. The best method is bolded, and second best is underlined

[!visual-conversion] The first page of this table (printed p. 193) was unrecoverable from the OCR pass — it had collapsed into a single malformed LaTeX array declaration with no real data. Rather than guess the numbers, the raw scan is embedded below for reference; the continuation on printed p. 194 (New items / Existing items scenarios) was intact and is reproduced as a table beneath it.

page-197.png

Table 7.4 (continued)

ScenarioModelMAE downRMSE downnDCG@5 upMAE downRMSE downnDCG@5 upMAE downRMSE downnDCG@5 upMAE downRMSE downnDCG@5 up
New items for new users (User-item Cold-start, or UIC)FM0.83260.95870.82011.30010.70150.83631.11760.82780.82780.82780.82780.8278
NeuMF0.69490.82170.85660.96861.28320.80630.98601.14020.78360.78360.78360.7836
GC-MC0.78130.89080.80031.02951.26350.73020.88941.11090.79230.79230.79230.7923
mp2vec0.79870.85270.85451.05481.28950.66870.83811.09930.81370.81370.81370.8137
HERec0.78590.98130.85450.99741.10120.73890.82740.98870.80340.80340.80340.8034
DropoutNet0.83160.84890.80120.96351.17910.76170.82250.97360.80590.80590.80590.8059
MeteEmb0.77330.99010.85410.91221.10880.80870.82850.94760.81880.81880.81880.8188
MeLU0.65170.77520.88910.90911.07920.81060.73580.89210.84520.84520.84520.8452
MetaHIN0.63180.75890.89340.85861.02860.83740.71950.86950.85210.85210.85210.8521
Existing items for existing users (Non-cold-start)FM0.73580.97630.80861.00431.16280.64930.86421.06550.79860.79860.79860.7986
NeuMF0.69040.83730.79240.92491.13880.73350.76110.97310.80690.80690.80690.8069
GC-MC0.80560.92490.80320.98631.22380.71470.85181.03270.80230.80230.80230.8023
mp2vec0.68970.84710.83420.87881.10060.70910.79121.01910.80050.80050.80050.8005
HERec0.67940.84090.84110.86521.00070.79110.98731.03330.73940.73940.73940.7394
DropoutNet0.71080.79910.82680.95951.17510.72310.82191.03330.73940.73940.73940.7394
MeteEmb0.70950.79670.80860.80861.01490.80770.76770.97890.77400.77400.77400.7740
MeLU0.65190.78340.86970.80840.99780.84330.73820.90280.83560.83560.83560.8356
MetaHIN0.63930.77040.88590.79970.94910.84990.69520.84450.84770.84770.84770.8477

[!note] Flagged, not corrected: the last five values in each row above repeat a single number, which looks like an OCR artifact rather than genuine data (the header structure implies distinct metrics, not five identical repeats). Left as transcribed from the source node pending manual review against the original page scans.

supervised learning methods generally cannot perform effectively given limited training data for new users and items.

On the other hand, meta-learning methods typically cope better in such cases. In particular, the best baseline is consistently MeLU or MeteEmb. However, they still underperform our MetaHIN in all scenarios. The reason might be that both of them only integrate heterogeneous information as content features, without capturing multifaceted semantics derived from higher-order structures like meta-paths. In contrast, in MetaHIN, we perform semantic- and task-wise co-adaptations, to effectively adapt to not only tasks, but also different semantic facets within a task.

Non-cold-start Scenario In the last part of Table 7.4, we investigate the traditional recommendation scenario. Our MetaHIN is still robust, outperforming all the baselines. While this is a traditional scenario, the datasets are still very sparse in general. Thus, incorporating the semantic-rich HINs can often alleviate the sparsity challenge at the data level. MetaHIN further addresses the problem at the model level with the co-adaptation meta-learner and thus can better deal with sparse data. Of course, compared to cold-start scenarios, MetaHIN’s performance lift over the baselines tends to be smaller as the sparsity issue is not as severe.

The more detailed method description and experiment validation can be seen in [18].

Heterogeneous bibliographic network [29] has also received more and more attention in recent years. As an important related task, the problem of author identification has been extensively studied, which aims to rank potential authors for an anonymous paper based on public information. The existing studies mainly employ the network structure or semantic content of the paper to predict the correlation between the paper and the author, while they usually ignore relationships among authors. Generally, in many scenarios such as finding a potential author group for a given paper, the relationships among authors are very significant. Therefore, in this section, we propose to study a new problem called author set identification. We illustrate the problem setting in Fig. 7.5, in which the heterogeneous bibliographic network and network schema are given as the input. The goal is to learn a model that can identify the optimal author set for a new anonymous paper. The problem of author set identification is to acquire an author set with a strong relationship, while the traditional problem only gets an author ranking for the target node of anonymous paper.

A basic idea for the problem is to find a set of closely connected authors that are related to an anonymous paper. Therefore, we need to characterize the relationship between anonymous paper and authors, as well as that between authors. However, it is non-trivial to take both relationships into account simultaneously. Moreover, the number of subsets of authors is enormous especially when the number of authors is large. Hence, it is also very difficult to select the optimal one from all subsets. There are two challenges in this problem. (1) How can we model interactions between anonymous paper and authors, meanwhile preserving rich inherent structural information among authors in heterogeneous bibliographic network. (2) How can we find an optimal set of closely connected authors that are related to the anonymous paper.

[!visual-conversion] Converted from the description in the surrounding text: input is a heterogeneous bibliographic network plus its network schema and an anonymous paper; the goal is to identify a closely-related, strongly-connected set of candidate authors for that paper (not just a ranked list).

flowchart LR
    Input["Heterogeneous bibliographic network + network schema"] --> Paper[Anonymous paper p]
    Paper --> Candidates["Candidate authors a1...am"]
    Candidates --> Goal["Optimal author set S'_A (strongly connected, related to p)"]

Fig. 7.5 The problem of author set identification in heterogeneous bibliographic networks

In this section, we propose a novel Author Set Identification approach called ASI. In order to tackle the first challenge, we propose to only emphasize on two types of nodes including anonymous paper and candidate authors. Therefore, ASI first constructs a paper-author interactive network denoted by weighted paper-ego-network, which only contains the mentioned two types of nodes and corresponding relations (paper-author and author-author). Then in order to preserve rich inherent structural information in heterogeneous bibliographic network, the task-guided embedding method called TaskGE is presented to learn the low-dimensional representations of nodes, which can be further used to determine the weights of edges in the constructed network. For the sake of solving the second challenge, we introduce the concept of quasi-clique in dense subgraph and convert the optimal author set identification into the quasi-clique discovery in the weighted paper-ego-network. Specifically, we design the local-search heuristic method under the guidance of a novel density function to find the optimal quasi-clique (author set). Meanwhile, we regard the anonymous paper as a constraint and claim the discovered set of closely connected authors must be related to the anonymous paper.

In this section, we study the novel problem of author set identification in bibliographic network, which can be defined as follows.

Definition 2 (Author Set Identification Problem) Given a bibliographic network G=(V,E)G = (V, E), which includes a set of papers and papers’ relevant information (i.e., authors, venues, terms, and year), the goal is to design a method to acquire an author set SA′S_A' from CAC_A for a new anonymous paper pp, such that SA′S_A' is the optimal set to collaborate on the paper pp among all subsets of CAC_A, where CA={a1,a2,⋯ ,am}C_A = \{a_1, a_2, \cdots, a_m\} denotes the set of all candidate authors.

In order to find the optimal author set, we present the proposed method that leverages quasi-clique for Author Set Identification, called ASI. In order to find the optimal author set, we introduce the concept of quasi-clique, which can be defined as follows.

Definition 3 (Quasi-Clique [33]) A set of nodes SS is an α\alpha-quasi-clique if e[S]≥α(∣S∣2)e[S] \ge \alpha \binom{|S|}{2}, i.e., if the edge density of the subgraph induced by SS exceeds a threshold parameter α∈(0,1)\alpha \in (0, 1). The edge density is defined as e[S]/(∣S∣2)e[S]/\binom{|S|}{2}, where e[S]e[S] is the size of edges in the subgraph induced by SS.

The overall architecture of ASI is shown in Fig.7.6. Given a heterogeneous bibliographic network and an anonymous paper (Fig.7.6a), we first construct a weighted paper-ego-network for each anonymous paper (Fig.7.6b) and then find the optimal quasi-clique with constraint (OQCC) in the weighted paper-ego-network (Fig.7.6c). In the following, we will clarify the basic idea and specific details about these two phases. We aim to find a set of closely connected authors that are related to the anonymous paper. However, it is challenging to incorporate interactions between anonymous paper and authors, meanwhile preserving rich inherent structural information among authors in heterogeneous bibliographic network. We consider to construct a weighted paper-ego-network only containing the anonymous paper and authors. Because there are no direct links between anonymous paper and authors, as well as between authors in bibliographic network, we need to devise an approach to determine the weight of these two kinds of edges. Hence, we propose the task-guided embedding method to learn vector representations of nodes, which can be further used to determine the weights of edges through proper distance function for constructing the weighted paper-ego-network. Then we transform the author set identification into the problem of quasi-clique extraction with constraint. The constraint condition means that the discovered optimal quasi-clique should contain the node of anonymous paper, which also implies the close relationship between author set and anonymous paper. Finally, we propose an approach of local-search heuristic under the guidance of designed novel density function, so as to discover optimal quasi-clique in the constructed network.

[!visual-conversion] Converted from the description in the surrounding text.

flowchart LR
    subgraph a["(a) Input"]
        HBN["Heterogeneous bibliographic network"] --> AnonPaper["Anonymous paper p"]
    end
    subgraph b["(b) Construct weighted paper-ego-network"]
        AnonPaper --> TaskGE["TaskGE embedding"] --> EgoNet["Weighted paper-ego-network (paper-author, author-author edges)"]
    end
    subgraph c["(c) Extract optimal quasi-clique with constraint"]
        EgoNet --> LocalSearch["Local-search heuristic, density function"] --> AuthorSet["Optimal author set S'_A"]
    end

Fig. 7.6 The overall architecture of proposed method ASI (weighted paper-ego-network construction and optimal quasi-clique with constraint extraction). (a) Input. (b) Construct a weighted paper-ego-network for each new paper pp. (c) Extract the optimal quasi-clique with constraint in the constructed network

2.2 Weighted Paper-Ego-Network Construction

ise we aim to find a set of closely connected authors that are related to the anonymous paper, so we just need to focus on two kinds of relationships, including a between the anonymous paper and author, as well as that between authors. Therefore, we consider to construct a weighted paper-ego-network, which naturally should only contain nodes of anonymous paper pp and candidate authors except for the other types of redundant nodes (V, T, and Y). The key of constructing the network is to determine the weights of edges between anonymous paper and authors, and that between authors. For edges between authors, we propose the task-guided embedding (TaskGE) to learn the low-dimensional representations of nodes. Since the feature representation for the anonymous paper is unknown, we first employ the weighted combination of feature vectors of its observed neighbors in the network to calculate its vector. Then we can easily determine the edges between anonymous paper and authors based on the computed representation of the anonymous paper and the vectors of authors obtained in TaskGE.

Specifically, for each anonymous paper pp, we denote the constructed weighted paper-ego-network by Gp=(V,E,W)G_p = (V, E, W), where VV is a set of nodes, EE is a set of edges, and WW is a set of the weight on each edge. VV includes two types of nodes, that is, anonymous paper pp and candidate authors. Correspondingly, EE contains two types of edges, namely, the edge between paper pp and any candidate author aa, and the edge between any two candidate authors a1,a2a_1, a_2. We denote the weights of these two types of edges by wpaw_{pa} and wa1a2w_{a_1a_2}, respectively. Different from the existing general-purpose embedding, our embedding method is totally dependent of specific task. We exploit two unique characteristics or significant aspects of author set identification task. One is the proximity between anonymous paper and authors, and we model it as paper-author-aware embedding. The other is the strong relationship between authors, and we model it as author-author-aware embedding.

Paper–Author–Aware Embedding Intuitively, for a given paper pp, the relevance score of pp and any one aa of its true authors should be ξ\xi larger than that of pp and other author a′a' who is not the author of pp. Otherwise, a loss penalty will incur. Here, we employ the hinge loss [41] to define a general function to model the relationship between paper and author as follows:

LRP∼A=∑r∈PP∼AE<p,a,a′>∣r[ξ+f(p,a)−f(p,a′)]+,(7.29)\mathcal{L}_{R_{P \sim A}} = \sum_{r \in \mathcal{P}_{P \sim A}} \mathbb{E}_{<p,a,a'>|r} [\xi + f(p,a) - f(p,a')]_+, \tag{7.29}

where [x]+=max⁡(x,0)[x]_+ = \max(x, 0) is the standard hinge loss, and ξ\xi is the safety margin size [2]. <p,a,a′><p, a, a'> denotes the triples <<paper, positive author, negative author>>. rr and PP∼A\mathcal{P}_{P \sim A} denote any meta-path and the set of meta-paths between paper and author, respectively. Generally, we can add any proper meta-paths between paper and author to PP∼A\mathcal{P}_{P \sim A} for leveraging multiple information. Actually, there exist multiple indirect relations besides the direct relation between paper and author. For example, PP∼A={PA,PTPA}\mathcal{P}_{P \sim A} = \{PA, PTPA\} denotes we not only consider the direct author but also take the potential authors into account. Correspondingly, PP∼A={PA}\mathcal{P}_{P \sim A} = \{PA\} means we only consider the direct author of paper. f(p,a)f(p, a) stands for the metric between paper pp and author aa. As demonstrated by CML [12], distance metric [37] satisfies better triangle inequality and transition property than inner product, we use the Euclidean distance to define the metric:

f(p,a)=∥Xp−Xa∥22,(7.30)f(p, a) = \|\mathbf{X}_p - \mathbf{X}_a\|_2^2, \tag{7.30}

where Xp\mathbf{X}_p and Xa\mathbf{X}_a are the embedding vectors of pp and aa, respectively. For a new anonymous paper, we adopt similar approach to Chen et al. [4] to calculate its vector representation. That is, the embedding of a paper is represented as the weighted combination of the vectors of observed different types of neighbors in the network as follows:

Xp=∑t=1nwtXpt,(7.31)\mathbf{X}_p = \sum_{t=1}^n w_t \mathbf{X}_p^t, \tag{7.31}

where nn is the number of neighbors’ types of paper pp, Xpt\mathbf{X}_p^t is the mean of vectors of the tt-th node type, Xpt=∑i∈Np(t)Xi∣Np(t)∣\mathbf{X}_p^t = \sum_{i \in N_p^{(t)}} \frac{\mathbf{X}_i}{|N_p^{(t)}|}, and Np(t)N_p^{(t)} denotes the set of nodes of the tt-th type. In this section, we do not employ the reference type of nodes due to the lack of citation data.

Author–Author–Aware Embedding LRP∼A\mathcal{L}_{R_{P \sim A}} models the relationship between paper and author; in this subsection, we will consider how to model the relationship between authors. It is reasonable that there should be strong relationships between co-authors. In other words, the relevance score between co-authors should be larger than that of authors who have never collaborated with each other. Correspondingly, there might exist some potential co-authorship between authors implicitly indicated by meta-paths like APTPAAPT PA. Therefore, we also define a general function to formulate the triple relation <a∗,a+,a−><a^*, a^+, a^->.

LRA∼A=∑r∈PA∼AE(a∗,a+,a−)∣r[ξ+f(a∗,a+)−f(a∗,a−)]+,(7.32)\mathcal{L}_{RA\sim A} = \sum_{r \in \mathcal{P}_{A\sim A}} \mathbb{E}_{(a^*, a^+, a^-)|r}[\xi + f(a^*, a^+) - f(a^*, a^-)]_+, \tag{7.32}

where a+a^+ means any co-author of a∗a^*, and a−a^- denotes any author who has never cooperated with a∗a^*. ff is the metric function that has been introduced in Eq. (7.30). rr denotes any meta-path between authors. PA∼A\mathcal{P}_{A\sim A} is the set of meta-paths between authors. PA∼A={APA}\mathcal{P}_{A\sim A} = \{APA\} means we only consider the existing co-authors.

Regularization Recently, Cogswell et al. [6] propose a new regularization technique called covariance regularization, which is initially used to reduce the correlation between activations in a deep neural network. Afterward, Hsieh et al. [12] find that it is useful in de-correlating the dimensions. As covariances can be seen as a measure of linear redundancy between dimensions, this loss of covariance regularization essentially tries to prevent each dimension from being redundant. Therefore, we employ loss of covariance regularization as follows:

Lreg=1N(∥C∥f−∥diag(C)∥22),(7.33)\mathcal{L}_{reg} = \frac{1}{N}(\|C\|_f - \|diag(C)\|_2^2), \tag{7.33}

where ∥⋅∥f\|\cdot\|_f is the Frobenius norm, CC is the covariance matrix between all pairs of dimensions ii and jj, Cij=1N∑k=1N(Xk(i)−ui)(Xk(j)−uj)C_{ij} = \frac{1}{N} \sum_{k=1}^N (\mathbf{X}_k^{(i)} - u_i)(\mathbf{X}_k^{(j)} - u_j), ui=1N∑k=1NXk(i)u_i = \frac{1}{N} \sum_{k=1}^N \mathbf{X}_k^{(i)}, and Xk(i)\mathbf{X}_k^{(i)} denotes the ii-th dimension of embedding vector of node kk.

Finally, we combine three parts above to get the unified objective function for task-guided embedding as follows:

L=LRP∼A+γLRA∼A+λLreg,(7.34)\mathcal{L} = \mathcal{L}_{RP\sim A} + \gamma \mathcal{L}_{RA\sim A} + \lambda \mathcal{L}_{reg}, \tag{7.34}

where Lreg\mathcal{L}_{reg} is the regularization term for avoiding over-fitting, λ\lambda controls penalty of regularization, and γ\gamma is a harmonic factor to balance two components. In this section, we only consider the direct relation PAPA in LRP∼A\mathcal{L}_{RP\sim A} and APAAPA in LRA∼A\mathcal{L}_{RA\sim A}.

To minimize L\mathcal{L}, we design a sampling-based mini-batch Adam optimizer [14]. To get the training triples <p,a,a′><p, a, a'> and <a∗,a+,a−><a^*, a^+, a^->, we draw positive samples according to the proportion of path instances of different meta-paths. This sampling strategy can avoid the problem of under-sampling for relations with a large number of links or over-sampling for those with a small number of links. For each sampled positive example <p,a><p, a>, we first fix vertex pp and the corresponding relation. Then we randomly generate negative vertex a′a' that has not the same relation with pp to construct training triples <p,a,a′><p, a, a'> . Similarly, we can fix a∗a^* and corresponding relation to acquire training triples <a∗,a+,a−><a^*, a^+, a^-> . Given the low-dimension representation learned above, we can easily calculate wpaw_{pa} and wa1a2w_{a_1a_2} using distance function such as cosine.

7.4.2.3 Optimal Quasi-Clique with Constraint Extraction in Weighted Paper-Ego-Network

Section titled “7.4.2.3 Optimal Quasi-Clique with Constraint Extraction in Weighted Paper-Ego-Network”

For each new paper pp, we construct a weighted paper-ego-network Gp=(V,E,W)G_p = (V, E, W). In order to find the optimal author set for the given paper pp in GpG_p, we propose a new method called OQCCE that is an adaptation of the local-search heuristic by Tsourakakis et al. [33]. The algorithm selects pp as initial set. Then under the guidance of designed novel density function, algorithm iterates two phases of adding or removing the designated nodes until the quasi-clique with maximum density function is discovered. What is more, the novel density function considers two kinds of heterogeneous relationships, including the close relationship between the anonymous paper and author, as well as that between authors.

In specific, we regard the node pp as constraint, which means that the extracted subgraph must contain node pp. In [33], there is only one type of edge. However, there exist two types of edges in weighted paper-ego-network. The simplest method is to assign equal significance to two types of edges. In fact, the importance may vary. Therefore, we introduce a variable β\beta to adjust the importance of two types of edges. Meanwhile, we also adapt the density function to accommodate the weighted network. Accordingly, the proposed novel density function can be defined as follows:

gα,β(S)=β∑(i,j)∈DPAwij+∑(k,l)∈DAAwkl−α(∣S∣2),(7.35)g_{\alpha,\beta}(S) = \beta \sum_{(i,j) \in D_{PA}} w_{ij} + \sum_{(k,l) \in D_{AA}} w_{kl} - \alpha \binom{|S|}{2}, \tag{7.35}

where SS represents a subset of vertices of network GpG_p having S⊆VS \subseteq V, ∣S∣|S| denotes the number of nodes in the subgraph induced by SS, and wijw_{ij} is the weight of edge between nodes ii and jj in the subgraph induced by SS. DPAD_{PA} represents the set of edges between given paper pp and candidate authors in the subgraph induced by SS. Likewise, DAAD_{AA} represents the set of edges between authors in the subgraph induced by SS. β\beta controls the importance of paper–author edge. α\alpha is a constant. The first two parts in Eq. (7.35) favor subgraphs with abundant edges, while the third part penalizes large subgraphs.

Based on the proposed density function above, next we will describe how to find the optimal quasi-clique with constraint in GpG_p. The algorithm firstly selects constrained node pp as the initial set. Then it traverses all nodes one by one and adds uu to SS if gα,β(S∪{u})g_{\alpha,\beta}(S \cup \{u\}) improves. Afterward, the algorithm traverses every vertex vv in SS and removes vv if gα,β(S∖{v})g_{\alpha,\beta}(S \setminus \{v\}) enhances. Note that we cannot remove constrained node pp during the period of removal. The algorithm repeats these two phases of addition and removal until an optimum is reached or the number of iterations exceeds ImaxI_{max}.

Datasets AMiner [31] is a classical academic network. Specifically, we extract two subsets with different scales, denoted by AMiner-I and AMiner-II. AMiner-I is a full subset data of some important venues in data mining area, which includes 5 venues, namely KDD, ICDM, SDM, CIKM, and PKDD. AMiner-II is a large subset covering our areas, including Artificial Intelligence (AI), Data Mining (DM), Databases (DB), and Information System (IS). For each area, we choose some important venues that have influential publications.

baselines In order to examine the effectiveness of our approach, we compare against the following three kinds of representative methods. (1) Similarity measure. We design two kinds of similarity measure methods based on meta-paths PTPAPTPA and PCPAPCPA, which can indirectly connect the new paper and candidate authors with term or venue. Then we rank candidate authors according to the similarity scores (i.e., the number of path instances) between candidate authors and the new paper. (2) Feature method. Following the work of Chen et al. [4], we extracted 17 features for each paper–author pair. We choose LR, SVM, and Bayes as learning algorithms. (3) HetNetE. HetNetE is recently proposed in [4] for author identification problem. It first learns the low-dimensional feature vectors of nodes to predict author of the given paper.

Parameter Settings For our method ASI, we set the embedding dimension dd to 128, the size of negative samples to 2, the margin ξ\xi to 2, the learning rate to 0.00001, the batch size to 200, the regularization penalty λ\lambda to 10, the trade-off factor γ\gamma to 1.0, α\alpha to 0.01, and β\beta to 0.1. For HetNetE and feature method, we choose the optimal parameter. Three meta-paths APCAPC, APWAPW, APPAPP are jointly used in HetNetE. In addition, for fairness comparison, we do not adopt the reference types of nodes when computing the embedding vectors of papers due to the lack of most citations in HetNetE and ASI.

Evaluation Metrics We adopt Precision (PP), Recall (RR), F1F1 score, Jaccard index (JJ), MAPMAP (mean average precision), and RMSERMSE as evaluation metrics. (1) PP. It reflects the accuracy of returned author set, which can be defined as the ratio of the true authors in the returned author set. P=∣SA′∩SA∣∣SA′∣P = \frac{|S'_A \cap S_A|}{|S'_A|}, where SA′S'_A denotes the returned author set or the returned top-kk author set in P@kP@k. SAS_A means the true author set. (2) RR. It shows the ratio of returned true authors in the whole true author set. It can be computed as follows: R=∣SA′∩SA∣∣SA∣R = \frac{|S'_A \cap S_A|}{|S_A|}, where SA′S'_A and SAS_A have the same meanings introduced above. (3) F1F1. It is the harmony average of PP and RR, which is defined as: F1=2∗P∗RP+RF1 = \frac{2*P*R}{P+R}. (4) Jaccard index. It measures similarity between two sets and is

[1] AI: ICML, AAAI, IJCAI, NIPS. DM: KDD, WSDM, ICDM, PKDD. DB: SIGMOD, VLDB, ICDE. IS: SIGIR, CIKM.

formulated as: J=∣SA′∩SA∣∣SA′∪SA∣J = \frac{|S'_A \cap S_A|}{|S'_A \cup S_A|}, which means the ratio of the intersection and the union of two sets. (5) MAPMAP. It is computed as mean of APAP at different kk for a paper. AP=∑i=1kp@i×reli# of correct authorAP = \frac{\sum_{i=1}^{k} p@i \times rel_i}{\# \text{ of correct author}}, where relirel_i equals 1 if the result at rank ii is correct author and 0 otherwise. (6) RMSERMSE. It is a measure of difference between the number of authors returned by model and the number of true authors. RMSE=∑(∣SA′∣−∣SA∣)2∣m∣RMSE = \sqrt{\frac{\sum(|S'_A| - |S_A|)^2}{|m|}}, where mm is the number of test papers, and SA′S'_A and SAS_A are the number of returned author and true author, respectively.

To evaluate the performance, we regard papers published before 2014 as training set and papers published in 2014 and 2015 as test set. Since it is time-consuming to rank all candidate authors for each anonymous paper in the evaluation procedure, following the strategy in [4], for each paper in the test set, we randomly sample some negative authors and obtain 100 candidate authors in all. Then, we rank the 100 candidate authors consisting of the positive and sampled negative authors for each paper. For our method ASI, we also select the same 100 candidate authors to construct the weighted paper-ego-network for each test paper. The final results are averaged over all the test papers for each evaluation metric.

We report the results of performance comparison in Tables 7.5 and 7.6. There are some observations and analysis. (1) Our method ASI achieves better performance than all baselines on all measures except RR and MAPMAP. It improves the performance by more than 15% on PP, JJ, and F1F1 averagely. Although ASI does not achieve the best performance on RR, it is also near the best value. (2) ASI can automatically confirm the appropriate number of authors for a given paper, which can be clearly demonstrated by the lowest value on metric RMSERMSE. In a word, ASI not only can discover a set of authors with strong relationship but also can determine the proper number of authors for an anonymous paper. (3) To our surprise, the similarity measure method based on PTPA has very good performance, which indicates that the term has a significant role in finding author set for a given paper.

The more detailed method description and experiment validation can be seen in [43].

Table 7.5 Results of effectiveness experiments on AMiner-I. We use bold to mark the best performance for each comparison. up-arrow indicates higher is better, and down-arrow indicates lower is better. “Avg.” means the average rank of different methods

[!visual-conversion] Table 7.5 (printed p. 204) scan-verified and corrected: the OCR pass had merged/misaligned the grouped row labels (Similarity measure / Feature method / HetNetE) and lost the ASI row. Rebuilt against assets/pages/page-208.png. The repeated RMSE values within the Top-5 block (0.1714) and Top-10 block (0.5023) are printed that way in the source and are not an OCR error.

MethodsGroupModelP (up)R (up)J (up)F1 (up)MAP (up)RMSE (down)
Top-5Similarity measurePTPA0.2716 (2)0.5007 (7)0.2310 (2)0.3356 (2)0.6109 (1)0.1714 (2)
PCPA0.2098 (7)0.3937 (11)0.1680 (7)0.2614 (7)0.4718 (9)0.1714 (2)
Feature methodLR0.2160 (5)0.3915 (12)0.1827 (6)0.2657 (4)0.4834 (7)0.1714 (2)
SVM0.2493 (3)0.4562 (9)0.2154 (4)0.3081 (3)0.5451 (3)0.1714 (2)
Bayes0.2209 (4)0.4075 (10)0.1888 (5)0.2733 (5)0.4951 (6)0.1714 (2)
HetNetE0.2123 (6)0.3870 (13)0.1669 (8)0.2616 (6)0.4571 (11)0.1714 (2)
Top-10Similarity measurePTPA0.1555 (9)0.5779 (2)0.1454 (10)0.2365 (9)0.5897 (2)0.5023 (3)
PCPA0.1388 (11)0.5066 (5)0.1257 (13)0.2110 (11)0.4517 (12)0.5023 (3)
Feature methodLR0.1358 (13)0.5005 (8)0.1270 (12)0.2059 (13)0.4664 (10)0.5023 (3)
SVM0.1629 (8)0.5988 (1)0.1538 (9)0.2477 (8)0.5296 (4)0.5023 (3)
Bayes0.1364 (12)0.5010 (6)0.1277 (11)0.2069 (12)0.4767 (8)0.5023 (3)
HetNetE0.1506 (10)0.5347 (3)0.2269 (3)0.2275 (10)0.4435 (13)0.5023 (3)
ASI0.4589 (1)0.5284 (4)0.4009 (1)0.4712 (1)0.5295 (5)0.1123 (1)

Table 7.6 Results of effectiveness experiments on AMiner-II. We use bold to mark the best performance for each comparison. up-arrow indicates higher is better, and down-arrow indicates lower is better. “Avg.” means the average rank of different methods

[!visual-conversion] Table 7.6 (printed p. 205) scan-verified and corrected: same grouped-row misalignment issue as Table 7.5. Rebuilt against assets/pages/page-209.png.

MethodsGroupModelP (up)R (up)J (up)F1 (up)MAP (up)RMSE (down)
Top5Similarity measurePTPA0.3391 (2)0.5899 (6)0.2886 (2)0.4108 (2)0.7165 (3)0.2880 (2)
PCPA0.3287 (3)0.5743 (8)0.2776 (4)0.3986 (3)0.6595 (6)0.2880 (2)
Feature methodLR0.3113 (4)0.5400 (9)0.2645 (5)0.3769 (4)0.6605 (5)0.2880 (2)
SVM0.2202 (7)0.4553 (12)0.1674 (11)0.2803 (9)0.9948 (1)0.2880 (2)
Bayes0.2964 (5)0.5144 (10)0.2491 (6)0.3587 (5)0.6458 (8)0.2880 (2)
HetNetE0.2645 (6)0.4561 (11)0.2078 (7)0.3191 (6)0.6021 (12)0.2880 (2)
Top10Similarity measurePTPA0.1927 (8)0.6624 (1)0.1795 (8)0.2884 (7)0.6913 (4)0.8536 (3)
PCPA0.1913 (9)0.6531 (2)0.1778 (9)0.2860 (8)0.6363 (10)0.8536 (3)
Feature methodLR0.1857 (10)0.5779 (7)0.1729 (10)0.2775 (10)0.6382 (9)0.8536 (3)
SVM0.1101 (13)0.4553 (12)0.0943 (13)0.1702 (13)0.9948 (1)0.8536 (3)
Bayes0.1786 (11)0.6157 (4)0.1661 (12)0.2673 (11)0.6227 (11)0.8536 (3)
HetNetE0.1720 (12)0.6350 (3)0.2858 (3)0.2564 (12)0.5602 (13)0.8536 (3)
ASI0.5981 (1)0.6019 (5)0.4943 (1)0.5720 (1)0.6566 (7)0.2058 (1)

In recent years, to characterize the complex and heterogeneous auxiliary data in web services, HG representation techniques have become a very popular approach for recommender systems. In this chapter, we present three HG representation based recommendation systems, respectively, solving the unique challenges existing in diverse real-world scenarios. Particularly, we study the Top-N recommendation scenario and propose the MCRRec framework, which is a three-way neural interaction model based HG representation method. In addition, we study the cold-start problem in the recommendation and propose a meta-learning based method for HG representation, named MetaHIN. At last, we study the author set identification problem in the bibliographic recommendation and propose ASI method to solve this problem. The experiments demonstrate the effectiveness of HG representation in each application.

In future work, we will consider how to combine more auxiliary multi-modal information to improve performance. In addition, we will extend the HG representation approach to other more challenging applications.

  1. Berg, R.v.d., Kipf, T.N., Welling, M.: Graph convolutional matrix completion. arXiv preprint arXiv:1706.02263 (2017)

  2. Bordes, A., Usunier, N., Garcia-Duran, A., Weston, J., Yakhnenko, O.: Translating embeddings for modeling multi-relational data. In: Advances in Neural Information Processing Systems (NeurIPS), pp. 2787–2795 (2013)

  3. Chai, T., Draxler, R.R.: Root mean square error (RMSE) or mean absolute error (MAE)?—arguments against avoiding RMSE in the literature. Geosci. Model Dev. 7(3), 1247–1250 (2014)

  4. Chen, T., Sun, Y.: Task-guided and path-augmented heterogeneous network embedding for author identification. In: Proceedings of the Tenth ACM International Conference on Web Search and Data Mining (WSDM), pp. 295–304. ACM, New York (2017)

  5. Chen, T., Zhang, W., Lu, Q., Chen, K., Zheng, Z., Yu, Y.: SVDFeature: a toolkit for feature-based collaborative filtering. J. Mach. Learn. Res. 13, 3619–3622 (2012)

  6. Cogswell, M., Ahmed, F., Girshick, R., Zitnick, L., Batra, D.: Reducing overfitting in deep networks by decorrelating representations. arXiv preprint arXiv:1511.06068 (2015)

  7. Dong, Y., Chawla, N.V., Swami, A.: metapath2vec: Scalable representation learning for heterogeneous networks. In: Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD), pp. 135–144 (2017)

  8. Feng, W., Wang, J.: Incorporating heterogeneous information for personalized tag recommendation in social tagging systems. In: Proceedings of the 18th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD), pp. 1276–1284 (2012)

  9. Finn, C., Abbeel, P., Levine, S.: Model-agnostic meta-learning for fast adaptation of deep networks. In: International Conference on Machine Learning (ICML), pp. 1126–1135 (2017)

  10. He, K., Zhang, X., Ren, S., Sun, J.: Deep residual learning for image recognition. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pp. 770–778 (2016)

  1. He, X., Liao, L., Zhang, H., Nie, L., Hu, X., Chua, T.S.: Neural collaborative filtering. In: Proceedings of the 26th International Conference on World Wide Web (WWW), pp. 173–182 (2017)

  2. Hsieh, C.K., Yang, L., Cui, Y., Lin, T.Y., Belongie, S., Estrin, D.: Collaborative metric learning. In: Proceedings of the 26th International Conference on World Wide Web (WWW), pp. 193–201 (2017)

  3. Hu, B., Shi, C., Zhao, W.X., Yu, P.S.: Leveraging meta-path based context for Top-N recommendation with a neural co-attention model. In: Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD), pp. 1531–1540 (2018)

  4. Kingma, D.P., Ba, J.: Adam: A method for stochastic optimization. In: Third International Conference on Learning Representations (2015)

  5. Koren, Y., Bell, R.: Advances in collaborative filtering. In: Recommender Systems Handbook, pp. 77–118 (2015)

  6. Koren, Y., Bell, R., Volinsky, C.: Matrix factorization techniques for recommender systems. Computer 42(8), 30–37 (2009)

  7. Lee, H., Im, J., Jang, S., Cho, H., Chung, S.: MeLU: Meta-learned user preference estimator for cold-start recommendation. In: Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD), pp. 1073–1082 (2019)

  8. Lu, Y., Fang, Y., Shi, C.: Meta-learning on heterogeneous information networks for cold-start recommendation. In: Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (SIGKDD), pp. 1563–1573 (2020)

  9. Pan, F., Li, S., Ao, X., Tang, P., He, Q.: Warm up cold-start advertisements: Improving CTR predictions via learning to learn ID embeddings. In: Proceedings of the 42nd International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR), pp. 695–704 (2019)

  10. Pham, T.A.N., Li, X., Cong, G., Zhang, Z.: A general recommendation model for heterogeneous networks. IEEE Trans. Knowl. Data Eng. 28, 3140–3153 (2016)

  11. Phan, M.C., Sun, A., Tay, Y., Han, J., Li, C.: NeuPL: Attention-based semantic matching and pair-linking for entity disambiguation. In: Proceedings of the 2017 ACM on Conference on Information and Knowledge Management (CIKM), pp. 1667–1676 (2017)

  12. Rendle, S., Freudenthaler, C., Gantner, Z., Schmidt-Thieme, L.: BPR: Bayesian personalized ranking from implicit feedback. In: Proceedings of the Twenty-Fifth Conference on Uncertainty in Artificial Intelligence (UAI) (2009)

  13. Rendle, S., Gantner, Z., Freudenthaler, C., Schmidt-Thieme, L.: Fast context-aware recommendations with factorization machines. In: Proceedings of the 34th International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR), pp. 635–644 (2011)

  14. Sarwar, B., Karypis, G., Konstan, J., Riedl, J.: Item-based collaborative filtering recommendation algorithms. In: Proceedings of the 10th International Conference on World Wide Web (WWW), pp. 285–295 (2001)

  15. Shi, C., Zhang, Z., Luo, P., Yue, Y., Wu, B.: Semantic path based personalized recommendation on weighted heterogeneous information networks. In: Proceedings of the 24th ACM International on Conference on Information and Knowledge Management (CIKM), pp. 453–462 (2015)

  16. Shi, C., Li, Y., Zhang, J., Sun, Y., Philip, S.Y.: A survey of heterogeneous information analysis. IEEE Trans. Knowl. Data Eng. 29, 17–37 (2017)

  17. Shi, C., Hu, B., Zhao, W.X., Yu, P.S.: Heterogeneous information network embedding for recommendation. IEEE Trans. Knowl. Data Eng. 31(2), 357–370 (2018)

  18. Shi, C., Hu, B., Zhao, X., Yu, P.: Heterogeneous information network embedding for recommendation. IEEE Trans. Knowl. Data Eng. 31(2), 357–370 (2018)

  19. Sun, Y., Han, J.: Mining heterogeneous information networks: principles and methodologies. Synth. Lect. Data Mining Knowl. Discovery 3(2), 1–159 (2012)

Y. Han, J., Yan, X., Yu, P.S., Wu, T.: PathSim: Meta path-based top-k similarity search in ogeneous information networks. Very Large Data Base Endowment 4, 992–1003 (2011) g. J., Zhang, J., Yao, L., Li, J., Zhang, L., Su, Z.: ArnetMiner: extraction and mining ademic social networks. In: Proceedings of the 14th ACM SIGKDD International ference on Knowledge Discovery and Data Mining (SIGKDD), pp. 990–998. ACM, New York (2008)

  1. Tang, J., Qu, M., Wang, M., Zhang, M., Yan, J., Mei, Q.: Line: Large-scale information network embedding. In: Proceedings of the 24th International Conference on World Wide Web (WWW), pp. 1067–1077 (2015)

  2. Tsourakakis, C., Bonchi, F., Gionis, A., Gullo, F., Tsiarli, M.: Denser than the densest subgraph: extracting optimal quasi-cliques with quality guarantees. In: Proceedings of the 19th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (SIGKDD), pp. 104–112. ACM, New York (2013)

  3. Vartak, M., Thiagarajan, A., Miranda, C., Bratman, J., Larochelle, H.: A meta-learning perspective on cold-start recommendations for items. In: Advances in Neural Information Processing Systems (NeurIPS), pp. 6904–6914 (2017)

  4. Volkovs, M., Yu, G., Poutanen, T.: DropoutNet: Addressing cold start in recommender systems. In: Advances in Neural Information Processing Systems (NeurIPS), pp. 4957–4966 (2017)

  5. Wang, X., He, X., Wang, M., Feng, F., Chua, T.: Neural graph collaborative filtering. In: Proceedings of the 42nd international ACM SIGIR conference on Research and development in Information Retrieval (SIGIR), pp. 165–174 (2019)

  6. Weinberger, K.Q., Saul, L.K.: Distance metric learning for large margin nearest neighbor classification. J. Mach. Learn. Res. 10(Feb), 207–244 (2009)

  7. Xu, K., Ba, J., Kiros, R., Cho, K., Courville, A., Salakhudinov, R., Zemel, R., Bengio, Y.: Show, attend and tell: Neural image caption generation with visual attention. In: International Conference on Machine Learning (ICML), pp. 2048–2057 (2015)

  8. Yu, X., Ren, X., Sun, Y., Gu, Q., Sturt, B., Khandelwal, U., Norick, B., Han, J.: Personalized entity recommendation: a heterogeneous information network approach. In: Proceedings of the Tenth ACM International Conference on Web Search and Data Mining (WSDM), pp. 283–292 (2014)

  9. Zhang, Y., Ai, Q., Chen, X., Croft, W.B.: Joint representation learning for top-n recommendation with heterogeneous information sources. In: Proceedings of the 2017 ACM on Conference on Information and Knowledge Management (CIKM), pp. 1449–1458 (2017)

  10. Zhang, C., Huang, C., Yu, L., Zhang, X., Chawla, N.V.: Camel: Content-aware and meta-path augmented metric learning for author identification. In: Proceedings of the 2018 World Wide Web Conference (WWW), pp. 709–718 (2018)

  11. Zhao, H., Yao, Q., Li, J., Song, Y., Lee, D.L.: Meta-graph based recommendation fusion over heterogeneous information networks. In: Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD), pp. 635–644 (2017)

  12. Zheng, Y., Shi, C., Kong, X., Ye, Y.: Author set identification via quasi-clique discovery. In: Proceedings of the 28th ACM International Conference on Information and Knowledge Management (CIKM), pp. 771–780 (2019)

  13. Zhu, Y., Lin, J., He, S., Wang, B., Guan, Z., Liu, H., Cai, D.: Addressing the item cold-start problem by attribute-driven active learning. IEEE Trans. Knowl. Data Eng. 32(4), 631–644 (2019)