arXiv:2609.11123cs.LGSep 2026

Manuscript Offprint

arXiv:2609.11123

HERALD: High-Fidelity Exemplar Retrieval with Adaptive Landmark Distillation for Heterophily-Aware Graph Condensation

Sujan Chakraborty, Priyanka Saha, Saptarshi Bej

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Graph condensation aims to produce a small surrogate graph that preserves the downstream node-classification performance of a much larger original graph. Existing methods rely on Weisfeiler–Lehman neighbourhood aggregation or gradient-based distribution matching, both of which assume that adjacent nodes share the same label, an assumption that breaks down under heterophily. We propose HERALD (High-fidelity Exemplar Retrieval with Adaptive Landmark Distillation), a gradient-free graph condensation framework that adapts the node scoring and feature selection in the condensation pipeline to the graph's measured heterophily. HERALD selects features via a joint Fisher-discriminability and activation-density criterion that down-weights aggregated representations on heterophilic graphs, and scores nodes by a weighted combination of prototype representativeness, decision-boundary proximity, and Local Intrinsic Dimensionality (LID), where the weights are driven by a smooth sigmoid function of the heterophily ratio. Nodes are then assembled into a condensed subgraph through score-ordered BFS expansion, Personalised PageRank pruning, and class rebalancing, all at an identical storage budget to BONSAI, enabling direct comparison. Experiments on eight benchmark datasets spanning homophilic and heterophilic settings show that HERALD matches or outperforms state-of-the-art condensers on heterophilic graphs and remains competitive on homophilic ones across four GNN architectures.

Keywords: graph condensation, heterophily, coreset selection, node classification, graph neural networks

1 Introduction

Graph neural networks (GNNs) have become the standard tool for learning on relational data, powering applications from citation analysis to recommendation and traffic forecasting [1, 2]. As graphs used in practice have grown from thousands to hundreds of millions of nodes [3], training GNNs repeatedly, for hyperparameter search, neural architecture search, or continual learning, has become a computational bottleneck. Graph condensation (also called graph distillation) addresses this bottleneck by synthesizing a small graph GcG_c from a large training graph GG such that a GNN trained on GcG_c generalizes to GG's test distribution almost as well as a GNN trained on GG itself, at a fraction of the storage and compute cost [4].

A large body of recent work has approached this problem through optimization-based condensation: the synthetic graph's features and structure are treated as learnable parameters and updated so that a GNN trained on them matches some surrogate signal computed on the real graph: gradients [4, 5], training trajectories [6, 7], distributions of receptive fields [8], or spectral/self-expressive structure [9, 10]. These methods have achieved impressive compression ratios, condensing Reddit to under 1% of its original size with minimal accuracy loss [7], but this comes at a steep price: they require training a GNN (often repeatedly, over hundreds or thousands of steps) on the full original graph before or during condensation. This is a curious inversion of the original motivation for condensation, and it means condensation time frequently exceeds the time needed to simply train on the full dataset [11]. It also ties the resulting synthetic graph to the specific GNN architecture and hyperparameters used during condensation, requiring re-condensation whenever the downstream architecture changes [9, 12].

BONSAI [11] recently proposed an elegant alternative: rather than emulating gradients, treat the graph's node-rooted computation trees, the fundamental unit of information that a message-passing GNN actually consumes, as the object to be condensed. By selecting a diverse, representative subset of computation trees using Weisfeiler-Lehman (WL) similarity, reverse-k-nearest-neighbor coverage, and a submodular greedy selection procedure, BONSAI produces condensed graphs without ever training a GNN, is provably linear-time in the number of nodes and edges, and is agnostic to the downstream GNN architecture. This makes BONSAI among the most practical and scalable condensation methods for node classification.

However, BONSAI's node-selection criterion inherits an implicit assumption from the WL kernel it builds on: two nodes are considered redundant with each other precisely when their multi-hop, smoothed neighborhood representations are close in WL-distance. This is a natural notion of redundancy on homophilic graphs, where neighboring nodes tend to share labels and smoothing sharpens rather than destroys class signal. It is considerably less natural on heterophilic graphs, such as Roman-Empire, Amazon-ratings, Chameleon, or Squirrel [13], where a node's neighbors frequently belong to different classes, and where WL-style smoothing is known to blur exactly the information that a downstream heterophily-aware GNN (e.g., H2GCN [14]) relies on to make correct predictions. Concretely, two nodes that are structurally similar under WL-smoothing may nonetheless play very different roles for classification: one may sit safely inside a homogeneous neighborhood while the other sits directly on a class boundary, and collapsing them into a single "representative" exemplar discards precisely the boundary information that heterophilic GNNs need. As benchmarks for graph learning increasingly include heterophilic datasets alongside the traditional homophilic ones [13], condensation methods that are implicitly biased toward homophilic structure risk under-serving a growing share of real-world use cases.

In this paper, we introduce HERALD (High-fidelity Exemplar Retrieval with Adaptive Landmark Distillation), a gradient-free graph condensation framework that retains BONSAI's architecture-agnostic pipeline while replacing its topological, WL-based exemplar scoring (while retaining BONSAI's feature-budget estimation) with an information-theoretic criterion that adapts to the homophily level of the input graph. Rather than asking "which nodes are topologically redundant under smoothing?", HERALD asks "which nodes are simultaneously prototypical of their class, informative about decision boundaries, and non-redundant in feature space?" To answer this question, HERALD combines a class-prototype score, a boundary-proximity score, and a local intrinsic dimensionality (LID) score under weights that adapt automatically according to a lightweight edge-level estimate of graph homophily.

On strongly homophilic graphs, the adaptive weighting naturally favors prototype selection, recovering behavior similar to exemplar-based coreset methods. As heterophily increases, the weighting progressively shifts toward decision-boundary and structural-diversity signals, allowing the condensed graph to better preserve the information exploited by heterophilic GNNs. To enable controlled comparisons with BONSAI, HERALD reuses the same storage-budget formulation, BFS-based neighborhood expansion, PageRank-based pruning, and class-rebalancing pipeline, differing only in the selected feature subset and the criterion used to identify exemplar nodes. As a result, HERALD remains architecture-independent and avoids gradient-based bilevel optimization, while introducing richer analytical node-scoring mechanisms that improve condensation quality across diverse graph regimes.

Our contributions are as follows:

  • We identify and empirically motivate a homophily bias in WL/topology-based node-selection criteria for graph condensation, and argue that this bias is likely to degrade condensation quality on heterophilic graphs.

  • We propose HERALD, a gradient-free condensation method that scores candidate exemplar nodes using an adaptively-weighted combination of class-prototype, decision-boundary, and local-intrinsic-dimensionality signals, with weights derived automatically from a graph’s measured homophily.

• We design a joint feature-selection criterion (discriminativeness × activation density) that is budget-compatible with BONSAI's decision-tree-based selection, isolating the effect of node scoring from the effect of feature selection in our comparisons.

• We evaluate HERALD against coreset baselines (Random, Herding), the spectral condenser GDEM, and BONSAI across both homophilic (Cora, CiteSeer, PubMed, Reddit) and heterophilic (Roman-empire, Amazon-ratings, Chameleon, Squirrel) datasets, and across four GNN architectures (GCN, GAT, GIN, and H2GCN), showing that HERALD improves accuracy on heterophilic benchmarks while remaining competitive on homophilic ones and preserving BONSAI's optimization-free condensation framework.

References (25)