Abstract
Graph-JEPA introduces the Joint-Embedding Predictive Architecture (JEPA) to graph-level representation learning. By predicting latent features of masked subgraphs within a non-Euclidean hyperbolic space, it learns expressive, hierarchical representations more efficiently than traditional contrastive or generative methods.
Introduction
Graph Neural Networks (GNNs) typically require large amounts of labeled data, which is often scarce in domains like bioinformatics or social network analysis. Self-supervised learning (SSL) addresses this by generating training signals from the data itself. However, existing graph SSL paradigms face significant challenges. Contrastive learning relies on computationally expensive negative sampling and complex augmentations. Conversely, generative models, such as Masked Autoencoders, often focus on reconstructing low-level structural noise rather than high-level semantic features.
Graph-JEPA overcomes these hurdles by operating entirely in the latent space, predicting the hidden representation of one graph segment from another, thereby ignoring irrelevant low-level details.
Methodology
The Graph-JEPA framework consists of several key components designed to capture the inherent hierarchy and structure of graphs.
Spatial Partitioning and Encoding
Input graphs are partitioned into non-overlapping patches using the METIS algorithm. These patches are then expanded by one "hop" to facilitate signal flow between adjacent subgraphs. To provide global context and help the model understand patch positioning, Random Walk Structural Encodings (RWSE) are employed as positional encodings.
Architecture and Latent Prediction
The architecture comprises a context encoder, a target encoder, and a predictor. The context encoder processes a visible subgraph, while the predictor estimates the target encoder's representation of a masked subgraph. To ensure training stability and prevent representation collapse, the model utilizes a stop-gradient operation and an Exponential Moving Average (EMA) for target encoder updates.
Hyperbolic Latent Space
A critical innovation is the use of a 2D unit hyperbola for predictions. Mapping embeddings to this hyperbolic space forces the model to account for the hierarchical nature of graph data, providing the benefits of hyperbolic geometry—which is well-suited for tree-like structures—without the mathematical instability of more complex models like the Poincaré ball.
Results and Discussion
Graph-JEPA was evaluated across diverse benchmarks, including TUD datasets for classification, ZINC for regression, and the synthetic EXP dataset for graph isomorphism testing.
Performance and Efficiency
The model achieved state-of-the-art or competitive results on 6 out of 8 major benchmarks. Notably, it demonstrated significant efficiency gains, running up to 2.5x faster than Graph-MAE and 8x faster than contrastive methods like MVGRL. On the EXP dataset, Graph-JEPA reached 98.77% accuracy, showcasing its ability to distinguish complex non-isomorphic graphs that standard GNNs fail to identify.
Limitations and Future Work
Despite its strengths, performance can vary based on random subgraph partitioning; if the context subgraph is too simple, prediction becomes difficult. Additionally, while excellent at capturing global semantics, the model showed lower performance on tasks requiring highly localized chemical interaction modeling, such as Peptides-func. Future work will explore extending this architecture to node-level tasks and optimizing latent space geometries.
Conclusion
Graph-JEPA represents a significant step forward in graph SSL, combining the efficiency of latent-space prediction with the structural awareness of hyperbolic geometry. By avoiding the pitfalls of reconstruction and negative sampling, it offers a scalable and expressive path for learning from unlabeled graph data.
Summary updated