MetaGT: A lightweight graph transformer via meta learning for large-scale graphs

IF 6.7 2区 计算机科学 Q1 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE
Neurocomputing Pub Date : 2026-05-01 Epub Date: 2026-02-12 DOI:10.1016/j.neucom.2026.132992
Wenting Wang , Yunfei Tian , Hailong Zhang
{"title":"MetaGT: A lightweight graph transformer via meta learning for large-scale graphs","authors":"Wenting Wang ,&nbsp;Yunfei Tian ,&nbsp;Hailong Zhang","doi":"10.1016/j.neucom.2026.132992","DOIUrl":null,"url":null,"abstract":"<div><div>Graph Transformers (GTs) excel at modeling long-distance dependencies and global information in graphs, but their scalability on large-scale graphs is limited by the quadratic growth of memory and computation costs introduced by self-attention. To address these challenges, existing methods such as linear attention mechanisms and graph partitioning have been proposed. However, these methods have inherent limitations. Linear attention mechanisms still incur significant computational overhead, while subgraph-based training often leads to reduced accuracy due to the lack of global context and the structural differences among subgraphs. In this paper, we propose MetaGT, a lightweight Graph Transformer model for large-scale graphs. MetaGT first partitions the global graph into structurally compact subgraphs to reduce memory requirements. To further ensure both efficiency and accuracy, we introduce a “pre- and post-training” paradigm into subgraph-based GT models. In pre-training, meta-learning is employed on a subset of subgraphs to obtain generalizable parameters, which are then enhanced by minimal fine-tuning during post-training. MetaGT is plug-and-play and can be seamlessly integrated into mainstream GT models. Extensive experiments demonstrate that MetaGT consistently achieves promising efficiency, memory consumption, and accuracy across various backbone GT models on large-scale graph datasets. Our code is available at <span><span>https://anonymous.4open.science/r/MetaGT-D2B0</span><svg><path></path></svg></span>.</div></div>","PeriodicalId":19268,"journal":{"name":"Neurocomputing","volume":"676 ","pages":"Article 132992"},"PeriodicalIF":6.7000,"publicationDate":"2026-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Neurocomputing","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0925231226003899","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/2/12 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0

Abstract

Graph Transformers (GTs) excel at modeling long-distance dependencies and global information in graphs, but their scalability on large-scale graphs is limited by the quadratic growth of memory and computation costs introduced by self-attention. To address these challenges, existing methods such as linear attention mechanisms and graph partitioning have been proposed. However, these methods have inherent limitations. Linear attention mechanisms still incur significant computational overhead, while subgraph-based training often leads to reduced accuracy due to the lack of global context and the structural differences among subgraphs. In this paper, we propose MetaGT, a lightweight Graph Transformer model for large-scale graphs. MetaGT first partitions the global graph into structurally compact subgraphs to reduce memory requirements. To further ensure both efficiency and accuracy, we introduce a “pre- and post-training” paradigm into subgraph-based GT models. In pre-training, meta-learning is employed on a subset of subgraphs to obtain generalizable parameters, which are then enhanced by minimal fine-tuning during post-training. MetaGT is plug-and-play and can be seamlessly integrated into mainstream GT models. Extensive experiments demonstrate that MetaGT consistently achieves promising efficiency, memory consumption, and accuracy across various backbone GT models on large-scale graph datasets. Our code is available at https://anonymous.4open.science/r/MetaGT-D2B0.
MetaGT:一个轻量级的图转换器,通过元学习来处理大规模的图
图形转换器(Graph transformer, gt)擅长对图中的长距离依赖关系和全局信息进行建模,但其在大规模图上的可扩展性受到内存二次增长和自关注带来的计算成本的限制。为了应对这些挑战,人们提出了线性注意机制和图划分等现有方法。然而,这些方法有其固有的局限性。线性注意机制仍然会产生大量的计算开销,而基于子图的训练通常会由于缺乏全局上下文和子图之间的结构差异而导致准确性降低。在本文中,我们提出了MetaGT,一个用于大规模图的轻量级图转换器模型。MetaGT首先将全局图划分为结构紧凑的子图,以减少内存需求。为了进一步确保效率和准确性,我们在基于子图的GT模型中引入了“训练前和训练后”范式。在预训练中,在子图的子集上使用元学习来获得可推广的参数,然后在后训练期间通过最小的微调来增强这些参数。MetaGT是即插即用的,可以无缝集成到主流GT模型中。大量的实验表明,MetaGT在大规模图数据集上的各种骨干GT模型上始终如一地实现了有希望的效率、内存消耗和准确性。我们的代码可在https://anonymous.4open.science/r/MetaGT-D2B0上获得。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Neurocomputing
Neurocomputing 工程技术-计算机:人工智能
CiteScore
13.10
自引率
10.00%
发文量
1382
审稿时长
70 days
期刊介绍: Neurocomputing publishes articles describing recent fundamental contributions in the field of neurocomputing. Neurocomputing theory, practice and applications are the essential topics being covered.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书