Graded Regulators as Stochastic Logic: Modeling lncRNA Knockdowns with Bitstream Gene Networks

Most of the human genome is transcribed, but for most non-coding RNAs we do not know what they do. The best direct evidence comes from knockdown screens. In FANTOM6, about 60% of 285 long non-coding RNA (lncRNA) knockdowns shifted the transcriptome, yet only about 30% changed how the cells looked or grew (Ramilowski et al., FANTOM6). That pattern suggests these RNAs act like dimmer switches rather than on/off switches. Today's network models do not represent that well. Co-expression maps say which genes move together but not what a knockdown will do. Boolean gene-network models treat every node as on or off. Stochastic computing, a style of arithmetic in which a number between 0 and 1 is the fraction of 1s in a random bitstream, has already been used to simulate probabilistic Boolean gene networks cheaply (Zhu et al., 2014). It has never been used for non-coding RNAs.

The proposal is to use stochastic logic as the modeling language for graded regulation. In stochastic logic, one RNA's abundance can drive the select line of a multiplexer, the gate that picks which of two input streams passes through. The RNA then scales the probability that its target gene is active, by an amount proportional to how much of the RNA is present. This is a natural representation of a dimmer. We build such networks for FANTOM6 lncRNAs, fit them to the knockdown data, and ask whether they predict the knock-on transcriptional effects of a knockdown better than co-expression and sparse linear models. Separately, we measure whether bitstream simulation is actually the cheaper way to compute those predictions.

Core Claim

The work makes two claims, and they can succeed or fail independently.

The modeling claim is that a regulatory network can predict FANTOM6 knockdown responses better than models that ignore network structure or allow unbounded linear effects. The network has protein-coding genes as Boolean nodes, keeps the context-switching of Zhu et al., and adds lncRNAs as graded multiplicative modifiers. Concretely, let $f_g(\text{parents})$ be the probability that target gene $g$ is active given its protein-coding regulators. Let $r_j \in [0,1]$ be the normalized abundance of lncRNA $j$, and let $a_{jg} \in [-1,1]$ be its signed modulation strength. The modified activation is

$$P(g=1) = f_g(\text{parents}) \prod_{j} \big(1 - |a_{jg}| \, r_j\big)^{[a_{jg}<0]} \big(1 - |a_{jg}|(1-r_j)\big)^{[a_{jg}>0]},$$

where the bracket exponents select a repressing or activating form. Each factor is one multiplexer whose select stream has probability $r_j$. A knockdown lowers $r_j$. Because every quantity is a probability, a predicted effect is bounded by construction. That property bears directly on the roughly 23-fold effect-size inflation that PerturbCausal reports for deep virtual cell models.

The computational claim is narrower. Steady states of these networks with feedback can be estimated with bitstream simulation, at the cost Zhu et al. report: $O(nLk2^n)$ operations for $n$ genes, $k$ contexts and bitstream length $L$, compared with $O(nk^2 2^{2n})$ for the exact state-transition matrix. We test whether this route beats floating-point Monte Carlo on the same model, in software and on a field-programmable gate array (FPGA, a reconfigurable chip). Zhu et al. proposed FPGA implementation as future work, and it has not been done.

Relation to Prior Work

Zhu et al. (2014) supplies the method. It builds context-sensitive stochastic Boolean networks using AND gates for multiplication, multiplexers for weighted addition and NOT gates for complements. It reports relative error below 0.2% at $L=10{,}000$ and about a 10-fold speedup on a 10-gene network, and it applies the approach to a 14-gene glioma network. It models only protein-coding switches. We add graded non-coding modifiers and fit the model to real knockdown transcriptomes instead of hand-built rules.

Three papers motivate the gap. LncRNA2Function assigns putative functions to 9,625 lncRNAs from co-expression with $|PCC|>0.9$ across 19 tissues, but it makes no prediction about intervention. FANTOM6 (Ramilowski et al.) supplies the intervention data and the observation that independent antisense oligonucleotides (ASOs, short synthetic strands that trigger degradation of the target RNA) aimed at the same lncRNA give concordant results. Rinn's "Sequences to systems" frames the missing "wiring diagrams."

PerturbCausal constrains the design. It finds that no deep virtual cell model (GEARS, CPA, Geneformer, STATE) significantly beats a sparse linear comparator on causal recovery. It also finds that post-hoc quantile calibration fixes effect magnitudes without restoring causal structure, and that the curated TRRUST reference is "not robustly above chance." We therefore treat sparse linear models as the main opponent and do not rely on TRRUST as ground truth.

We deliberately set aside the stochastic-computing accelerators for deep networks. ASCEND and Stochastic Spiking Attention speed up vision transformers on CIFAR and MNIST. Porting them to genomic models such as CircDC is the obvious combination of the two fields. It would only be a hardware port, and INT8 hardware would likely match it. ASCEND itself needed distillation to climb from 45.8% to 66.18% on CIFAR-100, and it abandoned random bitstreams for thermometer encoding.

Research Program

Building the networks. We start from the FANTOM6 fibroblast knockdowns that have CAGE profiles (CAGE, Cap Analysis of Gene Expression, measures transcription start sites genome-wide), about 154 lncRNAs across more than 1,000 libraries. For each lncRNA we build a candidate module:

  • protein-coding genes co-expressed with it in Human Body Map 2.0, following the LncRNA2Function pipeline;
  • for those genes, protein-coding regulatory edges drawn from pathway databases, used only as structural priors.

Contexts are the FANTOM6 time points and control conditions.

