# 超图学习

超图学习是在超图上进行的机器学习。超图是一种结构，其超边可以连接任意数量的节点，因此一条关系可以同时连接三个、一百个乃至数千个顶点。一条超边建模的是一种高阶交互，例如合著关系、群聊、一组共同购买的物品或蛋白质相互作用；将此类交互强行塞入成对图会造成信息损失和可测量的性能下降。<sup>[1](http://dmlab.kaist.ac.kr/~kijungs/papers/hnnCIKM2025.pdf)</sup> 超图上的学习涵盖三大类技术：谱方法、邻近保持方法和神经网络，其中深度学习方法目前占据主导地位。<sup>[2](https://dl.acm.org/doi/10.1145/3605776)</sup>

| 关键事实 | 数值 |
|---|---|
| 核心谱层 | \( L = D_v^{-1/2} \cdot H \cdot B \cdot D_e^{-1} \cdot H^\top \cdot D_v^{-1/2} \)，其中 \(H\) 为关联矩阵 <sup>[3](https://www.dgl.ai/dgl_docs/en/1.0.x/notebooks/sparse/hgnn.html)</sup> |
| 关联矩阵规模 | 对于 \(n\) 个节点和 \(m\) 条超边为 \(O(mn)\) <sup>[4](https://doi.org/10.48550/arxiv.2006.12278)</sup> |
| HNHN 卷积开销 | \(O(n\delta_V d + nd^2 + md^2)\)，避免显式构造 \(H\) <sup>[4](https://doi.org/10.48550/arxiv.2006.12278)</sup> |
| HGNN 报告准确率 | 100 次运行中 Cora 达 81.6%，Pubmed 达 80.1% <sup>[5](https://ojs.aaai.org/index.php/AAAI/article/view/4235)</sup> |
| 相同设置下的 HGNN | HyFER 基准中 Cora 为 0.710，Pubmed 为 0.778 <sup>[6](https://graph-learning-benchmarks.github.io/assets/papers/glb2021/Hyprgraph_Learning_Benchmark.pdf)</sup> |
| UniGNN 在 DBLP 上 | 半监督节点分类从 77.4% 提升至 88.8% <sup>[7](https://www.ijcai.org/proceedings/2021/0353.pdf)</sup> |
| 应用 | 序列推荐、基于会话的推荐、群组推荐、对话推荐和兴趣点推荐；生物信息学；时间序列；计算机视觉 <sup>[8](https://dl.acm.org/doi/10.1145/3637528.3671457)</sup> |

## 工作原理

加权超图 \(G=(V,E,w)\) 由关联矩阵 \(H\) 描述，若节点 \(v\) 属于超边 \(e\)，则 \(h(v,e)=1\)。顶点度为 \(d(v)=\sum_e w(e)h(v,e)\)，邻接关系为 \(A = HWH^\top - D_v\)。<sup>[9](https://doi.org/10.7551/mitpress/7503.003.0205)</sup> 周登勇、黄嘉元和[伯恩哈德·舍尔科普夫](https://www.edgepedia.org/zh/bernhard-scholkopf)将归一化割谱聚类从图推广到超图：对超图归一化割进行松弛，得到一个半正定超图拉普拉斯算子，其特征分解给出嵌入和直推式（仅对给定的已标注加未标注数据进行分类）分类算法，分类函数为 \( f = (I - \xi\Theta)^{-1}y \)，其中 \(\xi\in(0,1)\)。<sup>[9](https://doi.org/10.7551/mitpress/7503.003.0205)</sup> 他们的框架还具有随机游走解释。<sup>[10](https://dennyzhou.github.io/papers/hyper_tech.pdf)</sup>

神经超图学习将这一归一化算子复用为卷积。HGNN 层为 \( f(X^{(l)}, H; W^{(l)}) = \sigma(L \cdot X^{(l)} \cdot W^{(l)}) \)，其中 \( L = D_v^{-1/2} \cdot H \cdot B \cdot D_e^{-1} \cdot H^\top \cdot D_v^{-1/2} \)，\(B\) 为对角超边权重矩阵。<sup>[3](https://www.dgl.ai/dgl_docs/en/1.0.x/notebooks/sparse/hgnn.html)</sup> 等价地，每一层执行两阶段的节点—超边—节点消息传递：节点特征先经学习矩阵变换，通过 \(H^\top\) 汇聚为超边表示，再通过 \(H\) 聚合回节点，两个阶段均由度矩阵归一化。<sup>[5](https://ojs.aaai.org/index.php/AAAI/article/view/4235)</sup>

## 实现方法

实践者首先构建超图。在 HGNN 的视觉对象构建中，每条超边连接一个顶点及其欧氏距离最近的 \(K\) 个邻居，从而在 \(K+1\) 个顶点上得到 \(N\) 条超边，且 \(H \in \mathbb{R}^{N \times N}\)；在引文网络中，每条超边连接一个顶点及其图邻居。<sup>[5](https://ojs.aaai.org/index.php/AAAI/article/view/4235)</sup> 超图表达还可以采用团扩展、自适应扩展、星扩展或线扩展。<sup>[1](http://dmlab.kaist.ac.kr/~kijungs/papers/hnnCIKM2025.pdf)</sup>

其次，计算关联矩阵和度矩阵：节点度统计包含某节点的超边数，超边度统计某超边中的节点数，分别由 \(D_V=\operatorname{diag}(H w)\) 和 \(D_E=\operatorname{diag}(H^\top\mathbf{1})\) 给出；无权重情形下直接使用 \(H\) 的普通求和。<sup>[3](https://www.dgl.ai/dgl_docs/en/1.0.x/notebooks/sparse/hgnn.html)</sup> 第三，堆叠传播层。HGNN 用截断[切比雪夫多项式](https://www.edgepedia.org/zh/chebyshev-polynomials)近似谱卷积，以避免超图傅里叶正逆变换的 \(O(n^2)\) 开销；当 \(K=1\) 且 \(\lambda_{\max}\approx 2\) 时，滤波器简化为 \( g \star x \approx \theta_0 x - \theta_1 D_v^{-1/2} \cdot H \cdot W \cdot D_e^{-1} \cdot H^\top \cdot D_v^{-1/2} x \)。<sup>[5](https://ojs.aaai.org/index.php/AAAI/article/view/4235)</sup> 随后训练目标为节点分类、超边分类或预测、聚类或推荐。HNHN 的卷积开销为 \(O(n\delta_V d + nd^2 + md^2)\)，其中 \(n\) 为节点数、\(m\) 为超边数、\(\delta_V\) 为平均顶点度、\(d\) 为隐藏维度，且避免实例化规模为 \(O(mn)\) 的关联矩阵。<sup>[4](https://doi.org/10.48550/arxiv.2006.12278)</sup>

## 起源

超图聚类、分类和嵌入方面一个有影响力的早期框架由周登勇、黄嘉元和伯恩哈德·舍尔科普夫提出，他们将谱聚类推广到超图，并由此导出超图嵌入和直推式分类算法，于 2006 年出现在神经信息处理系统大会上，2007 年由麻省理工学院出版社电子书出版。<sup>[9](https://doi.org/10.7551/mitpress/7503.003.0205)</sup> 更早的时候，关于超图节点和超边向量表示学习的首次讨论可追溯至 1980 年代，目标是二维可视化。<sup>[2](https://dl.acm.org/doi/10.1145/3605776)</sup> 在 zoo 等 UCI 数据集上（101 只动物，16 个预测属性包括 15 个布尔属性和 1 个数值属性，7 个类别），超图方法始终优于成对基线。<sup>[10](https://dennyzhou.github.io/papers/hyper_tech.pdf)</sup>

神经转向来自冯一凡及其同事，他们的 HGNN 于 2018 年作为 arXiv 预印本发布 <sup>[11](https://doi.org/10.48550/arxiv.1809.09401)</sup>，并在 2019 年美国人工智能协会年会上发表，提出了首个带有设计好的超边卷积操作的[超图神经网络](https://www.edgepedia.org/zh/hypergraph-neural-network)。<sup>[5](https://ojs.aaai.org/index.php/AAAI/article/view/4235)</sup>

## 变体

各类命名变体的主要区别在于两阶段消息传递的归一化方式和参数化方式。**HGNN+**（高跃、冯一凡、姬书怡和纪荣嵘，IEEE 模式分析与机器智能汇刊 2022）将 HGNN 扩展为面向多模态、多类型关联的通用框架，使用超边组和自适应融合策略，并在空间域执行卷积。<sup>[12](https://doi.org/10.1109/tpami.2022.3182052)</sup> **HyperGCN**（纳加南德·亚达蒂及其同事，arXiv 2018）在超图上训练图卷积网络。<sup>[13](https://doi.org/10.48550/arxiv.1809.02589)</sup> **HNHN**（董一禾、威尔·萨温和[约书亚·本吉奥](https://www.edgepedia.org/zh/yoshua-bengio)，2020）对超节点和超边均施加非线性激活，节点更新为 \( X'_V = \sigma(D_V^{-\beta} H \cdot X'_E \cdot W_V + b_V) \)，超边更新为 \( X'_E = \sigma(D_E^{-\alpha} H^\top \cdot X_V \cdot W_E + b_E) \)，并引入归一化超参数 \(\alpha\) 和 \(\beta\) 来调节高基数超边和高度数顶点的权重。<sup>[4](https://doi.org/10.48550/arxiv.2006.12278)</sup> **UniGNN**（黄晶和杨杰，2021）通过置换不变函数 \(\varphi_1\) 和 \(\varphi_2\) 将 GCN、GAT、GIN 和 [GraphSAGE](https://www.edgepedia.org/zh/graphsage) 推广到超图，在普通图上退化为标准 GNN；其 UniGCNII 变体加入初始残差和恒等映射以对抗过平滑。<sup>[7](https://www.ijcai.org/proceedings/2021/0353.pdf)</sup><sup> • </sup><sup>[14](https://doi.org/10.48550/arxiv.2105.00956)</sup> **AllSet**（简亦立、潘超、彭建豪和奥尔吉察·米伦科维奇，2021）将两个阶段都表述为多重集函数，并推广了大多数 HNN，包括 HGNN、HNHN、HCHA、HyperSAGE 和 HyperGCN。<sup>[15](https://doi.org/10.48550/arxiv.2106.13264)</sup><sup> • </sup><sup>[16](https://arxiv.org/html/2310.07684)</sup> **HCHA**（白松、张飞虎和菲利普·H·S·托尔，2020）加入超图注意力。<sup>[17](https://doi.org/10.1016/j.patcog.2020.107637)</sup> 另一条独立路线学习依赖于超边的节点嵌入：瑞安·阿庞特及其同事（2022）的 HNN 框架联合学习超边嵌入和依赖于超边的节点嵌入。<sup>[18](https://doi.org/10.48550/arxiv.2212.14077)</sup>

## 应用

超图神经网络已被应用于序列推荐、基于会话的推荐、群组推荐、对话推荐和兴趣点推荐，其中一次会话中点击或购买的物品由一条超边连接。<sup>[1](http://dmlab.kaist.ac.kr/~kijungs/papers/hnnCIKM2025.pdf)</sup><sup> • </sup><sup>[8](https://dl.acm.org/doi/10.1145/3637528.3671457)</sup> 综述覆盖范围还包括生物信息学和医学科学、时间序列分析以及计算机视觉。<sup>[8](https://dl.acm.org/doi/10.1145/3637528.3671457)</sup> 在视觉对象识别中，使用 GVCNN、MVCNN 和 GVCNN+MVCNN 特征时，HGNN 在 NTU 数据集上比 GCN 分别提升 8.3%、10.4% 和 8.1%。<sup>[5](https://ojs.aaai.org/index.php/AAAI/article/view/4235)</sup>

## 局限与替代方案

**团扩展丢失信息。** 不带注意力的 HGNN 和 HCHA 在数学上等价于团扩展上的普通图卷积，而后者并未利用超图的全部结构信息。<sup>[4](https://doi.org/10.48550/arxiv.2006.12278)</sup> 超图与其团扩展之间不存在双射变换，团扩展或星扩展也无法建模超边—顶点依赖关系以及超边之间的交互。<sup>[19](https://ar5iv.labs.arxiv.org/html/2101.07773)</sup> 非归约式替代方案包括星扩展、线扩展和张量表示。<sup>[8](https://dl.acm.org/doi/10.1145/3637528.3671457)</sup>

**过平滑与深度。** 基于团扩展的 HNN 通常浅层表现最佳；更深的层会导致过平滑。<sup>[16](https://arxiv.org/html/2310.07684)</sup> UniGCNII 通过残差和恒等连接解决了这一问题。<sup>[7](https://www.ijcai.org/proceedings/2021/0353.pdf)</sup>

**可扩展性与构建。** 谱方法随 \(|V|\) 的扩展性很差，因为特征值问题的矩阵必须存储在内存中。<sup>[2](https://dl.acm.org/doi/10.1145/3605776)</sup> HGNN 的开源实现在 Pubmed 和 DBLP 上会内存耗尽。<sup>[6](https://graph-learning-benchmarks.github.io/assets/papers/glb2021/Hyprgraph_Learning_Benchmark.pdf)</sup> 当超边较大时流水线难以处理；在 20Newsgroups 上，超边的节点数中位数为 537。<sup>[16](https://arxiv.org/html/2310.07684)</sup> 由于节点和超边的定义因应用而异，目前没有构建超图的标准方法，且在大数据集上的可扩展性尚未得到充分验证。<sup>[20](https://link.springer.com/content/pdf/10.1007/s40305-025-00630-y.pdf)</sup> HNN 的作者指出，大多数方法假设同一超边中的节点应具有相似表示，这在任意大小的含噪、部分观测超边上会失效。<sup>[21](https://ar5iv.labs.arxiv.org/html/2212.14077)</sup> 将 GNN 技术朴素地推广到超图往往导致次优性能，因此仍需量身定制的设计。<sup>[1](http://dmlab.kaist.ac.kr/~kijungs/papers/hnnCIKM2025.pdf)</sup>

与替代方案相比，HNN 在节点分类、边预测和聚类方面相较 GNN 带来了显著提升，包括在 DBLP、Trivago 和 House 排行榜上的最先进结果。<sup>[1](http://dmlab.kaist.ac.kr/~kijungs/papers/hnnCIKM2025.pdf)</sup> 高阶学习也通过成对图中的模体和单纯复形进行，超图是两种直接表示之一。<sup>[22](https://par.nsf.gov/biblio/10528348-higher-order-networks-representation-learning-survey)</sup> 首项关于提升的系统性研究发现，提升方式的选择往往比 HNN 架构的选择更重要，且没有单一提升方式在所有数据集上占优。<sup>[23](https://proceedings.mlr.press/v326/montagna26a.html)</sup> 报告数值在很大程度上取决于设置：HGNN 的论文报告 100 次运行中 Cora 为 81.6%、Pubmed 为 80.1%，<sup>[5](https://ojs.aaai.org/index.php/AAAI/article/view/4235)</sup> 但在 HyFER 的相同设置下，HGNN 达到 0.710（Cora）和 0.778（Pubmed），HNHN 为 0.660 和 0.771，HAT 为 0.607 和 0.764。<sup>[6](https://graph-learning-benchmarks.github.io/assets/papers/glb2021/Hyprgraph_Learning_Benchmark.pdf)</sup>

## References

1. [A Tutorial on Hypergraph Neural Networks: An In-Depth and Step-By-Step Guide (CIKM 2025)](http://dmlab.kaist.ac.kr/~kijungs/papers/hnnCIKM2025.pdf)
2. [A Survey on Hypergraph Representation Learning (ACM Computing Surveys)](https://dl.acm.org/doi/10.1145/3605776)
3. [Hypergraph Neural Networks, DGL documentation tutorial](https://www.dgl.ai/dgl_docs/en/1.0.x/notebooks/sparse/hgnn.html)
4. [Dong, Yihe, Sawin, Will, Bengio, Yoshua (2020). HNHN: Hypergraph Networks with Hyperedge Neurons. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2006.12278)
5. [Hypergraph Neural Networks (HGNN, AAAI 2019; facts and excerpts merged from the arXiv preprint arXiv:1809.09401 of the same paper)](https://ojs.aaai.org/index.php/AAAI/article/view/4235)
6. [HyFER: A Framework for Making Hypergraph Learning Easy, Scalable and Benchmarkable](https://graph-learning-benchmarks.github.io/assets/papers/glb2021/Hyprgraph_Learning_Benchmark.pdf)
7. [UniGNN: a Unified Framework for Graph and Hypergraph Neural Networks (IJCAI 2021)](https://www.ijcai.org/proceedings/2021/0353.pdf)
8. [A Survey on Hypergraph Neural Networks: An In-Depth and Step-By-Step Guide (KDD 2024; merged with its arXiv version arXiv:2404.01039)](https://dl.acm.org/doi/10.1145/3637528.3671457)
9. [Dengyong Zhou, Jiayuan Huang, Bernhard Schölkopf (2007). Learning with Hypergraphs: Clustering, Classification, and Embedding. The MIT Press eBooks.](https://doi.org/10.7551/mitpress/7503.003.0205)
10. [Beyond Pairwise Classification and Clustering Using Hypergraphs (Zhou et al. technical report)](https://dennyzhou.github.io/papers/hyper_tech.pdf)
11. [Feng, Yifan and colleagues (2018). Hypergraph Neural Networks. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1809.09401)
12. [Yue Gao and colleagues (2022). HGNN + : General Hypergraph Neural Networks. IEEE Transactions on Pattern Analysis and Machine Intelligence.](https://doi.org/10.1109/tpami.2022.3182052)
13. [Yadati, Naganand and colleagues (2018). HyperGCN: A New Method of Training Graph Convolutional Networks on Hypergraphs. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1809.02589)
14. [Huang, Jing, Yang, Jie (2021). UniGNN: a Unified Framework for Graph and Hypergraph Neural Networks. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2105.00956)
15. [Chien, Eli and colleagues (2021). You are AllSet: A Multiset Function Framework for Hypergraph Neural Networks. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2106.13264)
16. [Hypergraph Neural Networks through the Lens of Message Passing (MultiSet)](https://arxiv.org/html/2310.07684)
17. [Song Bai, Feihu Zhang, Philip H.S. Torr (2020). Hypergraph convolution and hypergraph attention. Pattern Recognition.](https://doi.org/10.1016/j.patcog.2020.107637)
18. [Aponte, Ryan and colleagues (2022). A Hypergraph Neural Network Framework for Learning Hyperedge-Dependent Node Embeddings. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2212.14077)
19. [Learning over Families of Sets - Hypergraph Representation Learning for Higher Order Tasks](https://ar5iv.labs.arxiv.org/html/2101.07773)
20. [Recent Advances in Hypergraph Neural Networks (Springer, 2025; merged with its arXiv version arXiv:2503.07959)](https://link.springer.com/content/pdf/10.1007/s40305-025-00630-y.pdf)
21. [A Hypergraph Neural Network Framework for Learning Hyperedge-Dependent Node Embeddings (HNN)](https://ar5iv.labs.arxiv.org/html/2212.14077)
22. [Higher-Order Networks Representation and Learning: A Survey (KDD Explorations, 2024)](https://par.nsf.gov/biblio/10528348-higher-order-networks-representation-learning-survey)
23. [Lift me up: the impact of liftings on hypergraph neural networks (PMLR)](https://proceedings.mlr.press/v326/montagna26a.html)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Machine learning and neural computation › Neural networks and deep learning › Neural network architectures › Graph neural network architectures

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/hypergraph-learning

English original: https://www.edgepedia.org/hypergraph-learning
