Hyperlink Regression via Bregman Divergence
Akifumi Okuno, Hidetoshi Shimodaira

TL;DR
This paper introduces Bregman hyperlink regression (BHLR), a flexible framework for hyper-relational learning that predicts hyperlink weights from data tuples using Bregman divergence, with proven statistical consistency and computational efficiency.
Contribution
It proposes BHLR, a unified and general approach for hyper-relational learning that encompasses existing methods and provides theoretical guarantees for consistency and tractability.
Findings
BHLR is statistically consistent and asymptotically recovers true hyperlink weights.
The framework is computationally tractable with stochastic optimization and novel minibatch sampling.
It unifies and extends various existing hyper-relational learning methods.
Abstract
A collection of data vectors is called a -tuple, and the association strength among the vectors of a tuple is termed as the \emph{hyperlink weight}, that is assumed to be symmetric with respect to permutation of the entries in the index. We herein propose Bregman hyperlink regression (BHLR), which learns a user-specified symmetric similarity function such that it predicts the tuple's hyperlink weight from data vectors stored in the -tuple. BHLR is a simple and general framework for hyper-relational learning, that minimizes Bregman-divergence (BD) between the hyperlink weights and estimated similarities defined for the corresponding tuples; BHLR encompasses various existing methods, such as logistic regression (), Poisson regression (), link prediction (), and those for representation learning, such as graph embedding (), matrix…
| Name of | |||
| Logistic loss† (Banerjee et al., 2005) | |||
| Kullback–Leibler div. (Cichocki et al., 2009) | |||
| -div.‡ (Basu et al., 1998) | |||
| Itakura-Saito div. (Cichocki et al., 2009) | |||
| Inverse div. (Cichocki et al., 2009) | |||
| Quadratic loss (Cichocki et al., 2009) | |||
| Exponential div. (Cichocki et al., 2009) | |||
| Dual logistic loss (Boissonnat et al., 2010) | |||
| Method | |||||||
|---|---|---|---|---|---|---|---|
| Poisson reg. (Cameron and Trivedi, 2007) | or | or | observed | ||||
| Logistic reg. (Bishop, 2006) | or | or | observed | ||||
| LS reg. (Bishop, 2006) | or | or | observed | ||||
| PBDR (Zhang et al., 2009) | any | any† | for some | observed | |||
| Matrix Fact. (Koren et al., 2009) | any | any† | -hot | ||||
| NMF (Cichocki et al., 2009) | any | any† | -hot | ||||
| LINE (Tang et al., 2015) | any | -hot | |||||
| KL-GE (Okuno et al., 2018) | any | observed | |||||
| -GE (Okuno and Shimodaira, 2019) | any | observed | |||||
| Poincaré Emb. (Nickel and Kiela, 2017) | any | 1-hot | |||||
| SBM (Holland et al., 1983) | cluster indicator | ||||||
| PARAFAC (Bro, 1997) | any | any† | -hot | ||||
| NTF (Cichocki et al., 2009) | any | any† | -hot | ||||
| Method | / | Best (validated) | ||||
|---|---|---|---|---|---|---|
| 1/15 | 3/13 | 6/10 | 10/6 | |||
| Neural network | BHLR + exponential div. | |||||
| BHLR + dual logistic loss | ||||||
| KL-GE†,1 (Okuno et al., 2018) | ||||||
| -GE†,2 (Okuno and Shimodaira, 2019) () | ||||||
| -GE†,2 (Okuno and Shimodaira, 2019) () | ||||||
| -GE†,2 (Okuno and Shimodaira, 2019) () | ||||||
| LINE†,3 (Tang et al., 2015) | ||||||
| Linear | LPP† (He and Niyogi, 2004) | |||||
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTensor decomposition and applications · Advanced Graph Neural Networks · Complex Network Analysis Techniques
MethodsLogistic Regression
Hyperlink Regression via Bregman Divergence
Akifumi Okuno [email protected] RIKEN Center for Advanced Intelligence Project
Hidetoshi Shimodaira [email protected] RIKEN Center for Advanced Intelligence Project
Graduate School of Informatics, Kyoto University
Abstract
A collection of data vectors is called a -tuple, and the association strength among the vectors of a tuple is termed as the hyperlink weight, that is assumed to be symmetric with respect to permutation of the entries in the index. We herein propose Bregman hyperlink regression (BHLR), which learns a user-specified symmetric similarity function such that it predicts the tuple’s hyperlink weight from data vectors stored in the -tuple. BHLR is a simple and general framework for hyper-relational learning, that minimizes Bregman-divergence (BD) between the hyperlink weights and estimated similarities defined for the corresponding tuples; BHLR encompasses various existing methods, such as logistic regression (), Poisson regression (), link prediction (), and those for representation learning, such as graph embedding (), matrix factorization (), tensor factorization (), and their variants equipped with arbitrary BD. Nonlinear functions (e.g., neural networks), can be employed for the similarity functions. However, there are theoretical challenges such that some of different tuples of BHLR may share data vectors therein, unlike the i.i.d. setting of classical regression. We address these theoretical issues, and proved that BHLR equipped with arbitrary BD and is (P-1) statistically consistent, that is, it asymptotically recovers the underlying true conditional expectation of hyperlink weights given data vectors, and (P-2) computationally tractable, that is, it is efficiently computed by stochastic optimization algorithms using a novel generalized minibatch sampling procedure for hyper-relational data. Consequently, theoretical guarantees for BHLR including several existing methods, that have been examined experimentally, are provided in a unified manner.
1 Introduction
Many real-world datasets are in the form of undirected graphs comprising nodes and their links, where nodes may have attributes called data vectors and the links are specified by link weights representing the strength of association between the corresponding data vectors. A friend network is an example whose data vectors and binary link weights represent properties of people and their friendships, respectively.
Although such a graph-structured dataset contains rich information, a large number of underlying link weights may be missing in practice (Clauset et al., 2008; Lü and Zhou, 2011). Such missing link weights may be inferred by considering the observed link weights; for instance, two nodes that are connected to the same types of nodes in common are supposed to have high link weights (Lü and Zhou, 2011; Liben-Nowell and Kleinberg, 2007). However, such an inference deteriorates easily when no or only a few positive link weights to the target nodes are observed.
Even in a severe situation, missing link weights can be inferred by additionally utilizing node data vectors, as their similarities imply the link weights. Thus, various methods inferring link weights through data vectors, which are often implemented with neural networks these days, have been developed. We generalize these methods as link regression.
A simple implementation of link regression is similarity learning, where a user-specified similarity function defined for pairs of data vectors is trained to predict link weights. Although arbitrary similarity functions can be employed, many existing studies leverage the Mahalanobis distance (De Maesschalck et al., 2000) and Mahalanobis inner product (Kung, 2014). Using these Mahalanobis similarities is mathematically equivalent to using the Euclidean distance or inner product between low-dimensional linearly transformed data vectors (Goldberger et al., 2005), implying that Mahalanobis similarity learning implicitly obtains the optimal low-dimensional linear transformation of data vectors.
Obtaining such an optimal transformation is also known as graph embedding (GE). GE is a method for representation learning; it computes feature vectors such that their inner products predict link weights, and the obtained feature vectors can be used for a variety of downstream tasks in machine learning and statistics. For computing the feature vectors, neural networks (NN) have been incorporated recently (Tang et al., 2015) to enhance its expressive power. Graph embedding with NNs demonstrates promising performance experimentally with some theoretical justification; Okuno et al. (2018) theoretically proved that the inner product similarity (IPS) between NN-based transformation of data vectors can approximate arbitrary positive-definite (PD) similarities. Furthermore, Okuno et al. (2019) proposed a shifted IPS by introducing NN-based bias terms to approximate a larger class of similarities called conditionally PD similarities that includes PD similarities and some other non-PD similarities as special cases; an example is the recently popular negative Poincaré distance (Nickel and Kiela, 2017, 2018) for embedding in a Hyperbolic space. Furthermore, Kim et al. (2019) proposed a weighted IPS for approximating general similarities. Therefore, GE equipped with these similarities can be regarded as a theoretically guaranteed and highly expressive link regression.
Along with the development of highly expressive GEs, replacing loss functions for learning GE has shown progress. Whereas many GEs minimize logistic loss (Tang et al., 2015) or the Kullback–Leibler (KL) divergence (Okuno et al., 2018) between the observed link weights and those predicted from data vectors, Okuno and Shimodaira (2019) recently proposed -GE that instead minimizes -divergence (Basu et al., 1998), which reduces to KL divergence when . In addition to the robustness of -GE against noisy link weights, Okuno and Shimodaira (2019) proved that -GE exhibited the following two desirable properties: (P-1) statistical consistency, that is, it asymptotically recovers the underlying true conditional expectation of link weights given data vectors, and (P-2) computational tractability, that is, it can be computed efficiently by stochastic algorithms using a minibatch sampling for relational data.
Although the existing GEs above achieved success from both theoretical and application perspectives, several challenges still remain.
The first challenge is that the existing GEs are limited to considering the link weight defined between only two nodes, despite the fact that link weights can be similarly defined for a set of three or more nodes. We call the weight defined for three or more nodes as hyperlink weight. A hyperlink weight appears in many practical situations; in a friend network, the existence of a group to which all the selected people belong should be expressed as a binary hyperlink weight. Similarly, the number of co-authored papers written by all the selected people in a co-authorship network should be represented as hyperlink weights assuming values in non-negative integers. The existing link regression, including metric learning and GE, cannot address such complicated hyperlink weights.
The second challenge is that, it is unclear whether the properties (P-1) and (P-2) above only hold for the -divergence function class, or if they hold for some larger function classes. Because only the -GE is theoretically proven to exhibit such favorable properties, the present circumstance may limit the choice of loss function and may result in a missed opportunity to improve the GE’s performance.
For simultaneously solving these two challenges, we propose the Bregman hyperlink regression (BHLR) by (i) extending link regression to hyperlink regression (HLR) such that it predicts the hyperlink weight defined for a collection of vectors called -tuple, and (ii) employing the Bregman divergence (BD) that includes many loss functions such as logistic loss, KL divergence, and -divergence as special cases. BHLR is a general framework for hyper-relational learning, that encompasses various existing methods; BHLR is in general demonstrated to possess the two desirable properties (P-1) statistical consistency and (P-2) computational tractability.
1.1 Contribution
The contribution of this study is summarized as follows.
In Section 3.4, we propose BHLR, that is a simple and general framework for hyper-relational learning. BHLR predicts hyperlink weight from the corresponding tuple of data vectors through a user-specified symmetric similarity function ; highly expressive nonlinear functions, e.g., neural networks, can be employed for the similarity function. 2. 2.
In Section 4, we demonstrate that BHLR encompasses various existing methods, such as logistic regression (), Poisson regression (), and link prediction (). Furthermore, BHLR also includes methods for representation learning, such as graph embedding (), matrix factorization (), tensor factorization (), and their variants equipped with arbitrary BD; obtained feature vectors through the representation learning methods can be used for a variety of downstream tasks (e.g., clustering and visualization) besides just predicting hyperlink weights. 3. 3.
In Section 5, we generally prove the following properties (P-1) and (P-2) for BHLR equipped with arbitrary BD and :
- (P-1)
Statistical consistency. Some tuples in hyper-relational learning may share some data vectors therein. For instance, two different tuples share two data vectors . This interesting data structure results in the difference between underlying theories for BHLR and classical regression; Proposition 1 proves that the convergence rate of the loss function used in BHLR is even if tuples are leveraged; the convergence rate is similar to -statistic, and is different from the rate of classical regression using i.i.d. data vectors. Also, Theorem 1 generally proves that the similarity estimated via BHLR asymptotically recovers the underlying true conditional expectation of the tuple’s hyperlink weight , i.e., as the number of data vectors goes to infinity. Theorem 1 assumes that the similarity function is correctly specified, i.e., such that , but it is free from specifying the probability distribution of . 2. (P-2)
Computationally tractability. Due to the non-negligible significant computational complexity for dealing with hyperlink weights appeared in hyper-relational learning, we employ stochastic optimization algorithms using a novel generalized mini-batch sampling procedure for hyper-relations. The proposed procedure is a hyper-relational extension () of negative-sampling (Mikolov et al., 2013), that is often used for graph embedding . Our numerical experiments empirically demonstrate that BHLR is efficiently computed by the stochastic optimization, and our Theorem 2 also provides a theoretical guarantee for the entire optimization procedure, in the sense that the full-batch gradient of a loss function, evaluated at each step in the stochastic optimization using mini-batch, approaches in probability as the number of iterations goes to infinity.
Consequently, BHLR including several existing methods, that have been examined experimentally, is theoretically justified in a unified manner. 4. 4.
In Section 6, we perform BHLR on real-world datasets.
1.2 Organization
The remainder of this paper is organized as follows. In Section 2, we first introduce the Bregman divergence. In Section 3, we formally formulate the hyperlink regression and propose the BHLR. In Section 4, we explain the BHLR family members and related works. In Section 5, we show the two favorable properties (P-1) statistical consistency and (P-2) computational tractability for BHLR. In Section 6, we describe the numerical experiments conducted for performing BHLR. In Section 7, we present our conclusions and future works.
2 Bregman Divergence
In this section, we introduce Bregman divergence (BD) for formulating the Bregman hyperlink regression later in Section 3.
Here, we consider an index set , which is specifically defined as the set of tuple indices in our problem setting explained in Section 3.1. With a continuously differentiable and strictly convex generating function whose domain is a set , the BD (Bregman, 1967; Censor et al., 1997) between and is defined by
[TABLE]
where indicates the difference between and the first-order Taylor approximation of around as
[TABLE]
Because is strictly convex, is always non-negative, and attains the minimum value [math] at for any fixed . Similarly, , and the equality holds if and only if (basic property 2 in (Cichocki et al., 2009) p.101). Thus, for any fixed , minimizing with respect to is expected to cause to be closer to . In our proposed BHLR, are specifically defined as observed hyperlink weights and their predicted weights, respectively, as explained in Section 3.4; the predicted weights are expected to be closer to the observed weights, due to the BD’s property.
Some of the BD family members such as the KL divergence are originally defined for measuring the difference between two probability distributions. That is, they assume that satisfy (1) , and (2) . However, assumptions (1) and (2) are in fact not required for the BD to hold the favorable property above. Thus, we do not assume (1) and (2) hereinafter, similarly to some existing studies (Cichocki et al., 2009; Banerjee et al., 2005; Sra and Dhillon, 2006).
The BD includes a variety of loss functions such as the KL divergence, -divergence, quadratic loss, and logistic loss, as shown in Table 1.
By removing the strict convexity assumption on and additionally assuming , the BD includes margin-based loss functions. For instance, results in the misclassification loss , where represents the indicator function; other examples can be found in Zhang et al. (2009) Section 6.2.
3 Bregman Hyperlink Regression (BHLR)
In this section, we first describe the problem setting in Section 3.1; subsequently, we formally define the conditional distribution of hyperlink weights in Section 3.2. We compare two different approaches to HLR in Section 3.3, and propose BHLR in Section 3.4. In Section 3.5, we demonstrate that the BHLR can be interpreted as a maximum likelihood estimation using some exponential family model.
3.1 Problem Setting
For fixed and non-empty sets , our dataset comprises -dimensional data vectors and symmetric hyperlink weights , where is an index in a set , and represents the set . Formal descriptions for tuple of data vectors, hyperlink weights and the index set are provided in the following.
- •
-tuple is an array of vectors, where are -dimensional vectors. For an index , a collection of data vectors constitute -tuple indexed by . Although the order of the vectors is provided, it is in effect ignored in the proposed method, by considering only the symmetric function for the tuple. Note that two different tuples may share same data vectors. For instance, and share two data vectors ; we use the multiple index for dealing with the duplicate data vectors that appear in several different tuples.
- •
Hyperlink weight represents the strength of association defined for the -tuple . Hyperlink is also called hyperedge in hypergraph theory, and is assumed to be symmetric with respect to permutation of the entries in the index . Although we practically consider non-negative hyperlink weights in many cases, i.e., such that the weight taking value [math] represents no association among the tuple, is not restricted to be non-negative; can be arbitrary specified depending on the setting.
- •
Index set is typically defined as , or such that any tuple do not contain any duplicate vectors in itself, though different tuples may share some data vectors. A particular set is employed later in Section 5.1, for showing asymptotic properties of the proposed method. Although the examples of mentioned above basically cover all the combinations of indices under some constraints, we can think of even a subset of them for in order to allow the practical situation that a limited number of hyperlink weights are actually observed.
Such hyperlink weights defined for -tuples appear in many practical situations. Two different types of hyperlink weights for are shown in the following Examples 1 and 2. They are also referred to as a hypernetwork (Jeffrey, 2013).
Example 1** (Friend network).**
Data vector represents the property of person , e.g., age, gender, education, etc., and the hyperlink weight represents the number of social groups to which all the people indexed by belong.
Example 2** (Co-authorship network).**
Data vector represents the attributes of researcher such as number of publications in each journal, and the hyperlink weight represents the number of co-authored papers written by all the researchers indexed by .
Here, we consider a user-specified parametric model of similarity function with parameter vector . For -tuple , we consider a random variable with conditional expectation . and are linked by a conditional probability mass (or density) function , as will be formally described in the following Section 3.2. Then, learning the similarity function so that
[TABLE]
is called hyperlink regression (HLR); this is analogous to the ordinary regression analysis, where and correspond to the response and explanatory variables, respectively. For illustrating the HLR, two simple instances are provided in the following Examples 3 and 4.
Example 3** (Linear regression).**
As will be explained in Section 4.1, linear regression (LR) is the simplest case of HLR (); “LS reg.” in Table 2. Given data vectors and the corresponding response variables , LR considers a probabilistic model , where represents the inner product and is an underlying true parameter. Assuming that , the conditional expectation is ; linear regression aims at learning the function , so that it satisfies for all .
Example 4** (Graph embedding).**
As will be explained in Section 4.2, graph embedding is a special case of HLR (). Let be data vectors, and be the corresponding weights, where represents the strength of association between a pair of two vectors . We consider that are nodes of a graph, and represents the adjacency matrix of the graph. In addition to the conditional expectation , we may also specify a conditional distribution of given ; typically, Bernoulli distribution is considered for binary . Furthermore, we assume that the data vectors are i.i.d. generated from a pdf the link weights and data vectors follow a joint distribution
[TABLE]
The remaining link weights are specified by for and . See Figure 1 for the generative model (2); it is straightforwardly generalized to arbitrary and arbitrary , in the following Section 3.2. For fully describing the generative model, we also define a similarity function , where represents the sigmoid function, and is an user-specified parametric function such as neural networks. Then, graph embedding learns the function so that the similarity function satisfies for any . A better feature vector can be obtained by applying a trained to the data vector , which is often used for several tasks including “link prediction” by looking at the value of , , for a newly obtained vector .
Given our dataset consists of data vectors and hyperlink weights , the parameter vector is optimized by minimizing an empirical loss function so that
[TABLE]
hold. This paper aims at providing a general framework for HLR, named BHLR, such that it encompasses a variety of existing methods. This paper also intends to provide theoretical guarantees for general BHLR; several existing methods, that have been examined experimentally, are also theoretically justified in a unified manner.
3.2 Probability Distributions of Hyperlink Weights and Tuples
In order to obtain the conditional expectation , we first formally define the conditional distribution of hyperlink weights given data vectors by straightforwardly generalizing the probabilistic model for shown in Example 4 and Figure 1.
Here, we explain why the extra attention is required for defining the conditional distribution of hyperlink weights given data vectors. For any obtained by permutating the elements of , tuples consist of the same vectors , and it holds that since the hyperlink weights are assumed to be symmetric. In the case of , this symmetry coincides with considering undirected links; link weights should satisfy for all and , implying the constraints on the distributions for and .
For specifying the distribution appropriately, we employ a simple idea. We first specify the conditional probability density function (cpdf) or conditional probability mass function (cpmf) only for whose index is in non-decreasing order . Then, the cpdf or cpmf of whose index is in reverse order, can be defined as that of , since the weights satisfy the symmetry and both tuples consist of the same vectors . This idea of symmetry is readily generalized to ; we specify the cpdf or cpmf of only for non-decreasing order index such that , and consider a mapping such that is obtained by sorting the elements of in non-decreasing order. Then cpdf or cpmf of is defined as
[TABLE]
Therefore, we have well-defined conditional distribution for hyperlink weights. Then, the cpdf (or cpmf) of all the hyperlink weights given data vectors is
[TABLE]
meaning that hyperlink weight is conditionally independently generated by following the probabilistic model (4). When considering the case that , represents the cpmf of Bernoulli distribution whose expectation is , and is a pair of latent variables, the probabilistic model (4) is also known as latent position random graph (LPRG) model with kernel . LPRG model is considered in Tang et al. (2013) and Athreya et al. (2018) Definition 6, and it is originated from the random dot product graph model (Young and Scheinerman, 2007), that corresponds to a case for . Our probabilistic model (4) generalizes the LPRG model to arbitrary probability distribution with arbitrary , though the previous studies focus on the spectral analyses on the matrix of Bernoulli link weights with , and they assume that are latent variables.
Hereinafter, we note the probability distribution of the tuple . We will simply assume that the data vectors are i.i.d. randomly generated from a distribution in Section 5 for showing statistical consistency of BHLR. Then, the joint distribution over all the hyperlink weights and data vectors is specified as . Note that the marginal distribution for does not depend on the index , thus are identically distributed. However, even if data vectors are i.i.d. generated, two different can be dependent, as their tuples may share same data vectors in common. For instance, and share two data vectors and . Therefore, are NOT independently distributed. This property for makes our setting interesting and needs a special care in the asymptotic theory. In this regard, theories for HLR, that predicts hyperlink weights from the constrained tuples, can be different from those of classical regression, that typically predicts response variables from i.i.d. data vectors. We consider such constrained tuples, and the statistical consistency for BHLR is proved later in Section 5.
3.3 Two Different Approaches to HLR
In this section, we show two different approaches to HLR with , and explain why we employ the second approach. Although the case of is illustrated here, it can be easily generalized to arbitrary .
Considering a weight taking a value in the set and a data vector , HLR predicts the weight through the function . However, there are two different approaches to this problem. The first approach is based on matching conditional probability mass function (pmf) shown in Fig. 2 (a) and the parametric generative model whose expectation is . Although this approach naturally extends the maximum likelihood regression, there remain several challenges explained below. For solving these challenges, we also consider the second approach, that instead matches only the conditional expectation function shown in Fig. 2 (b) and the model . Consequently, we employ and generalize the second approach, and propose Bregman-HLR (BHLR) in Section 3.4.
Hereinafter, we describe the details of the two approaches to HLR.
The first approach is, matching the underlying conditional pmf and the parametric generative model . Let and for , . They are put together as vectors , so that each of vectors represents the distribution of . Then, we may estimate by minimizing
[TABLE]
where is a user-specified generating function. However, the underlying conditional distributions used in (5) cannot be observed in practice; we instead consider the empirical conditional distribution whose -th entry is and [math] otherwise, for . Considering ,
[TABLE]
holds; minimizing (5) equipped with the empirical distributions is equivalent to minimizing
[TABLE]
(6) appears in some existing studies, such as Ghosh et al. (2013) for -divergence in Table 1. However, as Okuno and Shimodaira (2019) Section 3.2 pointed out in a special case of HLR, the term () in eq. (6) is computationally intractable due to the infinite summation ; there remain a computational challenge in this approach. The fininite summation similarly appears in eq. (4) of Kawashima and Fujisawa (2019), and they compute the term by the finite-sum approximation instead. Note that, the term () reduces to if the generating function is specified as ; the computational issue does not occur if KL-divergence is considered.
For solving the computational challenge, we also consider the second approach. This second approach simply matches the underlying expectation function and the parametric model without assuming any specific probability distribution for ; we may obtain the estimator of by minimizing
[TABLE]
where is a user-specified generating function whose domain includes the set . However, the underlying expectation function cannot be observed in practice; we instead minimize
[TABLE]
that approximates (7) in the sense that the underlying true conditional expectation is replaced with the observation . is a constant independent of the parameter . (8) reduces to Zhang et al. (2009) eq. (20), if the model is specified as for some non-linear function , whereas arbitrary similarity function is considered in this study.
The second approach bypasses the computational challenge of the first approach, since (8) does not include any infinite summatation; we consequently employ the second approach, and generalize it from to as shown in the next section.
3.4 Proposed BHLR
We here consider HLR with arbitrary , for predicting the hyperlink weights taking values in a set via a user-specified symmetric similarity function . By generalizing the loss function (8) from to , we propose to minimize a simple loss function
[TABLE]
where is a user-specified generating function whose domain includes the set , and is a constant independent of the parameter . Subsequently, the estimator is defined as
[TABLE]
Once the estimator is obtained, we may predict by the estimated similarity function . We formally define predicting by the function as the BHLR.
Since the hyperlink weights are symmetry, we assume that the function also satisfies the symmetry
[TABLE]
for any obtained by permutating the elements of . This symmetry should hold for all and ; the similarity function in effect ignores the order of the vectors, as long as (9) is assumed. An example of such a symmetric similarity function is
[TABLE]
where is a function parametrized by , e.g., vector-valued neural networks, is a link function, e.g., exponential function for and sigmoid function for , and . The above function (12) is employed for our numerical experiments later in Section 6, and it reduces to tensor decomposition explained in Section 4.3 if , , and is -hot vector.
The BHLR reduces to several existing methods, such as logistic regression (), Poisson regression (), and link prediction (), by specifying and . Furthermore, BHLR also reduces to several methods for representation learning, such as graph embedding (), matrix factorization (), tensor factorization (), and their variants equipped with arbitrary BD. We describe the relation between the BHLR and these existing methods in Section 4.
In addition to the rich examples for the BHLR family, the BHLR possesses the following two favorable properties: (P-1) statistical consistency, and (P-2) computational tractability. We further explain these properties (P-1) and (P-2) in Section 5.1 and Section 5.2, respectively, along with the proposal of a novel and generalized minibatch sampling procedure for hyper-relational data that can be used for efficient stochastic algorithms.
3.5 BHLR is Equivalent to MLE through Corresponding Exponential Family Model
In this section, we demonstrate that BHLR is interpreted as the maximum-likelihood estimation with a corresponding exponential family model. In other words, specifying a generating function for BD implicitly specifies a cpdf or cpmf for of the form
[TABLE]
with , where , and is specified such that (cpdf) or (cpmf) holds. This is easily understood as explained below. Starting from (9), a simple calculation leads to
[TABLE]
where is a constant independent of the parameter . The normalizing function is explicitly specified as (cpdf) or (cpmf). Therefore minimizing in BHLR is formally equivalent to maximizing the likelihood function of the exponential family model .
When , we associate the BHLR with the MLE of the generalized linear model (GLM) (Bishop, 2006). They are almost the same but do not exhibit inclusion in the following sense: (i) The GLM restricts in (13) to be an identity function, and the function is in the form of for some function , whereas the BHLR is free from these constraints. (ii) Meanwhile, function in (13) is constrained by the generating function , whereas this does not apply to GLM.
4 BHLR Family Members and Related Works
In this section, we describe the BHLR family members by specifying and the generating function in Section 4.1–4.3 and Table 2. Other related works are explained in Section 4.4.
Before explaining the BHLR family members, we first explicitly derive the corresponding loss functions associated with some generating functions and , that are listed in Table 1. Subsequently, for an arbitrary , we have
[TABLE]
respectively, where
[TABLE]
are constants independent of the parameter . By utilizing these loss functions (14)–(17), and sets
[TABLE]
various existing methods can be regarded as the BHLR family members, as shown in the following Table 2. A detailed explanation of the BHLR family members are provided in Section 4.1 for , Section 4.2 for , and Section 4.3 for . Other related works are explained in Section 4.4.
4.1
- •
Least-squares (LS) regression (Bishop, 2006) minimizes using the normal probability density function for learning . LS regression is equivalent to minimizing , and similarly, logistic regression (Bishop, 2006) and Poisson regression (Cameron and Trivedi, 2007) minimize and , respectively. The regression function used in the regression methods above can be specified arbitrarily. Whereas linear transformation is typically used (Zhang et al., 2010), NNs are incorporated currently for enhancing the expressive power of the regression function.
- •
Parametric Bregman-divergence regression (PBDR) (Zhang et al., 2009) generalizes Poisson regression, logistic regression and least squares (LS) regression; it is equivalent to the BHLR equipped with arbitrary generating functions and functions in the form of for some function . The PBDR is a special case of the BHLR. However, PBDR considers only the limited form of functions , whereas BHLR can employ arbitrary function including neural networks.
4.2
- •
Matrix factorization (MF) (Koren et al., 2009) decomposes a given matrix into matrices , by minimizing the BD between entries of and those of . Subsequently, we can expect that .
Here, we briefly explain that the BHLR includes MF as a special case, by considering link weights
[TABLE]
and ()-dimensional -hot data vectors .
Using the parameter and an index set , it holds that
[TABLE]
where and represent elements of the matrices and respectively. Thus, MF minimizing the objective on the left-hand side is equivalent to the BHLR minimizing the objective on the right-hand side. Although MF employs the quadratic loss in many cases, MF is in fact defined with an arbitrary BD (Cichocki et al., 2009).
MF () can be generalized to , where the generalization is called tensor factorization (TF). We describe TF in the following section, and its relation to the BHLR is described in detail in B.
Finally, MF is called a non-negative MF (NMF) (Cichocki et al., 2009) if the entries of the decomposed matrices are restricted to be non-negative.
- •
Graph embedding (GE) (Tang et al., 2015; Okuno et al., 2018; Nickel and Kiela, 2017; Okuno and Shimodaira, 2019) is a method for representation learning, that trains the transformation with a user-specified dimension , such that the link weight is predicted through . is a symmetric function, and is a parameter vector to be estimated by minimizing with sigmoid function in large-scale information network embedding (LINE) (Tang et al., 2015), and with in -view version of probabilistic multi-view graph embedding (Okuno et al., 2018), which we denote as KL-GE herein.
While these GEs achieved outstanding success, the observed link weights may contain noise in practice that may degrade the GE’s performance; -GE (Okuno and Shimodaira, 2019) minimizes associated with -divergence for learning the similarity function robustly from noisy link weights.
The GEs above are special cases of the BHLR. Once the estimator for GE is obtained, we may compute feature vectors , . Applying further statistical analysis methods such as visualization, clustering, and discriminant analysis to the obtained feature vectors has demonstrated empirically better performance than using the original data vectors .
Many GEs employ the IPS model equipped with a vector-valued NN in their similarity function . In terms of its expressive power, Okuno et al. (2018) proved that the IPS approximates any PD similarity arbitrarily well. However, non-PD similarities are not expressed by the IPS model, and thus some other similarity models are drawing attention. For instance, Nickel and Kiela (2017, 2018) employ negative Poincaré distance that can efficiently embed tree-structured graphs. Furthermore, shifted IPS (SIPS) (Okuno et al., 2019) is proposed for GE by introducing the bias terms using a NN , and it has been proven to approximate a wider class called conditionally PD similarities that include PD similarities and various non-PD similarities, such as negative Poincaré distance. Recently Kim et al. (2019) proposed the weighted inner product similarity (WIPS) for approximating general similarities including PD and conditionally PD similarities as special cases.
- •
Stochastic block model (SBM) (Holland et al., 1983) considers a graph for which each node is associated with the cluster index . The SBM learns , representing probabilities that a link exists between two nodes belonging to the same cluster and different clusters, respectively. As the probability is expressed as and the parameter is learned by minimizing , the SBM is a special case of the BHLR.
4.3
- •
PARAFAC (Cichocki et al., 2009; Cong et al., 2015), that is also called TF, CP-decomposition, and CANDECOMP, decomposes a given tensor into matrices , by minimizing the BD between entries of and whose -th entry is specified as . Subsequently, we can expect that . TF generalizes the MF () explained in Section 4.2 because . Similar to MF, TF is a special case of the BHLR. See B for details.
- •
PARAFAC is called a non-negative tensor factorization (NTF) (Cichocki et al., 2009; Kolda and Bader, 2009) or non-negative PARAFAC, if the entries of the decomposed matrices are restricted to be non-negative. Although this PARAFAC-based NTF can be applied to general (Kolda and Bader, 2009), many different types of NTFs have been developed especially for ; by referring to Cichocki et al. (2009) p.54 Table 1.2, NTF1, NTF2 (Cichocki and Zdunek, 2006), and shifted NTF (Harshman et al., 2003) decompose a given tensor into matrices and a tensor, and convolutive NTF (CNTF) and C2NTF (Mørup and Schmidt, 2006) decompose the tensor into a matrix and tensors.
4.4 Other Related Works
In this section, some other related works are listed. Please also see A for the remaining related works.
- For , the MLE of a generalized linear model (Bishop, 2006) and the BHLR are almost the same; however, they do not exhibit inclusion, as explained in Section 3.5.
- For , Locality preserving projections (LPP) (He and Niyogi, 2004) computes a low-dimensional linearly transformed feature vectors by considering link weights . Cross-Domain Matching Correlation Analysis (CDMCA) (Shimodaira, 2016) is a multiview extension of LPP. Considering that (i) LPP can be regarded as -view CDMCA and (ii) CDMCA is a quadratic approximation of multiview KL–GE equipped with linear transformations, as shown in Okuno et al. (2018) section 3.6, LPP is a quadratic approximations of KL–GE that is included in the BHLR. LPP reduces to spectral graph embedding (Chung, 1997) if the data vectors are -hot.
- For , Hypergraph Incidence Matrix Factorization (HIMFAC) (Nori et al., 2012) computes the linear transformation of given data vectors by considering the observed hyperlinks defined for -tuples. HIMFAC consists of the following two steps: (i) for , HIMFAC first counts the number of hyperlinks that both data vectors belong; (ii) by regarding as a new adjacency matrix of data vectors, HIMFAC computes the LPP (He and Niyogi, 2004) if the link weight is defined among a single type of data, and CDMCA (Shimodaira, 2016) for multiple types of data (e.g., text, images, etc.). Similarly to LPP explained above , HIMFAC can be regarded as a quadratic approximation of BHLR , though the hyperlink weights are converted into link weights through the preprocessing step (i).
5 BHLR Properties
In this section, we show two favorable properties of BHLR. The first property (P-1) statistical consistency: the BHLR asymptotically recovers the true conditional expectation of link weights, is explained in Section 5.1. Additionally, we explain the second property (P-2) computational tractability: the BHLR can be efficiently computed by stochastic algorithms in Section 5.2.
5.1 BHLR Asymptotically Recovers True Conditional Expectations
In this section, we demonstrate via Theorem 1 that the similarity function estimated by the BHLR asymptotically recovers the true conditional expectation . For proving the asymptotic properties of BHLR in Proposition 1 and Theorem 1, only in this section, we specify the increasing order index set as
[TABLE]
such that it includes all the possible combinations of different entries , whereas no two distinct indices are obtained from each other by permutation. Then, hyperlink weights are free from the symmetry constraints described in Section 3.1; the underlying conditional distribution of can be defined without the constraints, thus making the theoretical development easier.
In the following, we list conditions (C-1)–(C-5) needed for theoretical development. represents a random variable that follows a cpdf (or cpmf) of , for .
- (C-1)
is compact. 2. (C-2)
Real-valued functions and are continuous on and , respectively. Especially, the function is Lipschitz continuous on for each . 3. (C-3)
Hyperlink weights follow a distribution whose cpdf (or cpmf) are specified as , and data vectors i.i.d. follow a pdf , where the support of is compact. 4. (C-4)
and for all . 5. (C-5)
is and strongly convex.
It is noteworthy that all the functions listed in Table 1 satisfy the condition (C-5); all the conditions (C-1)–(C-5) are not difficult to satisfy in practice. Using these conditions, we demonstrate in the following Proposition 1 that empirically approximates the expected value of up to a constant.
Proposition 1**.**
Let , defined in eq. (22) and suppose that (C-1)–(C-5) hold. Let represent the expectation with respect to the density of the -tuple ; more specifically, i.i.d. follow a pdf . Then, for , it holds that
[TABLE]
for each , where is a constant independent of the parameter .
Proof is obtained by applying the law of large numbers for multiple indexed partially dependent random variables. See C.2 for details.
As explained in Section 3.2, different tuples may be constrained as they may share some data vectors, even if data vectors are i.i.d. generated; theories for HLR can be different from those of classical regression, that predicts response variables from i.i.d. explanatory variables. Due to the constraint, the convergence rate of the loss function for BHLR is whereas the estimation leverages samples. The convergence rate is similar to -statistic (Lee, 1990), and is different from the rate for classical regression using i.i.d. data vectors. In addition, Proposition 1 with -div. listed in Table 1 and corresponds to a special case of Theorem 3.1 in Okuno and Shimodaira (2019) that indicates the convergence of the GE’s loss function using -divergence.
Proposition 1 leads to the following Theorem 1, which claims that the estimated model converges to in probability, by considering that with fixed is minimized if .
Theorem 1**.**
The symbols and conditions are the same as those of Proposition 1 except for the additional condition: there exists such that . Using a norm defined for functions , it holds that
[TABLE]
where is the estimator (10) computed with data vectors and their hyperlink weights .
Proof is provided in C.3. As indicated in Theorem 1 above, the estimated similarity function asymptotically recovers the underlying expectation function in probability, regardless of the choice of . Thus, the BHLR is statistically consistent.
Interestingly, Theorem 1 does not rely on the underlying conditional distribution of hyperlink weights; BHLR is also robust against the distributional misspecification for the weights, as long as the set of user-specified similarity functions includes the conditional expectation therein.
Note that a similar property is already known for exponential linear regression models (e.g., Poisson regression model), that correspond to BHLR with . See Cameron and Trivedi (2013) Section 2.4.2 and 3.2.3 for details.
5.2 BHLR can be Efficiently Computed by Stochastic Algorithm
In this section, we discuss the optimization for the BHLR. We first consider applying the classical fullbatch gradient descent (GD), i.e., GD using all data for computing gradients to obtain the estimator (10). Subsequently, we demonstrate that the fullbatch-based methods require considerable computational cost when considering . For reducing the computational complexity, we introduce an efficient algorithm based on minibatch stochastic GD (SGD), i.e., GD using a sampled small dataset for computing gradients. Furthermore, we prove the asymptotics of the minibatch SGD, and demonstrate that it increases the ROC–AUC test score in our numerical experiments.
For notational simplicity, , generating function , index set , hyperlink weights , and data vectors are fixed in this section. It is noteworthy that the index set can be arbitrary specified hereinafter, whereas the set was restricted to have a specific form in the previous Section 5.1 for making the theory easier. For example, both and can be included in while only was included in .
We begin by obtaining the estimator (10) by applying the fullbatch GD with iterations started from a randomly initialized vector :
[TABLE]
where are step sizes, is the gradient function, and is the projection to the parameter space. This projection is required for ensuring that the estimator is included in the parameter space ; the projection can be ignored if . The gradient function is expressed as
[TABLE]
where is a set of indices whose corresponding weights are non-zero. After the iterations, converges to the estimator (10) as under some assumptions (Dunn, 1981). However, computing the gradient (25) requires considerable computational cost ; the significant computational complexity is non-negligible especially for .
For efficiently computing the estimator (10), we alternatively employ minibatch SGD (Ruder, 2016) that iteratively updates the parameter as
[TABLE]
where is a stochastic gradient as will be defined in (30) using the sampled small dataset called minibatch.
Although minibatch sampling can be easily formulated in the case of , several different sampling patterns may occur when . For instance, when , the negative-sampling used in skip-gram (Mikolov et al., 2013) first randomly fixes the first entry in the index and subsequently samples a minibatch as shown in Figure 3, whereas the minibatch SGD used in Okuno et al. (2018) and Okuno and Shimodaira (2019) samples a minibatch without fixing any entries in the index. Thus, we unify both of these existing methods in this study, and propose a general procedure for sampling a minibatch that can be used for both and . The proposed general procedure is explained in the following and Algorithm 1.
In the proposed procedure, that generalizes negative sampling () used in skip-gram (Mikolov et al., 2013), we first specify , that represents the number of entries in the index to be fixed. indicates that no entry is fixed; we herein consider . For fixing the entries, we specify in a set
[TABLE]
Then, the proposed procedure is summarized in Algorithm 1 using a set of whose -th entry is fixed as , that is
[TABLE]
and a set
[TABLE]
that decomposes the index set as without any overlap. represents the probability to choose from the set ; we employ later in Theorem 2, whereas it can be arbitrarily specified by users in practice. The proposed minibatch sampling for hyper-relations is also illustrated in Example 5.
Example 5** (Minibatch sampling for hyper-relations).**
We consider , and is herein randomly selected. We define a set of indices whose -th entry is fixed as , i.e.,
[TABLE]
and a set of indices whose corresponding hyperlink weights are non-zero, i.e., ; they are sets of candidate indices to be resampled. We uniformly and randomly choose indices from sets , and denote the sets as ; they are used for computing the gradient (30) and update the parameter by (26).
It is noteworthy that the sampling procedure in Algorithm 1 can efficiently pick up non-zero weights even if most of the weights are zero. Similarly to Mikolov et al. (2013) and Okuno and Shimodaira (2019), the gradient at the iteration can be stochastically approximated by
[TABLE]
where the minibatch is obtained via Algorithm 1 and is a user-specified parameter. The coefficient is needed for adjusting the first term in the stochastic gradient (30), since only the fixed size of minibatch is sampled from the set whose size may depend on the selected . Similarly, is needed for adjusting the second term. Although these coefficients are required for theoretical development, they may be ignored in practice as explained later.
The computational complexity for the stochastic gradient (30) is , and it can be significantly less than the complexity of the fullbatch gradient (25), at least for each iteration. Moreover, the minibatch SGD (26) using (30) reaches approximately the optimal value within a reasonable number of iterations, as will be empirically demonstrated at the last of this section; BHLR can be efficiently computed by the minibatch SGD.
The minibatch SGD equipped with Algorithm 1 and (30), can be applied to general and whereas it encompasses several existing methods; in our context, it reduces to the minibatch SGD using the negative sampling for skip-gram (Mikolov et al., 2013) if , and it also reduces to Okuno et al. (2018) and Okuno and Shimodaira (2019) if , respectively, where their sampling procedures are called “negative sampling: unigram” and “uniform link sampling” in Veitch et al. (2019). Other major stochastic algorithms such as AdaGrad (Duchi et al., 2011) and Adam (Kingma and Ba, 2014) can be employed as well, once the minibatch-based stochastic gradient (30) is formally defined with Algorithm 1.
Hereinafter, we discuss the asymptotics of the minibatch SGD when the number of iterations is sufficiently large, by employing Ghadimi and Lan (2013) Theorem 2.1 (a).
Whereas the standard stochastic optimization algorithms preliminary determine the number of iterations , for theoretical purposes, Ghadimi and Lan (2013) randomly choose the number of iterations from the set with the probability , and update the parameter within iterations. In this setting, the expectation of the stochastic gradient is proved to approach as ; considering the Bregman divergence between the hyperlink weights multiplied by a user-specified constant and the similarities , i.e.,
[TABLE]
we apply Ghadimi and Lan (2013) to our setting, and show in the following Theorem 2 that the gradient of approaches to as increases.
For applying Ghadimi and Lan (2013), we further assume following conditions (D-1)–(D-3):
- (D-1)
Differentiability of : the loss function defined in eq. (31) is differentiable with respect to . 2. (D-2)
Lipschitz continuity for the gradient of : using the coefficient , the gradient is -Lipschitz continuous for some , i.e., . 3. (D-3)
Bounded variance for the stochastic gradient: variance of the minibatch-based stochastic gradient is uniformly bounded with respect to resampling the minibatch, i.e., .
Symbols represent the expectation and the variance-covariance matrix with respect to resampling the minibatch , and takes expectation with respect to selecting . represents the trace of the matrix , i.e., .
(D-1)–(D-3) are assumed in Ghadimi and Lan (2013), and they are not unusually strong assumptions in our setting; when assuming (C-1) compactness of the parameter set , using any generating function listed in Table 1 and the similarity function (12) equipped with vector-valued neural networks activated by sigmoid function, satisfies the assumptions (D-1)–(D-2). Then, (D-3) also holds since the stochastic gradient is on the compact set and the minibatch is a realization of random variable taking value in a finite set.
Theorem 2**.**
Let , and is a sequence of the minibatch SGD (26), and the conditions (D-1)–(D-3) are assumed. If , let be a vector in the set , and for all . By specifying with , and choosing the number of iterations with the probability , it holds that
[TABLE]
See C.4 for the proof.
Theorem 2 indicates that the gradient \frac{\partial}{\partial\boldsymbol{\theta}}Q_{\eta}(\tilde{\boldsymbol{\theta}}^{(\tau)})=\frac{\partial}{\partial\boldsymbol{\theta}}D_{\varphi}(\{\eta w_{\boldsymbol{i}}\}_{\boldsymbol{i}\in\mathcal{I}_{n}^{(U)}},\{\mu_{\boldsymbol{\theta}}(\boldsymbol{X}_{\boldsymbol{i}})\}_{\boldsymbol{i}\in\mathcal{I}_{n}^{(U)}})\bigg{|}_{\boldsymbol{\theta}=\tilde{\boldsymbol{\theta}}^{(\tau)}} approaches as . Considering for any fixed constant , indicating that large tends to be selected when is sufficiently large, the estimator computed through the iterative update (26) approaches a set of stationary points of the function as increases. Although the estimator can be trapped in local minimizers or saddle points during the iterative update, gradient descent using randomly perturbed gradients is proved to escape saddle points efficiently (Jin et al., 2017). The similar is expected for minibatch SGD; the estimator may approach a good minimizer efficiently, depending on the situation. When the estimator approaches a global minimizer, under some assumptions, we can expect that
[TABLE]
for some sufficiently large , by considering Theorem 1 with . Although specifying appears better in terms of exactly recovering the underlying true similarity function , it is not necessarily so in practice; only the ratio is required to infer which of the tuples exhibits a stronger relation. Thus can be arbitrarily specified by users. In practice, we may set in (30), which is justified if the ratio is constant; this in effect specifies in (32) and being multiplied by in (26).
It is noteworthy that Okuno and Shimodaira (2019) Theorem 3.2 already shows the convergence of the estimator when , by assuming that the loss function is locally strongly convex. However, Theorem 2 admits non-convex loss functions by considering not the convergence of the estimator but that of the gradient . As the objective function is typically unidentifiable when NNs therein, implying that the strong convexity is rarely satisfied, Theorem 2 satisfies the practical situations more than Okuno and Shimodaira (2019) Theorem 3.2. Furthermore, Theorem 2 can be applied to general , whereas only a few theoretical aspects of stochastic algorithms have been investigated even for (Veitch et al., 2019).
Here, we empirically demonstrate that a stochastic optimization algorithm called Adam (Kingma and Ba, 2014) equipped with the proposed minibatch sampling procedure shown in Algorithm 1 appropriately optimizes the similarity function within the reasonable number of iterations, in Figure 4.
6 Experiments
In this section, we describe the numerical experiments that we conducted on real-world datasets. In Section 6.1, we utilized the Boston housing dataset to perform the BHLR with , that corresponds to the Poisson regression. In Section 6.2 and 6.3, we employed the attributed DBLP co-authorship network dataset (Desmier et al., 2012) for performing the BHLR with and , corresponding to link regression and hyperlink regression, respectively.
Hereinafter, we incorporate a regularization with a small constant into the KL divergence, for numerically stabilizing the experimental results.
6.1 Poisson regression ()
- •
Dataset: We employ the Boston housing dataset111http://lib.stat.cmu.edu/datasets/boston (visited on June 13th, 2019) that contains samples, comprising dimensional standardized explanatory variables and non-negative-valued target variables .
- •
Architecture of : 1-hidden-layer multilayer perceptron (see, e.g., Bishop (2006) Chapter 5) with hidden units activated by Rectified Linear Unit (ReLU), i.e., , and unactivated -dimensional output unit, are used for . Using the NN , we define two different functions and , where the former is restricted to positive values whereas the latter is not.
- •
Learning : The NN in the function is trained through the BHLR with using fullbatch gradient descent with the training dataset.
- •
Evaluation: The dataset is randomly duivided into non-overlapping sets for training, validation, and test, whose numbers are , , and , respectively. We first predict the target variables for validation and test datasets, and the mean squared error between the predicted values and the observed values are recorded at each iteration of GD. At the end of the iteration, the test score whose validation score is the best, is recorded as “optimal” test score. We repeat the experiment 100 times, and compute the sample average and the standard error of the optimal test scores, for each setting.
- •
Baselines: We perform Poisson regression using a linear model and a simple linear regression that are already implemented in a Python statsmodels module (Seabold and Perktold, 2010). We also perform Poisson regression using a neural network (Fallah et al., 2009). (Random) We first compute the sample average and the sample standard deviation for the target variables in each of the test datasets. For each, we generate random numbers from a normal distribution whose mean and standard deviation are , respectively, and evaluate the mean-squared error between the target variables in the test dataset and the generated random numbers. We repeat this evaluation 100 times for each of the test datasets, and compute the sample average and standard error.
Results: The experimental results are shown in Table 3. Although the linear methods are much better than the baseline (Random), NN-based methods outperformed the linear methods. Among the NN-based methods, using with , which corresponds to using -divergence, demonstrated better performance than . This result indicates that, the classical loss function for the Poisson regression is not always the best choice for learning the function .
6.2 Link regression ()
- •
Dataset: We utilize a network comprising attributed nodes and positive binary link weights, that aggregates snapshots of the DBLP dynamic co-authorship network dataset (Desmier et al., 2012). In the aggregated network, each binary link weight represents whether the corresponding authors have at least one co-authorship relation in the snapshots; if the authors and have the relation, and [math] otherwise. Each node has dimensional data vectors, representing the number of publications, summed up over the snapshots, in each of the selected 43 journals/conferences.
- •
Similarity function architecture: Vector-valued NN is a -hidden-layer multilayer perceptron with hidden units activated by the ReLU and unactivated output units. Using , we exploit a similarity function , where is a sigmoid function.
- •
Learning similarity functions: NN in the similarity function is trained by Adam optimizer (Kingma and Ba, 2014) using Algorithm 1 for minibatch sampling. For computing the stochastic gradient (30), we utilize , and batch sizes are selected the set . For each of batch sizes , the weight decay is grid searched over .
- •
Evaluation: The set of data vectors is randomly divided into non-overlapping sets for training, validation, and test, whose numbers are . In the test dataset, pairs are sampled from the set for each , and combined with positive pairs ; we compute the ROC-AUC score (Bradley, 1997) using these link weights, and record the scores for each of the iterations. Similarly, we compute the ROC–AUC score for the validation dataset. At the end of the iteration (), we record the test score whose validation score is the best. We repeat this experiment times, and compute the sample average and the standard error for each ; the best validated score amongst all is also computed.
- •
Baselines: We employ LINE (Tang et al., 2015), KL-GE (Okuno et al., 2018), and -GE (Okuno and Shimodaira, 2019) that correspond to the BHLR equipped with , , and , respectively. LPPs (He and Niyogi, 2004) are also conducted for obtaining the linearly transformed feature vectors . Subsequently, similarities for the feature vectors are computed by .
Results: The experimental results are shown in Table 4. Overall, the NN-based methods outperformed the LPPs as the NN is highly expressive whereas the LPP is linear. In addition, NN-based methods demonstrated better performance by increasing the dimension of the feature vectors, unlike the LPPs that imposes a quadratic constraint on the feature vectors . Overall, the exponential divergence and logistic loss demonstrated good performances; particularly, the exponential divergence demonstrated the best performance among the KL divergence, -divergence, logistic loss, dual logistic loss, and exponential divergence employed in this experiment. In terms of selecting and , in this case, using more than one positive minibatch sample is better.
6.3 Hyperlink regression ()
Experimental settings are almost similar to those of . We employ the same dataset used in Section 6.2, and compute synthetic hyperlink weights from their link weights.
- •
Similarity function architecture: using defined in Section 6.2, we exploit a similarity function: , where . Similarity functions are trained and evaluated similarly to those of .
- •
Evaluation: We first divide the set of data vectors into training, validation, and test sets, similarly to . However, these datasets contain only the link weights () but not hyperlink weights (); in each of the datasets, we compute synthetic hyperlink weights in two different ways:
- (a)
if are connected, i.e., a path exists between any of the two in , and otherwise. 2. (b)
if are fully connected, i.e., all of two in are connected, and otherwise.
In the test dataset, tuples are sampled from the set for each , and combine them with positive tuples . Using these tuples, we evaluated the experimental results by ROC-AUC score, similarly to .
- •
Baseline: We employ HIMFAC (Nori et al., 2012) for obtaining the linearly transformed feature vectors . Subsequently, similarities for the feature vectors are computed by (i) and (ii) .
Results: The experimental results are shown in Table 5 for the setting (a) and Table 6 for (b). Overall, the NN-based methods outperformed HIMFAC, since the NN is highly expressive whereas HIMFAC is linear. NN-based methods demonstrated a slight improvement by increasing the dimension of the feature vectors. There is significant difference between the settings (a) and (b) for HIMFAC, unlike NN-based methods. Regarding the setting (a), the logistic loss, exponential divergence and -divergence with demonstrated good performances for . On the other hand, the -divergence with and KL-divergence, whose scores for were not that high, demonstrated good performance for ; experimental results depend on the choice of . HIMFAC with (i) demonstrates a low performance, since their feature vectors are consequently obtained via LPP, that is based on the simple inner product whereas (i) is based on the similarity for triplets . On the other hand, HIMFAC with (ii) demonstrates much higher performance than (i), since HIMFAC is compatible with the simple inner product. In terms of selecting and , in this case, using more than one positive minibatch sample is better. Regarding the setting (b), tendency of the results are almost similar to the setting (a).
7 Conclusion and future works
In this study, we considered hyperlink weight defined for -tuple that is a collection of data vectors . The hyperlink weights are assumed to be symmetric with respect to permutation of the entries in the index. We proposed the BHLR that learns a user-specified symmetric similarity function such that it predicts a tuple’s hyperlink weight through data vectors stored in the corresponding -tuple . The BHLR encompassed various existing methods such as logistic regression (), Poisson regression (), graph embedding (), matrix factorization (), stochastic block model (), tensor factorization (), and their variants equipped with arbitrary BD. We provided theoretical guarantees for BHLR including several existing methods, in the sense that general BHLR possessed the following two favorable properties: (P-1) statistical consistency and (P-2) computational tractability. Novel minibatch-sampling procedure for hyper-relations and theoretical guarantee for the entire stochastic optimization was also provided.
For future work, it would be worthwhile to simultaneously learn several BLHRs with different sizes of tuples; it is straightforward to modify our method to incorporate several values. Because a single BHLR first fixes the tuple size , the association strengths for the different sizes of tuples cannot be measured by the similarity function. Although we empirically demonstrated the BHLR only for in this study, a BHLR with a larger can be conducted, and it would be natural to learn tuples with several sizes at the same time.
Another interesting direction is designing a better similarity function for -tuples. Although we employed limited forms of similarity functions in our numerical experiments in the current study, arbitrary similarity functions can be employed for the BHLR. We are especially interested in identifying highly expressive similarity functions for capturing the underlying complicated data structure. Some recent studies (Okuno et al., 2018, 2019; Kim et al., 2019) demonstrated that the inner product similarity used in graph embedding () exhibited a limited representation capability, and more expressive similarities have been proposed; their results may be simply generalized to the setting of the BHLR with general .
The last direction is to apply the proposed BHLR to larger-scale hypernetworks. Although the BHLR is already demonstrated on several thousands of nodes in our numerical experiments, a more efficient implementation is required for conducting the BHLR on much larger hypernetworks.
Acknowledgement
This work was partially supported by JSPS KAKENHI grant 16H02789 to HS, and 17J03623 to AO.
Appendix A Remaining related works
In this section, we describe the remaining related works, that are not listed in Section 4.4.
For ,
- •
Metric learning (Bellet et al., 2013) is a type of similarity learning that captures the discrepancy between two data vectors by some metric function. Many existing methods consider the Mahalanobis distance and Mahalanobis inner product where is a non-negative definite matrix to be estimated. Owing to the decomposition with , the Mahalanobis inner product measures the inner product similarity between and ; obtaining such a linear transformation is also known as graph embedding. Although the Mahalanobis metric/similarity learning above is an HLR similarly to graph embedding, it is not exactly a BHLR as most of the existing studies employ loss functions that are not exactly consistent with the BD, such as triplet loss and margin-based loss functions. However, some margin-based loss functions can be written in the form of BD by removing the strict convexity assumption of , as explained in Section 2.
For ,
- •
Hyperlink prediction using latent social features (HPLSF) (Xu et al., 2013) first computes entropy of data vectors. Let be a vector of entropy for each tuple such that the -th entry () is defined as the entropy of , where . Subsequently, hyperlink weight can be predicted through the single vector ; applying a structural SVM results in a hyperlink prediction. As the SVM finally predicts the target label through the similarity function with a high-dimensional feature map , the HPLSF is an HLR. However, the similarity function is typically trained with some loss functions that are not consistent with the BD; the HPLSF is not exactly included in the BHLR.
- •
Coordinated matrix minimization (CMM) (Zhang et al., 2018) efficiently infers a subset of user-specified candidate hyperlinks that are the most suitable to fill the training hypernetworks using a low-rank approximation. However, CMM can find hyperlinks only among the training nodes, implying that it cannot be used for obtaining hyperlinks among test nodes outside the training dataset. CMM is neither an HLR or a BHLR.
- •
Deep Sets (Zaheer et al., 2017) provides a permutation invariant expressive similarity function defined for sets of data vectors. The function is trained by leveraging KL-divergence and logistic loss, whereas BHLR is equipped with arbitrary Bregman divergence. Although the similarity function of Deep Sets can be used for BHLR, the functional form is more restrictive than those considered in our setting. For paying the price of arbitrary size of vector sets, their Theorem 2 proves that a function is permutation invariant if and only if is in the form of for some functions and , by assuming that the set is countable, or the dimension of is .
Appendix B Tensor factorization (TF) is a special case of BHLR
As explained in Section 4.3, tensor factorization (TF) (Cichocki et al., 2009) decomposes a given tensor into matrices , by minimizing the BD between the entries of and whose -th entry is specified as . Namely, TF minimizes the BD
[TABLE]
where , and are column vectors of the matrix . Subsequently, we can expect that for all .
For showing that BHLR includes TF (), we first briefly review the relation between BHLR and MF (), that is explained in Section 4.2. In the case of , factorizing the matrix corresponds to BHLR using
[TABLE]
that is defined in eq. (20). The link weights (36) indicate ; indices of the matrix are formally transformed into those of the matrix , by utilizing the conversion . Although this conversion only considers the correspondence between and the upper-right part of the matrix , the lower-left part is specified by the symmetry of . In the case of , we generalize the conversion as
[TABLE]
whose inverse can be defined over a set
[TABLE]
such that . Since converts the indices of to those of , we may specify the hyperlink weights as for all , similarly to .
Although the above specification is essentially sufficient for describing the relation between BHLR and TF, the hyperlink weights are assumed to be symmetric as explained in Section 3.1. The symmetry can be realized by considering the non-decreasing order permutation defined for any ; a tensor (), whose entries are specified as
[TABLE]
simultaneously satisfies the symmetry for any obtained by permutating the entries of , and the above specification for any . Therefore, (37) generalizes (36) from the case of to .
Using the hyperlink weights (37), the parameter , and one-hot vector whose -th entry is and [math] otherwise (), we have
[TABLE]
generalizing eq. (21) from to . Therefore, TF that minimizes is equivalent to BHLR minimizing ; TF is a special case of BHLR.
Appendix C Proofs
In C.1, we first show and prove Theorem 3, that is the law of large numbers for multiply-indexed partially-dependent random variables. In C.2, we prove Proposition 1 by applying Theorem 3. In C.3, we prove Theorem 1, indicating that BHLR asymptotically recovers the underlying conditional expectation of link weights as . In C.4, we last prove Theorem 2, showing the asymptotics of the minibatch SGD using the proposed Algorithm 1, as .
C.1 Preliminary for proofs
Theorem 3**.**
Let be an array of random variables , , and be a continuous function. We assume that is independent of if , and , for all . Then the average of over converges to the expectation in probability as ; that is
[TABLE]
Proof of Theorem 3. Proof is almost the same as that of Okuno and Shimodaira (2019) Theorem A.1, that indicates the same assertion for . Regarding the variance of the average, we have
[TABLE]
where represent expectation and variance with respect to . Considering , , and
[TABLE]
for any fixed , the formula (39) is of order . Therefore,
[TABLE]
(40) and Chebyshev’s inequality indicate the assertion. ∎
This theorem generalizes Okuno and Shimodaira (2019) Theorem A.1, that proves the same assertion for . We note that the convergence rate is but not , even though we leverage observations .
C.2 Proof of Proposition 1
By a simple calculation, we have
[TABLE]
Under the conditions (C-1)–(C-5), Theorem 3 can be applied to the terms (41)–(43) as shown in the following:
specifying leads to
[TABLE]
specifying leads to
[TABLE]
and specifying leads to
[TABLE]
Thus proving the assertion
[TABLE]
∎
C.3 Proof of Theorem 1
Definition of the estimator (10) leads to
[TABLE]
We evaluate both sides of the inequality (44), for proving the assertion.
- •
Regarding the left-hand side of the inequality (44), Proposition 1 indicates that
[TABLE]
where .
- •
We here consider the right-hand side of the inequality (44). Since the function is strongly convex, the definition indicates the existence of such that
[TABLE]
for all . This inequality indicates that the squared difference is bounded by the function . By substituting into , respectively, we have an inequality
[TABLE]
Using the above inequality (47), the right-hand side of the inequality (44) is evaluated as
[TABLE]
where for functions and represents the residual in Proposition 1 using the parameter , that satisfies for each .
By substituting (46) and (48) into (44), we have
[TABLE]
indicating that
[TABLE]
where . The term is proved to be , as shown in the remaining of this proof; then, (49) immediately proves Theorem 1.
Hereinafter, we last prove , by employing Newey (1991) Corollary 2.2, indicating that under the following assumptions: (i) is compact, (ii) for each , and (iii) such that for all . Above assumptions (i), (ii) and (iii) correspond to assumptions 1, 2 and 3A, in Newey (1991). In our setting, the assumption (i) is assumed, (ii) is proved by Proposition 1. (iii) is obtained similarly to Proof B.1 in Supplement of Okuno et al. (2018); since the product of two bounded Lipschitz continuous (LC) functions is LC, -function applied to LC function is LC, and the expectation of LC function is also LC, there exist such that
[TABLE]
Denoting by , Proposition 1 indicates . Therefore the condition (iii) holds; Newey (1991) Corollary 2.2 proves
[TABLE]
indicating that . ∎
C.4 Proof of Theorem 2
Proof is two-folded. In the following, we first verify that (i) , where
[TABLE]
and we next prove (ii) by referring to (i) and Ghadimi and Lan (2013) Theorem 2.1 (a). Then, the assertion is proved.
- (i)
We first verify that . Here, we first consider the case . A vector representing which of the entries in the index is fixed, is preliminary specified from the set by users. Then, considering a set for , Algorithm 1 that defines consists of the following two-steps. At iteration ,
- step 1.
is randomly selected from a set with the probability (in Theorem 2, is assumed to be , 2. step 2.
entries are uniformly randomly selected from sets and , and denote the sets as . Coefficients and are also defined.
Therefore, the expectation of the stochastic gradient with respect to sampling the minibatch is,
[TABLE]
where the term is evaluated by taking expectation with respect to the two steps in Algorithm 1 as
[TABLE]
and similarly,
[TABLE]
Substituting (52) and (53) into (51) leads to
[TABLE]
Thus (i) is proved for the case . Here, we also consider the case . As indicates that there is no fixed entry in the index , meaning that the step 1 in the above explanation is skipped, Algorithm 1 consists of only the step 2. Thus, by noticing that , following the same calculation leads to the equation , which is the same as the case of .
Since is limited to take value in , (i) is hereby proved for all the possible .
- (ii)
We next prove that by referring to (i) and Ghadimi and Lan (2013) Theorem 2.1 (a). The following explanations are based on Ghadimi and Lan (2013), with corresponding symbols , , , , , , , , , .
Ghadimi and Lan (2013) Theorem 2.1 (a) shows that, the iterative update
[TABLE]
satisfies
[TABLE]
where , is the Lipschitz constant of , represents the step size satisfying , and the number of iterations is chosen from with the probability , if assumptions (C-1) and (C-2) for some , hold. These assumptions (C-1) and (C-2) correspond to eq. (1.2) and eq. (1.3) in Ghadimi and Lan (2013), respectively.
In the case of Theorem 2, the minibatch SGD (26) reduces to (54) due to the assumption , the step size satisfies , (C-1) is proved by the above calculation (i), and (C-2) is proved by
[TABLE]
where represents the -th entry of the vector , , and represents the trace of the matrix , i.e., . Thus (55) holds; we last evaluate the right hand side of (55) in the following.
Obviously, we have and due to the assumptions, and since the Lipschitz continuity of proves that is finite with any fixed . Then, it holds for that
[TABLE]
Thus, substituting and (56) into (55) leads to
[TABLE]
By noticing that , Theorem 2 is proved. ∎
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Clauset et al. [2008] Aaron Clauset, Cristopher Moore, and Mark EJ Newman. Hierarchical structure and the prediction of missing links in networks. Nature , 453(7191):98–101, 2008.
- 2Lü and Zhou [2011] Linyuan Lü and Tao Zhou. Link prediction in complex networks: A survey. Physica A: statistical mechanics and its applications , 390(6):1150–1170, 2011.
- 3Liben-Nowell and Kleinberg [2007] David Liben-Nowell and Jon Kleinberg. The Link-Prediction Problem for Social Networks. Journal of the American society for Information Science and Technology , 58(7):1019–1031, 2007.
- 4De Maesschalck et al. [2000] Roy De Maesschalck, Delphine Jouan-Rimbaud, and Désiré L Massart. The Mahalanobis distance. Chemometrics and intelligent laboratory systems , 50(1):1–18, 2000.
- 5Kung [2014] Sun Yuan Kung. Kernel Methods and Machine Learning . Cambridge University Press, 2014.
- 6Goldberger et al. [2005] Jacob Goldberger, Geoffrey E Hinton, Sam T Roweis, and Ruslan R Salakhutdinov. Neighbourhood Components Analysis. In Advances in Neural Information Processing Systems , pages 513–520, 2005.
- 7Tang et al. [2015] Jian Tang, Meng Qu, Mingzhe Wang, Ming Zhang, Jun Yan, and Qiaozhu Mei. LINE: Large-scale Information Network Embedding. In Proceedings of the International Conference on World Wide Web , pages 1067–1077, 2015.
- 8Okuno et al. [2018] Akifumi Okuno, Tetsuya Hada, and Hidetoshi Shimodaira. A probabilistic framework for multi-view feature learning with many-to-many associations via neural networks. In Proceedings of the International Conference on Machine Learning , volume 80 of Proceedings of Machine Learning Research , pages 3888–3897. PMLR, 2018.
