{"title":"An adaptive multi-task learning method with task-specific attention for node classification and link prediction","authors":"Mingzhou Yang , Yuxin Liu","doi":"10.1016/j.physa.2026.131343","DOIUrl":null,"url":null,"abstract":"<div><div>Multi-task learning has shown great potential for joint modeling of node classification and link prediction on graph-structured data. However, many existing multi-task GNNs still rely on rigid shared representations with limited adaptive fusion capability, making it difficult to effectively integrate global aggregation and local attention and to properly disentangle task-specific representations, which in turn leads to negative transfer. In addition, task imbalance during optimization can cause one objective to dominate training, resulting in unstable convergence and degraded performance. To address these challenges, we propose an adaptive multi-task learning framework for node classification and link prediction, called AMTGG, which adaptively coordinates both tasks within a unified architecture. Specifically, AMTGG constructs shared representations via parallel GCN and GAT branches, and introduces learnable fusion coefficients to adaptively combine their complementary global–local cues. Then, task-specific attention layers and gating mechanisms are employed to automatically select task-relevant subspaces from the shared features, thereby alleviating representation interference between objectives. To balance the training dynamics of the two tasks, GradNorm is adopted to dynamically adjust task weights, while EMA smoothing is further applied to stabilize weight evolution and improve convergence. Since link prediction involves modeling the interaction between node pairs, which is often underemphasized in multi-task frameworks, our model incorporates subgraph extraction and line graph transformation to enhance edge-level structural learning. Extensive experiments on seven benchmark graph datasets demonstrate that AMTGG enhances model robustness through feature masking regularization and noise injection, and achieves synergistic improvements on both node classification and link prediction.</div></div>","PeriodicalId":20152,"journal":{"name":"Physica A: Statistical Mechanics and its Applications","volume":"687 ","pages":"Article 131343"},"PeriodicalIF":3.3000,"publicationDate":"2026-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Physica A: Statistical Mechanics and its Applications","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0378437126000798","RegionNum":3,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/1/30 0:00:00","PubModel":"Epub","JCR":"Q2","JCRName":"PHYSICS, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
Abstract
Multi-task learning has shown great potential for joint modeling of node classification and link prediction on graph-structured data. However, many existing multi-task GNNs still rely on rigid shared representations with limited adaptive fusion capability, making it difficult to effectively integrate global aggregation and local attention and to properly disentangle task-specific representations, which in turn leads to negative transfer. In addition, task imbalance during optimization can cause one objective to dominate training, resulting in unstable convergence and degraded performance. To address these challenges, we propose an adaptive multi-task learning framework for node classification and link prediction, called AMTGG, which adaptively coordinates both tasks within a unified architecture. Specifically, AMTGG constructs shared representations via parallel GCN and GAT branches, and introduces learnable fusion coefficients to adaptively combine their complementary global–local cues. Then, task-specific attention layers and gating mechanisms are employed to automatically select task-relevant subspaces from the shared features, thereby alleviating representation interference between objectives. To balance the training dynamics of the two tasks, GradNorm is adopted to dynamically adjust task weights, while EMA smoothing is further applied to stabilize weight evolution and improve convergence. Since link prediction involves modeling the interaction between node pairs, which is often underemphasized in multi-task frameworks, our model incorporates subgraph extraction and line graph transformation to enhance edge-level structural learning. Extensive experiments on seven benchmark graph datasets demonstrate that AMTGG enhances model robustness through feature masking regularization and noise injection, and achieves synergistic improvements on both node classification and link prediction.
期刊介绍:
Physica A: Statistical Mechanics and its Applications
Recognized by the European Physical Society
Physica A publishes research in the field of statistical mechanics and its applications.
Statistical mechanics sets out to explain the behaviour of macroscopic systems by studying the statistical properties of their microscopic constituents.
Applications of the techniques of statistical mechanics are widespread, and include: applications to physical systems such as solids, liquids and gases; applications to chemical and biological systems (colloids, interfaces, complex fluids, polymers and biopolymers, cell physics); and other interdisciplinary applications to for instance biological, economical and sociological systems.