Skip to content
ImagineWorld

Emerging Topics of Heterogeneous Graph Representation

node_idnode-book_heterogeneous-graph-representations_chapter-06-emerging-topics-of-heterogeneous-graph-representation
node_typechapter-node
schema_profileworld.chapter_node.v1
statusactive
entropyhigh
manifoldworld
domainimagineworld.net
authorityinforms
layercorpus
chapter_num6
chapter_titleEmerging Topics of Heterogeneous Graph Representation
governed_byCORPUS
constitutional_citationCONSTITUTION
local graph

Chapter 6 — Emerging Topics of Heterogeneous Graph Representation

Section titled “Chapter 6 — Emerging Topics of Heterogeneous Graph Representation”

Abstract Heterogeneous graph (HG) embedding, aiming to project HG into a low-dimensional space, has attracted considerable research attention. We have introduced some kinds of HG embedding methods, and there are also some other essential topics on HG embeddings. In this chapter, we will introduce three novel HG embedding methods. Specifically, to learn semantic-preserving and robust node representations, we study the problem of adversarial learning on HG. Also, we work with large-scale heterogeneous interaction graphs and focus on the problem of importance sampling on HG embedding. Moreover, we explore the intrinsic spaces of HG and propose a hyperbolic space based HG embedding method.

Recently, some efforts begin to combine graph embedding methods with var-ied machine learning technologies to obtain better graph representations. These machine learning technologies include generative adversarial networks (GANs) [12, 25], importance sampling [5, 18], and hyperbolic representation [20, 22]. Specifically, GANs hinge on the idea of adversarial learning, in which discrim-inators and generators compete with each other to learn better underlying data distributions. Besides, importance sampling aims to reduce the computational and memory costs in machine learning. Moreover, hyperbolic spaces are non-Euclidean spaces, which are more suitable to model data with a hierarchical structure.

Some homogeneous graph embedding methods combined with these technologies have shown their effectiveness in modeling graphs. For example, GAN-based homogeneous graph embedding methods [6, 28] leverage generative and discriminative components to learn graph representation. The generative component aims to learn the underlying connectivity distribution in the graph, while the discriminative component aims to predict the probability of edge existence between nodes. Besides, to make large-scale graph representation learning possible, a natural idea is to sample a small set of important nodes from the whole graph. The importance sampling based homogeneous graph embedding methods have shown their powerful

© 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_6

ability in large-scale graph representation. Moreover, some researchers begin to embed graphs into low-dimensional hyperbolic spaces. They find that embedding a graph in hyperbolic spaces would have a low distortion when the graph has a hierarchical structure [11, 22], and the hierarchical relation between nodes can be reflected by analyzing hyperbolic embedding [22].

In this chapter, we introduce three emerging HG embedding methods. First, HG embedding with GAN-based adversarial learning (named HeGAN [16]) is designed to learn semantic-preserving and robust node representations, which leverages the relation-aware discriminator and generator to fit the heterogeneous setting. Second, to reduce the cost of large-scale HG embedding, Heterogeneous importance Sampling (named HeteSamp [19]) is proposed, which introduces both type-dependent and type-fusion samplers with self-normalized and adaptive estimators to ensure the model efficiency. Third, assuming the underlying spaces of HG are hyperbolic spaces, Hyperbolic Heterogeneous Network Embedding (named HHNE) [31] is proposed to preserve the structure and semantic information of HG in hyperbolic spaces.

GANs [12, 25] have been developed for learning robust latent representations in various applications [29, 34]. In recent researches, GANs only study homogeneous graphs [6, 23, 28, 35], such as the bibliographic data in Fig. 6.1a, so they do not consider the heterogeneity of nodes and edges, resulting in unsatisfactory performance on HG. In existing methods, positive (real) and negative (fake) nodes can only be differentiated by the network structure, which is shown in Fig. 6.1b. Therefore, it is urgent to design new formal discriminator and generator to distinguish and simulate the real and fake semantic-rich nodes involving various relationships. Generators are essentially picking an existing node from the original network according to the learned distribution, without the ability to generalize to “unseen” nodes. Not surprisingly, they do not generate the most representative fake nodes, as such nodes may not even appear in the network. Thus, it is important to design a generator that can efficiently produce latent fake samples.

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

flowchart LR
    subgraph a["(a) Toy HG for bibliographic data"]
        Au((Author)) --> Pa[Paper]
        Pa --> Ve{{Venue}}
    end
    subgraph b["(b) Previous HG embedding"]
        Real["Positive/negative nodes distinguished only by structure"]
    end
    subgraph c["(c) Relation-aware discriminator and generator"]
        Gen["Generator: samples fake relation-aware neighbors"] --> Disc["Discriminator: relation-aware real vs fake"]
    end
    subgraph d["(d) HeGAN framework"]
        Disc --> AdvLoss["Adversarial training"]
        Gen --> AdvLoss
        AdvLoss --> Emb["Robust, semantic-preserving node embeddings"]
    end

Fig. 6.1 Overview of HeGAN. (a) A toy example of HG for bibliographic data. (b) An example of previous HG embedding. (c) Relation-aware discriminator and generator in our work. (d) The framework of HeGAN for adversarial learning on HGs

We exploit the heterogeneity of HG in adversarial setting in order to learn semantic-preserving and robust node representations. Different from previous efforts [2, 6, 23, 28, 35], HeGAN raises two major novelties to address the challenges of adversarial learning on HG. It is not only relation-aware to capture rich semantics, but also equipped with a generalized generator that is effective and efficient. It proposes a new form of discriminator and generator, as illustrated in Fig. 6.1c. To a given relation, the discriminator can tell whether a node pair is real or fake, whereas the generator can produce fake node pairs that mimic real pairs. To further improve the effectiveness and efficiency of sample generation, we propose a generalized generator, which is able to directly sample latent nodes from a continuous distribution.

HeGAN is based on GAN so that it consists of a discriminator and a generator. It is a novel framework for HG embedding with GAN-based adversarial learning. The discriminator and generator are relation-aware in HeGAN. The discriminator is able to tell apart the specified relationship between nodes, and the generator will try to generate nodes which has certain relation with other nodes. The node pair is considered true in the following cases: (i) It is a positive pair based on network topology; (ii) The pair is formed under the correct relation. HeGAN provides a generalized generator, which is able to directly sample latent nodes from a continuous distribution, such that (i) no softmax computation is necessary; and (ii) fake samples are not restricted to the existing nodes.

Existing studies typically model the distribution of nodes using some forms of softmax over all nodes in the original network. In terms of effectiveness, their fake samples are limited to the nodes in the network, whereas the most representative fake samples may fall “in between” the existing nodes in the embedding space. For the bibliographic data in Fig. 6.1a, given a paper p2p_2, it can only choose fake samples from V\mathcal{V}, such as a1a_1 and a3a_3. However, both may not be adequately similar to real samples such as a2a_2. Towards a better sample generation, HeGAN introduces a generalized generator that can produce latent nodes not appearing in the embedding space. The generator can sample fake nodes directly without using a softmax. The framework of HeGAN is in Fig. 6.1d.

In an HG, the relation-aware discriminator D(ev∣u,r;θD)D(e_v|u, r; \theta^D) evaluates the relation rr between the pair of nodes uu and vv. Specifically, u∈Vu \in \mathcal{V} is a given node and r∈Rr \in \mathcal{R} is a given relation from a HG G\mathcal{G}, eve_v is the embedding of a sample node vv (which can be real or fake), and θD\theta^D denotes the model parameters of DD. In essence, DD outputs a probability that the sample vv is connected to uu under the relation rr. We quantify this probability as:

D(ev∣u,r;θD)=11+exp⁡(−euDMrDev),(6.1)D(e_v|u, r; \theta^D) = \frac{1}{1 + \exp\left(-e_u^D \mathbf{M}_r^D e_v\right)}, \tag{6.1}

where ev∈Rd×1e_v \in \mathbb{R}^{d \times 1} is the embedding of the sample vv, euD∈Rd×1e_u^D \in \mathbb{R}^{d \times 1} is the learnable embedding of node uu, and MrD∈Rd×d\mathbf{M}_r^D \in \mathbb{R}^{d \times d} is a learnable relation matrix for relation rr. θD={euD:u∈V,MrD:r∈R}\theta^D = \{e_u^D : u \in \mathcal{V}, \mathbf{M}_r^D : r \in \mathcal{R}\} forms the model parameters of DD, i.e., the union of all node embeddings and relation matrices learnt by DD. Naturally, the probability should be high when vv is a positive sample related to uu through rr, or low when it is a negative sample. In general, a sample vv forms a triple (u,v,r)(u, v, r) together with the given uu and rr, and each triple belongs to one of the three cases below with regard to its polarity. Each case also contributes to one part of the discriminator loss, inspired by the idea of conditional GAN [25].

Case 1: Connected under a given relation. That is, nodes uu and vv are indeed connected through the right relation rr on the HG G\mathcal{G}, such as (a2,p2,write)(a_2, p_2, \text{write}) shown in Fig. 6.1a. Such a triple is considered positive and can be modeled by the below loss.

L1D=E(u,v,r)∼PG−log⁡D(evD∣u,r).(6.2)\mathcal{L}_1^D = \mathbb{E}_{(u,v,r) \sim P_G} - \log D\left(e_v^D | u, r\right). \tag{6.2}

Here we draw the positive triple from the observed G\mathcal{G}, denoted as (u,v,r)∼PG(u, v, r) \sim P_G.

Case 2: Connected under an incorrect relation. That is, uu and vv are connected on the HG under a wrong relation r′≠rr' \ne r, such as (a2,p2,view)(a_2, p_2, \text{view}). The discriminator is expected to mark them as negative, as their connectivity does not match the desired semantics carried by the given relation rr. We define this part of loss as follows:

