Learning Biomolecular Models using Signal Temporal Logic

Hanna Krasowski, Eric Palanques-Tost, Călin Belta, Murat Arcak · DOI

Abstract

Modeling dynamical biological systems is key for understanding, predicting, and controlling complex biological behaviors. Traditional methods for identifying governing equations, such as ordinary differential equations (ODEs), typically require extensive quantitative data, which is often scarce in biological systems due to experimental limitations. To address this challenge, we introduce an approach that determines biomolecular models from qualitative system behaviors expressed as Signal Temporal Logic (STL) statements, which are naturally suited to translate expert knowledge into computationally tractable specifications. Our method represents the biological network as a graph, where edges represent interactions between species, and uses a genetic algorithm to identify the graph. To infer the parameters of the ODEs modeling the interactions, we propose a gradient-based algorithm. On a numerical example, we evaluate two loss functions using STL robustness and analyze different initialization techniques to improve the convergence of the approach.

Introduction

In systems biology, the creation of mathematical models—typically Ordinary Differential Equations (ODEs)—is essential for predicting the behavior of complex cellular and genetic networks. However, traditional model identification relies heavily on "Big Data": precise, high-frequency quantitative measurements that are often unavailable in biological contexts due to experimental constraints.

In practice, biological knowledge is frequently qualitative and "messy." Experts might know, for instance, that if a certain protein concentration remains high, another should eventually decrease. Historically, such insights have been difficult to integrate into automated model discovery. This research bridges that gap by utilizing Signal Temporal Logic (STL) to translate qualitative expert knowledge into a differentiable loss function, enabling the inference of complex biological models from logical, time-based descriptions.

Methodology

The proposed framework employs a hybrid approach to simultaneously discover the topology (the network of interactions) and the parameters (the strength and rate of those interactions) of a biological system.

1. Graph and Mathematical Representation

The biological system is modeled as a directed graph where nodes represent species (e.g., genes, cytokines) and edges represent regulatory interactions, such as activation or inhibition. These interactions are mathematically formalized using Hill equations, a standard approach in biology for modeling non-linear regulation.

2. The Genetic Algorithm (GA)

To explore the vast space of possible network structures, the framework uses a Genetic Algorithm. The GA "evolves" different graph topologies over multiple generations, favoring models that are sparse (to prevent overfitting) and that satisfy the logical requirements defined by the user.

Overview of the framework for learning biomolecular networks from STL specifications.

3. Differentiable STL Robustness

The core innovation lies in the use of differentiable STL robustness. While standard logic is binary (true or false), STL robustness provides a continuous measure of how well a specification is satisfied. By making this measure differentiable, the authors can use gradient-descent algorithms (like Adam) to fine-tune the ODE parameters, essentially "walking" down a smooth landscape to find the optimal configuration.

4. Adaptive Loss Function and Initialization

The authors introduced an adaptive loss function that shifts focus once logical requirements are met, encouraging the model to maximize its "safety margin" (robustness) rather than just barely satisfying the criteria. Furthermore, they found that using Sobol sequences for parameter initialization—a method for more uniform sampling of the parameter space—significantly improved convergence speed compared to standard random sampling.

Experimental Results

The framework was evaluated using a synthetic numerical example of a 6-species gene network. The task was to discover a network topology and parameters that satisfied a complex propagation behavior: if certain species crossed a threshold, others had to respond within a specific time window without exceeding defined limits.

Key Findings

  • Structure Discovery: In 90% of the test generations, the genetic algorithm successfully identified at least one network topology that satisfied the complex logical specifications.
  • Efficiency Gains: Sobol initialization nearly doubled the speed of reaching satisfaction, requiring an average of 8.6 steps compared to 16.6 steps for uniform sampling.
  • Qualitative Success: The system successfully discovered a network where "Species 5" acted as a primary regulator for "Species 3 and 4," effectively fulfilling the qualitative "if-then" requirements provided as input.

Discussion and Future Work

While the method demonstrates significant promise in learning models from qualitative data, several challenges remain. Because the input is qualitative, the problem is often underspecified, meaning multiple different models might satisfy the same logic. Future iterations could incorporate quantitative data alongside STL specifications to narrow down the "true" biological model.

Additionally, the scalability of genetic algorithms is a concern for larger systems. The authors suggest that integrating Graph Neural Networks (GNNs) could help manage the computational complexity of much larger networks. Finally, extending the framework to handle real-world experimental noise and a wider variety of chemical reactions (such as sequestration) will be critical for practical applications in systems biology.

Summary updated

BibTeX
@inproceedings{krasowski2025learning,
  author = {Hanna Krasowski and Eric Palanques-Tost and Călin Belta and Murat Arcak},
  title = {{Learning Biomolecular Models using Signal Temporal Logic}},
  booktitle = {L4dc},
  year = {2025},
}
Figure