[Paper Review] Sparsity in Continuous-Depth Neural Networks
This paper proposes PathReg, a differentiable L0-based regularizer that enforces sparsity in input-output paths within Neural ODEs, achieving both feature and weight sparsity. It demonstrates that feature sparsity—unlike weight sparsity—improves generalization and enables accurate recovery of true underlying dynamical laws, especially in system identification tasks on real-world motion capture and single-cell RNA-seq data.
Neural Ordinary Differential Equations (NODEs) have proven successful in learning dynamical systems in terms of accurately recovering the observed trajectories. While different types of sparsity have been proposed to improve robustness, the generalization properties of NODEs for dynamical systems beyond the observed data are underexplored. We systematically study the influence of weight and feature sparsity on forecasting as well as on identifying the underlying dynamical laws. Besides assessing existing methods, we propose a regularization technique to sparsify "input-output connections" and extract relevant features during training. Moreover, we curate real-world datasets consisting of human motion capture and human hematopoiesis single-cell RNA-seq data to realistically analyze different levels of out-of-distribution (OOD) generalization in forecasting and dynamics identification respectively. Our extensive empirical evaluation on these challenging benchmarks suggests that weight sparsity improves generalization in the presence of noise or irregular sampling. However, it does not prevent learning spurious feature dependencies in the inferred dynamics, rendering them impractical for predictions under interventions, or for inferring the true underlying dynamics. Instead, feature sparsity can indeed help with recovering sparse ground-truth dynamics compared to unregularized NODEs.
Motivation & Objective
- To investigate how weight and feature sparsity affect generalization in continuous-depth neural networks, particularly in out-of-distribution (OOD) settings.
- To address the underexplored role of sparsity in Neural ODEs for system identification beyond in-distribution prediction.
- To develop a novel regularization technique that directly targets sparsity in input-output paths to improve interpretability and causal structure recovery.
- To curate and release real-world benchmarks—human motion capture and hematopoiesis single-cell RNA-seq data—for evaluating OOD generalization in NODEs.
- To compare PathReg against existing methods (e.g., LassoNet, GroupLasso, C-NODE) in terms of predictive performance, sparsity, and dynamical law recovery.
Proposed method
- Propose PathReg, a differentiable L0-based regularizer that prunes entire input-output paths in a Neural ODE by encouraging exact zero weights through a soft relaxation of the L0 norm.
- Extend L0 regularization and LassoNet to the continuous-depth setting, enabling structured sparsity in both weights and features for NODEs.
- Use a path-based sparsity criterion that evaluates the contribution of each input feature to each output neuron across the network’s depth, enforcing sparsity at the path level.
- Train NODEs with PathReg on real-world datasets, including human motion capture (mocap.cs.cmu.edu) and single-cell RNA-seq data from hematopoiesis, with time treated as pseudo-time.
- Evaluate models using metrics like test MSE, sparsity levels, and adjacency matrices to assess feature importance and interaction recovery.
- Compare PathReg against vanilla NODE, C-NODE, GroupLasso for NODEs, and LassoNet in terms of predictive accuracy, sparsity, and biological plausibility of inferred gene regulatory networks.
Experimental results
Research questions
- RQ1Does feature sparsity in Neural ODEs improve out-of-distribution generalization for trajectory forecasting and dynamical system identification?
- RQ2Can a path-based regularization technique like PathReg effectively enforce sparsity in input-output connections while maintaining predictive performance?
- RQ3How do different sparsity methods (weight vs. feature sparsity) compare in recovering ground-truth dynamical laws, especially in the absence of ground-truth causal structures?
- RQ4To what extent does feature sparsity help in identifying biologically plausible gene regulatory networks from single-cell RNA-seq data?
- RQ5Does enforcing sparsity in input-output paths reduce spurious feature dependencies that hinder intervention-based predictions or causal inference?
Key findings
- PathReg outperforms other methods in predictive performance, sparsity, and OOD generalization across multiple real-world datasets, including motion capture and single-cell RNA-seq.
- Weight sparsity improves robustness to noise and irregular sampling but fails to prevent learning of spurious feature dependencies, limiting its utility for causal inference.
- Feature sparsity, as enforced by PathReg, enables accurate recovery of known transcription factor-gene interactions (e.g., RUNX1, GATA1, ETV6) in hematopoiesis, outperforming unregularized NODEs.
- PathReg successfully removes non-causal interactions between genes not known to be directly linked, whereas other models fail to eliminate such spurious features.
- The adjacency matrices inferred by PathReg and L0 show higher biological plausibility, with known Erythroid transcription factors correctly identified as key regulators.
- Feature sparsity is more effective than weight sparsity for identifying true underlying dynamical laws, particularly in system identification tasks where interpretability and causality are critical.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.