L2D=E(u,v)∼PG,r′∼PR′−log⁡(1−D(evD∣u,r′)).(6.3)\mathcal{L}_2^D = \mathbb{E}_{(u,v) \sim P_G, r' \sim P_{\mathcal{R}'} } - \log\left(1 - D\left(e_v^D | u, r'\right)\right). \tag{6.3}

Here, we still draw the pair of nodes (u,v)(u, v) from G\mathcal{G}, but the negative relation r′r' is drawn from R′=R∖{r}\mathcal{R}' = \mathcal{R} \setminus \{r\} uniformly.

Case 3: Fake node from a relation-aware generator. That is, given a node u∈Vu \in \mathcal{V}, it can form a fake pair with the node vv supplied by the generator G(u,r;θG)G(u, r; \theta^G), such as (a′,p2,write)(a', p_2, \text{write}) in Fig. 6.1d. The generator is also relation-aware: It attempts to generate a fake node’s embedding that mimics the real nodes connected to uu under the correct relation rr. Again, the discriminator aims to identify this trit as negative, which can be formulated as follows:

L3D=E(u,r)∼PGEev′∼G(u,r;θG)[−log⁡(1−D(ev′∣u,r))].(6.4)\mathcal{L}_3^D = \mathbb{E}_{(u,r)\sim P_G} \mathbb{E}_{\mathbf{e}_v' \sim G(u,r;\theta^G)} \left[ -\log \left(1 - D(\mathbf{e}_v' | u, r) \right) \right]. \tag{6.4}

Note that the fake sample vv‘s embedding ev′\mathbf{e}_v' is drawn from the generator GG‘s learnt distribution. On the other hand, the discriminator DD simply treats ev′\mathbf{e}_v' as non-learnable input, and only optimizes its own parameters θD\theta^D.

The loss function of the discriminator is comprehensive by the above three parts:

LD=L1D+L2D+L3D+λD∥θD∥22,(6.5)\mathcal{L}^D = \mathcal{L}_1^D + \mathcal{L}_2^D + \mathcal{L}_3^D + \lambda^D \|\theta^D\|_2^2, \tag{6.5}

where λD>0\lambda_D > 0 controls the regularization term to avoid over-fitting. The parameters θD\theta^D of the discriminator can be optimized by minimizing LD\mathcal{L}^D.

6.2.2.3 Relation-Aware Generalized Generator

Section titled “6.2.2.3 Relation-Aware Generalized Generator”

Given a node u∈Vu \in \mathcal{V} and a relation r∈Rr \in \mathcal{R}, the generator G(u,r;θG)G(u, r; \theta^G) aims to generate a fake node vv likely to connect to uu in the context of relation rr. In other words, vv should be as close as possible to a real node on G\mathcal{G}, in which has ⟨u,v,r⟩∼PG\langle u, v, r \rangle \sim P_{\mathcal{G}}. On the other hand, the generator is generalized, which means the fake node vv can be latent and not found in V\mathcal{V}.

To meet the two requirements, the generator should also employ relation-specific matrices (for relation-awareness), and generate samples from an underlying continuous distribution (for generalization). One of the suitable distributions is Gaussian distribution:

N(euGTMrG,σ2I),(6.6)\mathcal{N}\left( \mathbf{e}_u^{G^T} \mathbf{M}_r^G, \sigma^2 \mathbf{I} \right), \tag{6.6}

where euG∈Rd×1\mathbf{e}_u^G \in \mathbb{R}^{d \times 1} and MrG∈Rd×d\mathbf{M}_r^G \in \mathbb{R}^{d \times d} denote the node embedding of u∈Vu \in \mathcal{V} and the relation matrix of r∈Rr \in \mathcal{R} for the generator. In other words, it is a Gaussian distribution with mean euGTMrG\mathbf{e}_u^{G^T} \mathbf{M}_r^G and covariance σ2I∈Rd×d\sigma^2 \mathbf{I} \in \mathbb{R}^{d \times d} for some choices of σ\sigma. Intuitively, the mean represents a fake node is likely to be connected to uu by relation rr, and the covariance represents potential deviations. As neural networks have shown strong ability in modeling complex structure [15], we integrate the multi-layer perceptron (MLP) into the generator for enhancing the expression of the fake samples. Hence, our generator is formulated as follows:

G(u,r;θG)=f(WL⋯f(W1e+b1)+bL),(6.7)G(u, r; \theta^G) = f(\mathbf{W}_L \cdots f(\mathbf{W}_1 \mathbf{e} + \mathbf{b}_1) + \mathbf{b}_L), \tag{6.7}

where we draw e\mathbf{e} from the distribution N(euGTMrG,σ2I)\mathcal{N}(\mathbf{e}_u^{G^T} \mathbf{M}_r^G, \sigma^2 \mathbf{I}). Here W∗\mathbf{W}_* and b∗\mathbf{b}_* respectively denote the weight matrix and the bias vector for each layer, and ff is an activation function. The parameter set of the generator is thus θG={euG:u∈V,MrG:r∈R,W∗,b∗}\theta^{G} = \{ \mathbf{e}_{u}^{G} : u \in \mathcal{V}, \mathbf{M}_{r}^{G} : r \in \mathcal{R}, \mathbf{W}^{*}, \mathbf{b}^{*} \}, i.e., the union of all node embeddings and relation matrices, as well as the parameters of MLP.

As motivated earlier, the generator aims to fool the discriminator by generating fake-to-real fake samples, such that the discriminator gives high score to them.

LG=E(u,r)∼PG,eu′∼G(u,r;θG)[−log⁡D(eu′∣u,r)]+λG∥θG∥22,(6.8)\mathcal{L}^{G} = \mathbb{E}_{(u,r) \sim P_{G}, \mathbf{e}_{u}^{\prime} \sim G(u,r;\theta^{G})} \left[ -\log D(\mathbf{e}_{u}^{\prime} | u, r) \right] + \lambda^{G} \|\theta^{G}\|_{2}^{2}, \tag{6.8}

here λG>0\lambda^{G} > 0 controls the regularization term. The parameters θG\theta^{G} of the generator can be optimized by minimizing LG\mathcal{L}^{G}.


Algorithm 6.1 Model training for HeGAN

Input: HG G\mathcal{G}, number of generator and discriminator trainings per epoch nG,nDn_{G}, n_{D}, number of samples nsn_{s}

1: Initialize θG\theta_{G} and θD\theta_{D} for GG and DD, respectively

2: while not converge do

3:  for n=0;n<nDn = 0; n < n_{D} do

4:   Sample a batch of triples, i.e., (u,v,r)∼PG(u, v, r) \sim P_{G}

5:   Generate nsn_{s} fake nodes eu′∼G(u,r;θG)\mathbf{e}_{u}^{\prime} \sim G(u, r; \theta^{G}) for each (u,r)(u, r)

6:   Sample nsn_{s} relations r′∼PRr^{\prime} \sim P_{\mathcal{R}} for each (u,v)(u, v)

7:   Update θD\theta^{D} according to Eq. (6.5)

8:  end for

9:  for n=0;n<nGn = 0; n < n_{G} do

10:   Sample a batch of triples, i.e., (u,v,r)∼PG(u, v, r) \sim P_{G}

11:   Generate nsn_{s} fake nodes eu′∼G(u,r;θG)\mathbf{e}_{u}^{\prime} \sim G(u, r; \theta^{G}) for each (u,r)(u, r)

12:   Update θG\theta^{G} according to Eq. (6.8)

13:  end for

14: end while

15: return θG\theta^{G} and θD\theta^{D}


We adopt the iterative optimization strategy to train HeGAN. The iterative optimization methods follow the steps below: At each iteration, θG\theta^{G} is fixed first, and then the generator generates fake samples to optimize θD\theta^{D} and thus improve the discriminator. Next, θD\theta^{D} is fixed, followed by optimizing θG\theta^{G} in order to produce increasingly better fake samples as evaluated by the discriminator. The above steps repeat until the model converges. The model training for HeGAN is outlined in Algorithm 6.1.

We conduct extensive experiments on three benchmark datasets [10, 15], namely DBLP (with four types of nodes: Author, paper, conference, and term), Yelp (user, business, service, star, and reservation), AMiner (author, paper, conference, and reference). We organize them into HGs, as summarized in Table 6.1. We perform node classification and link prediction on three datasets.

For the baselines, we consider three categories of network embedding methods: Traditional (Deepwalk [24], LINE [27]), GAN-based (GraphGAN [28], ANE [6]), and HG (HERec-HNE [26], HIN2vec [10], Metapath2vec [8]) embedding algorithms.

We use 80% of the labeled nodes to train a logistic regression classifier, and test the classifier on the remaining 20% of the nodes. We report Accuracy on the test set in Table 6.2.

In node classification, HeGAN consistently outperforms the best baseline with statistical significance. It is also worth noting that our performance margins over the best baseline become smaller compared to the node clustering task, since in classification all methods are helped by the supervision, narrowing their gaps.

In this task, we predict user-business links on Yelp, and author-paper links on DBLP and AMiner. We randomly hide 20% of such links from the original network as the ground truth positives, and randomly sample disconnected node pairs of the given form as negative instances. The ground truth serves as our test set. We adopt two ways to perform link prediction, namely, logistic regression and inner product. The evaluation metrics consist of Accuracy, AUC, and F1, as shown in Table 6.3.

We observe that, the performance of HeGAN over the best baseline is much larger with inner product than with logistic regression. It is hypothesized that HeGAN innately learns a much better structure and semantics preserving embed- ding space than the baseline methods, since the inner product only relies on the learnt representations without resorting to any external supervision. The complete method and more experiments can be found in [16].

Table 6.1 Description of datasets

Datasets#Nodes#Edges#Node types#Labels
DBLP37,791170,79444
Yelp391338,68053
Aminer312,776599,95146

Table 6.2 Performance comparison on node classification (bold: best; underline: runner-up)

[!visual-conversion] Table 6.2 (printed p. 152) scan-verified and corrected: the OCR pass dropped the AMiner Accuracy column and misaligned the Yelp values. Rebuilt against assets/pages/page-156.png.

MethodsDBLP Micro-F1DBLP Macro-F1DBLP AccuracyYelp Micro-F1Yelp Macro-F1Yelp AccuracyAMiner Micro-F1AMiner Macro-F1AMiner Accuracy
Deepwalk0.92010.92420.92980.82620.75510.81450.95190.94600.9529
LINE-1st0.92390.92130.92850.82290.74400.81260.97760.97130.9788
LINE-2nd0.91440.91720.92360.75910.55180.75710.94690.93410.9471
GraphGAN0.91980.92100.92860.80980.72680.7820–––
ANE0.91430.91530.91890.82320.76230.79320.92560.92030.9221
HERec-HNE0.92140.92280.92990.79620.77130.79120.98010.97260.9784
HIN2vec0.91410.91150.92240.83520.76100.82000.97990.97750.9801
Metapath2vec0.92880.92960.93600.79530.78840.78390.98530.98600.9857
HeGAN0.9381^†0.9375^†0.9421^†0.8524^†0.8031^†0.8432^†0.9864^†0.9873^†0.9883^†

Table 6.3 Performance comparison on link prediction. (bold: best; underline: runner-up)

[!visual-conversion] Table 6.3 (printed p. 153) scan-verified and corrected: the OCR pass looped the caption line ~80 times instead of transcribing any data. Rebuilt against assets/pages/page-157.png. Underline (runner-up) formatting could not be reliably distinguished at scan resolution and is omitted; bold (best), and ** significance markers from the source, are preserved. ”–” marks cells the book leaves blank.

GroupMethodsDBLP AccDBLP AUCDBLP F1Yelp AccYelp AUCYelp F1AMiner AccAMiner AUCAMiner F1
Logistic RegressionDeepwalk0.54410.56300.52080.71610.78250.71820.48560.51820.4618
Logistic RegressionLINE-1st0.65460.71210.66850.72260.79710.70990.59830.64130.6080
Logistic RegressionLINE-2nd0.67110.65000.62080.63350.67450.64990.56040.51140.4925
Logistic RegressionGraphGAN0.52410.53300.51080.71230.76250.7132–––
Logistic RegressionANE0.51230.54300.52800.69830.73250.68380.50230.52800.4938
Logistic RegressionHERec-HNE0.71230.78230.69340.70870.76230.69230.70890.77760.7156
Logistic RegressionHIN2vec0.71800.79480.70060.72190.79590.72400.71420.78740.7264
Logistic RegressionMetapath2vec0.59690.59200.56980.71240.77980.71060.70690.76230.7156
Logistic RegressionHeGAN0.7290^†0.8034^†0.7119^†0.7240^†0.8075^†0.7325^†0.7198^†0.7957^†0.7389^†
Inner ProductDeepwalk0.54740.72310.68740.56540.81640.69530.53090.60640.6799
Inner ProductLINE-1st0.66470.77530.73630.67690.78320.71990.61130.68990.7123
Inner ProductLINE-2nd0.47280.47970.63250.41930.73470.59090.50000.47850.6666
Inner ProductGraphGAN0.55320.68250.62140.57020.77250.6894–––
Inner ProductANE0.52180.65430.60230.54320.74250.63240.54210.61230.6623
Inner ProductHERec-HNE0.51230.74730.68780.53230.67560.70660.60630.69120.6798
Inner ProductHIN2vec0.57750.82950.67140.62730.8340^†0.41940.53480.69340.6824
Inner ProductMetapath2vec0.47750.69260.62870.51240.63240.67020.62430.71230.6953
Inner ProductHeGAN0.7649^†0.8712^†0.7837^†0.7391^†0.82980.7705^†0.6505^†0.7431^†0.7752^†

To make large-scale graph representation learning possible, researchers have proposed several sampling strategies on Graph Neural Networks (GNNs), including node-wise neighborhood sampling [14, 33] and layer-wise neighborhood sampling [5, 18, 37] to accelerate the training process of GNNs by reducing the number of edges in computation. The former is to sample neighbors for each node while the latter is to sample neighbors from the whole graph. Unfortunately, both the node- and layer-wise sampling only deal with homogeneous graphs, which are inadequate in many real-world scenarios such as E-commerce graphs, as they (1) deal with homogeneous graphs only; (2) take all the nodes of a graph as initial candidates; (3) still incur rapidly increasing cost with more layers. There are two challenges we have to face with as follows.

First, how to design an effective sampler that works with the heterogeneous neighborhoods? While a sampler can be easily defined on a per-node, per-type basis, it is not clear how we can sample neighborhoods in a batch, given that the candidates consist of different types of nodes. Two alternatives could work, namely, type-dependent and type-fusion sampling. In the former, a sampler is deployed for each neighbor type, and these type-based samplers sample from their respective sub-neighborhood on their own. In the latter, a single sampler is deployed, which treats the entire common neighborhood of the batch as its candidates. Intuitively, the type-fusion sampler would work better, as it takes the influences of total types of interactions into account and models the sampling distribution over all types jointly.

Second, how to design the corresponding effective estimators with the sampled heterogeneous neighborhoods? With the neighbors being sampled based on the global importance in a batch, traditional importance sampling could introduce unwanted variance because of the imbalance between the local importance to the given target node and the global importance to the given batch. To address this challenge, we propose self-normalized estimators and adaptive estimators, respectively. The former is to adjust the estimators by self-normalizing importance of sampled neighborhoods while the latter is to automatically learn the global importance (i.e., the importance distribution of candidate neighborhoods) by modeling both structural and attributed information.

Finally, we test the proposed sampling strategies on two public datasets, and the experimental results demonstrate that the proposed framework can achieve statistically significant improvements. Compared with the full model without any sampling, we achieve a memory cost reduction by up to 92.48% and a time cost reduction by up to 85.95%, while maintaining the same level of accuracy on two real-world datasets.

This section introduces the architecture of the proposed HeteSamp model, which consists of the general Heterogeneous Interaction Graph Embedding (named HIGE) and the heterogeneous sampling framework. The heterogeneous sampling framework adopts type-dependent and type-fusion strategies to reduce the expensive time cost and high computational complexity. Notice that, we name the large-scale heterogeneous graph as heterogeneous interaction graph to emphasize the rapidly increasing scale. Moreover, as HeteSamp consists of multiple samplers and estimators, we name the specific strategies according to their adopted sampler and estimator.

To tackle with HIGs, a general idea is to reconstruct node embeddings by propagating information from its heterogeneous neighbors, and backwardly propagate gradients [4, 30, 36], as shown in Fig. 6.2a. Specifically, given a node viv_i with type ϕ(vi)\phi(v_i) and its edges {evi,vj,r∣vj∈Nvi,r,r∈R}\{e_{v_i,v_j,r} | v_j \in \mathcal{N}_{v_i,r}, r \in \mathcal{R}\}, the aggregated information of node viv_i from type-rr neighborhoods is

gvi,r′=∑vj∈Nvi,r1∣Nvi,r∣w(vi,vj,r)hvj,(6.9)g'_{v_i,r} = \sum_{v_j \in \mathcal{N}_{v_i,r}} \frac{1}{|\mathcal{N}_{v_i,r}|} w(v_i, v_j, r) h_{v_j}, \tag{6.9}

where gvi,r′g'_{v_i,r} is the aggregated information, Nvi,r\mathcal{N}_{v_i,r} is the type-rr neighborhoods of node viv_i, vj∈Nvi,rv_j \in \mathcal{N}_{v_i,r} is a specific type-rr neighbor of node viv_i, w(vi,vj,r)w(v_i, v_j, r) denotes the weight of edge evi,vj,re_{v_i,v_j,r}, hvj∈Rdh_{v_j} \in \mathbb{R}^d denotes the embedding of node vjv_j, dd is the

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

flowchart LR
    subgraph a["(a) Batch-wise information propagation"]
        Batch["Batch of target nodes B_k"] --> Union["Union neighborhood of the batch"]
    end
    subgraph b["(b) Type-dependent sampling"]
        Union --> S1["Sampler for type 1"]
        Union --> S2["Sampler for type 2"]
        Union --> S3["Sampler for type 3"]
        Union --> S4["Sampler for type 4"]
    end
    subgraph c["(c) Type-fusion sampling"]
        Union --> Sf["Single sampler over the entire fused neighborhood"]
    end

Fig. 6.2 The sampling processes of type-dependent and type-fusion sampling. (a) Batch-wise information propagation. (b) Type-dependent sampling. (c) Type-fusion sampling

dimension of hvjh_{v_j}. w(vi,vj,r)w(v_i, v_j, r) between node viv_i and vjv_j is calculated by

w(vi,vj,r)=σ(xvi,vj,rλr+br),(6.10)w(v_i, v_j, r) = \sigma(x_{v_i, v_j, r} \lambda_r + b_r), \tag{6.10}

where σ\sigma is an activation function, xvi,vj,r∈Rdrx_{v_i, v_j, r} \in \mathbb{R}^{d_r} is the edge features between node viv_i and vjv_j, drd_r is the length of type-rr edge features, and λr∈Rdr×1\lambda_r \in \mathbb{R}^{d_r \times 1} and br∈Rb_r \in \mathbb{R} are weight and bias parameters shared by type-rr edges.

We then take all semantics into account by aggregating information from different-typed neighborhoods and constructing the global embedding hvi′∈Rdh'_{v_i} \in \mathbb{R}^d of node viv_i as

hvi′=σ(concat(gvi,r0′,gvi,r1′,⋯ ,gvi,r∣R∣′)Wϕ(vi)+bϕ(vi)),(6.11)h'_{v_i} = \sigma \left( \text{concat} \left( g'_{v_i, r_0}, g'_{v_i, r_1}, \cdots, g'_{v_i, r_{|\mathcal{R}|}} \right) W_{\phi(v_i)} + b_{\phi(v_i)} \right), \tag{6.11}

