Skip to content
ImagineWorld

Neural Networks on Hypergraph

node_idnode-book_hypergraph-computation_chapter-07-neural-networks-on-hypergraph
node_typechapter-node
schema_profileworld.chapter_node.v1
statusactive
entropyhigh
manifoldworld
domainimagineworld.net
authorityinforms
layercorpus
chapter_num7
chapter_titleNeural Networks on Hypergraph
pillar_membershipC — formal_substrate_hypergraph_types_geometry
governed_byCORPUS
constitutional_citationCONSTITUTION
local graph

Chapter 7 — Neural Networks on Hypergraph

Section titled “Chapter 7 — Neural Networks on Hypergraph”

With the development of deep learning on high-order correlations, hypergraph neural networks have received much attention in recent years. Generally, the neural networks on hypergraph can be divided into two categories, including the spectral-based methods and the spatial-based methods. For the spectral-based methods, the convolution operation is formulated in the spectral domain of graph, and we introduce the typical spectral-based methods, including hypergraph neural networks (HGNN), hypergraph convolution with attention (Hyper-Atten), and hyperbolic hypergraph neural network (HHGNN), which extend hypergraph computation to hyperbolic spaces beyond the Euclidean space. For the spatial-based methods, the convolution operation is defined in groups of spatially close vertices. We then present spatial-based hypergraph neural networks of the general hypergraph neural networks (HGNN+) and the dynamic hypergraph neural networks (DHGNN). Additionally, there are several convolution methods that attempt to reduce the hypergraph structure to the graph structure, so that the existing graph convolution methods can be directly deployed. Lastly, we analyze the association and comparison between hypergraph and graph in the two areas described above (spectral-based, spatial-based), further demonstrating the ability and advantages of hypergraph on constructing and computing higher-order correlations in the data.

Hypergraph has demonstrated its ability to model and learn complex correlations in recent years. Zhou et al. [1] introduced the hypergraph learning, which conducts transductive learning and propagates information on the hypergraph structure. Transductive inference on the hypergraph aims to minimize the label difference between vertices with stronger connections. There has been extensive development and application of hypergraph learning in several fields over the past few years.

In addition, hypergraph has been investigated in deep learning applications. Based on the hypergraph Laplacian and the Chebyshev formula, Feng et al. [2] first introduced hypergraph neural networks (HGNN). The hypergraph Laplacian is synthesized using predictions in Yadati et al. [3], while Bai et al. [4] defined two neural hypergraph operators based on [5, 6]. However, they do not implement high-order learning algorithms by introducing only vertex functions, even though they construct a simple weighted graph and apply mature graph learning algorithms. A lack of powerful tools for expressing hyperstructure and a wealth of graph literature motivated the work of [7]. Additionally, recent successes with graph representation learning have been achieved by using neural operators (convolution, attention, spectral, etc.). Generally, the neural networks on hypergraph can be divided into two categories, including the spectral-based methods and the spatial-based methods.

For the spectral-based methods, Feng et al. [2] introduced the hypergraph neural networks (HGNN) for modeling and learning beyond pairwise complex correlations. Different from the traditional graph neural networks (GNN), HGNN learns its data representation by iteratively propagating the vertex–hyperedge–vertex information pattern. Additionally, the hypergraph Laplacian is first approximated and introduced into the deep hypergraph learning method to speed up the learning process. Following [2], Bai et al. [4] developed an attention module based on hypergraph convolution patterns (Hyper-Atten). Hyper-Atten introduced a hyperedge–vertex attention learning module that adaptively identifies the importance of different vertices in a hyperedge, thus revealing the intrinsic correlations between vertices.

Using the spatial methods, Atwood et al. [8] made use of transition matrices to determine where vertices are located. The generalization of convolution in the spatial domain is achieved using Gaussian mixture models based on local path operators. A graph-based attention-based architecture was built in work [9] for analyzing vertices on graph using attention mechanism. A dynamic change in hypergraph structure was taken into considerations in [6]. The framework introduced in [6], which is more versatile than HGNN [2]. A unified hypergraph is then constructed by merging the correlations from different modalities/types using an adaptive hyperedge grouping strategy. To learn a general data representation for various tasks, a hypergraph convolution scheme [6] was performed in the spatial domain.

Hypergraph spectral graph theory [10] has been explored far less in other methods. The concept of hypergraph learning was first introduced by Zhou et al. [1], where it was presented as a propagation process. The Laplacian matrix, however, is equivalent to pairwise operations according to [11]. There have been several studies addressing non-pairwise relationships since then, including developing nonlinear Laplacian operators [12, 13], learning the optimal parameters of hyperedges [13, 14], as well as utilizing random walking techniques [10]. Hyperedges can be regarded as connectors in these algorithms, which explicitly break the bipartite property of hypergraph by focusing on vertices.

In this chapter, we systematically introduce the above three types of neural networks on hypergraph and show the comparison between graph neural networks and hypergraph neural networks from both spectral and spatial aspects. Part of the work introduced in this chapter has been published in [2, 15, 16]. 7.2 Spectral-Based Neural Networks on Hypergraph

The spectral neural networks methods have attracted much attention since Bruna et al. [17] and Kipf et al. [18] simplified them in a graph convolutional network pattern. The data are transformed from the common domain to the spectral domain to be processed with according to map theory and the convolution theorem, and it then gets transformed back to the common domain. In other words, first we convert the signal from the common domain to the frequency domain (Fourier transform implementation) and then multiply it by the phase. Then, we convert the result of the phase multiplication back to the common domain again (Fourier inverse transform implementation). We will present spectral-based hypergraph neural networks methods, including hypergraph neural networks (HGNN) [2], hypergraph convolution with attention (Hyper-Atten) [3], and hyperbolic hypergraph neural networks (HHGNN) [19]. In particular, HHGNN extends hypergraph learning to the hyperbolic spaces beyond the Euclidean space.

7.2.1 Hypergraph Neural Networks

Given a hypergraph G=(V,E,Δ)\mathscr{G}=(\mathscr{V},\mathscr{E},\Delta) with NN vertices, the hypergraph Laplacian Δ\Delta is an N×NN\times N positive semi-definite matrix. The orthonormal eigen vectors Φ=diag(ϕ1,…,ϕN)\Phi=\text{diag}(\phi_{1},\ldots,\phi_{N}) and a diagonal matrix Λ=diag(λ1,…,λN)\Lambda=\text{diag}(\lambda_{1},\ldots,\lambda_{N}), which contains the corresponding non-negative eigenvalues, are obtained by employing the eigendecomposition Δ=ΦΛΦ⊤\Delta=\Phi\Lambda\Phi^{\top}. x^=Φ⊤x\hat{x}=\Phi^{\top}x defines the Fourier transform for a signal x=(x1,…,xN)x=(x_{1},\ldots,x_{N}) in the hypergraph. It is assumed that the eigenvectors represent the Fourier bases and the eigenvalues represent the frequencies. The spectral convolution of signal xx and filter gg can be denoted as

g⋆x=Φ((Φ⊤g)⊙(Φ⊤x))=Φg(Λ)Φ⊤x,g\star x=\Phi((\Phi^{\top}g)\odot(\Phi^{\top}x))=\Phi g(\Lambda)\Phi^{\top}x,