Fitting. Training works on the expected-value relaxation of the equation above, which is differentiable. We fit $a_{jg}$ and the Boolean rule parameters to observed CAGE fold-changes, with a sparsity penalty on $a$. Simulation then runs on bitstreams. Training on real-valued expectations and running inference on bitstreams keeps learning separate from the hardware question.

Analysis. We report three things:

  • which lncRNAs the model classifies as graded modifiers ($|a|$ small but nonzero across many targets) versus switch-like regulators;
  • whether that classification lines up with the FANTOM6 split between transcriptome-only and visible-phenotype knockdowns;
  • the precision–length curve of bitstream simulation for these networks.

Baselines

The naive reference is a model that predicts no change. Its error tells us how much signal any model must explain.

The second reference is the experimental noise ceiling. We predict one ASO's response from a different ASO aimed at the same lncRNA, using the concordance FANTOM6 reports. No model should be expected to beat this.

The co-expression baseline uses LncRNA2Function-style guilt by association. The predicted response of gene $g$ to knockdown of $j$ is $-\text{PCC}_{jg}$ times the knockdown magnitude, computed from the same tissue panel. It is the field's standard annotation method.

The strongest competitor is a sparse linear ElasticNet model. It is trained on exactly the same knockdown training split, inputs and module gene sets, and gets the same hyperparameter search budget, which we set at 100 configurations, with model selection on the same validation lncRNAs. PerturbCausal found that this kind of model matches every deep virtual cell model it tested. The file reports only that conclusion: no reported ElasticNet result on FANTOM6 was found on Lacuna, and the file gives no PerturbCausal F1 value, only that no deep model significantly outperformed the sparse linear comparator. Beating this baseline means a statistically significant improvement on the held-out-gene metrics below, judged by paired bootstrap over lncRNAs. It also requires that effect sizes stay calibrated, meaning the median predicted-to-observed magnitude ratio is within 2×.

Two ablations isolate the proposal's key ingredient.

  • Boolean ablation. lncRNAs become ordinary on/off nodes, as in unmodified context-sensitive stochastic Boolean networks. If this matches the full model, the graded-modifier idea adds nothing.
  • Float ablation. The same fitted model is simulated by floating-point Monte Carlo instead of bitstreams. Predictions should agree within sampling error. This ablation exists to separate the modeling claim from the computational one, so that accuracy gains are never credited to stochastic computing itself.

Why not just…?

Why not just fit a sparse linear model to the knockdown responses? This is the real threat, and PerturbCausal is evidence that it often wins. It fits direct effects well. Its weakness, by construction, is responses that pass through intermediate genes and feedback, and effects that saturate. Our main test therefore scores genes outside each lncRNA's directly co-expressed set, where propagation through the network matters. If ElasticNet ties there too, the modeling claim fails and we report it as such.

Why not just use co-expression, as LncRNA2Function does? Co-expression is symmetric and non-causal. A transcript that shares chromatin or transcription factors with its neighbors looks identical to one that regulates them. The FANTOM6 knockdowns let us measure this directly. The co-expression baseline shows how much of the knockdown response correlation already explains.

Why not just simulate the same probabilistic model with ordinary floating-point Monte Carlo on a GPU? For accuracy alone this should be equivalent, which is why the float ablation exists. Stochastic computing only earns a place if, at matched steady-state error, it costs less energy or latency. The evidence for that is indirect: the up-to-five-orders-of-magnitude reduction in multiply-accumulate footprint (Li et al., 2016) and the 48× latency and 15× power gains of an FPGA over a GPU in SSA. We measure it directly. If the GPU wins at matched error, we drop the hardware claim and keep the model.

Why not just use differential equations, which handle continuous abundances? Equations need rate constants that FANTOM6 cannot identify. The probabilistic model needs only one bounded strength per edge, and it keeps the context-switching structure of Zhu et al. We include a linearized differential-equation model as a secondary check, fit with the same budget.

Proposed Experiments

Prediction on held-out genes. For each knocked-down lncRNA, models see responses of its directly co-expressed module genes. They must predict log fold-change for held-out downstream genes. The metrics are:

  • Spearman correlation with the observed changes;
  • area under the precision–recall curve for calling significant changes;
  • the predicted-to-observed effect magnitude ratio, using the inflation diagnostic from PerturbCausal.

Prediction on held-out lncRNAs. lncRNAs are split into five folds. Each model must predict whether an unseen lncRNA's knockdown produces a significant transcriptomic shift, the property observed in about 60% of FANTOM6 knockdowns. It must also predict whether the knockdown produces a visible phenotype, observed in about 30%, using the IncuCyte growth readout. For the visible-phenotype task the network supplies its predicted effects on growth-pathway genes as features.

Sanity check on protein-coding perturbations. The protein-coding layer of the network is checked on the Replogle K562 CRISPRi screen used by PerturbCausal. The aim is to confirm it does not lose to ElasticNet before any lncRNA modifiers are added.

Hardware measurement. We synthesize the multiplexer-modifier networks on an FPGA, using shared bitstream generators following the parallel generator design. We report energy and latency to reach steady-state error of 1% and of 0.2%, against GPU float Monte Carlo and against exact computation where it is tractable. We also report error caused by correlated bitstreams on the networks that contain feedback loops, since correlation between streams is the known failure mode.

Decisive checks. The full model must beat ElasticNet on held-out genes, and the Boolean ablation must lose to the full model. Together these show that graded modulation, not network structure alone, carries the gain. The hardware claim stands only if the FPGA beats GPU Monte Carlo on energy at matched error.