where σ\sigma is an activation function, concat(⋅)\text{concat}(\cdot) is the concatenation option, Wϕ(vi)∈R∣R∣×dW_{\phi(v_i)} \in \mathbb{R}^{|\mathcal{R}| \times d} denotes the projection matrix of type-ϕ(vi)\phi(v_i) nodes, bϕ(vi)b_{\phi(v_i)} denotes the bias, and ∣R∣|\mathcal{R}| denotes the total number of edge types R\mathcal{R} in the heterogeneous graph. The computational complexity of the general model is linear with the scale of edges and nodes on heterogeneous graphs.

To reduce computational overhead and memory cost of the training process, a naive idea is to sample several neighbors rather than aggregating information from all neighborhoods. Previous works [14, 33] on homogeneous works usually adopt node-wise sampling to sample several neighbors per node for learning. Based on the global and local structural information, current works [5, 18, 37] propose layer-wise sampling strategies which consider the whole neighborhood as the candidates. However, these strategies are to deal with homogeneous graphs but ignore the abundant semantics of heterogeneous nodes and edges. Moreover, these strategies can only deal with small graphs because the overhead for node-wise and layer-wise sampling during optimization could be quite expensive, or even unaffordable.

In this section, Eq. (6.9) can be re-written as

gvi,r′=Eq[p(vj∣vi,r)q(vj∣Bk)w(vi,vj,r)hvj],(6.12)g'_{v_i, r} = \mathbb{E}_q \left[ \frac{p(v_j | v_i, r)}{q(v_j | \mathcal{B}_k)} w(v_i, v_j, r) h_{v_j} \right], \tag{6.12}

