Introduction
Collaborative Filtering (CF) remains a cornerstone of modern recommendation systems, typically leveraging Graph Convolutional Networks (GCNs) to model complex user-item interactions. Recent advancements have reframed GCNs as Neural Ordinary Differential Equations (NODEs), treating the network's layers as a continuous flow of information over a latent time domain.
However, existing ODE-based models, such as GODE-CF, often suffer from a critical limitation: they either omit weight matrices entirely or utilize static "discrete" weights that remain fixed throughout the integration process. This rigidity is counter-intuitive for continuous systems, where the relative importance of node features should ideally evolve smoothly. Without this flexibility, node representations may converge to suboptimal states, limiting recommendation accuracy.
Methodology: The CDE-CF Framework
To address these limitations, we introduce Graph Neural Controlled Differential Equations for Collaborative Filtering (CDE-CF). This model implements a continuous weight control mechanism that allows the network to adaptively regulate information propagation for every node individually across the continuous time domain.
The Weight Generator
The core innovation of CDE-CF is a Multi-Layer Perceptron (MLP) that serves as a "weight generator." Unlike traditional models with static weights, this MLP takes the initial node embeddings $E^i(0)$ as input and produces a continuous weight value $w_i(t)$ for each specific time step $t$ and node index $i$. This weight is then passed through a sigmoid function and integrated directly into the ODE function.
Governing Equation
The evolution of user ($E^u$) and item ($E^i$) embeddings is defined by the following controlled differential equation: $$\frac{dE(t)}{dt} = \sigma(f(E(0), \theta)) \cdot (A - I)E(t)$$ Where $f$ represents the MLP controller, $A$ is the normalized adjacency matrix, and $\sigma$ is the sigmoid function. By solving this equation using standard numerical solvers (e.g., Euler or RK4), the model estimates the final embedding state used for recommendation. Training is conducted using the Bayesian Personalized Ranking (BPR) loss, optimizing the relative ranking of observed versus unobserved interactions.
Experimental Results
CDE-CF was evaluated on four benchmark categories from the Amazon Reviews dataset: Beauty, Health, Cell Phone, and Office Products. The model was compared against popular GCN baselines (LightGCN, NGCF) and existing ODE-based methods (LT-OCF, GODE-CF).
Accuracy and Performance
CDE-CF consistently outperformed all baselines across all datasets. As shown in the performance table below, CDE-CF achieved superior Recall@20 and NDCG@20 scores, demonstrating the effectiveness of the continuous control mechanism.
Efficiency and Training Speed
Despite the inclusion of an MLP weight generator, CDE-CF exhibits remarkable training efficiency. By utilizing a "good controller," the ODE becomes easier to solve numerically. Empirical results show that CDE-CF reaches its optimal state at a shorter integration time ($t \approx 6.5$) compared to GODE-CF ($t \approx 8.5$). For instance, on the Health dataset, CDE-CF required only 4767 seconds for 1000 epochs, significantly faster than the 15785 seconds required by LT-OCF.
Discussion and Key Insights
An ablation study highlighted a critical finding: adding discrete weights to an ODE-based model can actually degrade performance compared to having no weights at all. In contrast, the continuous weights provided by CDE-CF consistently improved results. This suggests that the adaptive nature of the message-passing process—where different nodes receive varying amounts of information propagation—is vital for reaching optimal representations.
While CDE-CF demonstrates the power of a simple MLP controller, future work could explore more sophisticated control laws. Additionally, addressing the computational overhead of ODE solvers on massive industrial-scale graphs remains an important area for further research in the field of Neural ODEs.
Summary updated