Back

Generating Bounded Linear Temporal Logic in Systems Biology with Large Language Models

Tang, D.; Miskov-Zivanov, N.

2025-08-09 systems biology
10.1101/2025.08.06.668950 bioRxiv
Show abstract

In computational modeling, Bounded Linear Temporal Logic (BLTL) is a valuable formalism for describing and verifying the temporal behavior of biological systems. However, translating natural language (NL) descriptions of system behaviors into accurate BLTL properties remains a labor-intensive task, requiring deep expertise in both logic syntax and semantic translation. With the advent of large language models (LLMs), automating this translation has become a promising direction. In this work, we propose an accurate and flexible NL-BLTL transformation framework based on transfer learning. Our approach consists of three stages: 1) Synthetic data generation, where we construct a large-scale NL-BLTL dataset. 2) Pre-training, where we fine-tune LLMs on the synthetic dataset to enhance their ability to characterize logical structure and BLTL specifications. 3) Fine-tuning, where we adapt the pre-trained models to a naive T-cell dataset with manual NL-BLTL annotations. We evaluate the fine-tuned models on the naive T-cell test set and further assess their generalizability on an unseen NL-BLTL dataset in the context of the pancreatic cancer environment, using comprehensive metrics. Experimental results show that models pre-trained on the synthetic data and fine-tuned on real-world annotations outperform both out-of-the-box LLMs, such as GPT-4, and models trained directly on the naive T-cell dataset without pre-training, demonstrating the effectiveness of our framework.

Matching journals

The top 6 journals account for 50% of the predicted probability mass.

1
Bioinformatics
1204 papers in training set
Top 0.9%
22.9%
2
iScience
1154 papers in training set
Top 0.2%
10.9%
3
Frontiers in Systems Biology
10 papers in training set
Top 0.1%
5.3%
4
Bioinformatics Advances
203 papers in training set
Top 1%
5.0%
5
PLOS Computational Biology
1863 papers in training set
Top 8%
4.1%
6
Scientific Reports
3612 papers in training set
Top 31%
3.3%
50% of probability mass above
7
ACS Synthetic Biology
287 papers in training set
Top 1.0%
2.8%
8
BMC Bioinformatics
457 papers in training set
Top 3%
2.8%
9
PLOS ONE
5266 papers in training set
Top 40%
2.7%
10
Nature Communications
5641 papers in training set
Top 38%
2.7%
11
Patterns
78 papers in training set
Top 1%
2.0%
12
IEEE/ACM Transactions on Computational Biology and Bioinformatics
38 papers in training set
Top 0.5%
1.8%
13
Scientific Data
209 papers in training set
Top 1%
1.8%
14
Development
497 papers in training set
Top 3%
1.8%
15
Cell Systems
201 papers in training set
Top 3%
1.5%
16
Computational and Structural Biotechnology Journal
242 papers in training set
Top 4%
1.4%
17
Genome Biology
637 papers in training set
Top 7%
1.2%
18
PNAS Nexus
159 papers in training set
Top 2%
1.2%
19
Frontiers in Genetics
230 papers in training set
Top 4%
1.1%
20
Genome Research
468 papers in training set
Top 5%
1.0%
21
npj Systems Biology and Applications
125 papers in training set
Top 2%
1.0%
22
Biomolecules
100 papers in training set
Top 3%
0.9%
23
IEEE Transactions on Computational Biology and Bioinformatics
20 papers in training set
Top 0.6%
0.9%
24
Briefings in Bioinformatics
354 papers in training set
Top 7%
0.9%
25
GigaScience
212 papers in training set
Top 4%
0.9%
26
BioData Mining
22 papers in training set
Top 0.9%
0.6%
27
Frontiers in Microbiology
427 papers in training set
Top 9%
0.6%
28
Frontiers in Molecular Biosciences
102 papers in training set
Top 3%
0.6%
29
BMC Medical Informatics and Decision Making
43 papers in training set
Top 2%
0.6%
30
Journal of Biomedical Informatics
47 papers in training set
Top 1%
0.6%