where Bk\mathcal{B}_k denotes the target nodes in the kkth mini-batch, q(vj∣Bk)q(v_j | \mathcal{B}_k) denotes the corresponding sampling probability in the kkth mini-batch, or in other words, the importance in this batch, and p(vj∣vi,r)p(v_j | v_i, r) equals to 1∣Nvi,r∣\frac{1}{|\mathcal{N}_{v_i, r}|}. Thereby, we attempt to make heterogeneous sampling for each batch. The batch-wise heterogeneous sampling probability is defined as

v^j∼q(v^j∣v1,v2,⋯ ,v∣Bk∣)vj∈{Nvi,r∣r∈R,vi∈Bk},(6.13)\hat{v}_j \sim q(\hat{v}_j | v_1, v_2, \cdots, v_{|\mathcal{B}_k|}) \quad v_j \in \{\mathcal{N}_{v_i, r} | r \in \mathcal{R}, v_i \in \mathcal{B}_k\}, \tag{6.13}

where v^j\hat{v}_j is the sampled neighbor. As shown in Fig.6.2a, we sample instances from the union neighborhood of all the target nodes in a batch, where the union neighborhood denotes the union of the individual neighbors of each target node. Since sampling is now done for each batch instead of each target node, batch-wise sampling is often a good choice to reduce computational overhead and memory cost of the training process. Compared with layer-wise sampling methods [5, 18, 37] which require the total nodes as candidates and have to load the whole graph structure before training, our batch-wise heterogeneous sampling focuses on the neighborhood union in the current batch. Compared with node-wise sampling which sample neighborhoods for each target node, our batch-wise heterogeneous sampling contains the advantages of reducing the overhead of sampling.

By now, we have defined the general batch-wise heterogeneous sampling. Different from traditional importance sampling, the neighborhoods of each batch connect with target nodes based on different-typed interactions. A straightforward idea is to design a sampler for each type, respectively. For example, in Fig. 6.2b, there are four types of candidates, and we sample neighbors from each type of candidates respectively by using one sampler. By adopting type-dependent sampling, we consider q(vj∣v1,v2,⋯ ,v∣Bk∣)q(v_j|v_1, v_2, \cdots, v_{|B_k|}) as a set of {qr(vj∣⋅)∣r∈R}\{q_r(v_j|\cdot)|r \in \mathbb{R}\}, and sample type-rr neighborhoods with the corresponding sampler qr(vj∣⋅)q_r(v_j|\cdot). The remaining problem for type-dependent sampling is how to design the exact form of this sampler so as to keep low variance for efficient training. Here we define the average information μqr\mu_{q_r} of gi,r′g'_{i,r} as

μqr=1∣Bk∣∑vi∈Bkgvi,r′=1∣Bk∣∑vjqr(vj∣⋅)∑vi∈Bkp(vj∣vi,r)w(vi,vj,r)hvjqr(vj∣⋅),(6.14)\mu_{q_r} = \frac{1}{|B_k|} \sum_{v_i \in B_k} g'_{v_i, r} = \frac{1}{|B_k|} \sum_{v_j} q_r(v_j|\cdot) \sum_{v_i \in B_k} \frac{p(v_j|v_i, r) w(v_i, v_j, r) \mathbf{h}_{v_j}}{q_r(v_j|\cdot)}, \tag{6.14}

where ∣Bk∣|B_k| is the number of type-rr samples. Then, the variance VarqrVar_{q_r} of μqr\mu_{q_r} is calculated by

Varqr(μqr)=1∣Bk∣Eqr[(μqrqr(vj∣⋅)−∑vi∈Bkp(vj∣vi,r)w(vi,vj,r)hvi)2qr(vj∣⋅)2].(6.15)Var_{q_r}(\mu_{q_r}) = \frac{1}{|B_k|} \mathbb{E}_{q_r} \left[ \frac{ \left( \mu_{q_r} q_r(v_j|\cdot) - \sum_{v_i \in B_k} p(v_j|v_i, r) w(v_i, v_j, r) \mathbf{h}_{v_i} \right)^2 }{q_r(v_j|\cdot)^2} \right]. \tag{6.15}

To ensure minimizing the variance, a better sampler is shown as

qr(vj)=∑vi∈Bkp(vj∣vi,r)2∑vj∑vi∈Bkp(vj∣vi,r)2.(6.16)q_r(v_j) = \frac{ \sum_{v_i \in B_k} p(v_j|v_i, r)^2 }{ \sum_{v_j} \sum_{v_i \in B_k} p(v_j|v_i, r)^2 }. \tag{6.16}

Essentially, the type-dependent strategy pays attention to the influence of same-type neighborhoods, without jointly considering the effect of heterogeneous types. Thus, they only reduce the individual variance of each type, lacking a global picture on the overall variance of the batch. To address this weakness, we propose a type-fusion sampling strategy which considers the entire neighborhoods as the candidates.

The aggregation in Eq.(6.11) is to gather information from different-typed neighborhoods, and can be rewritten as

gvi′=∑r∈R∑vj∈Nvi,rp(vj∣vi,r)w(vi,vj,r)hvjWr,(6.17)g_{v_i}' = \sum_{r \in \mathcal{R}} \sum_{v_j \in \mathcal{N}_{v_i,r}} p(v_j|v_i,r) w(v_i,v_j,r) h_{v_j} W_r, \tag{6.17}

where Wr∈Rd×dW_r \in \mathbb{R}^{d \times d} denotes the relation-wise projection matrix. Under the type-fusion strategy, the average information in kk-th batch over all types is given by

μq=1∣Bk∣∑vi∈Bkgvi′=1∣Bk∣∑vjq(vj∣⋅)∑r∈R∑vi∈Bkp(vj∣vi,r)w(vi,vj,r)hvjWrq(vj∣⋅).(6.18)\mu_q = \frac{1}{|B_k|} \sum_{v_i \in B_k} g_{v_i}' = \frac{1}{|B_k|} \sum_{v_j} q(v_j|\cdot) \sum_{r \in \mathcal{R}} \sum_{v_i \in B_k} \frac{p(v_j|v_i,r) w(v_i,v_j,r) h_{v_j} W_r}{q(v_j|\cdot)}. \tag{6.18}

As shown in Fig. 6.2c, the different-typed neighborhoods are sampled according to the type-fusion sampling distribution. Similar to that in Sect. 6.3.2.3, the corresponding sampler is defined as follows:

qs(vj)=∑r∈R∑vip(vj∣vi,r)2∑r∈R∑vj∑vi∈Bkp(vj∣vi,r)2,(6.19)q_s(v_j) = \frac{\sum_{r \in \mathcal{R}} \sum_{v_i} p(v_j|v_i,r)^2}{\sum_{r \in \mathcal{R}} \sum_{v_j} \sum_{v_i \in B_k} p(v_j|v_i,r)^2}, \tag{6.19}

where qs(vj)q_s(v_j) is the structure-based type-fusion sampler.

While the above sampling strategies only consider link-based weight as the importance of nodes but ignoring the attributed-based importance on edges, we further pay attention to the edge features within HIGs and propose the corresponding sampler as follows:

qa(vj)=∑r∈R∑vip(vj∣vi,r)f(x(vi,vj,r))∑r∈R∑vj∑vi∈Bkp(vj∣vi,r)f(x(vi,vj,r)),(6.20)q_a(v_j) = \frac{\sum_{r \in \mathcal{R}} \sum_{v_i} p(v_j|v_i,r) f(x(v_i,v_j,r))}{\sum_{r \in \mathcal{R}} \sum_{v_j} \sum_{v_i \in B_k} p(v_j|v_i,r) f(x(v_i,v_j,r))}, \tag{6.20}

where qa(vj)q_a(v_j) denotes the adaptive sampler, f(x(vi,vj,r))f(x(v_i,v_j,r)) denotes the importance of edge features which is calculated by σ(x(vi,vj,r))Wx,r\sigma(x(v_i,v_j,r)) W_{x,r}, and Wx,r∈Rdr×1W_{x,r} \in \mathbb{R}^{d_r \times 1} is the type-rr learnable parameter.

