Certified Comparative Statics for Conservation-Law Equilibrium Layers, with an Application to RNA Interference

Shadi Khodagholi, Sara Karimi, Niloofar YousefiarXiv 2026

Imagine you’re at a crowded pizza party. There’s a limited number of slices (the resource), and everyone is hungry (the consumers). If one person decides they want a second slice, it doesn’t just affect them—it leaves less for everyone else. This is a "conservation law" in action.

In the world of machine learning, we often use "equilibrium layers" to model these kinds of complex, balancing-act systems. But while we’ve been good at proving these systems eventually reach a balance, we’ve been surprisingly bad at guaranteeing how that balance shifts when you change the inputs. This paper provides the mathematical "certificate" to do exactly that.

TL;DR

The authors provide a mathematical guarantee (a "certificate") for how equilibrium neural network layers respond to changes in their inputs, specifically for systems governed by conservation laws like RNA interference. They prove that as long as the system follows certain "M-matrix" properties, we can be 100% certain about the direction of change (e.g., "adding more of X will always decrease Y"), regardless of the specific biological or physical formulas used.

What Problem Does This Paper Address?

Deep learning is moving toward "implicit" or "equilibrium" layers—models where the output isn't just a sequence of steps, but the steady-state solution to a complex equation. Think of it like a thermostat: you don't just "calculate" the temperature; the system constantly adjusts until it hits a fixed point.

The problem? While we know these systems have a fixed point, we haven't had a way to certify their comparative statics. In plain English: if I wiggle an input, can I guarantee which way the output will wiggle?

In fields like drug design (specifically RNA interference), this is a life-or-death question. If you modify a therapeutic RNA to reduce "off-target" side effects, you need to be certain it won't accidentally make things worse through a weird feedback loop. Standard AI models are "black boxes" that can't offer this guarantee; they might predict a decrease today and an increase tomorrow after a bit more training.

Methods

The authors focus on conservation-law layers. These are systems where a fixed pool of resources (like proteins in a cell) is split among many competitors.

Figure 1: The conservation-law equilibrium operator. (a) A conserved pool is distributed among competing sites; the free amount f solves M = f + P

The key technical breakthrough is linking these layers to the classical theory of M-matrices. They prove that if the "residual Jacobian" (a matrix describing how the system's errors change) is a nonsingular M-matrix, then every input-output relationship is sign-certified.

Crucially, this result is form-independent. Whether the biology follows a Langmuir, Hill, or exponential curve, the direction of the response remains guaranteed by the underlying topology of the competition. They also identify a "phase boundary"—a mathematical line in the sand where these guarantees break down, usually when positive feedback loops become too strong.

Datasets

The authors didn't just play with math; they validated their theory on several real-world datasets:

  • McGeary HeLa transfection corpus: Data covering 17 different microRNAs to verify the "M-matrix" property in real biological systems.
  • Schlegel rat-liver GalNAc-siRNA: A therapeutic dataset used to validate that chemical modifications designed to reduce side effects actually work as predicted.
  • Titration studies (Denzler/Bosson): Used to test "competitive derepression"—how adding more "decoy" targets affects the system.
  • Competitive Adsorption: A non-biological dataset (Arsenic and Fluoride on activated carbon) to prove the theory holds for general physical chemistry.

Key Insights and Ideas

  • Competitive Derepression: This is the "aha!" moment. Standard models score each target in isolation. But in a real cell, if you add a new competitor, it "soaks up" the resource, actually relieving the pressure on other targets. The authors show that their model captures this effect perfectly, while standard "independent" models are structurally blind to it.
  • The M-Matrix as a Portable Invariant: You don't need to know the exact "affinity" (strength) of every molecule to know the direction of the effect. The sign is fixed by the coupling topology.
  • Non-Submodularity: They proved that in these coupled systems, "greedy" design (picking the best single modification one by one) isn't guaranteed to find the best overall solution. You have to look at the system holistically.
  • Training with a Safety Net: They built this operator into a trainable neural network layer. Because the monotonicity is "certified by construction," the model stays physically sensible throughout the entire training process without needing extra constraints.

Key Results

  • Directional Accuracy: On the Schlegel therapeutic data, the model correctly predicted the direction of off-target reduction for a specific chemical modification (S-GNA) with high statistical significance ($p = 2.7 \times 10^{-33}$).
  • Performance Parity: When used as a trainable layer, it reached "magnitude parity" with standard feedforward baselines (Spearman correlation of ~0.112 vs ~0.095). It didn't lose accuracy by being "safe."
  • Titration Success: The model correctly ordered the thresholds for competitive derepression across different microRNAs, a feat impossible for independent scoring methods.
Figure 2: Certified-direction panel. Empirical CDF of off-target log2 fold change for seed-matched genes (blue) against non- matched background (grey), with identical matched and background sets across both arms of each contrast; D is the vertical separation at maximum gap. Left: the parent Ttr guide represses seed-matched genes strongly and a single (S)-GNA substitution at position seven largely abolishes the effect. Centre: the same chemistry on a second guide barely moves the signature; assay format and dose differ as well as guide, so we do not attribute the difference to the guide alone. Right: blocking RISC loading abolishes the signature, the mechanistic control for the conserved loaded-pool premise. The blocked arm is from a different sequencing batch than the Hao1 panels; its same-batch parent is reported in the text. Axis clipped to [−1.5, 1.0] for display; D, p, and attenuation computed unclipped from unrounded D.

Limitations and Future Work

The authors are refreshingly honest about what the model can't do yet:

  • Magnitude Ranking: While the model is great at predicting the direction of change, it isn't yet better than simple baselines at predicting the exact size of the effect for every single gene.
  • Position Blindness: The current "single-pool" version doesn't account for exactly where on the RNA strand a modification happens (the "geometry" of the protein-RNA interaction).
  • Multi-Guide Data: Testing the full "multi-pool" version of the theory on RNAi requires more complex experimental data (multiple RNAs competing at once) that isn't yet widely available in public datasets.

In short, they've built a GPS that is guaranteed to point North when you want to go North—even if it doesn't yet tell you exactly how many meters you'll travel. For researchers in high-stakes fields like drug design, that's a massive step forward.

Summary updated

BibTeX
@misc{khodagholi2026certified,
  author = {Shadi Khodagholi and Sara Karimi and Niloofar Yousefi},
  title = {{Certified Comparative Statics for Conservation-Law Equilibrium Layers, with an Application to RNA Interference}},
  year = {2026},
  eprint = {2611.29050},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.29050},
}
Figure