• 中文核心
  • EI
  • 中国科技核心
  • Scopus
  • CSCD
  • 英国科学文摘

留言板

尊敬的读者、作者、审稿人, 关于本刊的投稿、审稿、编辑和出版的任何问题, 您可以本页添加留言。我们将尽快给您答复。谢谢您的支持!

姓名
邮箱
手机号码
标题
留言内容
验证码

基于自适应稳定子图的图不变表示学习方法

赵亮,  曹付元,  陈庆强,  李欣娜

赵亮, 曹付元, 陈庆强, 李欣娜. 基于自适应稳定子图的图不变表示学习方法. 自动化学报, xxxx, xx(x): x−xx doi: 10.16383/j.aas.c260105
引用本文: 赵亮, 曹付元, 陈庆强, 李欣娜. 基于自适应稳定子图的图不变表示学习方法. 自动化学报, xxxx, xx(x): x−xx doi: 10.16383/j.aas.c260105
Zhao Liang, Cao Fu-Yuan, Chen Qing-Qiang, Li Xin-Na. Graph invariant representation learning method via adaptive stable subgraphs. Acta Automatica Sinica, xxxx, xx(x): x−xx doi: 10.16383/j.aas.c260105
Citation: Zhao Liang, Cao Fu-Yuan, Chen Qing-Qiang, Li Xin-Na. Graph invariant representation learning method via adaptive stable subgraphs. Acta Automatica Sinica, xxxx, xx(x): x−xx doi: 10.16383/j.aas.c260105

基于自适应稳定子图的图不变表示学习方法

doi: 10.16383/j.aas.c260105
基金项目: 国家自然科学基金(U24A20323, 62376145), 太行实验室技术攻关专项(THYF-KFKT-25020200), 太原市“双百攻关行动”关键核心技术攻关“揭榜挂帅”项目(2024TYJB0127), 山西省基础研究计划(202503021212095)资助
详细信息
    作者简介:

    赵亮:山西大学计算机与信息技术学院硕士研究生. 主要研究方向为图机器学习, 图分布外泛化. E-mail: 13152832910@163.com

    曹付元:山西大学计算机与信息技术学院教授. 主要研究方向为数据挖掘, 机器学习. 本文通信作者. E-mail: cfy@sxu.edu.cn

    陈庆强:山西大学计算机与信息技术学院讲师. 主要研究方向为数据挖掘, 机器学习. E-mail: cqq@sxu.edu.cn

    李欣娜:山西大学计算机与信息技术学院硕士研究生. 主要研究方向为因果发现. E-mail: lixinna@sxu.edu.cn

  • 中图分类号: Y

Graph Invariant Representation Learning Method via Adaptive Stable Subgraphs