6.3.2.5 Heterogeneous Self-Normalized and Adaptive Estimators

Section titled “6.3.2.5 Heterogeneous Self-Normalized and Adaptive Estimators”

In type-dependent or type-fusion strategies, the batch-wise estimator is

g^vi=1n∑r∈R∑v^j∈N^Bk,rp(v^j∣⋅)q(v^j∣⋅)w(vi,v^j,r)hv^jWr,(6.21)\hat{g}_{v_{i}} = \frac{1}{n} \sum_{r \in \mathcal{R}} \sum_{\hat{v}_{j} \in \hat{\mathcal{N}}_{B_{k}, r}} \frac{p(\hat{v}_{j} | \cdot)}{q(\hat{v}_{j} | \cdot)} w(v_{i}, \hat{v}_{j}, r) h_{\hat{v}_{j}} W_{r}, \tag{6.21}

where g^vi\hat{g}_{v_{i}} is the approximated information, nn is the number of samples, N^Bk,r\hat{\mathcal{N}}_{B_{k}, r} is the sampled type-rr neighborhoods in this batch, p(v^j∣⋅)p(\hat{v}_{j} | \cdot) is equal to 1∣Nvi,r∣\frac{1}{|\mathcal{N}_{v_{i}, r}|}, and q(v^j∣⋅)q(\hat{v}_{j} | \cdot) denotes the heterogeneous samplers, such as qrq_{r}, qsq_{s}, and qaq_{a}. However, this could increase the variance resulted from the imbalance of p(v^j∣⋅)p(\hat{v}_{j} | \cdot) and q(v^j∣⋅)q(\hat{v}_{j} | \cdot).

To address such problem, for structure-based qs(vj)q_{s}(v_{j}), a promising way is to balance the weights based on self-normalized importance, similar to that in [18]. The corresponding estimator can be computed as

g^sn,vi=∑r∈R∑v^j∈N^vi,rπ(v^j)∑v^j′∈N^vi,rπ(v^j′)wvi,v^j,rhjWr,(6.22)\hat{g}_{sn, v_{i}} = \sum_{r \in \mathcal{R}} \sum_{\hat{v}_{j} \in \hat{\mathcal{N}}_{v_{i}, r}} \frac{\pi(\hat{v}_{j})}{\sum_{\hat{v}_{j}' \in \hat{\mathcal{N}}_{v_{i}, r}} \pi(\hat{v}_{j}')} w_{v_{i}, \hat{v}_{j}, r} h_{j} W_{r}, \tag{6.22}

where g^sn,vi\hat{g}_{sn, v_{i}} denotes the self-normalized information, π(vj)=p(vj∣⋅)q(vj∣⋅)\pi(v_{j}) = \frac{p(v_{j} | \cdot)}{q(v_{j} | \cdot)}, N^r\hat{\mathcal{N}}_{r} is the sampled neighborhoods of type rr. Besides, for the adaptive sampling, we add the variance to the loss function and explicitly minimize the variance during training to achieve a better qa(vj)q_{a}(v_{j}).

The overall loss function consists of four parts

Lk=Ltask,k+αLep,k+βΩ(Θ)+ξVarqa,k(μ^q),(6.23)L_{k} = L_{task, k} + \alpha L_{ep, k} + \beta \Omega(\Theta) + \xi Var_{q_{a}, k}(\hat{\mu}_{q}), \tag{6.23}

where LkL_{k} is the loss value in kk-th batch, Ltask,kL_{task, k} is the loss from supervised learning in the same batch, Lep,kL_{ep, k} is the embedding propagation loss with sampling in the kk-th batch, Varqa,k(μ^q)Var_{q_{a}, k}(\hat{\mu}_{q}) is the variance of sampled information, Ω(Θ)\Omega(\Theta) is the regularization of all latent parameters, and α\alpha, β\beta, and ξ\xi are three hyper-parameters. Notice that, for type-dependent sampling and structure-based type-fusion sampling, ξ\xi is 0.

Datasets We evaluate the empirical performance of our method on two real-world heterogeneous graphs, including the small Aminer graph consisting of 41,523 nodes and 199,429 edges, and the large Alibaba graph consisting of 4,527,222 nodes and 49,785,900 edges.

Baseline We first compare our various importance sampling strategies with the general HIGE model and HAN [30] without any sampling. We also compare our model with state-of-the-art sampling algorithms on GCNs including Fast-GCN [18] and AS-GCN [5] to showcase our advantage of effectiveness and scalability, whereas the sampling-based models not only achieve superior accuracy, but also scale to large graphs. Finally, to study the performance of our proposed variance reduction, we also substitute our variance reduction sampler with a uniform sampler.

Parameter Settings For all baselines and our methods, we set β=0.1\beta = 0.1, γ=0.1\gamma = 0.1, ψ=0.1\psi = 0.1, α=0.4\alpha = 0.4. The maximum iteration is 100 for Aminer and 5 for Alibaba. We adopt Micro-F1 and Macro-F1 as the evaluation metrics for node classification on Aminer while adopting F1 and AUC as the evaluation metrics for link prediction on Alibaba. All the metrics are positively related to the performance of methods.

We perform empirical validation on the small Aminer graph for node classification and the much larger Alibaba interaction graph for link prediction. Notice that the non-HIGE-based baselines, GraphsAGE, Fast-GCN and AS-GCN are to deal with node classification, and these baselines can only work on Aminer; they cannot perform on Alibaba graph when the task is link prediction and this graph is too large. Furthermore, they are likely to suffer from insufficient memory on the large-scale Alibaba graph even if we implement the modified models for the task of link prediction.

We report the results in Tables 6.4 and 6.5, respectively. We progressively sample more neighbors per batch, and the sampling rate ranges from about 3%3\%–24%24\% on smaller Aminer and 1.25%1.25\%–10%10\% on the larger Alibaba graph. We make the following observations.

First, VarR-TF-AS generally achieves the best performance, whereas VarR-TF-SN comes as a close competitor. In particular, VarR-TF-AS performs as well as or even better than the original HIGE. This phenomenon is reasonable. On the one hand, HIGE aggregates information from all neighbors which may introduce noisy information while our sampling strategies are to sample valuable neighbors for training. On the other hand, we optimize the sampler by reducing the variance loss which enhances the similarity limitation between the sampled neighbors and its target nodes.

Table 6.4 Micro/Macro-F1 scores for node classification on Aminer. Excluding HIGE and HAN, the best method is bolded and the second best is underlined

Micro-F1Macro-F1
Sampling size12825651210241282565121024
Per batch~ 3%~ 6%~ 12%~ 24%~ 3%~ 6%~ 12%~ 24%
HIGE-Nil0.19900.1961
HIGE0.96460.9593
HAN0.95120.9508
GraphSAGE0.20220.20390.21250.21190.19890.20230.20360.2073
Fast-GCN0.21170.22440.23180.23610.18500.18980.21160.2119
AS-GCN0.23610.23070.23900.23900.20050.20280.20040.2068
Unif-TD0.30430.41230.42560.42210.26380.39070.35530.3962
Unif-TF0.17800.22290.37850.62960.12660.19520.30810.5727
VarR-TD0.80860.79900.89710.91230.79130.78940.89450.9133
VarR-TF0.94610.96710.97120.96750.94240.96510.96960.9664
VarR-TF-SN0.96590.96430.96120.96840.96370.96290.96310.9603
VarR-TF-AS0.96500.96760.97050.96870.96490.96670.96020.9671

Table 6.5 F1 and AUC scores for purchase prediction on the Alibaba graph. Excluding HIGE and HAN, the best method is bolded and the second best is underlined

F1ROC-AUC
Sampling size512102420484096512102420484096
Per batch~ 1.25%~ 2.5%~ 5%~ 10%~ 1.25%~ 2.5%~ 5%~ 10%
HIGE-Nil0.39940.5134
HIGE0.56630.7715
HAN0.56180.7704
Unif-TD0.40170.42260.43520.43710.57680.58260.59080.5924
Unif-TF0.40080.41220.41250.44510.57310.57900.58620.5977
VarR-TD0.48410.50030.52740.56820.62070.65040.69250.7475
VarR-TF0.57690.59080.57090.58330.76480.76710.76530.7796
VarR-TF-SN0.57800.58830.58020.57980.76690.76250.76600.7742
VarR-TF-AS0.57290.59130.58060.58440.76740.76410.76760.7799

Second, compared to the corresponding uniform samplers, the variance reduction samplers guarantee more stable estimators and thus produce better results. In the VarR-* methods, type-fusion strategies outperform type-dependent methods, as the former consider all types jointly rather than independently and reduce the variance of the whole batch rather than a single type.

[!visual-conversion] Bar/line charts (not precisely re-creatable without the source values): memory cost and per-iteration training time for HIGE and its sampling variants vs. baselines, on AMiner and Alibaba. The text reports up to 92.48% less memory and up to 84.39% less time cost than HIGE, and that HAN takes about 1 day vs. HIGE’s ~5 hours on Alibaba.

Fig. 6.3 Average memory cost and running time per iteration of training. (a) Aminer Memory. (b) Alibaba Memory. (c) Aminer Time. (d) Alibaba Time

Third, our proposed general HIGE can perform competitively with or even better than HAN. However, HAN has higher time complexity. For Alibaba dataset, the time cost of HAN (about 1 day) is quite larger than HIGE (about 5 h).

Fourth, all sampling strategies for HIGE perform significantly better than GCN-based models and GraphsAGE. On the one hand, sampling for HIGE takes the graph heterogeneity into consideration, whereas the two GCN-based models do not make use of such information. On the other hand, the sampling size or number of layers of Fast-GCN and AS-GCN may be not enough. However, even under current settings, Fast-GCN and AS-GCN are already several times slower than our method, as we shall see in the efficiency study.

