Two-level attention mechanism with contrastive learning for heterogeneous graph representation learning

This paper introduces a novel method, M2CHGNN, for generating node representations in heterogeneous graphs by combining an attention mechanism with contrastive learning. The approach leverages meta-structures and meta-paths to capture complex hidden structures within heterogeneous graphs. While meta-paths identify diverse interaction patterns between nodes, meta-structures uncover intricate structural arrangements, revealing detailed relationships and capturing both local and higher-order structures simultaneously. Each meta-path or meta-structure results in a homogeneous graph to obtain node representations. Within each homogeneous subgraph, two views of node representation are then employed. In the first view, a node attention mechanism assesses the influence of neighbouring nodes during embedding extraction, emphasizing the features of influential neighbours. Concurrently, a second set of embeddings is derived using the graph-topology view, highlighting structural relationships and further enriching the representations. Then, an additional attention layer is applied to determine the significance of each homogeneous subgraph within each view, resulting in a weighted, aggregated node representation. To learn robust and informative node representations across these two views, we use contrastive learning to align and distinguish representations between the node-attention and graph-topology views, alongside intra-view contrastive learning to refine each view individually. To train the node representations, we combine contrastive loss with a cross-entropy loss function, which enhances the model’s ability to generate high-quality node representations for heterogeneous graphs. The effectiveness of M2CHGNN was evaluated in three different applications, including link prediction, data classification, and clustering. The experimental results demonstrated the superiority of the proposed method in comparison with baseline and state-of-the-art graph embedding methods.

Authors

Institutions

Publication Details

Journal
Expert Systems with Applications
Published
2025-02-10
DOI
https://doi.org/10.1016/j.eswa.2025.126751
Citations
9
Primary Topic
Advanced Graph Neural Networks
Type
article
Field-Weighted Citation Impact
22.33

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Two-level attention mechanism with contrastive learning for heterogeneous graph representation learning

Azadeh Faroughi, Mahdi Jalili, Parham Moradi, Mahnaz Moradi
9 citations
Expert Systems with Applications
Advanced Graph Neural Networks
22.33
article

Two-level attention mechanism with contrastive learning for heterogeneous graph representation learning

Azadeh Faroughi, Mahdi Jalili, Parham Moradi, Mahnaz Moradi
article en
9 citations

Abstract

This paper introduces a novel method, M2CHGNN, for generating node representations in heterogeneous graphs by combining an attention mechanism with contrastive learning. The approach leverages meta-structures and meta-paths to capture complex hidden structures within heterogeneous graphs. While meta-paths identify diverse interaction patterns between nodes, meta-structures uncover intricate structural arrangements, revealing detailed relationships and capturing both local and higher-order structures simultaneously. Each meta-path or meta-structure results in a homogeneous graph to obtain node representations. Within each homogeneous subgraph, two views of node representation are then employed. In the first view, a node attention mechanism assesses the influence of neighbouring nodes during embedding extraction, emphasizing the features of influential neighbours. Concurrently, a second set of embeddings is derived using the graph-topology view, highlighting structural relationships and further enriching the representations. Then, an additional attention layer is applied to determine the significance of each homogeneous subgraph within each view, resulting in a weighted, aggregated node representation. To learn robust and informative node representations across these two views, we use contrastive learning to align and distinguish representations between the node-attention and graph-topology views, alongside intra-view contrastive learning to refine each view individually. To train the node representations, we combine contrastive loss with a cross-entropy loss function, which enhances the model’s ability to generate high-quality node representations for heterogeneous graphs. The effectiveness of M2CHGNN was evaluated in three different applications, including link prediction, data classification, and clustering. The experimental results demonstrated the superiority of the proposed method in comparison with baseline and state-of-the-art graph embedding methods.

Expert Systems with ApplicationsVol. 273
University of Kurdistan (IR), MIT University (MK), RMIT University (AU)
Australian Research Council
Openalex Percentile: Top 1%
Advanced Graph Neural Networks
22.33
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.