Neural Variable-Order Fractional Differential Equation Networks

Wenjun Cui, Qiyu Kang, Xuhao Li, Kai Zhao, Wee Peng Tay, Weihua Deng, Yidong Li

Introduction

Neural Ordinary Differential Equations (Neural ODEs) have emerged as a powerful paradigm for modeling continuous-depth neural networks. By interpreting the hidden state transitions as a continuous dynamical system, Neural ODEs offer benefits in parameter efficiency and adaptive computation. However, standard Neural ODEs are restricted to integer-order derivatives, which are inherently local operators. This means they lack a natural mechanism for "memory"—the ability to incorporate the history of previous states into the current update.

To address this, researchers have explored Fractional Differential Equations (FDEs). Fractional calculus introduces derivatives of non-integer orders, which naturally possess a memory effect by integrating over past states. While constant-order fractional networks have shown promise, they assume a static memory influence. In reality, the relevance of past information often fluctuates over time. This paper introduces Neural Variable-Order Fractional Differential Equation Networks (NvoFDE), a framework where the fractional order itself is a learnable function, allowing the model to adaptively tune its memory dynamics.

The NvoFDE Framework

The core innovation of NvoFDE is the formulation of the hidden state update as a variable-order fractional derivative:

$$_{t_0}D_t^{\alpha(t, x(t))} x(t) = f_\theta(t, x(t))$$

In this setup, $\alpha(t, x(t))$ is not a fixed hyperparameter but a dynamic value determined by a small auxiliary neural network (such as an MLP or a Transformer-based embedding). This allows the network to decide the "strength" of its memory based on the current time step and the current state. For instance, the model might learn to rely heavily on long-term history during initial feature extraction and transition to more localized, Markovian updates as it nears a classification boundary.

Evolution of the learnable fractional order α over time for different graph datasets.

As shown in the figure above, the learned order $\alpha$ follows distinct trajectories for different datasets. In the Computers dataset, the model learns to gradually increase the order, whereas in the Pubmed dataset, the order peaks mid-process before declining. This empirical evidence confirms that a one-size-fits-all constant order is suboptimal for complex data structures.

Applications in Graph Learning

Graph Neural Networks (GNNs) often struggle with the "over-smoothing" problem in deep architectures and have difficulty handling heterophilic graphs (where connected nodes belong to different classes). The authors adapt the NvoFDE framework to graphs through variants like Nvo-GRAND and Nvo-CDE.

By incorporating variable-order dynamics, these models can effectively manage information propagation across graph layers. In homophilic graphs, the variable order helps maintain distinct node features even at depth. In heterophilic scenarios, the adaptive memory allows the model to selectively aggregate or ignore neighbor information based on the learned evolutionary path of the derivative.

Experimental Results

The NvoFDE framework was rigorously tested against state-of-the-art GNNs and standard Neural ODE variants across multiple benchmarks.

Performance comparison of Nvo-GRAND variants against standard GNNs and Neural ODE baselines across various homophilic and heterophilic datasets.

As summarized in the table above, Nvo-GRAND consistently outperforms traditional models. On the Cora dataset, Nvo-GRAND-l achieved an accuracy of 86.0%, significantly higher than the standard GCN (81.5%). Notably, on the Disease dataset, the improvement was even more pronounced, with Nvo-GRAND-l reaching 97.4% compared to GCN's 69.8%. Beyond graph learning, the model demonstrated superior robustness in image classification tasks, maintaining higher accuracy on corrupted datasets (e.g., CIFAR-10-C) compared to integer-order counterparts.

Conclusion

Neural Variable-Order Fractional Differential Equation Networks represent a significant step forward in continuous-depth modeling. By making the fractional order learnable, NvoFDE provides a flexible mechanism for adaptive memory that integer-order and constant-order models lack. While the computational cost of fractional solvers remains a consideration for scaling, the gains in accuracy and robustness across graph learning and scientific computing suggest that NvoFDE is a potent tool for modeling complex, history-dependent systems.

Summary updated

BibTeX
@inproceedings{cui2025neural,
  author = {Wenjun Cui and Qiyu Kang and Xuhao Li and Kai Zhao and Wee Peng Tay and Weihua Deng and Yidong Li},
  title = {{Neural Variable-Order Fractional Differential Equation Networks}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i15.33769},
}
Figure