We first investigate the efficiency of our sampling strategies in memory cost. As shown in Fig. 6.3a, b, our models incur by up to 92.48% less memory. Further note that the differences in both the number of edges and memory cost are more prominent on the larger Alibaba graph, indicating excellent scalability of our sampling strategies. Second, in terms of the running time, as shown in Fig. 6.3c, d, VarR-TF-AS and VarR-TF-SN require less time than HIGE to attain close performance on the two datasets. Compared to HIGE, our models incur by up to 84.39% less time cost. Notice that when dealing with large-scale Alibaba dataset, the time cost is quite larger (about 1 day) than HIGE (about 5 h).

The specific designs of HeteSamp can be found in [19].

HG embedding has attracted considerable research attention recently. Most HG embedding methods choose Euclidean spaces to represent HG graphs, which is because Euclidean spaces are the natural generalization of our intuition-friendly, and visual three-dimensional space. However, a fundamental problem is that what are the appropriate or intrinsic underlying spaces of HGs? Therefore, we wonder whether Euclidean spaces are the intrinsic spaces of HGs?

Recently, hyperbolic spaces have gained momentum in the context of network science [20]. Hyperbolic spaces are spaces of constant negative curvature [3]. A superiority of hyperbolic spaces is that they expand faster than Euclidean spaces [22]. Therefore, it is easy to model complex data with low-dimensional embedding in hyperbolic spaces. Due to the characteristic of hyperbolic spaces, [20] assumes hyperbolic spaces underlie complex network and finds that data with power-law structure is suitable to be modeled in hyperbolic spaces. Also, some researchers begin to embed different data in hyperbolic spaces. For instance, [7] embeds text in hyperbolic spaces. Nickel and Kiela [22] and Ganea et al. [11] learn the hyperbolic embeddings of homogeneous networks. However, it is unknown whether HGs are suitable to be embedded in hyperbolic spaces.

In this section, we analyze the relation distribution in HGs and propose HHNE, which is able to preserve the structure and semantic information in hyperbolic spaces. HHNE leverages the meta-path guided random walk to generate heterogeneous neighborhoods to capture the structure and semantic relations in HGs. Then, the proximity between nodes is measured by the distance in hyperbolic spaces. Also, HHNE is able to maximize the proximity between the neighborhood nodes while minimize the proximity between the negative sampled nodes. The optimization strategy of HHNE is derived to optimize hyperbolic embeddings iteratively.

HHNE leverages the meta-path guided random walk to obtain neighbors for each node to capture the structure and semantic relations in HGs. Also, HHNE learns the embeddings by maximizing the proximity between the neighborhood nodes and minimizing the proximity between the negative sampled nodes. Moreover, we derive the optimization strategy of HHNE to upgrade the hyperbolic embeddings.

To design HG embedding methods in hyperbolic spaces, we make use of the Poincaré ball model to describe hyperbolic spaces. Let Dd={x∈Rd:∥x∥<1}\mathbb{D}^d = \{x \in \mathbb{R}^d : \|x\| < 1\} be the open dd-dimensional unit ball. The Poincaré ball model is defined by the manifold Dd\mathbb{D}^d equipped with the following Riemannian metric tensor gxDg^{\mathbb{D}}_x:

gxD=λx2gEwhereλx:=21−∥x∥2,(6.24)g^{\mathbb{D}}_x = \lambda_x^2 g^{\mathbb{E}} \quad \text{where} \quad \lambda_x := \frac{2}{1 - \|x\|^2}, \tag{6.24}

where x∈Ddx \in \mathbb{D}^d, gE=Ig^{\mathbb{E}} = \mathbf{I} denotes the Euclidean metric tensor.

HHNE aims to learn the representation of nodes to preserve the structure and semantic correlations in hyperbolic spaces. Given an HG G=(V,E,T,ϕ,ψ)G = (V, E, T, \phi, \psi) with ∣TV∣>1|T_V| > 1, HHNE is interested in learning the embeddings Θ={θi}i=1∣V∣\Theta = \{\theta_i\}_{i=1}^{|V|}, θi∈Dd\theta_i \in \mathbb{D}^d. HHNE preserves the structure by facilitating the proximity between a node and its neighborhoods. HHNE uses meta-path guided random walks [8] to obtain heterogeneous neighborhoods of a node. In meta-path guided random walks, the node sequences are restrained by the node types which are defined by meta-paths. Specifically, let tvit_{v_i} and teit_{e_i} as the types of node viv_i and edge eie_i, respectively, given a meta-path P=tv1→te1tv2→te2⋯→ten−1tvn\mathcal{P} = t_{v_1} \xrightarrow{t_{e_1}} t_{v_2} \xrightarrow{t_{e_2}} \cdots \xrightarrow{t_{e_{n-1}}} t_{v_n}, the transition probability at step ii is defined as follows:

