Convolutional Learning on Directed Acyclic Graphs

Samuel Rey, Hamed Ajorlou, Gonzalo Mateos · DOI

Abstract

Directed Acyclic Graphs (DAGs) are fundamental for modeling causal relationships and hierarchical structures, yet they pose significant challenges for standard Graph Neural Networks (GNNs). Traditional spectral GNNs fail on DAGs because their adjacency matrices are nilpotent, leading to a collapsed eigenvalue spectrum. This paper introduces the DAG Convolutional Network (DCN), which utilizes a novel "causal shift" operator based on the transitive closure of the graph. DCN effectively captures the partial ordering of DAGs and demonstrates superior performance in tasks like network diffusion estimation and source identification, even under high noise and partial observability.

Introduction

The ubiquity of Directed Acyclic Graphs (DAGs) in fields ranging from Bayesian inference to neural architecture search necessitates specialized processing tools. However, the mathematical structure of DAGs is inherently incompatible with standard Graph Signal Processing (GSP). Because DAGs lack cycles, their adjacency matrices $A$ are nilpotent, meaning $A^n = 0$ for some $n$. Consequently, all eigenvalues are zero, rendering spectral filters inoperative. While some approaches use sequential models like RNNs, these are often computationally expensive and fail to leverage the graph's global structure efficiently.

Methodology

The DCN architecture addresses the spectral collapse by redefining the convolution operation through the lens of partially ordered sets (posets).

Causal Shift Operators

Instead of the immediate adjacency matrix, DCN employs the weighted transitive closure $W = (I - A)^{-1}$. This matrix represents reachability across the entire graph. For each node $k$, a causal shift operator $T_k$ is defined. This operator ensures that the signal at any node $i$ is influenced only by the "causes" shared between $i$ and $k$, respecting the graph's inherent flow.

The DCN Layer

A DCN layer computes a non-linear combination of signals shifted by these causal operators: $$X^{(\ell+1)} = \sigma \left( \sum_{k \in \mathcal{V}} T_k X^{(\ell)} \Theta_k^{(\ell)} \right)$$ where $\Theta_k$ represents learnable weights. The authors demonstrate that this formulation is permutation equivariant, ensuring robustness against node re-labeling.

Experimental Evaluation

The model was tested on synthetic Erdős-Rényi DAGs ($N=100$, $p=0.2$) across two key tasks: Network Diffusion Estimation (regression) and Source Identification (classification).

Performance of DCN across various noise levels, unobserved node proportions, and edge probabilities.

Results and Discussion

DCN consistently outperformed standard GNN baselines (GCN, GAT, GraphSAGE, GIN) and linear estimators.

Robustness and Accuracy

As shown in Figure 1, DCN exhibits remarkable resilience to noise in diffusion tasks compared to Least-Squares (LS) models. In source identification, DCN-T (using transposed operators to trace signals backward) achieved nearly 99% accuracy, whereas traditional GNNs struggled to exceed 15%.

Computational Efficiency

A significant finding is the effectiveness of sub-sampling. Using only a subset of causal shift operators (e.g., DCN-30) maintains high performance while significantly reducing parameter count and training time.

Comparison of MNSE, Accuracy, and Training Time for DCN variants and baseline models.

As detailed in the performance table above, DCN-30 achieves competitive results with a training time of approximately 3.5 seconds, comparable to the much less accurate standard GCN.

Conclusion

DCN provides a mathematically rigorous framework for learning on DAGs by overcoming the limitations of nilpotent adjacency matrices. Future work will focus on scaling the transitive closure computation for larger graphs and developing principled methods for selecting the most informative causal shift operators.

Reference: Rey, S., Ajorlou, H., & Mateos, G. (2024). Convolutional Learning on Directed Acyclic Graphs. arXiv:2405.03056v1.

Summary updated

BibTeX
@inproceedings{rey2024convolutional,
  author = {Samuel Rey and Hamed Ajorlou and Gonzalo Mateos},
  title = {{Convolutional Learning on Directed Acyclic Graphs}},
  booktitle = {IEEECONF},
  year = {2024},
  url = {https://openreview.net/forum?id=blwHLV8MjL},
}
Figure