Text-Attributed Graph Learning with Coupled Augmentations

Chuang Zhou, Jiahe Du, Huachi Zhou, Hao Chen, Feiran Huang, Xiao HuangCOLING 2025

Abstract

Modeling text-attributed graphs (TAGs) is a significant challenge due to the difficulty of effectively capturing both semantic text attributes and complex graph structures. Existing models often prioritize one modality over the other, leading to inherent prediction biases. Furthermore, connecting text and graph models serially is often computationally prohibitive. We propose the Coupled Text-attributed Graph Learning (CTGL) framework, which combines the strengths of both modalities in parallel. By introducing coupled text-graph augmentations, CTGL facilitates information exchange through contrastive learning without the overhead of serial architectures. Experimental results across diverse datasets demonstrate that CTGL achieves state-of-the-art performance and significantly reduces modality-specific biases.

The Challenge: Modality Bias in TAGs

In real-world scenarios such as citation networks or e-commerce platforms, data points (nodes) are defined by both their relationships (edges) and rich textual descriptions. These are known as Text-Attributed Graphs. However, standard modeling approaches often fall into two traps:

  1. Text Bias: Language Models (LMs) excel at semantics but may ignore the structural context provided by the graph.
  2. Graph Bias: Graph Neural Networks (GNNs) leverage connections effectively but can be misled by noisy or sparse text attributes.
Demonstration of text and graph bias in the Amazon dataset.

As shown in the figure above, there are instances where a text model fails while a graph model succeeds, and vice versa. Quantifying this on the Amazon dataset reveals that text bias accounts for approximately 9% of errors, while graph bias accounts for 11%. Bridging this "modality gap" efficiently is the primary goal of the CTGL framework.

The CTGL Framework

The core innovation of CTGL is the Coupled Text & Graph Augmentation (CTGA) technique, which is integrated into a parallel contrastive learning architecture. This approach allows the model to learn from both modalities simultaneously without the computational burden of a serial connection.

Coupled Augmentation Strategy

For every node, the framework generates "positive" and "negative" views to guide the learning process:

  • Positive View: Instead of simple text perturbation, CTGL replaces a node's text with semantically relevant sentences sampled from its 1-hop neighbors. This teaches the text model to recognize that neighboring nodes should share semantic similarities.
  • Negative View: The model uses text from spatially distant nodes (non-neighbors) to help the encoders distinguish between related and unrelated entities.

Parallel Contrastive Learning

CTGL maintains two separate encoders—an LM and a GNN—that are trained in parallel:

  • Text Contrastive Learning (TCL): Pulls the embeddings of the original text and its neighbor-based positive text closer together.
  • Graph Contrastive Learning (GCL): Ensures the GNN remains robust by pulling original graph representations closer to those generated with neighbor-swapped attributes.
The CTGL framework architecture, showing the parallel TCL and GCL modules.

By optimizing a shared loss function that combines classification loss with these coupled contrastive losses, the two models exchange valuable information during training, effectively "regularizing" each other against their respective biases.

Experimental Results

The authors evaluated CTGL on three major benchmarks: ACM (citation network), Wiki (hyperlink network), and Amazon (co-viewed product network).

Performance Highlights

  • State-of-the-Art Accuracy: CTGL consistently outperformed competitive baselines like GLEM and GraphFormers. For example, on the Amazon dataset with 10% labels, CTGL achieved 92.1% accuracy.
  • Significant Bias Reduction: The framework proved highly effective at its core mission. It reduced Graph Bias by 50.4% on the ACM dataset and Text Bias by 48.8% on the Amazon dataset compared to standalone models.
  • Efficiency: By avoiding a serial bottleneck, CTGL remains computationally efficient. The similarity-based sampling for 100,000 nodes takes only about 5 minutes on a standard CPU, making it scalable for large-scale graphs.

Conclusion

The CTGL framework offers a robust solution to the modality gap in text-attributed graph learning. By utilizing coupled augmentations in a parallel architecture, it forces language models to respect graph topology and graph models to respect semantic nuances. This synergy results in superior representation learning and a marked reduction in the prediction biases that plague traditional TAG models.

Summary updated

BibTeX
@inproceedings{zhou2025text,
  author = {Chuang Zhou and Jiahe Du and Huachi Zhou and Hao Chen and Feiran Huang and Xiao Huang},
  title = {{Text-Attributed Graph Learning with Coupled Augmentations}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2025},
  url = {https://openreview.net/forum?id=AFul0qgBef},
}
Figure