p(vtvii+1∣vtvii,P)={1∣Ntvi+1(vtvii)∣if (vtvii+1,vtvii)∈E,ϕ(vtvii+1)=tvi+10otherwise,(6.25)p(v^{i+1}_{t_{v_i}} | v^i_{t_{v_i}}, \mathcal{P}) = \begin{cases} \frac{1}{|N_{t_{v_{i+1}}}(v^i_{t_{v_i}})|} & \text{if } (v^{i+1}_{t_{v_i}}, v^i_{t_{v_i}}) \in E, \phi(v^{i+1}_{t_{v_i}}) = t_{v_{i+1}} \\ 0 & \text{otherwise}, \end{cases} \tag{6.25}

where vtviiv^i_{t_{v_i}} is node v∈Vv \in V with type tvit_{v_i}, and Ntvi+1(vtvii)N_{t_{v_{i+1}}}(v^i_{t_{v_i}}) denotes the tvi+1t_{v_{i+1}} type of neighborhood of node vtviiv^i_{t_{v_i}}. The meta-path guided random walk strategy ensures that the semantic relationships between different types of nodes can be properly incorporated into HHNE.

In order to preserve the proximity between nodes and its neighborhoods in hyperbolic spaces, HHNE uses distances in Poincaré ball model to measure their proximity. Given nodes embeddings θi,θj∈Dd\theta_i, \theta_j \in \mathbb{D}^d, the distance in Poincaré ball is given by:

dD(θi,θj)=cosh⁡−1(1+2∥θi−θj∥2(1−∥θi∥2)(1−∥θj∥2)).(6.26)d_{\mathbb{D}}(\theta_i, \theta_j) = \cosh^{-1}\left(1 + 2 \frac{\|\theta_i - \theta_j\|^2}{(1 - \|\theta_i\|^2)(1 - \|\theta_j\|^2)}\right). \tag{6.26}

It is worth noting that as the Poincaré ball model is defined in metric spaces, the distance in Poincaré ball meets the triangle inequality and can well preserve the transitivity in HG. Then, HHNE calculates the probability of having the heterogeneous neighbor ctc_t, given a node vv

p(v∣ct;Θ)=σ[−dD(θv,θct)],p(v | c_t; \Theta) = \sigma[-d_{\mathbb{D}}(\theta_v, \theta_{c_t})],

where σ(x)=11+exp⁡(−x)\sigma(x) = \frac{1}{1 + \exp(-x)}. Then the object of HHNE is to maximize the probability as follows:

arg⁡max⁡Θ∑v∈V∑ct∈Ct(v)log⁡p(v∣ct;Θ).(6.27)\arg\max_{\Theta} \sum_{v \in V} \sum_{c_t \in C_t(v)} \log p(v | c_t; \Theta). \tag{6.27}

To achieve efficient optimization, HHNE leverages the negative sampling proposed in [21], which basically samples a small number of negative objects to enhance the influence of positive objects. For a given node vv, HHNE aims to maximize the proximity between vv and its neighborhood ctc_t while minimizes the proximity between vv and its negative sampled node nn. Therefore, the objective function Eq. (6.27) can be rewritten as follows:

L(Θ)=log⁡σ[−dD(θct,θv)]+∑m=1MEnm∼P(n)[log⁡σ[dD(θnm,θv)]],(6.28)\mathcal{L}(\Theta) = \log \sigma[-d_{\mathbb{D}}(\theta_{c_t}, \theta_v)] + \sum_{m=1}^{M} \mathbb{E}_{n^m \sim P(n)}[\log \sigma[d_{\mathbb{D}}(\theta_{n^m}, \theta_v)]], \tag{6.28}

where P(n)P(n) is a pre-defined distribution from which a negative node nmn^m is drawn for MM times. HHNE builds the node frequency distribution by drawing nodes regardless of their types.

As the parameters of the model live in a Poincaré ball which has a Riemannian manifold structure, the back-propagated gradient is a Riemannian gradient. It means that the Euclidean gradient-based optimization, such as θi←θi+η∇θiEL(Θ)\theta_i \leftarrow \theta_i + \eta \nabla_{\theta_i}^E \mathcal{L}(\Theta), makes no sense as an operation in the Poincaré ball, because the addition operation is not defined in this manifold. Instead, HHNE can optimize Eq. (6.28) via a Riemannian stochastic gradient descent (RSGD) optimization method [1]. In particular, let TθiDd\mathcal{T}_{\theta_i} \mathbb{D}^d denote the tangent space of a node embedding θi∈Dd\theta_i \in \mathbb{D}^d, and HHNE can compute the Riemannian gradient ∇θiRL(Θ)∈TθiDd\nabla_{\theta_i}^R \mathcal{L}(\Theta) \in \mathcal{T}_{\theta_i} \mathbb{D}^d of L(Θ)\mathcal{L}(\Theta). Using RSGD, HHNE can be optimized by maximizing Eq. (6.28), and a node embedding can be updated in the form of:

θi←exp⁡θi(η∇θiRL(Θ)),(6.29)\theta_i \leftarrow \exp_{\theta_i}(\eta \nabla_{\theta_i}^R \mathcal{L}(\Theta)), \tag{6.29}

where exp⁡θi(⋅)\exp_{\theta_i}(\cdot) is exponential map in the Poincaré ball. The exponential map is given by Ganea et al. [11]:

exp⁡θi(s)=λθi(cosh⁡(λθi∥s∥)+⟨θi,s∥s∥⟩sinh⁡(λθi∥s∥))1+(λθi−1)cosh⁡(λθi∥s∥)+λθi⟨θi,s∥s∥⟩sinh⁡(λθi∥s∥)θi+1∥s∥sinh⁡(λθi∥s∥)1+(λθi−1)cosh⁡(λθi∥s∥)+λθi⟨θi,s∥s∥⟩sinh⁡(λθi∥s∥)s.(6.30)\begin{aligned} \exp_{\theta_i}(s) &= \frac{\lambda_{\theta_i} \left( \cosh(\lambda_{\theta_i} \|s\|) + \langle \theta_i, \frac{s}{\|s\|} \rangle \sinh(\lambda_{\theta_i} \|s\|) \right)}{1 + (\lambda_{\theta_i} - 1) \cosh(\lambda_{\theta_i} \|s\|) + \lambda_{\theta_i} \langle \theta_i, \frac{s}{\|s\|} \rangle \sinh(\lambda_{\theta_i} \|s\|)} \theta_i \\ &\quad + \frac{\frac{1}{\|s\|} \sinh(\lambda_{\theta_i} \|s\|)}{1 + (\lambda_{\theta_i} - 1) \cosh(\lambda_{\theta_i} \|s\|) + \lambda_{\theta_i} \langle \theta_i, \frac{s}{\|s\|} \rangle \sinh(\lambda_{\theta_i} \|s\|)} s. \tag{6.30} \end{aligned}

As the Poincaré ball model is a conformal model of hyperbolic spaces, i.e., gxD=λx2gBg_x^{\mathbb{D}} = \lambda_x^2 g^{\mathbb{B}}, the Riemannian gradient ∇R\nabla^R is obtained by rescaling the Euclidean gradient ∇E\nabla^{E} by the inverse of the metric tensor, i.e., 1gxD\frac{1}{g_{x}^{D}}:

∇θlRL=(1λθl)2∇θlEL.(6.31)\nabla_{\theta_{l}}^{R} \mathcal{L} = \left( \frac{1}{\lambda_{\theta_{l}}} \right)^{2} \nabla_{\theta_{l}}^{E} \mathcal{L}. \tag{6.31}

Furthermore, the gradients of Eq. (6.28) can be derived as follows:

∂L∂θum=4αγ2−1[Iv[um]−σ(−dD(θcl,θum))]⋅[θclβm−∥θcl∥2−2(θcl,θum)+1βm2θum],(6.32)\frac{\partial \mathcal{L}}{\partial \theta_{u^{m}}} = \frac{4}{\alpha \sqrt{\gamma^{2} - 1}} \left[ \mathbb{I}_{v}[u^{m}] - \sigma(-d_{\mathbf{D}}(\theta_{c_{l}}, \theta_{u^{m}})) \right] \\ \cdot \left[ \frac{\theta_{c_{l}}}{\beta_{m}} - \frac{\|\theta_{c_{l}}\|^{2} - 2(\theta_{c_{l}}, \theta_{u^{m}}) + 1}{\beta_{m}^{2}} \theta_{u^{m}} \right], \tag{6.32} ∂L∂θcl=∑m=0M4βmγ2−1[Iv[um]−σ(−dD(θcl,θum))]⋅[θumα−∥θum∥2−2(θcl,θum)+1α2θcl],(6.33)\frac{\partial \mathcal{L}}{\partial \theta_{c_{l}}} = \sum_{m=0}^{M} \frac{4}{\beta_{m} \sqrt{\gamma^{2} - 1}} \left[ \mathbb{I}_{v}[u^{m}] - \sigma(-d_{\mathbf{D}}(\theta_{c_{l}}, \theta_{u^{m}})) \right] \\ \cdot \left[ \frac{\theta_{u^{m}}}{\alpha} - \frac{\|\theta_{u^{m}}\|^{2} - 2(\theta_{c_{l}}, \theta_{u^{m}}) + 1}{\alpha^{2}} \theta_{c_{l}} \right], \tag{6.33}

where α=1−∥θcl∥2\alpha = 1 - \|\theta_{c_{l}}\|^{2}, βm=1−∥θum∥2\beta_{m} = 1 - \|\theta_{u^{m}}\|^{2}, γ=1+2αβ∥θcl−θum∥2\gamma = 1 + \frac{2}{\alpha \beta} \|\theta_{c_{l}} - \theta_{u^{m}}\|^{2} and when m=0m = 0, u0=vu^{0} = v. Iv[u]\mathbb{I}_{v}[u] is an indicator function to indicate whether uu is vv. Then, HHNE can be updated by using Eqs. (6.32)—(6.33) iteratively.

Datasets The basic statistics of the two HGs used in our experiments are shown in Table 6.6.

Baselines HHNE is compared with the following state-of-the-art methods: (1) the homogeneous graph embedding methods, i.e., DeepWalk [24], LINE [27], and node2vec [13]; (2) the heterogeneous graph embedding methods, i.e., meta-path2vec [8]; (3) the hyperbolic homogeneous graph embedding methods, i.e., PoincaréEmb [22].

Table 6.6 Statistics of datasets

DBLP# A# P# V# P-A# P-V
14,47514,3762041,79414,376
MovieLens# A# M# D# M-A# M-D
11,7189160351064,0519160

Parameter Settings For random walk based methods DeepWalk, node2vec, meta-path2vec, and HHNE, we set neighborhood size as 5, walk length as 80, walks per node as 40. For LINE, metapath2vec, PoincaréEmb, and HHNE, we set the number of negative samples as 10. For methods based on meta-path guided random walks, we use “APA” for relation “P-A” in network reconstruction and link prediction experiments in DBLP; “APVPA” for relation “P-V” in above experiments in DBLP; “AMDMA” for all relation in above experiments in MovieLens. In visualization experiment, in order to focus on analyzing the relation of “A” and “P”, we use “APA”.

A good HG embedding method should ensure that the learned embeddings can preserve the original HG structure. The reconstruction error in relation to the embedding dimension is then a measure for the capacity of the model. More specifically, we use network embedding methods to learn feature representations. Then for each type of links in the HG, we enumerate all pairs of objects that can be connected by such a link and calculate their proximity [17], i.e., the distance in Poincaré ball model for HHNE and PoincaréEmb. Finally, we use the AUC [9] to evaluate the performance of each embedding method. For example, for link type “write,” we calculate all pairs of authors and papers in DBLP and compute the proximity for each pair. Then using the links between authors and papers in real DBLP network as ground truth, we compute the AUC value for each embedding method.

The results are shown in Table 6.7. As we can see, HHNE consistently performs the best in all the tested HGs. The results demonstrate that HHNE can effectively preserve the original network structure and reconstruct the network, especially on the reconstruction of P-V and M-D edges. Also, please note that HHNE achieves very promising results when the embedding dimension is very small. This suggests that regarding hyperbolic spaces underlying HG is reasonable and hyperbolic spaces have strong ability of modeling network when the dimension of spaces is small.

Link prediction aims to infer the unknown links in an HG given the observed HG structure, which can be used to test the generalization performance of a network embedding method. The experimental setting is similar to [32]. For each type of edge, 20% of edges are removed randomly from the network while ensuring that the rest network structure is still connected. The proximity of all pair of nodes is calculated in the test. AUC is used as the evaluation metric.

From the results in Table 6.8, HHNE outperforms the baselines upon all the dimensionality, especially in the low dimensionality. The results can demonstrate the generalization ability of HHNE. In DBLP dataset, the results of HHNE in

Table 6.7 AUC scores for network reconstruction. The best result in each row is bold

DatasetEdgeDimensionDeepwalkLINE(1st)LINE(2nd)node2vecmetapath2vecPoincareEmbHHNE
DBLPP-A20.69330.52860.67400.71070.66860.82510.9835
50.80340.53970.73790.81620.82610.87690.9838
100.93240.67400.75410.94180.92020.89210.9887
150.96660.72200.78680.97190.95000.89890.9898
200.97220.74570.76000.98090.96230.90240.9913
250.97940.76680.76210.98810.96900.90340.9930
P-V20.73240.51820.62420.75950.72860.57180.8449
50.79060.55000.63490.80190.90720.55290.9984
100.88130.70700.63330.89220.96910.62710.9985
150.93530.72950.63430.93820.98400.64460.9985
200.95050.73690.64440.95240.98790.66000.9985
250.95580.74360.64400.95960.98990.67600.9985
M-A20.63200.54240.63780.64020.64040.52310.8832
50.67630.56750.70470.67740.65780.53170.9168
100.76100.62020.77390.76530.72310.54040.9211
150.82440.65930.79550.83040.77930.54790.9221
200.86660.69250.80650.87420.81890.55220.9239
250.89630.72510.81230.90350.84830.55450.9233
M-D20.66260.53860.60160.67070.65890.62130.9952
50.72630.58390.65210.72830.72300.72660.9968
100.82460.61140.69690.83080.80630.73970.9975
150.87840.64210.71120.88670.84550.73780.9972
200.91170.67480.75030.91860.86560.74230.9982
250.93450.70120.76420.94020.88000.74370.9992

Table 6.8 AUC scores for link prediction. The best result in each row is bold

DatasetEdgeDimensionDeepwalkLINE(1st)LINE(2nd)node2vecmetapath2vecPoincaréEmbHHNE
DBLPP-A20.58130.50900.59090.67090.65360.67420.8777
50.73700.51680.63510.75270.72940.73810.9041
100.82500.54270.65100.84690.82790.76990.9111
150.86640.56310.65820.88810.86060.77430.9111
200.88070.57420.66440.90370.87400.78060.9106
250.88780.58570.67820.91020.88030.78300.9117
P-V20.70750.51600.73690.70590.82570.93310.9331
50.71970.56630.72860.85160.88780.94090.9619
100.72920.58730.74810.92480.91130.96250.9620
150.73250.58960.75830.94140.91850.96120.9612
200.75220.58910.76740.95040.91920.96120.9612
250.76400.58460.77580.95360.91920.96120.9612
M-A20.62780.50530.63490.61680.55350.77150.8255
50.63530.56360.64020.62120.57790.83120.8319
100.66800.59140.63610.67000.63320.59160.8318
150.67910.61840.64420.68140.63820.59880.8309
200.68680.62020.65960.69100.64530.59950.8520
250.68900.62560.67000.69770.65080.61910.8967
M-D20.62580.51390.65010.62990.58560.62900.8967
50.64820.54960.66070.65890.63320.65180.8904
100.69760.58850.74990.70340.66870.67150.9000
150.71630.66470.77560.72410.67460.68210.9018
200.73240.67420.79820.74120.67120.69570.9018

10 dimensionality exceed all the baselines in higher dimensionality results. In MovieLens dataset, HHNE with only 2 dimensionality surpasses baselines in all dimensionality. Besides, both LINE(1st) and PoincaréEmb preserve proximities of node pairs linked by an edge, while LINE(1st) embed network into Euclidean spaces and Poincaré embed network into hyperbolic spaces. PoincaréEmb performs better than LINE(1st) in most cases, especially in dimensionality lower than 10, suggesting the superiority of embedding network into hyperbolic spaces. Because HHNE can preserve high-order network structure and handle different types of nodes in HG, HHNE is more effective than PoincaréEmb.

More detailed introduction of HHNE can be found in [31].

In this chapter, we have introduced three emerging HG embedding topics, as well as the related HG embedding methods. For adversarial learning, HeGAN is designed for learning semantic-preserving and robust HG embedding based on the adversarial principle. Besides, for importance sampling, HeteSamp studies the problem of accelerating large-scale HG embedding with importance sampling. Moreover, for hyperbolic representation, HHNE makes the efforts to embed HGs in hyperbolic spaces, and the optimization strategies are derived to optimize the hyperbolic embedding. We hope more HG embedding methods with deeper insights can be proposed to discover the abundant semantic of HG in the future.

  1. Bonnabel, S., et al.: Stochastic gradient descent on Riemannian manifolds. IEEE Trans. Automat. Contr. 58(9), 2217–2229 (2013)

  2. Cai, X., Han, J., Yang, L.: Generative adversarial network based heterogeneous bibliographic network representation for personalized citation recommendation. In: Thirty-Second AAAI Conference on Artificial Intelligence, pp. 5747–5754 (2018)

  3. Cannon, J.W., Floyd, W.J., Kenyon, R., Parry, W.R., et al.: Hyperbolic geometry. Flavors Geom. 31, 59–115 (1997)

  4. Cen, Y., Zou, X., Zhang, J., Yang, H., Zhou, J., Tang, J.: Representation learning for attributed multiplex heterogeneous network. In: Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD), pp. 1358–1368 (2019)

  5. Chen, J., Ma, T., Xiao, C.: FastGCN: Fast learning with graph convolutional networks via importance sampling. In: Proceedings of the Conference ICLR (2018). arXiv preprint arXiv:1801.10247

  6. Dai, Q., Li, Q., Tang, J., Wang, D.: Adversarial network embedding. In: Proceedings of the AAAI Conference on Artificial Intelligence (AAAI), pp. 2167–2174 (2018)

  7. Dhingra, B., Shallue, C., Norouzi, M., Dai, A., Dahl, G.: Embedding text in hyperbolic spaces. In: Proceedings of the Twelfth Workshop on Graph-Based Methods for Natural Language Processing (TextGraphs), pp. 59–69 (2018)

  1. 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)

  2. Fawcett, T.: An introduction to roc analysis. Pattern Recogn. Lett. 27(8), 861–874 (2006)

  3. Fu, T.y., Lee, W.C., Lei, Z.: Hin2vec: Explore meta-paths in heterogeneous information networks for representation learning. In: Proceedings of the 2017 ACM on Conference on Information and Knowledge Management (CIKM), pp. 1797–1806 (2017)

  4. Ganea, O., Becigneul, G., Hofmann, T.: Hyperbolic entailment cones for learning hierarchical embeddings. In: International Conference on Machine Learning (ICML), pp. 1646–1655 (2018)

  5. Goodfellow, I., Pouget-Abadie, J., Mirza, M., Xu, B., Warde-Farley, D., Ozair, S., Courville, A., Bengio, Y.: Generative adversarial nets. In: Advances in Neural Information Processing Systems (NeurIPS), pp. 2672–2680 (2014)

  6. Grover, A., Leskovec, J.: node2vec: Scalable feature learning for networks. In: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD), pp. 855–864 (2016)

  7. Hamilton, W.L., Ying, Z., Leskovec, J.: Inductive representation learning on large graphs. In: Proceedings of the 31st International Conference on Neural Information Processing Systems, pp. 1025–1035 (2017)

  8. 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)

  9. Hu, B., Fang, Y., Shi, C.: Adversarial learning on heterogeneous information networks. In: Teredesai, A., Kumar, V., Li, Y., Rosales, R., Terzi, E., Karypis, G. (eds.) Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD), pp. 120–129 (2019)

  10. Huang, Z., Mamoulis, N.: Heterogeneous information network embedding for meta path based proximity. arXiv preprint arXiv:1701.05291 (2017)

  11. Huang, W., Zhang, T., Rong, Y., Huang, J.: Adaptive sampling towards fast graph representation learning. In: Advances in Neural Information Processing Systems (NeurIPS), pp. 4563–4572 (2018)

  12. Ji, Y., Yin, M., Yang, H., Zhou, J., Zheng, V.W., Shi, C., Fang, Y.: Accelerating large-scale heterogeneous interaction graph embedding learning via importance sampling. ACM Trans. Knowl. Discov. Data 15(1), 1–23 (2020)

  13. Krioukov, D., Papadopoulos, F., Kitsak, M., Vahdat, A., Boguná, M.: Hyperbolic geometry of complex networks. Phys. Rev. E 82(3), 036106 (2010)

  14. Mikolov, T., Sutskever, I., Chen, K., Corrado, G.S., Dean, J.: Distributed representations of words and phrases and their compositionality. In: Advances in Neural Information Processing Systems (NIPS), pp. 3111–3119 (2013)

  15. Nickel, M., Kiela, D.: Poincaré embeddings for learning hierarchical representations. Adv. Neural Inf. Proces. Syst. 30, 6338–6347 (2017)

  16. Pan, S., Hu, R., Long, G., Jiang, J., Yao, L., Zhang, C.: Adversarially regularized graph autoencoder for graph embedding. In: Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence (IJCAI-18), pp. 2609–2615 (2018)

  17. Perozzi, B., Al-Rfou, R., Skiena, S.: Deepwalk: Online learning of social representations. In: Proceedings of the 20th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD), pp. 701–710 (2014)

  18. Reed, S., Akata, Z., Yan, X., Logeswaran, L., Schiele, B., Lee, H.: Generative adversarial text to image synthesis. In: International Conference on Machine Learning (ICML), pp. 1060–1069 (2016)

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

  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. Wang, H., Wang, J., Wang, J., Zhao, M., Zhang, W., Zhang, F., Xie, X., Guo, M.: GraphGAN: Graph representation learning with generative adversarial nets. In: Proceedings of the AAAI Conference on Artificial Intelligence (AAAI), pp. 2508–2515 (2018)

  3. Wang, J., Yu, L., Zhang, W., Gong, Y., Xu, Y., Wang, B., Zhang, P., Zhang, D.: IRGAN: A minimax game for unifying generative and discriminative information retrieval models. In: Proceedings of the 40th International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR), pp. 515–524 (2017)

  4. Wang, X., Ji, H., Shi, C., Wang, B., Ye, Y., Cui, P., Yu, P.S.: Heterogeneous graph attention network. In: The World Wide Web Conference (WWW), pp. 2022–2032 (2019)

  5. Wang, X., Zhang, Y., Shi, C.: Hyperbolic heterogeneous information network embedding. In: Proceedings of the AAAI Conference on Artificial Intelligence (AAAI), pp. 5337–5344 (2019)

  6. Xu, L., Wei, X., Cao, J., Yu, P.S.: Embedding of embedding (EOE): joint embedding for coupled heterogeneous networks. In: Proceedings of the Tenth ACM International Conference on Web Search and Data Mining (WSDM), pp. 741–749 (2017)

  7. Ying, R., He, R., Chen, K., Eksombatchai, P., Hamilton, W.L., Leskovec, J.: Graph convolutional neural networks for web-scale recommender systems. In: Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD), pp. 974–983 (2018)

  8. Yu, L., Zhang, W., Wang, J., Yu, Y.: SeqGAN: Sequence generative adversarial nets with policy gradient. In: Proceedings of the AAAI Conference on Artificial Intelligence (AAAI), pp. 2852–2858 (2017)

  9. Yu, W., Zheng, C., Cheng, W., Aggarwal, C.C., Song, D., Zong, B., Chen, H., Wang, W.: Learning deep network representations with adversarially regularized autoencoders. In: Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD), pp. 2663–2671 (2018)

  10. Zheng, V.W., Sha, M., Li, Y., Yang, H., Fang, Y., Zhang, Z., Tan, K., Chang, K.C.: Heterogeneous embedding propagation for large-scale e-commerce user alignment. In: Proceedings of the 2018 IEEE International Conference on Data Mining (ICDM), pp. 1434–1439 (2018)

  11. Zou, D., Hu, Z., Wang, Y., Jiang, S., Sun, Y., Gu, Q.: Layer-dependent importance sampling for training deep and large graph convolutional networks. In: Advances in Neural Information Processing Systems (NeurIPS), pp. 11247–11256 (2019)