When engineers install a synthetic pathway into a microbe, the host's own metabolism quietly steals from it. Native reactions siphon shared precursors, energy carriers, and reducing power into biomass, byproducts, and even degradation of the target molecule itself. The fix, demonstrated repeatedly in the lab, is a coordinated "express and suppress" strategy: install the heterologous enzymes while simultaneously dimming competing native genes, either deleting them or partially repressing them with CRISPR interference (a programmable system that reduces a gene's expression by a chosen fraction without removing it). The hard part is deciding which genes to dim, how much, and in what combination — a problem where the answer depends on isoenzyme redundancy, essentiality, and unannotated promiscuous enzymes that no curated database records.
At the same time, open-weights language models (models whose trained parameters are freely downloadable, like Llama or Qwen) still trail proprietary frontier models in exactly the skills this design loop demands: multi-step planning, selecting the right external tool, and reviewing one's own work. But a consistent lesson from the open-models literature is that this gap closes when training and inference are built around executable verification — letting the model write code that a sandbox actually runs, and filtering its proposals through ground-truth tests. This proposal builds that machinery for metabolic sink suppression. Concretely: I will construct an executable gym over flux-balance models of real production hosts, generate tens of thousands of verified synthetic Design-Build-Test-Learn (DBTL) trajectories in which an open model proposes sink-suppression interventions and a stoichiometric solver scores them, fine-tune an open-weights model on those trajectories, and evaluate it on held-out wet-lab case studies where the correct interventions are known from published experiments.
Core Claim
The central claim is that an open-weights model in the 8B range, fine-tuned on a few thousand simulator-verified DBTL trajectories and coupled at inference to a hybrid verifier (an execution-free reasoning filter followed by an execution-based flux-balance check), can propose metabolic sink-suppression designs that beat both zero-shot frontier prompting and classical graph-search routing on the tasks that matter: recovering experimentally validated knockdown targets, choosing viable dimming levels for essential genes, and avoiding rationalized but stoichiometrically infeasible proposals. The verification step is the key ingredient, not the fine-tuning alone, because the failure mode it removes — a model confidently justifying a wrong biological premise — is precisely what the reasoning-model literature shows happens when unverified context enters the picture: Qwen3-8B's accuracy on multi-hop questions fell from 96.22% to 77.03% when misleading auxiliary snippets were added, because the model constructed elaborate justifications for the false premise rather than rejecting it (Thinking in a Crowd: How Auxiliary Information Shapes LLM Reasoning). Metabolic networks are full of misleading priors — a gene that looks like a sink on a pathway map may be compensated by an isoenzyme, and a plausible-looking "sink" may not exist at all.
The proposal deliberately does not claim that the language model replaces flux analysis. The solver does the arithmetic; the model does the parts a solver cannot: reading messy multi-omic snapshots, hypothesizing unannotated sinks from metabolite accumulation patterns, and composing multi-gene intervention strategies under viability constraints.
What Exists and What Is Missing
Four prior lines define the boundary of this work. SynthPert (SynthPert: Enhancing LLM Biological Reasoning via Synthetic Reasoning Traces for Cellular Perturbation Prediction) is the closest: it fine-tunes an open-weights DeepSeek-R1 8B on synthetic chain-of-thought rationales generated by a frontier teacher, and its distilled student reaches 89% on the PerturbQA perturbation-prediction task — far above its own teacher o4-mini at 52% and above direct supervised fine-tuning without reasoning traces, also 52%. But SynthPert predicts a discrete outcome (a single gene knocked out, in a human cell line, does expression go up/down/unchanged); it does not touch continuous fluxes, stoichiometric mass balance, multi-gene combinations, graded repression levels, or any executable check. This proposal differs on all five of those axes.
A second line gives language models metabolic structure but not modern reasoning. A 2021 sequence-to-sequence Transformer trained on 40 million synthetic random graphs predicts metabolic-network steady states, reaching 28 of 29 real KEGG networks on quantitative prediction (A deep language model to predict metabolic network equilibria) — but only for linear dynamics, only at the graph size it was trained on, and with no notion of interventions. Third, PATH<sup>cre8</sup> (PATH<sup>cre8</sup>: A Tool That Facilitates the Searching for Heterologous Biosynthetic Routes) is the strongest classical system: a graph search over a universal metabolic network that scores candidate heterologous routes using thermodynamics, host enzyme copy number, toxicity, and product consumption, and ranks all 20 benchmarked experimentally verified pathways within its top 4 candidates in about 3.4 seconds per compound pair. But it optimizes static routing, not suppression — it cannot output "repress gapA to 82% and budA to 24%", cannot see isoenzyme compensation in omics data, and cannot read unstructured experimental data at all. Fourth, the agentic open-models literature supplies the recipe I reuse: answer-forcing and heuristic search to build trajectory datasets (AgentBank: Towards Generalized LLM Agents via Fine-Tuning on 50000+ Interaction Trajectories), program-of-thought training where arithmetic is offloaded to an interpreter (MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuning), and hybrid execution-free/execution-based verification for test-time filtering (R2E-Gym: Procedural Environments and Hybrid Verifiers for Scaling Open-Weights SWE Agents). None of these has ever been pointed at a biochemical environment.
Research Program
The first build is the gym: genome-scale flux-balance models for the three production hosts with published sink-suppression case studies — E. coli, K. pneumoniae, and A. pseudoterreus — augmented with the specific heterologous pathways from those studies. The core computational object is straightforward: given a vector $\mathbf{d}$ of repression levels (each entry between 0 and 1, the fraction by which gene $i$'s enzyme capacity is reduced), the simulator solves
$$\max_{\mathbf{v}}\; v_{\text{target}} \quad \text{subject to} \quad S\mathbf{v} = 0,\;\; 0 \le v_i \le (1 - d_i)\, v_i^{\max},\;\; \mu \ge \mu_{\min},$$
where $\mathbf{v}$ is the vector of reaction fluxes, $S$ is the stoichiometric matrix enforcing mass balance on every metabolite, $\mu$ is growth rate, and $\mu_{\min}$ is a viability floor. This constraint set is what encodes the dimmer-switch reality: setting $d_i = 1$ on an essential gene like gapA makes the problem infeasible, forcing the model to learn partial repression — the exact trade-off the wet-lab work confronted, where gapA was dimmed by 82% because full deletion is lethal, while the byproduct route budA took only 24% (Engineering Glucose-to-Glycerol Pathway in Klebsiella pneumoniae and Boosting 3-Hydroxypropionic Acid Production Through CRISPR Interference). To reproduce the unannotated-sink problem that makes this hard, I will inject synthetic "cryptic sinks" — uncataloged degradation reactions and promiscuous transaminases modeled on the Apald6 oxidative leak and the 2,4-diaminobutanoate off-target nitrogen sink discovered by proteomics and metabolomics (Integration of Proteomics and Metabolomics Into the Design, Build, Test, Learn Cycle to Improve 3-Hydroxypropionic Acid Production in Aspergillus pseudoterreus) — which the model must infer from simulated metabolite-accumulation snapshots rather than from a gene annotation list.
The second build is trajectory generation, following AgentBank's answer-forcing recipe (AgentBank: Towards Generalized LLM Agents via Fine-Tuning on 50000+ Interaction Trajectories): a frontier teacher is given the gold outcome (the simulator's verified best intervention) and asked to write the reasoning trace that leads to it; a critic filter retains only high-quality rationales. SynthPert showed this "explanation from outcome" pipeline beats prediction-then-explanation and that a student needs only a small fraction of the filtered traces — 2% in their case (SynthPert: Enhancing LLM Biological Reasoning via Synthetic Reasoning Traces for Cellular Perturbation Prediction), so I will target a few thousand verified trajectories rather than tens of thousands. Each trajectory is a full DBTL turn: given a host state, an omics snapshot, and the current intervention set, the model writes a chain of thought, then a program-of-thought step that calls the flux solver, then a revision. The hybrid verifier at both training and inference follows R2E-Gym's design (R2E-Gym: Procedural Environments and Hybrid Verifiers for Scaling Open-Weights SWE Agents): an execution-free reward model cheaply prunes candidate trajectories, then the execution-based solver test gives ground-truth feasibility and predicted product flux, and only trajectories passing both enter training. The verifier is also the guard against the rationalization trap: any proposal whose claimed mechanism implies a mass-balance violation is rejected mechanically, regardless of how fluent its justification.
The third component is a mechanistic diagnostic, not a build: I will apply the SinkProbe attention-sink detector (Attention Sinks as Internal Signals for Hallucination Detection in Large Language Models) to the fine-tuned model's internal states while it reasons over omics snapshots, testing whether hallucinated sinks (proposing a drain the data does not support) coincide with the attention collapse that paper identifies. This is a cheap, publishable mechanistic result either way, and if the signal transfers, it offers an inference-time flag for exactly the failure the verifier cannot catch — plausible proposals that are feasible but wrong.
Proposed Experiments
The evaluation benchmark is retrospective and fully held out: the three wet-lab sink-suppression campaigns, none of which appear in the training simulator's cryptic-sink configurations in their exact form. For E. coli riboflavin, the model must recover the ranking of validated disruptions — pfkA/edd/eda (+65.81% in the best strain), gutQ (+19.65%), yajO (+8.65%), and pgl insertion (+18.80% over its parent) — and, critically, must predict that disrupting the kdsD isoenzyme alone does nothing because gutQ compensates, and that expressing the ribM transporter hurts yield, both counterintuitive outcomes reported in Disrupting ribulose-5-phosphate metabolic flux enhances riboflavin production in Escherichia coli BL21(DE3). For K. pneumoniae, the target output is a dimming level: predicted repression of gapA near the experimentally chosen 82% and budA near 24%, with lethality predicted for full gapA deletion, against reported titers of 2.8 g/L glycerol and 1.77 g/L 3-HP in fed-batch (Engineering Glucose-to-Glycerol Pathway in Klebsiella pneumoniae and Boosting 3-Hydroxypropionic Acid Production Through CRISPR Interference). For A. pseudoterreus, the model must identify Apald6 as the degradation sink from a simulated proteomics-plus-metabolomics snapshot and predict the 3.4-fold yield gain from its deletion, against the reported move from 0.27 g/L to roughly 0.88 g/L in bioreactor culture (Integration of Proteomics and Metabolomics Into the Design, Build, Test, Learn Cycle to Improve 3-Hydroxypropionic Acid Production in Aspergillus pseudoterreus).
Metrics are three. Top-$k$ target recovery: fraction of validated intervention genes in the model's ranked top-$k$ proposals, directly comparable to PATH<sup>cre8</sup>'s benchmark protocol, which placed all 20 verified pathways within its top 4 candidates — I will report the analogous "top-4 recovery of validated suppression targets." Direction-of-effect accuracy: does the model correctly predict gain, no effect (the kdsD and ribM traps), or loss for each proposed intervention. And dimming-calibration error: the absolute deviation between predicted and validated repression levels for essential genes. A secondary robustness test injects misleading pathway-map context (annotations suggesting the wrong sink) and measures whether the executable verifier prevents the roughly twenty-point accuracy collapse seen in unverified-context settings (Thinking in a Crowd: How Auxiliary Information Shapes LLM Reasoning).
Baselines
The naive reference point is a zero-shot open-weights model of the same size and family given the same omics snapshots and a plain prompt asking for suppression targets, with no gym, no fine-tuning, and no verifier. This calibrates how much of the gain comes from the pipeline rather than the base model; the open-models literature predicts it will fail hardest on the retrieval- and review-like sub-skills (identifying the right data to consult and checking one's own proposal), which are the weakest sub-tasks for open models on granular tool-use evaluation, where the open-weights leader Qwen-72B scored 71.4 overall against GPT-4's 86.4 (T-Eval: Evaluating the Tool Utilization Capability of Large Language Models Step by Step).
The strongest existing method baseline is PATH<sup>cre8</sup>-style graph search (PATH<sup>cre8</sup>: A Tool That Facilitates the Searching for Heterologous Biosynthetic Routes), run on the same hosts, same omics inputs, and same evaluation benchmark, given the same compute and the same candidate gene set, with its ranking thresholds tuned on the training split of the gym exactly as my model is. On its own pathway-routing benchmark it is genuinely strong — it ranked all 20 experimentally verified heterologous pathways within its top 4 candidates, at roughly 3.4 seconds per compound pair — and it is the fair classical champion. It will also be run in a combined mode (graph search for routing, plus my gym for suppression) to test whether the two are complements. Beating it means strictly higher top-4 recovery of validated suppression targets on the held-out case studies, since PATH<sup>cre8</sup>'s design outputs routes, not interventions, its expected performance on graded dimming is near chance, and the interesting comparison is target recovery.
The strongest learned baseline is direct supervised fine-tuning on raw (state, intervention, outcome) tuples from the same simulator, with identical data volume, LoRA budget, and compute — no reasoning traces, no verifier. This is exactly the ablation SynthPert ran, where direct fine-tuning matched the frontier teacher's 52% on PerturbQA while the reasoning-trace version reached 89% (SynthPert: Enhancing LLM Biological Reasoning via Synthetic Reasoning Traces for Cellular Perturbation Prediction); if that gap vanishes in my setting, the reasoning-trace machinery is not earning its cost. Finally, the key-ingredient ablation removes only the execution-based verification leg of the hybrid verifier, keeping the reasoning traces — the analogue of R2E-Gym's finding that removing thought traces alone dropped Pass@1 from 34.4% to 30.4% (R2E-Gym: Procedural Environments and Hybrid Verifiers for Scaling Open-Weights SWE Agents). The proposal's claim requires that this ablation degrade specifically on the counterintuitive traps (kdsD compensation, ribM loss) where fluent but unverifiable reasoning is most tempting.
Why not just…?
Why not just prompt a frontier model (GPT-4, o1) with few-shot examples? This is the most serious alternative, and I will run it as a fourth baseline under an identical prompt and context budget. The file's evidence says it will fall short in this regime: the frontier teacher o4-mini managed only 52% on the directly analogous biological perturbation task, below the 89% of a distilled 8B open student (SynthPert: Enhancing LLM Biological Reasoning via Synthetic Reasoning Traces for Cellular Perturbation Prediction), and frontier models trail humans by wide margins precisely as multi-step horizons grow (SmartPlay : A Benchmark for LLMs as Intelligent Agents). But the deeper answer is not "frontier models are weak" — it is that reproducible, deployable, cheap sink-suppression design on proprietary hosts and internal omics data requires weights the lab can hold, fine-tune, and audit; and the proposal's honest fallback is that if frontier few-shot prompting matches FluxGym on all three case studies, the contribution narrows to the open-models question (distillation parity) and the benchmark, which is still a result but a smaller one. The experiments settle this directly.
Why not just fine-tune on raw (intervention, flux) pairs without traces and verifiers? Because the file contains the controlled comparison already: direct supervised fine-tuning without reasoning traces scored 52% on PerturbQA — no better than the zero-shot frontier model — while the same base model trained on filtered reasoning traces hit 89% and generalized to unseen cell lines at 87% versus the direct method's 52% (SynthPert: Enhancing LLM Biological Reasoning via Synthetic Reasoning Traces for Cellular Perturbation Prediction), and AgentBank's ablations found that removing rationales caused violent overfitting to training styles (AgentBank: Towards Generalized LLM Agents via Fine-Tuning on 50000+ Interaction Trajectories). Still, I treat this as a real threat to the trace machinery's value in a continuous prediction setting — discrete up/down tasks may benefit from rationales more than regression-like dimming prediction does — which is exactly why the direct-SFT baseline above is run at matched data and compute.
Why not just extend PATH<sup>cre8</sup> with a suppression module and skip language models entirely? If the task were only "find the best knockouts in a well-annotated model," a heuristic search over the flux model would likely suffice, and a reviewer would be right. But the motivating case studies turn on what curated databases do not contain: an unannotated promiscuous transaminase, an unpredicted catabolic degradation route, and isoenzyme compensation — the very gaps PATH<sup>cre8</sup>'s authors acknowledge, since it depends on KEGG/Rhea coverage and scores static enzyme copy numbers rather than dynamic regulation (PATH<sup>cre8</sup>: A Tool That Facilitates the Searching for Heterologous Biosynthetic Routes; Integration of Proteomics and Metabolomics Into the Design, Build, Test, Learn Cycle to Improve 3-Hydroxypropionic Acid Production in Aspergillus pseudoterreus). The cryptic-sink evaluation is designed so brute-force enumeration of annotated genes cannot succeed, and I will also run a pure enumeration baseline over the annotated gene set to prove the cryptic-sink conditions genuinely require reading the omics snapshot. If enumeration wins anyway, that is a decisive negative result about the benchmark, not something to argue around.
Why not just retrieve KEGG entries into the prompt (RAG) instead of fine-tuning? The file reports this failing twice, in complementary ways: SynthPert's authors tried injecting an external biological database at inference and it degraded accuracy, interfering with the model's implicit reasoning (SynthPert: Enhancing LLM Biological Reasoning via Synthetic Reasoning Traces for Cellular Perturbation Prediction), and unfiltered auxiliary context drove a reasoning model from 96.22% to 77.03% by inducing it to rationalize flawed premises (Thinking in a Crowd: How Auxiliary Information Shapes LLM Reasoning). RAG will still be run as a fifth baseline on the same snapshots, and my misleading-context experiment is essentially a controlled version of this question: the hypothesis is that the executable verifier converts retrieved-but-wrong context from a poison into a rejected hypothesis.
Decisive Checks
Three outcomes would decide the proposal's fate. First, if FluxGym's top-4 recovery of validated suppression targets exceeds both the PATH<sup>cre8</sup>-style search and frontier few-shot prompting on the three held-out campaigns, and the execution-free-verifier ablation reproduces the counterintuitive-trap failures, the central claim stands. Second, if the dimming-level predictions for essential genes land within roughly ten percentage points of the validated 82% and 24% repression levels while the direct-SFT baseline collapses to all-or-nothing predictions, the viability-constrained trajectory training is doing what it was built for. Third, the mechanistic check: if SinkProbe-style attention-sink scores discriminate hallucinated from data-supported sinks in the fine-tuned model, the proposal gains an inference-time safety signal; if they do not transfer to this domain, that is a clean negative finding about the domain-generality of attention-sink hallucination markers, reported as such.
References
- Thinking in a Crowd: How Auxiliary Information Shapes LLM Reasoning
- SynthPert: Enhancing LLM Biological Reasoning via Synthetic Reasoning Traces for Cellular Perturbation Prediction
- A deep language model to predict metabolic network equilibria
- PATHcre8: A Tool That Facilitates the Searching for Heterologous Biosynthetic Routes
- AgentBank: Towards Generalized LLM Agents via Fine-Tuning on 50000+ Interaction Trajectories
- MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuning
- R2E-Gym: Procedural Environment Generation and Hybrid Verifiers for Scaling Open-Weights SWE Agents
- Engineering Glucose-to-Glycerol Pathway in Klebsiella pneumoniae and Boosting 3-Hydroxypropionic Acid Production Through CRISPR Interference
- Integration of Proteomics and Metabolomics Into the Design, Build, Test, Learn Cycle to Improve 3-Hydroxypropionic Acid Production in Aspergillus pseudoterreus
- Attention Sinks as Internal Signals for Hallucination Detection in Large Language Models
- Disrupting ribulose-5-phosphate metabolic flux enhances riboflavin production in Escherichia coli BL21(DE3)
- T-Eval: Evaluating the Tool Utilization Capability of Large Language Models Step by Step
- SmartPlay : A Benchmark for LLMs as Intelligent Agents