where ⊙\odot denotes the element-wise Hadamard product and g(Λ)=diag(g(λ1),…,g(λn))g(\Lambda)=\text{diag}(g(\lambda_{1}),\ldots,g(\lambda_{n})) indicates a function of the Fourier coefficients. However, in the forward and inverse Fourier transforms, the computational cost is O(n2)O(n^{2}), which is high. To solve this problem, Defferrard et al. [20] parameterize g(Λ)g(\Lambda) with KK-order polynomials, and one such polynomial is the truncated the Chebyshev expansion. Chebyshev polynomials Tk(x)T_{k}(x) are computed by the formula of Tk(x)=2xTk−1(x)−Tk−2(x)T_{k}(x)=2xT_{k-1}(x)-T_{k-2}(x), with T0(x)=1T_{0}(x)=1 and T1(x)=xT_{1}(x)=x. After that, the g(Λ)g(\Lambda) can be computed by

g⋆x≈∑k=0KθkTk(Δ~)x,g\star x\approx\sum_{k=0}^{K}\theta_{k}T_{k}(\tilde{\Delta})x,

where Tk(Δ~)T_k(\tilde{\Delta}) denotes the Chebyshev polynomial of order kk with scaled Laplacian Δ~=2λmaxΔ−I\tilde{\Delta}=\frac{2}{\lambda_{max}}\Delta-I. In Eq. (7.2), matrix powers, additions, and multiplications are combined instead of expansive computation of Laplacian Eigen vectors, thus improving computation complexity even further. Since that the Laplacian in hypergraph can already represent the high-order correlations among nodes, it can further limit the order of convolution operation to K=1K=1. It is suggested by Kipf et al. [18] that λmax≈2\lambda_{max}\approx 2 for the scale adaptability of neural networks. After that, the convolution operation can be simplified to

g⋆x≈θ0x−θ1Dv−1/2HWDe−1H⊤Dv−1/2x,(7.3)g\star x\approx\theta_0x-\theta_1\mathbf{D}_v^{-1/2}\mathbf{H}\mathbf{W}\mathbf{D}_{e}^{-1}\mathbf{H}^{\top}\mathbf{D}_{v}^{-1/2}x, \tag{7.3}

where θ0\theta_0 and θ1\theta_1 represent the parameters of all node filters. In addition, a single parameter θ\theta is used to avoid the overfitting problem, which is defined as

