Abstract
One of the grand challenges of cell biology is inferring the gene regulatory network (GRN) which describes interactions between genes and their products that control gene expression and cellular function. We can treat this as a causal discovery problem but with two non-standard challenges: (1) regulatory networks are inherently cyclic so we should not model a GRN as a directed acyclic graph (DAG), and (2) observations have significant measurement noise, so for typical sample sizes there will always be a large equivalence class of graphs that are likely given the data, and we want methods that capture this uncertainty. Existing methods either focus on challenge (1), identifying cyclic structure from dynamics, or on challenge (2) learning complex Bayesian posteriors over DAGs, but not both. In this paper we leverage the fact that it is possible to estimate the "velocity" of gene expression with RNA velocity techniques to develop an approach that addresses both challenges. Because we have access to velocity information, we can treat the Bayesian structure learning problem as a problem of sparse identification of a dynamical system, capturing cyclic feedback loops through time. Since our objective is to model uncertainty over discrete structures, we leverage Generative Flow Networks (GFlowNets) to estimate the posterior distribution over the combinatorial space of possible sparse dependencies. Our results indicate that our method learns posteriors that better encapsulate the distributions of cyclic structures compared to counterpart state-of-the-art Bayesian structure learning approaches.
Introduction
Inferring Gene Regulatory Networks (GRNs)—the maps of how genes turn each other on and off—is a "grand challenge" in biology. If we had perfect maps, we could design drugs with surgical precision. However, two massive hurdles stand in the way. First, cycles are everywhere. Most causal discovery algorithms assume the world is a Directed Acyclic Graph (DAG). But biology is built on feedback loops (cycles). If Gene A activates Gene B, and Gene B eventually suppresses Gene A, a DAG-based model will fail to represent reality. Second, there is the "equivalence class" nightmare. Biological data is incredibly noisy. Often, dozens of different network structures could explain the same data equally well. Most methods try to find the single "best" graph, which leads to overconfidence and missed discoveries.
The authors tackle these by asking: How can we learn a distribution over all plausible cyclic graphs given noisy, dynamical data?
Methodology
The authors introduce DynGFN (Dynamic GFlowNet), which treats structure learning as a problem of identifying a sparse dynamical system. The core framework involves three main components:
- RNA Velocity as a Shortcut: Instead of just looking at static snapshots of gene expression, DynGFN uses "RNA velocity" (the rate of change of gene expression). This allows the problem to be treated as a regression task ($dx/dt = f(x)$) rather than a computationally expensive ODE-solving problem. By having access to the "velocity" of a system, the "causal" direction becomes much clearer. We don't just see that A and B are related; we see that the change in B is driven by the current state of A.
- GFlowNets for Discrete Search: Generative Flow Networks are used to sample discrete graph structures. Unlike MCMC, which can get stuck in one "mode" (one likely graph), GFlowNets are designed to sample diverse candidates proportional to a reward function, making them perfect for capturing the "equivalence class" of likely networks.
- HyperNetworks for Parameters: Since the physical parameters of the network depend on which edges exist, they use a HyperNetwork that takes a sampled graph as input and outputs the corresponding parameters ($\theta$).
- Per-Node Factorization: To handle the astronomical number of possible graphs ($2^{d^2}$), they factorize the posterior per-node, reducing the search space significantly while still allowing for cycles.
Experimental Results
The paper evaluates DynGFN on three fronts: toy synthetic systems, high-dimensional indeterminacy models, and real biological data.
Toy Synthetic Systems
The model was tested on 3-variable systems (one acyclic, one cyclic) to prove it can distinguish between the two. Standard methods like NOTEARS failed to identify the cyclic structure, while DynGFN achieved a perfect AUC-ROC of 1.0.
High-Dimensional Indeterminacy Models
In 20-variable synthetic systems where the authors intentionally added redundant variables, they created a "ground truth" posterior with exactly 1,024 equally likely graphs—a perfect stress test for Bayesian inference. DynGFN significantly outperformed state-of-the-art Bayesian baselines (like DiBS and BCD-Nets), achieving much lower KL Divergence, meaning its predicted distribution of graphs was much closer to the true mathematical distribution.
Real Biological Data
On single-cell RNA-velocity data from human Fibroblasts, focusing on a 5-gene module related to the cell cycle, DynGFN successfully identified known biological interactions (e.g., Cdc25A inhibiting Cdk1) while correctly maintaining uncertainty about other highly correlated genes that don't directly interact.
Conclusion and Future Work
DynGFN represents a significant step forward in causal discovery for biological systems. By embracing the "multiverse" of possible graphs and returning a posterior distribution, it provides researchers with a more honest assessment of uncertainty.
However, limitations remain. While per-node factorization helps, the search space for graphs is still exponential, and scaling to thousands of genes is a hurdle. Additionally, the model assumes causal sufficiency—that all important variables have been measured—which is rarely true in complex biological systems. Future work could incorporate expert biological knowledge as a prior to help the model scale to much larger systems.
Summary updated