ReDiSC: A Reparameterized Masked Diffusion Model for Scalable Node Classification with Structured Predictions

Yule Li, Yifeng Lu, Zhen Wang, Zhewei Wei, Yaliang Li, Bolin Ding

TL;DR

ReDiSC introduces a discrete-domain masked diffusion model for structured node classification on graphs, overcoming the scalability and semantic mismatch issues of previous continuous diffusion approaches. By utilizing a novel "labeled-first" inference strategy within a variational expectation-maximization (EM) framework, it achieves state-of-the-art accuracy and successfully scales to massive datasets where prior methods run out of memory.

What Problem Does This Paper Address?

When classifying nodes in a graph (e.g., identifying fraudulent accounts in a social network or topics in a citation web), standard Graph Neural Networks (GNNs) typically make a major simplifying assumption: they treat node labels as conditionally independent during optimization. This means they ignore the fact that a node's label is often highly correlated with its neighbors' labels, even after accounting for graph structure and node features.

To capture these complex, long-range label dependencies, researchers recently turned to diffusion probabilistic models to estimate the joint distribution of labels. However, existing graph diffusion models suffer from three critical bottlenecks:

  1. Scalability: They operate via manifold-constrained sampling or denoising in high-dimensional continuous latent spaces, which is incredibly slow and memory-intensive.
  2. Semantic Mismatch: They use continuous spaces to model inherently discrete classification targets.
  3. Lack of Interpretability: They lack clear theoretical connections to classical graph algorithms like Label Propagation (LP).

Methods

The authors propose ReDiSC (Reparameterized masked Diffusion model for Structured node Classification) to solve these issues.

Fig. 1: Overview of REDISC: a variational EM framework that alternates between pseudo-label inference (E-step) and diffusion model training (M-step).

The core architecture consists of several key innovations:

  • Variational EM Framework: Because only a small fraction of nodes are labeled during training, ReDiSC treats unlabeled nodes as hidden variables. It alternates between an E-step (inferring high-quality pseudo-labels for unlabeled nodes) and an M-step (training the diffusion model on these labels).
  • Reparameterized Masked Diffusion Model (RMDM): Instead of diffusing in a continuous space, RMDM operates directly on discrete labels. It introduces a special "sink" state to represent masked labels, progressively masking nodes during the forward process and denoising them in reverse.
  • Labeled-First Inference: To solve the inverse problem during the E-step efficiently, ReDiSC prioritizes denoising the known labeled nodes first. This allows the model to prune invalid stochastic paths early, dropping the time complexity from $O(TNDK)$ to $O(\min(TNDK, NDK))$, where $T$ is the number of timesteps.
  • Priority Queue for Stability: To stabilize the EM training loop, pseudo-labels are cached in a priority queue and sampled based on their validation accuracy.
  • Time-Aware GNN Layer: Rather than simply adding timestep embeddings to node features, ReDiSC uses a learnable scaling mechanism to adaptively fuse node features and noisy label embeddings based on the temporal context.
Fig. 2: Comparison of the neural architectures: REDISC fuses features and labels via time-aware scaling.

Datasets

ReDiSC was evaluated across three distinct types of graph benchmarks:

  • Homophilic Graphs (smoothly distributed labels): Cora, CiteSeer, PubMed, Photo, and Computer.
  • Heterophilic Graphs (neighbors often have different labels): Roman-empire, Amazon-ratings, and Minesweeper.
  • Large-Scale Graphs: ogbn-arxiv (169K nodes) and ogbn-products (2.4M nodes).

Key Insights and Ideas

  • Discrete Space Alignment: By keeping the diffusion process entirely discrete, ReDiSC avoids the "semantic mismatch" of continuous models, leading to cleaner label recovery and faster convergence.
  • The "GNN+LP" Connection: The authors mathematically prove that ReDiSC's objective function can be interpreted as an ensemble of traditional GNN and Label Propagation hybrids across varying mask ratios. This provides a strong theoretical anchor for why the model works so well.
  • Smart Pruning via Labeled-First Sampling: Fixing known labels early in the reverse diffusion process acts as a powerful constraint, preventing the model from wasting compute on paths that contradict the ground truth.

Key Results

  • Superior Local Consistency: ReDiSC significantly outperforms vanilla GNNs and continuous diffusion models. Notably, it improves subgraph-level accuracy (a metric measuring if a node and all its immediate neighbors are correctly classified simultaneously) by an average of 10.3% over standard GCNs.
  • Unprecedented Scalability: On the massive ogbn-products dataset, previous state-of-the-art diffusion models (DPM-SNC and LGD) failed due to Out-Of-Memory (OOM) errors. ReDiSC handled the dataset easily while achieving top-tier performance.
  • Robustness to Fewer Steps: Sensitivity analysis showed that ReDiSC maintains high accuracy even when reducing the number of diffusion steps ($T=40$), allowing practitioners to save significant compute time without sacrificing quality.

Limitations and Future Work

While ReDiSC marks a major step forward, the authors note a few limitations:

  • The variational EM framework introduces approximation gaps that might still limit performance on graphs with exceptionally intricate label structures.
  • The current design is strictly tailored for transductive settings (where the full graph structure is known during training). Extending this discrete diffusion approach to fully inductive or dynamic graphs remains an open challenge for future research.

Summary updated

BibTeX
@misc{li2025redisc,
  author = {Yule Li and Yifeng Lu and Zhen Wang and Zhewei Wei and Yaliang Li and Bolin Ding},
  title = {{ReDiSC: A Reparameterized Masked Diffusion Model for Scalable Node Classification with Structured Predictions}},
  year = {2025},
  eprint = {2507.14484},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.14484},
}
Figure