Coupling Category Alignment for Graph Domain Adaptation

Nan Yin, Xiao Teng, Zhiguang Cao, Mengzhu Wang

Introduction

Graph Domain Adaptation (GDA) is a critical task in machine learning, enabling models trained on a labeled "source" graph to generalize to an unlabeled "target" graph. This is particularly relevant in fields like chemistry or biology, where labeling new data (e.g., testing a new molecule's toxicity) is expensive and time-consuming. However, GDA faces significant challenges due to distribution shifts—differences in node density, edge patterns, or graph size between domains.

The Problem: Category Confusion

Most existing GDA methods attempt to align the global distributions of the source and target domains. While this reduces the overall distance between domains, it often ignores category-level semantics. This leads to "category confusion," where samples from different classes are incorrectly aligned because their global structural statistics appear similar. For instance, a model might align toxic molecules from the source domain with non-toxic ones in the target domain.

Illustration of the transition from unaligned domains to global alignment (which suffers from category confusion) and finally to precise category-level alignment.

Furthermore, standard Message-Passing Neural Networks (MPNNs) often struggle to capture high-order topological features when labels are absent in the target domain, further exacerbating the alignment problem.

The CoCA Framework

To address these issues, the authors introduce Coupling Category Alignment (CoCA). CoCA is designed to perform fine-grained category alignment while remaining robust to structural variations.

Dual-Branch Architecture

CoCA utilizes a dual-branch structure to capture diverse graph features:

  1. Message Passing Branch (MPNN): This branch captures implicit topological semantics through standard neighborhood aggregation, focusing on local node interactions.
  2. Shortest Path Aggregation (SP) Branch: This branch explicitly extracts high-order structural semantics by analyzing paths between nodes. The SP branch serves as a "structural anchor," providing a more stable representation that is less sensitive to changes in graph density or size compared to standard MPNNs.

Branch Coupling and Mutual Filtering

The core innovation of CoCA is its coupling module. Instead of relying on potentially noisy pseudo-labels from a single classifier, the two branches interact through an iterative mutual-filtering process. One branch identifies "highly reliable" samples in the target domain based on its confidence; these samples are then used to fine-tune the other branch. This cross-pollination prevents the model from falling into confirmation bias and ensures that training focuses on high-quality data.

The CoCA architecture, showing the interaction between the Message Passing and Shortest Path branches, including mutual filtering and contrastive learning losses.

Holistic Contrastive Learning

CoCA integrates two types of contrastive learning to reinforce its representations:

  • Multi-view Contrastive Learning: Ensures that both branches learn consistent representations for the same graph structure.
  • Cross-domain Contrastive Learning: Leverages the filtered reliable samples to align specific categories across domains (e.g., aligning "Class A" in the source with "Class A" in the target), rather than just performing a blunt global alignment.

Experimental Evaluation

The researchers evaluated CoCA on four benchmark graph classification datasets: Mutagenicity (M), FRANKENSTEIN (F), NCI1 (N), and PROTEINS (P). To test robustness, they introduced specific domain shifts based on edge density, node density, and graph flux.

Key Results

CoCA consistently outperformed state-of-the-art baselines, including general domain adaptation methods like CDAN and specialized GDA methods like DEAL and CoCo.

  • Mutagenicity: CoCA achieved 79.7% average accuracy, a significant jump over CoCo's 72.2%.
  • FRANKENSTEIN: The model reached 78.4% accuracy, outperforming the DEAL baseline (69.0%).
  • NCI1: Under challenging graph flux shifts, CoCA maintained a high accuracy of 76.3%, while most competitors failed to reach 70%.

Ablation studies confirmed that both the dual-branch architecture and the mutual-filtering coupling module are essential for these performance gains. Removing either component led to a significant drop in accuracy.

Conclusion and Future Work

CoCA represents a significant step forward in Graph Domain Adaptation by moving from global to category-level alignment. By combining implicit and explicit topological learners and using a mutual-filtering strategy, it effectively mitigates category confusion and distribution shifts.

While the Shortest Path branch adds some computational overhead, the performance benefits are substantial. Future research may explore extending CoCA to Domain Generalization—where the target domain is unknown during training—and Source-Free GDA, addressing privacy concerns by adapting models without direct access to source data.

Summary updated

BibTeX
@inproceedings{yin2025coupling,
  author = {Nan Yin and Xiao Teng and Zhiguang Cao and Mengzhu Wang},
  title = {{Coupling Category Alignment for Graph Domain Adaptation}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.24963/ijcai.2025/396},
}
Figure