{θ1=−12θθ0=12θDv−1/2HDe−1H⊤Dv−1/2.(7.4)\left\{\begin{array}{l}\theta_1=-\frac{1}{2}\theta\\\theta_0=\frac{1}{2}\theta\mathbf{D}_v^{-1/2}\mathbf{H}\mathbf{D}_{e}^{-1}\mathbf{H}^{\top}\mathbf{D}_{v}^{-1/2}.\end{array}\right. \tag{7.4}

Thereafter, the convolution process can be simplified to the following function:

g⋆x≈12θDv−1/2H(W+I)De−1H⊤Dv−1/2x(7.5)g\star x\approx\frac{1}{2}\theta\mathbf{D}_v^{-1/2}\mathbf{H}(\mathbf{W}+\mathbf{I})\mathbf{D}_e^{-1}\mathbf{H}^{\top}\mathbf{D}_v^{-1/2}x \tag{7.5} ≈θDv−1/2HWDe−1H⊤Dv−1/2x,\approx\theta\mathbf{D}_v^{-1/2}\mathbf{H}\mathbf{W}\mathbf{D}_{e}^{-1}\mathbf{H}^{\top}\mathbf{D}_{v}^{-1/2}x,

where (W+I)(\mathbf{W}+\mathbf{I}) can be regarded as the weight of the hyperedges. In the initialization of W\mathbf{W}, the hyperedges can be all assigned with equal weights as an identity matrix.

When having a hypergraph signal Xt\mathbf{X}^t for the tt-th layer, the hyperedge convolution layer HGNCVc\mathbf{H}\mathbf{G}\mathbf{N}\mathbf{C}\mathbf{V}\mathbf{c} can be formulated by

Xt+1=σ(Dv−1/2HWDe−1H⊤Dv−1/2XtΘ),(7.6)\mathbf{X}^{t+1}=\sigma(\mathbf{D}_v^{-1/2}\mathbf{H}\mathbf{W}\mathbf{D}_{e}^{-1}\mathbf{H}^{\top}\mathbf{D}_{v}^{-1/2}\mathbf{X}^{t}\Theta), \tag{7.6}

where Θ\Theta is the parameter to be learned during the training process. To extract features from a hypergraph, the filter Θ\Theta is applied to the vertices. After convolution, Xt+1\mathbf{X}^{t+1}, which can be used for further processing.

The framework of the abovementioned HGNN model is shown in Fig. 7.1. HGNN is able to address the challenges of learning representations for complex data by incorporating such data structures into hypergraph, which are more flexible and effectively confronting practical data.

The HGNN calculation stages are shown in Fig. 7.2, and the three processes are directly projected to the functions. We can observe that there are vertex feature transform, hyperedge feature gathering, and vertex feature aggregating steps in this framework.

Fig. 7.1 The framework of the HGNN model

Fig. 7.2 The calculation process of the HGNN framework

7.2 Spectral-Based Neural Networks on Hypergraph

7.2.2 Hypergraph Convolution and Hypergraph Attention

Section titled “7.2.2 Hypergraph Convolution and Hypergraph Attention”

Based on the study of hypergraph neural networks [2], Bai et al. [4] introduced hypergraph convolution and hypergraph attention (Hyper-Atten) by introducing attention mechanism in the framework.

In this method, an explicit magnitude of importance is assigned to the afferent and efferent information flow for non-binary values of the transition probability between vertices for a given vertex. However, such an attention mechanism must work after the graph structure (the incidence matrix H) is given, instead of learning a dynamic incidence matrix. It is easier to reveal the intrinsic relationship between vertices using a dynamic transition matrix than by using a fixed incidence matrix. An attention learning module could be imposed on H, which does not treat each vertex as being connected by a hyperedge or which does not assign non-binary and real values when measuring the degree of connectivity. Following [6] when the vertex set and the edge set are comparable, the attention score between a given vertex xix_{i} and its associated hyperedge xjx_{j} can be written as

Hij=exp⁡(σ(sim(xiP,xjP)))∑k∈Niexp⁡(σ(sim(xiP,xkP))),(7.7)\mathbf{H}_{ij}=\frac{\exp\left(\sigma\left(\mathrm{sim}\left(x_{i}\mathbf{P},x_{j}\mathbf{P}\right)\right)\right)}{\sum_{k\in N_{i}}\exp\left(\sigma\left(\mathrm{sim}\left(x_{i}\mathbf{P},x_{k}\mathbf{P}\right)\right)\right)}, \tag{7.7}

where σ(⋅)\sigma(\cdot) is a nonlinear activation function. The weight matrix between the (l)(l)-th and (l+1)(l+1)-th layers is denoted as P∈RF(l)×F(l+1)\mathbf{P}\in\mathbb{R}^{F^{(l)}\times F^{(l+1)}}. NiN_{i} is the neighborhood set of xix_{i}. The pairwise similarity of two vertices is computed with this similarity function sim(⋅)\mathrm{sim}(\cdot):

sim(xi,xj)=a⊤[xi∥xj].(7.8)\mathrm{sim}\left(x_{i},x_{j}\right)=\mathbf{a}^{\top}\left[x_{i}\|x_{j}\right]. \tag{7.8}

Operation [, ∥\|, ] indicates concatenation, and notation a\mathbf{a} is a weight vector for outputting a scalar similarity value.

When following Eq.(7.6) to learn the intermediate embedding of vertices layer by layer, hypergraph attention also propagates gradients to H in addition to X(l)\mathbf{X}^{(l)} and Θ\Theta. Therefore, Eq.(7.7) means the share of hyperedge xjx_{j} in the neighbors of the vertex xix_{i}, which indicates the relative importance xjx_{j} of xix_{i}. More categorical embeddings can be learned by the probabilistic model, and the relationship between vertices can be described more accurately.

In order to further enhance the capability of representation learning, the method uses hypergraph attention mechanisms based on the basic formulation of performing convolutions.

7.2.3 Hyperbolic Hypergraph Neural Networks

Section titled “7.2.3 Hyperbolic Hypergraph Neural Networks”

The hyperbolic space is a manifold with constant Gaussian negative curvature everywhere, which has several models. Similar to [21, 22], the work is based on the Poincaré ball model for its well-suited for gradient-based optimization. The Poincaré ball model with constant negative curvature −1/k(k>0)-1/k(k>0) corresponds to the Riemannian manifold (Pn,k,gxP)\left(\mathbb{P}^{n,k},g_{\mathbf{x}}^{\mathbb{P}}\right). Pn,k={x∈Rn:∥x∥<1}\mathbb{P}^{n,k}=\{\mathbf{x}\in\mathbb{R}^{n}:\|\mathbf{x}\|<1\} is an open nn-dimensional unit ball, where ∥⋅∥\|\cdot\| denotes the Euclidean norm. Its metric tensor is gxP=λx2gEg_{\mathbf{x}}^{\mathbb{P}}=\lambda_{\mathbf{x}}^{2}g^{\mathbb{E}}, where λx=21−k∥x∥2\lambda_{\mathbf{x}}=\frac{2}{1-k\|\mathbf{x}\|^{2}} is the conformal factor and gE=Ing^{\mathbb{E}}=\mathbf{I}_{n} is the Euclidean metric tensor. Then, we define the Möbius addition of two points x,y∈Pn,k\mathbf{x},\mathbf{y}\in\mathbb{P}^{n,k} as follows:

x⊕ky=(1+2k⟨x,y⟩+k∥y∥2)x+(1−k∥x∥2)y1+2k⟨x,y⟩+k2∥x∥2∥y∥2.(7.9)\mathbf{x}\oplus_{k}\mathbf{y}=\frac{\left (1+2k\langle\mathbf{x},\mathbf{y}\rangle+k\|\mathbf{y}\|^{2}\right)\mathbf{x}+\left (1-k\|\mathbf{x}\|^{2}\right)\mathbf{y}}{1+2k\langle\mathbf{x},\mathbf{y}\rangle+k^{2}\|\mathbf{x}\|^{2}\|\mathbf{y}\|^{2}}. \tag{7.9}

The distance between two points x,y∈Pn,k\mathbf{x},\mathbf{y}\in\mathbb{P}^{n,k} is calculated by integration of the metric tensor, which is given as

dPk(x,y)=(2/k)tanh⁡−1(k∥−x⊕ky∥).(7.10)d_{\mathbb{P}}^{k}(\mathbf{x},\mathbf{y})=(2/\sqrt{k})\tanh^{-1}\left(\sqrt{k}\left\|-\mathbf{x}\oplus_{k}\mathbf{y}\right\|\right). \tag{7.10}

Here we can denote point z∈TxPn,k\mathbf{z}\in\mathscr{T}_{\mathbf{x}}\mathbb{P}^{n,k} as the tangent (Euclidean) space centered at any point x\mathbf{x} in the hyperbolic space. For the tangent vector z≠0\mathbf{z}\neq\mathbf{0} and the point y≠0\mathbf{y}\neq\mathbf{0}, the exponential map exp⁡x:TxPn,k→Pn,k\exp_{\mathbf{x}}:\mathscr{T}_{\mathbf{x}}\mathbb{P}^{n,k}\rightarrow\mathbb{P}^{n,k} and the logarithmic map log⁡x:Pn,k→TxPn,k\log_{\mathbf{x}}:\mathbb{P}^{n,k}\rightarrow\mathscr{T}_{\mathbf{x}}\mathbb{P}^{n,k} are given for y≠x\mathbf{y}\neq\mathbf{x} by

exp⁡xk(z)=x⊕k(tanh⁡(kλxk∥z∥2)zk∥z∥)(7.11)\exp_{\mathbf{x}}^{k}(\mathbf{z})=\mathbf{x}\oplus_{k}\left(\tanh\left(\sqrt{k}\frac{\lambda_{\mathbf{x}}^{k}\|\mathbf{z}\|}{2}\right)\frac{\mathbf{z}}{\sqrt{k}\|\mathbf{z}\|}\right) \tag{7.11}

and

log⁡xk(y)=2kλxktanh⁡−1(k∥−x⊕ky∥)−x⊕ky∥−x⊕ky∥.(7.12)\log_{\mathbf{x}}^{k}(\mathbf{y})=\frac{2}{\sqrt{k}\lambda_{\mathbf{x}}^{k}}\tanh^{-1}\left(\sqrt{k}\left\|-\mathbf{x}\oplus_{k}\mathbf{y}\right\|\right)\frac{-\mathbf{x}\oplus_{k}\mathbf{y}}{\left\|-\mathbf{x}\oplus_{k}\mathbf{y}\right\|}. \tag{7.12}

The transformation between the tangent space and the hyperbolic space is shown in Fig. 7.3. Leverage the operations of exp and log maps, so that we can use the tangent space TxP\mathscr{T}_{\mathbf{x}}\mathbb{P} to perform transformations such as convolution and activation in Euclidean space. In the convolution, vertex information is first gathered to the hyperedge for storage, and then each vertex aggregates the information of the connected hyperedge.

It is noted that initial data are on the Euclidean space and need to be converted into embeddings on the hyperbolic space, so then first project the data on the previously obtained Euclidean space onto the hyperbolic manifold space in order to use the spectral-based hypergraph hyperbolic convolutional network to learn the information to update the node embeddings. Set t:={k,0,0,…,0}∈Pd,kt:=\{\sqrt{k},0,0,\ldots,0\}\in\mathbb{P}^{d,k} as a reference point to perform tangent space operations. The above condition makes ⟨(0,x0,E),t⟩=0\langle (0,x^{0,E}),t\rangle=0 hold, so (0,x0,E)(0,x^{0,E}) can be regarded as the initial embedding representation of the hypergraph structure on the tangent plane of the hyperbolic manifold space TtPd,k\mathscr{T}_{t}P^{d,k}. The initial hypergraph structure embedding is then mapped onto the hyperbolic manifold space PP following [19]:

Fig. 7.3 The transformation between the tangent space and the hyperbolic space

x0,P=exp⁡tk((0,x0,E))=(kcosh⁡(∥x0,E∥2k),ksinh⁡(∥x0,E∥2k)x0,E∥x0,E∥2).\begin{align*} x^{0,P} &= \exp_{t}^{k}\left((0, x^{0,E})\right) \\ &= \left( \sqrt{k} \cosh\left( \frac{\|x^{0,E}\|_{2}}{\sqrt{k}} \right), \sqrt{k} \sinh\left( \frac{\|x^{0,E}\|_{2}}{\sqrt{k}} \right) \frac{x^{0,E}}{\|x^{0,E}\|_{2}} \right). \end{align*}

Unlike the previous study [23] that simply generates the hyperedge structure for common domain convolution, combined with the inspiration provided by HGNN [2], hypergraph computation from the perspective of spectral convolution can be conducted.

Given hyperbolic curvatures −1/kℓ−1,−1/kℓ-1/k_{\ell-1},-1/k_{\ell} at layers ℓ−1\ell-1 and ℓ\ell, respectively, then the hyperbolic hypergraph convolution of the hypergraph input signal xPx^{P} with filter g can be defined as

xP∗g=exp⁡xkℓ(Φ((Φ⊤(log⁡xkℓ−1(xP)))⊙(Φ⊤g)))=exp⁡xkℓ(Φg(Λ)Φ⊤(log⁡xkℓ−1(xP))),\begin{align*} x^{P} * g &= \exp_{x}^{k_{\ell}}\left(\Phi\left(\left(\Phi^{\top}\left(\log_{x}^{k_{\ell-1}}(x^{P})\right)\right) \odot(\Phi^{\top}g)\right)\right) \\ &= \exp_{x}^{k_{\ell}}\left(\Phi g(\Lambda)\Phi^{\top}\left(\log_{x}^{k_{\ell-1}}(x^{P})\right)\right), \end{align*}

where ⊙\odot is the element-wise product, g(Λ)=diag(θ)g(\Lambda)=\text{diag}(\theta), and θ=[θ1,⋯ ,θn]\theta=[\theta_{1},\cdots,\theta_{n}] is the parameters to be learned. Leverage the operations of exp and log maps, so that the tangent space T0Pd,k\mathscr{T}_{0}\mathbb{P}^{d,k} can be used to perform Euclidean transformations. It operates in the tangent space of each center point xPx^{\mathbb{P}} because the Euclidean approximation is best [19].

Considering the high computational complexity of the Fourier transform and inverse Fourier transform, this convolution method is very expensive to calculate. Convolutions can be computed more efficiently by truncating Chebyshev polynomials as [2]. It can be simply expressed as

xP∗ g≈exp⁡xkℓ(θDv−1/2HWDe−1H⊤Dv−1/2(log⁡xkℓ−1(xP))),(7.15)\mathbf{x}^{\mathbb{P}}*\,\mathbf{g}\approx\exp_{x}^{k_{\ell}}\left(\theta\mathbf{D}_{v}^{-1/2}\mathbf{H}\mathbf{W}\mathbf{D}_{e}^{-1}\mathbf{H}^{\top}\mathbf{D}_{v}^{-1/2}\left(\log_{x}^{k_{\ell-1}}\left(x^{\mathbb{P}}\right)\right)\right), \tag{7.15}

where W\mathbf{W} is the initial weight of hyperedges. The above equation uses the hypergraph Laplacian matrix to calculate the total gain obtained after a small perturbation of a point. For a hypergraph with nn vertices, the convolution layer can be denoted as following formulation:

Xℓ=exp⁡xℓ,Ekℓ(σ(A(log⁡xℓ−1,Pkℓ−1(Xℓ−1,P))Θ)),(7.16)\mathbf{X}^{\ell}=\exp_{\mathbf{x}^{\ell},\mathbb{E}}^{k_{\ell}}\left(\sigma\left(\mathbf{A}\left(\log_{\mathbf{x}^{\ell-1},\mathbb{P}}^{k_{\ell-1}}\left(\mathbf{X}^{\ell-1,\mathbb{P}}\right)\right)\Theta\right)\right), \tag{7.16}

where Θ∈Rc(ℓ−1)×c(ℓ)\Theta\in\mathbb{R}^{c_{(\ell-1)}\times c_{(\ell)}} is the parameter to be learned during the training process, which is applied over the vertices in the hypergraph to extract features. cc indicates the size of the embedding dimension, σ\sigma denotes the nonlinear activation function, and A=Dv−1/2HWDe−1H⊤Dv−1/2\mathbf{A}=\mathbf{D}_{v}^{-1/2}\mathbf{H}\mathbf{W}\mathbf{D}_{e}^{-1}\mathbf{H}^{\top}\mathbf{D}_{v}^{-1/2}.

The hyperbolic operation is accomplished by conducting feature mapping between the Euclidean space and the hyperbolic space. The framework of the above spectral-based hyperbolic hypergraph convolution is shown in Fig. 7.4.

Fig. 7.4 The framework of the spectral-based hyperbolic hypergraph convolution method

7.3 Spatial-Based Neural Networks on Hypergraph

To show the spatial-based neural networks on hypergraph, we first briefly review the definition of spatial-based graph convolution. The processing on an image is taken as an example. The pixel in an image can be represented as vertices in a grid graph, where each vertex only connects its neighbor vertices in the spatial–closed region where it is located. A C-channel feature can be accordingly generated for each vertex (pixel) in the image. The process of filtering an image can be viewed as an average aggregation of neighbors’ features after a central vertex transforms their features. Similar to convolution neural networks in image processing, spatial-based graph convolution combines the neighbors of the central vertex to produce a new representation. Spatial-based graph convolution runs from neighbor vertices to center vertices, which is similar to the definition of a path in a simple graph. A path in graph is defined as P(v1,vk)=(v1,v2,…,vk)P(v_1, v_k) = (v_1, v_2, \ldots, v_k). Vertices in the sequence are adjacent to each other, so that every vertex in the sequence is adjacent to every other vertex. It means that all the vertex pairs of ii and i+1i+1 (1≤i≤k−11 \le i \le k-1) have the neighbor relation.

Similar to the spatial-based graph convolution, spatial-based hypergraph neural networks also consider the neighbor information when learning representation. Following, we introduce two typical spatial-based hypergraph neural networks, including general hypergraph neural networks (HGNN+) [16] and dynamic hypergraph neural networks (DHGNN) [15].

In this part, the general framework [16] for modeling representation learning using hypergraph neural networks on given raw data is introduced. Figure 7.5 demonstrates the framework of general hypergraph neural networks, which also consists of two procedures, i.e., hypergraph modeling and hypergraph convolution. In the hypergraph modeling step, data issued to generate the high-order correlations, which are represented as a hypergraph. Similar to previous tasks, hyperedge groups can be generated as pairwise edges, kk-Hop, and neighbors in the feature space. As a result of this procedure, all types of hyperedge groups (if they are available) are generated and concatenated in a hypergraph for the purpose of data correlations modeling. Hypergraph convolution is the process of creating a set of hypergraph convolutions on a given set of hypergraph, i.e., the spectral-based convolution and the spatial-based hypergraph convolution for representation learning on hypergraph. As a result of these convolution procedures, they can generate much more accurate representations of multi-modal data and high-order correlations using this information.

Fig. 7.5 An illustration of the general hypergraph neural network framework (HGNN+). This figure is from [16]

7.3 Spatial-Based Neural Networks on Hypergraph

(1) Hypergraph Modeling The first step is to construct a flexible hypergraph from raw data if there is no hypergraph existed, and the data correlations can be modeled using a hypergraph structure. The ability to generate a suitable hypergraph structure is critical to exploit the high-order correlations among the data. Generally, hypergraph structures are not explicit in most cases. Therefore, different strategies are needed to generate the hypergraph. Hypergraph generation from scratch usually involves a combination of three scenarios, namely, data with graph structure, data without graph structure, and data with multi-modal/multi-type representations. Hyperedge generation strategies, which employ pairwise edges, k-Hop, and neighbors in the feature space, respectively, are introduced here. The strategies of using pairwise edges and k-Hop are utilized for hyperedge group generation from the data with a graph structure, and those of using neighbors in feature space are employed for hyperedge group generation from the data without graph structure. Finally, all the hyperedge groups are further concatenated to generate the overall hypergraph.

The above strategies can be used here to generate a number of hyperedge groups. A final hypergraph is then generated by further combining generated or natural hyperedge groups. Supposing there are K hyperedge groups {E1\mathcal{E}_{1}, E2\mathcal{E}_{2}, …\ldots, EK\mathcal{E}_{K}}, K indicates incidence matrices Hk∈{0,1}N×Mk\mathbf{H}_{k} \in \{0, 1\}^{N \times M_{k}}, respectively. For the hypergraph G\mathcal{G}, the simplest fusion way to construct the incidence matrix is directly concatenating all the hyperedge groups as H=H1∣∣H2∣∣⋯∣∣HK\mathbf{H}=\mathbf{H}_{1}||\mathbf{H}_{2}||\cdots||\mathbf{H}_{K}, where ⋅∣∣⋅\cdot||\cdot is the matrix concatenation operation. These hyperedges weight matrices of hypergraph can be assigned a value of 1 in order to treat them equally. This simplest fusion way can be called as coequal fusion.

It is noted that other combination strategies can be also used according to different application scenarios. As the multi-modal hybrid high-order correlations cannot be fully exploited by a simple coequal fusion, due to differences in information richness between hyperedge groups, an adaptive strategy for the fusion of hyperedge groups, namely Adaptive Fusion, was introduced in [16]. Specifically, each hyperedge group is associated with a trainable parameter that can be used to adjust the effect of multiple hyperedge groups on the final vertex embedding in an adaptive manner, which can be defined as

{wk=copy(sigmoid(wk),Mk)W=diag(w11,…,w1M1,…,wK1,…,wKMK)H=H1∣∣H2∣∣⋯∣∣HK(7.17)\begin{cases}\mathbf{w}_{k}=\text{copy}(\text{sigmoid}(w_{k}),M_{k})\\\mathbf{W}=\text{diag}(\mathbf{w}_{1}^{1},\ldots,\mathbf{w}_{1}^{M_{1}},\ldots,\mathbf{w}_{K}^{1},\ldots,\mathbf{w}_{K}^{M_{K}})\\\mathbf{H}=\mathbf{H}_{1}||\mathbf{H}_{2}||\cdots||\mathbf{H}_{K}\end{cases} \tag{7.17}

where wk∈R\mathbf{w}_{k} \in \mathbb{R} is a trainable parameter that is shared by all hyperedges inside a specified hyperedge group kk. sigmoid(⋅)\text{sigmoid}(\cdot) is an element-wise normalization function. wk=(wk1,…,wkMk)∈RMk\mathbf{w}_{k} = (\mathbf{w}_{k}^{1}, \dots, \mathbf{w}_{k}^{M_{k}}) \in \mathbb{R}^{M_{k}} denotes the generated weight vector for hyperedge group kk. copy(a,b)\text{copy}(a, b) function returns a vector of size bb, and the value of which is padded by copying aa by bb times. Let M=M1+M2+⋯+MKM = M_{1} + M_{2} + \cdots + M_{K} denote the summation of the hyperedges in all hyperedge groups. W∈RM×M\mathbf{W} \in \mathbb{R}^{M \times M} is a diagonal matrix that indicates the weight matrix of hypergraph, and each entry Wii\mathbf{W}^{ii} denotes the weight of the corresponding hyperedge eie_{i}. By concatenating (⋅∣∣⋅)(\cdot||\cdot) the incidence matrices of multiple hyperedge groups, H∈{0,1}N×M\mathbf{H}\in\{0,1\}^{N\times M} can denote the incidence matrix of the hypergraph generated.

Multi-model/multi-type data can be analyzed to generate multiple hyperedge groups. From the constructed hyperedge groups, the hypergraph incidence matrix H\mathbf{H} and hyperedge weight matrix W\mathbf{W} can be generated, which can then be fed into the hypergraph convolution layer for further processing.

(2) Hypergraph Convolution

Following Definitions 1, 2, 3, an aggregation of neighbor vertex messages via hyperpath is introduced for one spatial hypergraph convolution layer. Given a vertex α∈V\alpha\in\mathcal{V} of hypergraph G={V,E,W}\mathcal{G}=\{\mathcal{V},\mathcal{E},\mathbf{W}\}, aggregating messages from its hyperedge inter-neighbor set Ne(α)\mathcal{N}_{e}(\alpha) is the aim. In order to obtain those hyperedge messages of each hyperedge β\beta in the hyperedge inter-neighbor set Ne(α)\mathcal{N}_{e}(\alpha), aggregating messages from its vertex inter-neighbor set Nv(β)\mathcal{N}_{v}(\beta). After that, the two steps of hypergraph convolution make a closed loop from vertex feature sets XtX^{t} to Xt+1X^{t+1}. A general spatial hypergraph convolution in the tt-th layer can be defined as

{mβt=∑α∈Nv(β)Mvt(xαt)yβt=Uet(wβ,mβt)mαt+1=∑β∈Ne(α)Met(xαt,yβt)xαt+1=Uvt(xαt,mαt+1)}Stage1\left\{\begin{array}{ll}m_{\beta}^{t}=\sum\limits_{\alpha\in\mathcal{N}_{v}(\beta)}M_{v}^{t}(x_{\alpha}^{t})\\ y_{\beta}^{t}=U_{e}^{t}(w_{\beta},m_{\beta}^{t})\\ m_{\alpha}^{t+1}=\sum\limits_{\beta\in\mathcal{N}_{e}(\alpha)}M_{e}^{t}(x_{\alpha}^{t},y_{\beta}^{t})\\ x_{\alpha}^{t+1}=U_{v}^{t}(x_{\alpha}^{t},m_{\alpha}^{t+1})\end{array}\right\}\text{Stage1} (7.18)(7.18)

where xαt∈Xtx_{\alpha}^{t}\in\mathbf{X}^{t} denotes the input feature vector of vertex α∈V\alpha\in\mathcal{V} in layer t=1,2,…,Tt=1,2,\ldots,T, and xαt+1x_{\alpha}^{t+1} denotes the updated feature of vertex α\alpha. mβtm_{\beta}^{t} denotes the message of hyperedge β∈E\beta\in\mathcal{E}, and wβw_{\beta} denotes a weight associated to hyperedge β\beta. mαt+1m_{\alpha}^{t+1} denotes the message of vertex α\alpha. yβty_{\beta}^{t} denotes the hyperedge feature of hyperedge β\beta that denotes an element of hyperedge feature set Yt={y1t,y2t,…,yMt}Y^{t}=\{y_{1}^{t},y_{2}^{t},\ldots,y_{M}^{t}\}, yit∈RCty_{i}^{t}\in\mathbb{R}^{C_{t}} in layer tt. Mvt(⋅),Uet(⋅),Met(⋅),Uvt(⋅)M_{v}^{t}(\cdot),U_{e}^{t}(\cdot),M_{e}^{t}(\cdot),U_{v}^{t}(\cdot) are the vertex message function, hyperedge update functions, hyperedge message function, and vertex update function in ttht_{th} layer, respectively, which can be defined for specified applications.

With the high-order relationship in the hypergraph structure, the spatial hypergraph convolution layer is designed for high-level representation learning. In comparison with the graph convolution that consists of a single stage of message passing, the spatial hypergraph convolution is composed of four flexible operations with learned differentiable functions. As neighbor relations in graph, there is no natural ordering in inter-neighbors between vertices and hyperedges. Therefore, a summation operation is used to aggregate vertex–hyperedge messages from Mvt(⋅)/Met(⋅)M_{v}^{t}(\cdot)/M_{e}^{t}(\cdot) operation.

A simple spatial hypergraph convolution layer (named HGNNConv+) via specifying the message-update functions (vertex message function Mvt(⋅)M_{v}^{t}(\cdot), hyperedge update function Uet(⋅)U_{e}^{t}(\cdot) , hyperedge message function Met(⋅)M_{e}^{t}(\cdot) , and vertex update function Uvt(⋅))U_{v}^{t}(\cdot)) is introduced as

{Mvt(xαt)=xαt∣Nv(β)∣Uet(wβ,mβt)=wβ⋅mβtMet(xαt,yβt)=yβt∣Ne(α)∣Uvt(xαt,mαt+1)=σ(mβt+1⋅Θt),(7.19)\left\{\begin{array}{ll}M_{v}^{t}(x_{\alpha}^{t})&=&\frac{x_{\alpha}^{t}}{|\mathcal{N}_{v}(\beta)|}\\ U_{e}^{t}(w_{\beta},m_{\beta}^{t})&=&w_{\beta}\cdot m_{\beta}^{t}\\ M_{e}^{t}(x_{\alpha}^{t},y_{\beta}^{t})&=&\frac{y_{\beta}^{t}}{|\mathcal{N}_{e}(\alpha)|}\\ U_{v}^{t}(x_{\alpha}^{t},m_{\alpha}^{t+1})&=\sigma(m_{\beta}^{t+1}\cdot\Theta^{t})\end{array}\right., \tag{7.19}

where Θt∈RCt×Ct+1\Theta^{t}\in\mathbb{R}^{C^{t}\times C^{t+1}} denotes a trainable parameter of layer t, learned in training phase. σ(⋅)\sigma(\cdot) denotes an arbitrary nonlinear activation function such as ReLU(⋅)ReLU(\cdot), etc. Note that in Eq.(7.19), xαt/∣Nv(β)∣x_{\alpha}^{t}/|\mathcal{N}_{v}(\beta)| and yβt/∣Ne(α)∣y_{\beta}^{t}/|\mathcal{N}_{e}(\alpha)| denote the normalized vertex-hyperedge feature, of which convergence is accumulated and jittering is somewhat minimized.

For faster forward propagation of HGNNConv+ in GPU/CPU devices, here rewrite it in the matrix format. Consider XtX^{t} as the input vertex feature set of layer t. From Definitions 1, 2, H⊤∈{0,1}M×NH^{\top}\in\{0,1\}^{M\times N} can control the hyperedge inter-neighbor of each vertex feature in XtX^{t}. Hence, it can be used to guide each vertex to aggregate and generate the hyperedge feature set YtY^{t}, which can be formulated as Yt=WDe−1H⊤XtY^{t}=W D_{e}^{-1}H^{\top}X^{t}. In a similar way, the process of updating vertex feature set Xt+1X^{t+1} from hyperedge feature set YtY^{t} can be formulated as Xt+1=σ(Dv−1HYtΘt)X^{t+1}=\sigma(D_{v}^{-1}H Y^{t}\Theta^{t}). Thus, the matrix format of HGNNConv+ can be written as

Xt+1=σ(Dv−1HWDe−1H⊤XtΘt).(7.20)X^{t+1}=\sigma(D_{v}^{-1}HWD_{e}^{-1}H^{\top}X^{t}\Theta^{t}). \tag{7.20}

Similar to HGNN, Xt+1X^{t+1} can be obtained after convolution, which can be used for further learning. As an extension of HGNN [2], this method employs a broad multi-modal/multi-type data correlation model to learn an adaptive weight for each modality/type representation using a single hypergraph model.

Dynamic hypergraph neural networks (DHGNN) [15] is a kind of neural networks modeling dynamically evolving hypergraph structures, which is composed of the stacked layers of two modules: dynamic hypergraph construction and hypergraph convolution. The dynamic hypergraph construction module dynamically updates hypergraph structures on each layer as initially constructed hypergraph may not be an appropriate representation for data. After that, hypergraph convolution is introduced as a means of encoding high-order correlations between data points within a hypergraph. There are two phases in the hypergraph convolution module:

vertex convolution and hyperedge convolution, each of which is designed to aggregate features among vertices and hyperedges, respectively.

(1) Dynamic Hypergraph Construction

Symbol Con(e) is used to denote the vertex set that a hyperedge e contains, and the symbol Adj(v) is used to denote the hyperedge set where all hyperedges containing the vertex v:

Con(e)={v1,v2,…,vke},(7.21)\text{Con}(e)=\left\{v_{1},v_{2},\ldots,v_{k_{e}}\right\},(7.21) Adj(v)={e1,e2,…,ekv}(7.22)\text{Adj}(v)=\left\{e_{1},e_{2},\ldots,e_{k_{v}}\right\}(7.22)

where kek_{e} and kvk_{v} are the number of vertices in hyperedge e, and the number of hyperedges containing vertex v. v is defined as the centroid vertex of the hyperedge set Adj(v). Here, traditional k-NN methods and k-means clustering methods can be combined for dynamic hypergraph construction to exploit local and global structures. On the one hand, it has computed the k-1 nearest neighbors for each vertex v. These neighborhood vertices, along with the vertex v, form a hyperedge in Adj(v). On the other hand, it has conducted k-means algorithm on the whole feature map of each layer according to the Euclidean distance. For each vertex, the nearest S−1S-1 clusters are assigned as to be the adjacent hyperedges of this vertex. Here, ∣Adj(v)∣|Adj(v)| denotes the size of adjacent hyperedge set, xe\mathbf{x}_{e} denotes adjacent hyperedge features, and xv\mathbf{x}_{v} denotes centroid vertex feature. W and b are learnable parameters.

Such a procedure on the feature embedding of each layer is performed. Especially, it initializes hypergraph structures with the input feature embedding. Therefore, the hyperedge set is dynamically adjusted as the feature embedding evolves with network going deeper. In this way, it is able to obtain better hypergraph structures for high-order data correlation modeling with deep neural networks.

(2) Dynamic Hypergraph Convolution

Hypergraph convolution is composed of two sub-modules: vertex convolution sub-module and hyperedge convolution sub-module. By using vertex convolution, vertex features are aggregated to the hyperedge, and then by using hyperedge convolution, adjacent hyperedge features are aggregated to the center vertex.

There are several methods of pooling that can be used, including maximum pooling and average pooling. Vertex aggregation in state-of-the-art algorithms involves a fixed, pre-computed transform matrix generated from graph or hypergraph structure. Nevertheless, such methods cannot effectively model discriminative information among vertex features. For feature permutation and weighting, learn the transform matrix T from the vertex features. Information can flow within and between channels using the transform matrix. Using multi-layer perception (MLP), obtain the transform matrix T and compress the transformed features by using convolution as follows:

T=MLP(Xv)(7.23)\mathbf{T}=\text{MLP}\left(\mathbf{X}_{v}\right)(7.23)

and

xe=conv(T⋅MLP(Xv)).(7.24)\mathbf{x}_{e}=\mathrm{conv}\left(\mathbf{T}\cdot\mathrm{MLP}\left(\mathbf{X}_{v}\right)\right). \tag{7.24}

(3) Hyperedge Convolution

Here, the hyperedge convolution is following the spatial convolution strategy, which consists of the aggregation of hyperedge features to center vertex features. Hyperedge convolution employs multi-layer perception to generate weight scores for each hyperedge. As a weighted sum of input hyperedge features, the center vertex feature is computed as an output. This procedure can be formulated as follows:

w=softmax(xeW+b)(7.25)w=\mathrm{softmax}\left(\mathbf{x}_{e}\mathbf{W}+\mathbf{b}\right) \tag{7.25}

and

xv=∑i=0∣Adj⁡(v)∣wixei.(7.26)\mathbf{x}_{v}=\sum_{i=0}^{|\operatorname{Adj}(v)|}w^{i}\mathbf{x}_{e}^{i}. \tag{7.26}

As a result of these deep learning techniques, graph/hypergraph structure is taken into consideration as prior knowledge to the training of the model. There are, however, a number of hidden and important relationships that are not directly represented in the inherent structure. For vertex convolution, a transform matrix is employed to permute and weight vertices within hyperedges; for hyperedge convolution, an attention mechanism is employed to aggregate adjacent hyperedge features. Figure 7.6 shows the architecture of the DHGNN. The first part of the figure illustrates the process of the hyperedge construction. There are two hyperedges generated from two clusters (dashed ellipses), for example. In the second part, vertices within a hyperedge are aggregated to form a hyperedge feature through vertex convolution, and vertices within adjacent hyperedges are aggregated to form a center vertex feature via hyperedge convolution. In the third part, after performing such operations on all vertices in the current layer feature embedding, the new layer feature embedding and the new hypergraph structure can be constructed.

7.4 Comparison Between Graph and Hypergraph Neural Networks

Section titled “7.4 Comparison Between Graph and Hypergraph Neural Networks”

After the previous introduction to the spectral-based and spatial-based hypergraph neural networks methods, we have a basic understanding of the implementation of these methods. In this section, we compare hypergraph neural networks with simple graph neural networks according to spectral and spatial areas to discover the connections and differences between them. The most typical methods of the two neural networks are chosen, the hypergraph neural networks model and the graph neural networks model, as a way to compare the most typical relationships and differences. HGNN [2] and HGNN+ [16] are used to compare them in the spectral and spatial domains, respectively. In terms of convolution, GNN is the classical operator designed to operate on graph, such as [6, 18, 24, 25]. In this subsection, the HGNN [2] and HGNN+ [16] are compared with GNN [18] from the spectral perspective and spatial perspective, respectively. Furthermore, the extended learning domain of the hypergraph emphasizes the connection.

Fig. 7.6 The DHGNN framework. This figure is from [15]

It can be proved that the GNN can be mathematically viewed as a special case of HGNN. Based on the assumption that every hyperedge connects only two nodes and has a weight equal to that of others, the simple hypergraph (2-uniform hypergraph) can also be expressed as a graph that has a graph adjacency matrix A and a vertex degree matrix D, which is a construction similar to Epair\mathscr{E}_{\text{pair}}. It is indicated by the hypergraph incidence matrix H, the vertex degree matrix Dv\mathbf{D}_{v}, the hyperedge degree matrix De\mathbf{D}_{e}, and the hyperedge weight matrix W. Under such circumstances, then the following formulations can reduce the simple hypergraph:

{HH⊤=A+DDe−1=12IW=I(7.27)\begin{cases}\mathbf{H}\mathbf{H}^{\top}=\mathbf{A}+\mathbf{D}\\\mathbf{D}_{e}^{-1}=\frac{1}{2}\mathbf{I}\\\mathbf{W}=\mathbf{I}\end{cases} \tag{7.27}

This can be reduced as follows using the hypergraph convolution:

Xt+1=σ(Dv−1/2HWDe−1H⊤Dv−1/2XtΘt)=σ(Dv−1/2H(12I)H⊤Dv−1/2XtΘt)=σ(12D−1/2(A+D)D−1/2XtΘt)=σ(12(I+D−1/2AD−1/2)XtΘt)=σ(D−1/2A^D−1/2XtΘ^t)(7.28)\begin{align*}\mathbf{X}^{t+1}&=\sigma(\mathbf{D}_{v}^{-1/2}\mathbf{H}\mathbf{W}\mathbf{D}_{e}^{-1}\mathbf{H}^{\top}\mathbf{D}_{v}^{-1/2}\mathbf{X}^{t}\Theta^{t})\\ &=\sigma(\mathbf{D}_{v}^{-1/2}\mathbf{H}(\frac{1}{2}\mathbf{I})\mathbf{H}^{\top}\mathbf{D}_{v}^{-1/2}\mathbf{X}^{t}\Theta^{t})\\ &=\sigma(\frac{1}{2}\mathbf{D}^{-1/2}(\mathbf{A}+\mathbf{D})\mathbf{D}^{-1/2}\mathbf{X}^{t}\Theta^{t})\\ &=\sigma(\frac{1}{2}(\mathbf{I}+\mathbf{D}^{-1/2}\mathbf{A}\mathbf{D}^{-1/2})\mathbf{X}^{t}\Theta^{t})\\ &=\sigma(\mathbf{D}^{-1/2}\hat{\mathbf{A}}\mathbf{D}^{-1/2}\mathbf{X}^{t}\hat{\Theta}^{t})\end{align*} \tag{7.28}

where A^=I+D−1/2AD−1/2\hat{\mathbf{A}}=\mathbf{I}+\mathbf{D}^{-1/2}\mathbf{A}\mathbf{D}^{-1/2} and Θ^t=12Θt\hat{\Theta}^{t}=\frac{1}{2}\Theta^{t}. The extra 12\frac{1}{2} can be absorbed by the learnable parameter Θ\Theta. It appears that in modeling the simple graph, the spectral-based hypergraph convolution in HGNN [2] exhibits the same formation as the graph convolution in GCN [18]. Due to its powerful expressive capabilities, the hypergraph convolution not only models and learns the high-order correlation in the hypergraph, but also it has the ability to handle simple graph.

Learning to embed the rooted subtree in low-dimensional space can be viewed as a powerful GNN model [26]. Not only can rooted subtree [27] describe the connections of local vertices, but it can also describe message passing paths in a graph. The rooted subtree can therefore be used to compare HGNN+ [16] with GNN [18]. In hypergraph, the node in the rooted subtree of hypergraph can either be a vertex or a hyperedge in order to satisfy the path definition (also known as the message passing path).

Comparing graph structures that are isomorphic is more straightforward. Therefore, 2-uniform hypergraph (each hyperedge connects only two vertices) is compared. Figure 7.7 displays the rooted subtree for HGNN+ [16] and GNN [18] for a specified vertex, which can also be expressed as the message path in graph and hyperpath in hypergraph. It is obvious that in graph convolution, the vertex features of the neighbors are taken into account. These features are then aggregated to update the central vertex feature at the end of the process. This layer can be described as a hierarchical structure that enables the development of more powerful expressions and modeling capabilities. HGNN+ [16] performs a two stage, i.e., vertex–hyperedge–vertex, transformation. As formulated in Eq.(7.18), the first stage of the procedure generates a hyperedge feature based on the vertex inter-neighboring of the vertex. As a result, the hyperedge inter-neighbor’s features are aggregated to get the updated features of the vertices. Additionally, multi-layer hypergraph convolution has much more message interactions than graph convolution. The rooted vertex appears more frequently in the HGNN+ [16] path of subtrees (like a latent extra self-loop), which accounts for its better performance. In comparison with graph convolution, hypergraph convolution can efficiently extract low- and high-order correlations on hypergraph via vertex–hyperedge–vertex transformation.

In this chapter, we introduce two types of hypergraph neural networks learning: spectral-based and spatial-based methods. In spectral-based methods, the hypergraph transforms the nodes in the common and spectral domains by computing the Laplacian matrix. In the spatial-based methods, each node is updated by aggregating information from the nodes on the spatial domain. Then, we consider that most learning methods in graph learning are still simple graph neural networks.

Finally, we also compare hypergraph neural networks and graph neural networks on the previous spectral-based spatial-based and others. According to the comparison of the convolutional computation coefficients, the hypergraph convolution can not only have the comparable expressive ability of GCN when handling a simple graph, but also is capable of modeling and learning high-order correlations within the hypergraph. Comparing hypergraph convolution with graph convolution based on spatial domain comparison, we can find that hypergraph convolution layer can efficiently extract both low-order and high-order correlations on hypergraph using the vertex-hyperedge-vertex transformation.

Fig. 7.7 Comparison of rooted subtree of graph and 2-uniform hypergraph. This figure is from [16]

  1. D. Zhou, J. Huang, B. Schölkopf, Learning with hypergraphs: Clustering, classification, and embedding, in Proceedings of the Advances in Neural Information Processing Systems (2006), pp. 1601–1608

  2. Y. Feng, H. You, Z. Zhang, R. Ji, Y. Gao, Hypergraph neural networks, in Proceedings of the AAAI Conference on Artificial Intelligence (2019), pp. 3558–3565

  3. N. Yadati, M. Nimishakavi, P. Yadav, V. Nitin, A. Louis, P. Talukdar, HyperGCN: A new method for training graph convolutional networks on hypergraphs, in Proceedings of the Advances in Neural Information Processing Systems (2019)

  4. S. Bai, F. Zhang, P.H. Torr, Hypergraph convolution and hypergraph attention. Pattern Recogn. 110, 107637 (2021)

  5. M. Welling, T.N. Kipf, Semi-supervised classification with graph convolutional networks, in Proceedings of the International Conference on Learning Representations (2016)

  6. P. Veličković, G. Cucurull, A. Casanova, A. Romero, P. Lio, Y. Bengio, Graph attention networks, in Proceedings of the International Conference on Learning Representations (2017)

  7. C. Yang, R. Wang, S. Yao, T. Abdelzaher, Hypergraph learning with line expansion (2020). Preprint arXiv:2005.04843

  8. J. Atwood, D. Towsley, Diffusion-convolutional neural networks, in Proceedings of the Advances in Neural Information Processing Systems (2016)

  9. F. Monti, D. Boscaini, J. Masci, E. Rodola, J. Svoboda, M.M. Bronstein, Geometric deep learning on graphs and manifolds using mixture model cnns, in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (2017), pp. 5115–5124

  10. U. Chitra, B. Raphael, Random walks on hypergraphs with edge-dependent vertex weights, in Proceedings of the International Conference on Machine Learning (2019), pp. 1172–1181

  11. S. Agarwal, K. Branson, S. Belongie, Higher order learning with graphs, in Proceedings of the International Conference on Machine Learning (2006), pp. 17–24

  12. T.-H.H. Chan, A. Louis, Z.G. Tang, C. Zhang, Spectral properties of hypergraph laplacian and approximation algorithms. J. Appl. Comput. Mech. 65(3), 1–48 (2018)

  13. P. Li, O. Milenkovic, Inhomogeneous hypergraph clustering with applications, in Proceedings of the Advances in Neural Information Processing Systems (2017)

  14. P. Li, O. Milenkovic, Submodular hypergraphs: p-laplacians, cheeger inequalities and spectral clustering, in Proceedings of the International Conference on Machine Learning (2018), pp. 3014–3023

  15. J. Jiang, Y. Wei, Y. Feng, J. Cao, Y. Gao, Dynamic hypergraph neural networks. in Proceedings of the International Joint Conference on Artificial Intelligence (2019), pp. 2635–2641

  16. Y. Gao, Y. Feng, S. Ji, R. Ji, HGNN+: General hypergraph neural networks. IEEE Trans. Pattern Analy. Mach. Intell. 45(3), 3181–3199 (2023)

  17. J. Bruna, W. Zaremba, A. Szlam, Y. LeCun, Spectral networks and locally connected networks on graphs (2013). Preprint arXiv:1312.6203

  18. T.N. Kipf, M. Welling, Semi-supervised classification with graph convolutional networks, in Proceedings of the International Conference on Learning Representations (2017)

  19. I. Chami, Z. Ying, C. Ré, J. Leskovec, Hyperbolic graph convolutional neural networks, in Proceedings of the Advances in Neural Information Processing Systems (2019)

  20. M. Defferrard, X. Bresson, P. Vandergheynst, Convolutional neural networks on graphs with fast localized spectral filtering, in Proceedings of the Advances in Neural Information Processing Systems (2016)

  21. M. Nickel, D. Kiela, Poincaré embeddings for learning hierarchical representations, in Proceedings of the Advances in Neural Information Processing Systems (2017)

  22. O. Ganea, G. Bécigneul, T. Hofmann, Hyperbolic neural networks, in Proceedings of the Advances in Neural Information Processing Systems (2018)

  23. A. Li, B. Yang, H. Chen, G. Xu, Hyperbolic neural collaborative recommender. IEEE Trans. Knowl. Data Eng. 1–12 (2021). https://doi.org/10.1109/TKDE.2022.3221386

  24. J. Gilmer, S.S. Schoenholz, P.F. Riley, O. Vinyals, G.E. Dahl, Neural message passing for quantum chemistry, in Proceedings of the International Conference on Machine Learning (2017), pp. 1263–1272

  25. W. Hamilton, Z. Ying, J. Leskovec, Inductive representation learning on large graphs, in Proceedings of the Advances in Neural Information Processing Systems (2017)

  26. K. Xu, W. Hu, J. Leskovec, S. Jegelka, How powerful are graph neural networks?, in Proceedings of the International Conference on Learning Representations (2019)

  27. H.E. Manoochehri, S.S. Kadiyala, M. Nourani, Predicting drug-target interactions using weisfeiler-lehman neural network, in Proceedings of International Conference on Biomedical & Health Informatics (2019), pp. 1–4

Open Access This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made.

The images or other third party material in this chapter are included in the chapter’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.

← node-book_hypergraph-computation_chapter-06-hypergraph-structure-evolution | node-book_hypergraph-computation | node-book_hypergraph-computation_chapter-08-large-scale-hypergraph-computation →