NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Semi-Supervised Text-Attributed Graph Distillation

Yurui Lai, Samir Moustafa, Renchi Yang, Tsz Nam ChanarXiv 2026

TL;DR

Scaling Large Language Models (LLMs) and Graph Neural Networks (GNNs) on massive Text-Attributed Graphs (TAGs) is computationally and financially prohibitive. This paper introduces STAD, a framework that distills massive TAGs into tiny, high-fidelity, human-readable summary graphs. Guided by the Wasserstein Distance, STAD achieves up to a 7500× data compression ratio while preserving or even improving downstream classification performance.

What Problem Does This Paper Address?

Text-Attributed Graphs (TAGs)—where nodes represent textual entities (such as academic papers or product descriptions) and edges represent relationships (such as citations or co-purchase links)—are highly expressive data models. However, running modern hybrid frameworks that combine GNNs and LLMs on real-world TAGs introduces a severe scalability bottleneck due to the massive size of the graphs and the high cost of LLM inference.

While data distillation (compressing a large dataset into a small synthetic one) is a promising solution, existing graph or text distillation methods fall short for TAGs because they:

  1. Fail to capture the complex interplay between graph structure and textual semantics.
  2. Struggle with the severe label scarcity typical of semi-supervised settings.
  3. Lack the ability to produce human-readable textual attributes for the condensed nodes, rendering them incompatible with downstream prompt-based LLM tasks.

Methods

The authors propose STAD (Semi-supervised Text-Attributed Graph Distillation), a unified framework guided by the 2-Wasserstein Distance (WSD). It consists of three main components:

  1. Graph-Text Collaborative Encoding: To handle label scarcity and cross-modality misalignment, STAD employs dual-pathway encoders—a graph-aware pathway (GCN) and a graph-free pathway (MLP). These act as complementary learners within a collaborative self-training (CoST) scheme, iteratively generating reliable pseudo-labels through a consensus verification process.
  2. WSD-based Graph Sketching: STAD condenses graph topology, attributes, and labels simultaneously. The authors theoretically prove that minimizing the WSD between the original and condensed graph distributions is equivalent to performing K-Means clustering on the fused soft label distributions. A greedy post-processing reassignment scheme is added to maximize cluster purity.
  3. Keywords-based LLM Text Synthesis: To generate human-readable text for the condensed nodes without incurring massive LLM costs, STAD extracts core keywords using an intra-cluster TF-IDF metric filtered by embedding distance. A budget-friendly LLM then synthesizes these keywords into coherent, category-aware text summaries. Finally, a WSD-validation-guided selection strategy picks the optimal text candidates.

Datasets

The framework was evaluated across seven real-world benchmark TAG datasets:

  • Citation Networks: Cora, CiteSeer, DBLP
  • E-Commerce Co-View Networks: Computers, Photo, History
  • Knowledge Graphs: WikiCS (Wikipedia computer science pages)

Key Insights and Ideas

  • Complementary Modalities: Graph-aware models and graph-free models capture fundamentally different, non-overlapping information from TAGs. Simply optimizing for one modality fails to fully capture textual semantics, necessitating a collaborative encoding approach.
Figure 1: Complementary coverage of GA vs. GF on TAGs.
  • WSD as a Proxy for Performance: The authors discovered a strong negative correlation between the Wasserstein Distance (distributional shift) and downstream task accuracy. Minimizing WSD directly minimizes performance degradation during distillation.
Figure 2: WSD and node classification accuracy on condensed TAGs vs. distillation ratio.
  • Purity via Reassignment: Standard clustering on soft labels can accidentally group nodes of distinct classes together. Introducing a greedy reassignment step dramatically improves cluster purity, ensuring sharper class boundaries in the distilled graph.

Key Results

  • Extreme Compression: STAD condenses graphs of thousands or tens of thousands of nodes down to just 4 to 12 nodes, achieving compression ratios ranging from 403× (Cora) up to a massive 7505× (WikiCS) while preserving original classification accuracy.
  • Downstream LLM Acceleration: For training-free and training-based LLM4TAG methods (like TAPE), preprocessing on the distilled graph yielded a 55.7× speedup on Cora and an incredible 436.7× speedup on the History dataset by drastically reducing expensive LLM API calls.
  • Performance Gains: On certain datasets like WikiCS, training a GCN on STAD's distilled data actually outperformed training on the full dataset (76.8% vs 75.9%), demonstrating effective noise reduction and feature extraction.

Limitations and Future Work

  • Embedding Token Limits: The text synthesis pipeline relies on SBERT text encoders, which are constrained by a 256-token limit. This constraint can introduce minor semantic information loss when dealing with long, complex text fields.
  • Future Directions: The authors suggest extending this framework to multi-modal graph distillation (e.g., graphs containing images or audio) and adapting it to support continual learning settings where graph topologies evolve dynamically over time.

Summary updated

BibTeX
@misc{lai2026semi,
  author = {Yurui Lai and Samir Moustafa and Renchi Yang and Tsz Nam Chan},
  title = {{Semi-Supervised Text-Attributed Graph Distillation}},
  year = {2026},
  eprint = {2607.20477},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.20477},
}
Figure