Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

ERAlign: Energy-based Representation Alignment of GNNs and LLMs on Text-attributed Graphs

About

Text-attributed Graphs (TAGs) incorporate textual node attributes with graph structures to describe rich relational semantics. Recent efforts to integrate Graph Neural Networks (GNNs) and Large Language Models (LLMs) have shown promise for learning on TAGs, yet achieving well-aligned representations remains challenging. Prior studies largely rely on heuristics that perform coarse-grained matching. They lack sufficient constraints and ignore distributional alignment, leading to representation drift and limited generalization. Building on Energy-based Models (EBMs), we propose an Energy-based Representation Alignment (ERAlign) framework that projects GNN-encoded graph structure and LLM-derived text embeddings in a shared latent space to achieve distribution consistency. Concretely, layer-wise alignment is quantified by a distance metric and optimized via an EBM objective. By decreasing energy values, our framework yields well-aligned representations for downstream tasks. During training, we introduce Energy Discrepancy (ED) to avoid high sampling costs associated with intractable normalization. ED also carries theoretical guarantees of higher training efficiency and reduced energy landscape distortion. Empirical evaluations on eight TAG datasets demonstrate that ERAlign obtains state-of-the-art performance across varying levels of supervision and cross-task transfer scenarios.

Xianlin Zeng, Fan Xia, Xiangyu Chen• 2026

Related benchmarks

TaskDatasetResultRank
Node ClassificationCiteseer
Accuracy38.12
541
Node ClassificationPubmed
Accuracy92.17
501
Node ClassificationarXiv
Accuracy78.07
325
Node ClassificationPhoto
Accuracy89.38
285
Node ClassificationREDDIT
Accuracy65.58
268
Node ClassificationComputer
Accuracy90.07
186
Link PredictionPubmed
AUC71.17
173
Node ClassificationInstagram
Accuracy68.66
140
Node ClassificationCora
Accuracy52.33
138
Link PredictionCora
AUC (Cora)60.45
94
Showing 10 of 23 rows

Other info

Follow for update