Funds: Supported by National Natural Science Foundation of China (U24A20323, 62376145), Key Technology Research Project of Taihang Laboratory (THYF-KFKT-25020200), Key Core Technology Project of Taiyuan's “Double Hundred Tackling Action” (2024TYJB0127), and Fundamental Research Program of Shanxi Province (202503021212095)
More Information
    Author Bio:

    ZHAO Liang Master student at the School of Computer and Information Technology, Shanxi University. His research interests include graph machine learning and graph out-of-distribution generalization

    CAO Fu-Yuan Professor at the School of Computer and Information Technology, Shanxi University. His research interests include data mining and machine learning. Corresponding author of this paper

    CHEN Qing-Qiang Lecturer at the School of Computer and Information Technology, Shanxi University. His research interests include data mining and machine learning

    LI Xin-Na Master student at the School of Computer and Information Technology, Shanxi University. Her main research interest is causal discovery

  • 摘要: 图不变表示学习致力于为图分类任务学习跨环境稳定的判别性表示, 是提升图神经网络分布外泛化能力的关键途径. 为实现这一目标, 现有研究通常通过提取不变子图来削弱环境相关噪声的干扰. 然而, 在子图构造过程中, 这类方法大多依赖固定比例的Top-K策略或随机采样机制, 难以适应不同图在结构特性及边重要性分布上的差异, 导致所选子图在不同样本之间缺乏一致性与稳定性, 进而影响表示学习效果. 针对这一问题, 从图结构特性与边重要性分布的差异出发, 提出一种自适应稳定子图的图不变表示学习方法. 具体而言, 该方法基于边重要性分布的统计特性, 对子图规模进行自适应建模, 并结合指数滑动平均策略实现训练过程中的平滑更新, 从而在不同图实例上动态提取结构稳定的不变子图. 在此基础上, 进一步引入特征掩码与结构掩码生成机制, 在节点属性与边结构层面构造扰动视图, 并通过对比学习约束跨视图表示一致性, 从而在结构依赖与不变性约束之间实现有效平衡, 增强模型对稳定判别信息的关注. 实验结果表明, 所提方法在合成数据与真实数据集的多种分布外场景下均优于现有方法, 验证了其在自适应结构建模与稳健表示学习方面的有效性.
  • 图  1  模型框架图

    Fig.  1  Framework diagram of the proposed model

    图  3  保留率稳定性分析

    Fig.  3  Analysis of retention rate stability

    图  2  自适应迁移实验

    Fig.  2  Adaptive transfer experiments

    图  5  $ \kappa $、保留率与模型性能关系分析

    Fig.  5  Relationship among $ \kappa $, retention rate and model performance

    图  4  时间效率对比分析

    Fig.  4  Comparative analysis of time efficiency

    图  6  扰动鲁棒性分析

    Fig.  6  Perturbation robustness analysis

    图  7  不变子图提取性能分析

    Fig.  7  Performance analysis of invariant subgraph extraction

    图  8  消融实验

    Fig.  8  Ablation study

    图  9  超参数分析

    Fig.  9  Hyperparameter analysis

    表  1  在合成数据集上的图分类结果

    Table  1  Graph classification results on synthetic datasets

    数据集SPMOTIF-MIXED
    BIAS = 0.33BIAS = 0.60BIAS = 0.90
    评价指标ACC
    ERM$ 58.18 \pm 4.30 $$ 49.29 \pm 8.17 $$ 41.36 \pm 3.29 $
    IRM$ 58.20 \pm 1.97 $$ 49.29 \pm 3.67 $$ 40.73 \pm 1.93 $
    V-REX$ 57.82 \pm 5.93 $$ 48.25 \pm 2.79 $$ 43.27 \pm 1.32 $
    SUGAR$ 70.27 \pm 4.18 $$ 69.75 \pm 3.34 $$ 50.42 \pm 4.58 $
    DIR$ 67.28 \pm 4.06 $$ 51.66 \pm 14.10 $$ 38.58 \pm 5.88 $
    GSAT$ 70.22 \pm 3.26 $$ 69.65 \pm 4.23 $$ 50.29 \pm 3.81 $
    CIGA$ 72.42 \pm 4.80 $$ 70.83 \pm 7.54 $$ 54.25 \pm 5.38 $
    IGM$ 70.47 \pm 3.66 $$ 72.44 \pm 6.38 $$ 49.53 \pm 4.29 $
    EQuAD$ 73.06 \pm 3.58 $$ 71.32 \pm 6.55 $$ 53.68 \pm 3.74 $
    PrunE$ 75.84 \pm 3.12 $$ 72.61 \pm 4.03 $$ 56.91 \pm 3.27 $
    ASIG$ \mathbf{76.36}\pm\mathbf{2.49} $$ \mathbf{74.17}\pm\mathbf{4.28} $$ \mathbf{59.47}\pm\mathbf{3.62} $
    下载: 导出CSV

    表  2  OOD方法在真实世界图的复杂分布变化上的泛化性能

    Table  2  Generalization performance of OOD methods under complex distribution shifts in real-world graphs

    数据集DRUG-ASSAYDRUG-SCADRUG-SIZECMNIST-SPGRAPH-SST5
    评价指标AUCACC
    ERM$ 71.79 \pm 0.27 $$ 68.85 \pm 0.62 $$ 66.70 \pm 1.08 $$ 13.96 \pm 5.48 $$ 43.89 \pm 1.73 $
    IRM$ 72.12 \pm 0.49 $$ 68.69 \pm 0.65 $$ 66.54 \pm 0.42 $$ 31.58 \pm 9.52 $$ 43.69 \pm 1.26 $
    V-REX$ 72.05 \pm 1.25 $$ 68.92 \pm 0.98 $$ 66.33 \pm 0.74 $$ 10.29 \pm 0.46 $$ 43.28 \pm 0.52 $
    SUGAR$ 71.84 \pm 0.55 $$ 68.29 \pm 0.71 $$ 66.51 \pm 0.91 $$ 48.13 \pm 1.16 $$ 44.72 \pm 1.57 $
    DIR$ 68.25 \pm 1.40 $$ 63.91 \pm 1.36 $$ 60.40 \pm 1.42 $$ 15.50 \pm 8.65 $$ 41.12 \pm 1.96 $
    GSAT$ 70.59 \pm 0.43 $$ 66.45 \pm 0.50 $$ 66.70 \pm 0.37 $$ 43.38 \pm 5.44 $$ 45.09 \pm 1.34 $
    CIGA$ 73.17 \pm 0.39 $$ 69.70 \pm 0.27 $$ 67.78 \pm 0.76 $$ 44.91 \pm 4.31 $$ 45.25 \pm 1.27 $
    IGM$ 73.07 \pm 0.89 $$ 68.32 \pm 0.48 $$ 67.99 \pm 1.26 $$ 47.93 \pm 3.62 $$ 43.79 \pm 1.49 $
    EQuAD$ 72.98 \pm 0.32 $$ 69.78 \pm 0.35 $$ 68.06 \pm 0.18 $$ 48.23 \pm 4.15 $$ 44.76 \pm 0.89 $
    PrunE$ 73.42 \pm 0.44 $$ 70.15 \pm 0.79 $$ 69.34 \pm 0.63 $$ 49.82 \pm 3.41 $$ 44.61 \pm 1.98 $
    ASIG$ \mathbf{73.89} \pm\mathbf{0.51} $$ \mathbf{71.46} \pm\mathbf{0.37} $$ \mathbf{69.76} \pm\mathbf{0.43} $$ \mathbf{51.61} \pm\mathbf{4.97} $$ \mathbf{46.98} \pm\mathbf{1.58} $
    下载: 导出CSV

    表  3  损失函数消融对实验结果影响

    Table  3  Impact of loss function ablation on experimental results

    配置/数据集 Graph-SST5 DrugOOD
    完整模型 46.98 73.89
    去互信息损失 43.27 71.52
    去对比一致性损失 41.06 69.83
    去所有损失 39.45 68.21
    下载: 导出CSV

    表  4  自适应子图选择策略对比实验

    Table  4  Comparison experiments of adaptive subgraph selection strategies

    数据集/方法 Gumbel-Softmax Top-K ASIG
    SPMotif-Mixed (BIAS = 0.90) 56.39 59.47
    DRUG-SIZE 67.83 69.76
    Graph-SST5 43.57 46.98
    下载: 导出CSV
  • [1] Kipf T N, Welling M. Semi-supervised classification with graph convolutional networks. In: Proceedings of the 5th International Conference on Learning Representations. Toulon, France: OpenReview.net, 2017. 1–14
    [2] Wu F, Souza A, Zhang T Y, Fifty C, Yu T, Weinberger K. Simplifying graph convolutional networks. In: Proceedings of the 36th International Conference on Machine Learning. Long Beach, USA: PMLR, 2019. 6861–6871
    [3] Hamilton W L, Ying Z T, Leskovec J. Inductive representation learning on large graphs. In: Proceedings of the 31st International Conference on Neural Information Processing Systems. Long Beach, USA: Curran Associates, Inc., 2017. 1025–1035
    [4] Buterez D, Janet J P, Kiddle S J, Oglic D, Liò P. Transfer learning with graph neural networks for improved molecular property prediction in the multi-fidelity setting. Nature Communications, 2024, 15(1): Article No. 1517 doi: 10.1038/s41467-024-45566-8
    [5] Ibrahim O A S, Younis E M G, Mohamed E A, Ismail W N. Revisiting recommender systems: An investigative survey. Neural Computing and Applications, 2025, 37(4): 2145−2173 doi: 10.1007/s00521-024-10828-5
    [6] Li H Y, Wang X, Zhang Z W, Zhu W W. Out-of-distribution generalization on graphs: A survey. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2025, 47(11): 10490−10512 doi: 10.1109/TPAMI.2025.3593897
    [7] Arjovsky M, Bottou L, Gulrajani I, Lopez-Paz D. Invariant risk minimization. arXiv preprint arXiv: 1907.02893, 2019.
    [8] Krueger D, Caballero E, Jacobsen J H, Zhang A, Binas J, Zhang D H, et al. Out-of-distribution generalization via risk extrapolation (REx). In: Proceedings of the 38th International Conference on Machine Learning. Virtual Event: PMLR, 2021. 5815–5826
    [9] Wu Y X, Wang X, Zhang A, He X N, Chua T S. Discovering invariant rationales for graph neural networks. arXiv preprint arXiv: 2201.12872, 2022.
    [10] Li H Y, Zhang Z W, Wang X, Zhu W W. Learning invariant graph representations for out-of-distribution generalization. In: Proceedings of the 36th International Conference on Neural Information Processing Systems. New Orleans, USA: Curran Associates, Inc., 2022. 11828–11841
    [11] Jia T R, Li H Y, Yang C, Tao T, Shi C. Graph invariant learning with subgraph co-mixup for out-of-distribution generalization. In: Proceedings of the 38th AAAI Conference on Artificial Intelligence. Vancouver, Canada: AAAI Press, 2024. 8562–8570
    [12] Miao S Q, Liu M, Li P. Interpretable and generalizable graph learning via stochastic attention mechanism. In: Proceedings of the 39th International Conference on Machine Learning. Baltimore, USA: PMLR, 2022. 15524–15543
    [13] Chen Y Q, Zhang Y G, Bian Y T, Yang H, Ma K, Xie B H, et al. Learning causally invariant representations for out-of-distribution generalization on graphs. In: Proceedings of the 36th International Conference on Neural Information Processing Systems. New Orleans, USA: Curran Associates, Inc., 2022. 22131–22148
    [14] Fan S H, Wang X, Mo Y H, Shi C, Tang J. Debiasing graph neural networks via learning disentangled causal substructure. In: Proceedings of the 36th International Conference on Neural Information Processing Systems. New Orleans, USA: Curran Associates, Inc., 2022. 24934–24946
    [15] Li X E, Gui S R, Luo Y Z, Ji S W. Graph structure and feature extrapolation for out-of-distribution generalization. arXiv preprint arXiv: 2306.08076, 2023.
    [16] Guo K, Wen H Z, Jin W, Guo Y M, Tang J L, Chang Y. Investigating out-of-distribution generalization of GNNs: an architecture perspective. In: Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining. New York, USA: Association for Computing Machinery, 2024. 932–943
    [17] Zhu Y, Shi H Z, Zhang Z S, Tang S L. MARIO: Model agnostic recipe for improving OOD generalization of graph contrastive learning. In: Proceedings of the ACM Web Conference 2024. New York, USA: Association for Computing Machinery, 2024. 300–311
    [18] Sadeghi A, Ma M, Li B C, Giannakis G B. Distributionally robust semi-supervised learning over graphs. arXiv preprint arXiv: 2110.10582, 2021.
    [19] Muandet K, Balduzzi D, Schölkopf B. Domain generalization via invariant feature representation. In: Proceedings of the 30th International Conference on Machine Learning. Atlanta, USA: PMLR, 2013. 10–18
    [20] Sun Q Y, Peng H, Li J X, Wu J, Ning Y X, Yu P S, et al. SUGAR: Subgraph neural network with reinforcement pooling and self-supervised mutual information mechanism. In: Proceedings of The Web Conference 2021. Ljubljana, Slovenia: Association for Computing Machinery, 2021. 2081–2091
    [21] Bengio Y, Deleu T, Rahaman N, Ke N R, Lachapelle S, Bilaniuk O, et al. A meta-transfer objective for learning to disentangle causal mechanisms. In: Proceedings of the 8th International Conference on Learning Representations. Addis Ababa, Ethiopia: OpenReview.net, 2020. 1–26
    [22] Yuan H, Yu H Y, Gui S R, Ji S W. Explainability in graph neural networks: A taxonomic survey. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2023, 45(5): 5782−5799 doi: 10.1109/tpami.2022.3204236
    [23] Ji Y F, Zhang L, Wu J X, Wu B Z, Li L Q, Huang L K, et al. DrugOOD: Out-of-distribution dataset curator and benchmark for AI-aided drug discovery-A focus on affinity prediction problems with noise annotations. In: Proceedings of the 37th AAAI Conference on Artificial Intelligence. Washington, USA: AAAI Press, 2023. 8023–8031
    [24] Vapnik V. The Nature of Statistical Learning Theory. New York: Springer-Verlag, 2013.
    [25] Yao T J, Chen Y Q, Chen Z H, Hu K, Shen Z Q, Zhang K. Empowering graph invariance learning with deep spurious infomax. In: Proceedings of the 41st International Conference on Machine Learning. Vienna, Austria: PMLR, 2024. 56860–56884
    [26] Yao T J, Li H X, Chen Y Q, Liu T L, Song L, Xing E P, et al. Pruning spurious subgraphs for graph out-of-distribution generalization. In: Proceedings of the 39th International Conference on Neural Information Processing Systems. San Diego, USA: Curran Associates, Inc., 2025. 35960–35991
  • 加载中
计量
  • 文章访问数:  13
  • HTML全文浏览量:  9
  • 被引次数: 0
出版历程
  • 收稿日期:  2026-02-04
  • 录用日期:  2026-05-07
  • 网络出版日期:  2026-10-21

目录

    /

    返回文章
    返回