Stability and Robustness of Unbalanced Genetic Toggle Switches in the Presence of Scarce Resources

While the vision of synthetic biology is to create complex genetic systems in a rational fashion, system-level behaviors are often perplexing due to the context-dependent dynamics of modules. One major source of context-dependence emerges due to the limited availability of shared resources, coupling the behavior of disconnected components. Motivated by the ubiquitous role of toggle switches in genetic circuits ranging from controlling cell fate differentiation to optimizing cellular performance, here we reveal how their fundamental dynamic properties are affected by competition for scarce resources. Combining a mechanistic model with nullcline-based stability analysis and potential landscape-based robustness analysis, we uncover not only the detrimental impacts of resource competition, but also how the unbalancedness of the switch further exacerbates them. While in general both of these factors undermine the performance of the switch (by pushing the dynamics toward monostability and increased sensitivity to noise), we also demonstrate that some of the unwanted effects can be alleviated by strategically optimized resource competition. Our results provide explicit guidelines for the context-aware rational design of toggle switches to mitigate our reliance on lengthy and expensive trial-and-error processes, and can be seamlessly integrated into the computer-aided synthesis of complex genetic systems.


Introduction
Living organisms synthesize a large collection of complex products relying on a vast array of intertwined processes [1]. Synthetic biology seeks to take advantage of these processes by modifying and rewiring existing connections, and via introducing novel components. This interdisciplinary field thus holds the promise of controlling cellular behavior by combining expertise from a diverse set of domains, including experimental techniques from the life sciences and quantitative tools from engineering disciplines [2][3][4]. As a result of this integrative approach, multiple industries are expected to be transformed and revolutionized, including regenerative medicine, biosensing and bioremediation, as well as sustainable manufacturing and energy production [5][6][7][8].
While synthetic biology bears many similarities to traditional engineering disciplines, designing synthetic gene circuits is often time consuming due to their context-dependent behavior [9][10][11][12][13][14], frequently leading to unexpected and perplexing phenomena [15][16][17]. Thus, the construction of even simple systems typically relies on massive DNA libraries that needs to be iteratively refined, involving high-throughput screening and testing in a lengthy and expensive process [18][19][20]. Although this library-based screening approach can prove successful for modules of modest complexity, the method rapidly becomes infeasible with increasing circuit size. Context-dependence thus poses a critical limitation in synthetic biology by undermining the modular and rational design of large-scale systems. This paper is organized as follows. After briefly introducing the mathematical model of the toggle switch explicitly accounting for the limited availability of shared cellular resources, we present the quantitative framework underpinning the computational results of the paper (see Supplementary Materials for source code). Following this, we leverage these tools to reveal the role that each parameter plays in determining stability and robustness properties of the toggle switch, and how these results can be translated to explicit design guidelines for the context-aware synthesis of genetic switches.

Materials and Methods
Here, we first detail the mathematical model of the toggle switch in the presence of scarce transcriptional/translational resources. Following this, we introduce the main tools and techniques we leverage to uncover how competition for shared resources and parameter asymmetry shape the stability and robustness properties of genetic toggle switches.

Mathematical Model and Parameters
Comprising the repressor proteins Y and Z, the behavior of the toggle switch [60] evolves according to where K Y and γ Y are the dissociation and decay rate constants of Y, respectively, with Hill coefficient Θ Y , and K Z , γ Z , and Θ Z are defined similarly. In this paper, we consider Θ Y = Θ Z = 2 corresponding to the most commonly considered case of repressors binding as dimers [50,52,[69][70][71][72][73], but our analysis can be easily extended to other cases as well [20,49,56,59,74,75]. Assuming that protein decay is primarily determined by cell growth, in this manuscript we consider γ Y , γ Z ≈ γ where γ is the cell growth rate. Note that gratuitous protein expression can negatively affect host growth [11,21,25,76], and the extent of this effect largely depends on experimental conditions [77][78][79]. This in turn can lead to the reallocation of cellular resources [22][23][24], eventually yielding a bidirectional coupling between genetic circuits and their host, further complicating the rational analysis and design of large-scale systems. Motivated by the evidence suggesting that such effects may only be transient in the exponential phase and that they disappear after several generations of exponential growth [26,80], here, we assume that cellular growth rate is constant. In case this assumption does not hold, integrative circuit-host models [10,[32][33][34]40] offer a promising avenue of inquiry to accurately predict how cell proliferation and gene expression affect one another in the above bidirectional coupling. Finally, the production rate constants α Y and α Z encompass all transcriptional and translational processes. For instance, considering the mechanistic model detailed in [26,28], we have that where λ TX and λ TL are transcriptional and translational rate constants, respectively; κ and k denote the dissociation constants of RNA polymerase (RNAP) and ribosomes to their targets, respectively; and D and δ stand for DNA concentration and mrNA decay rate, respectively. Typical values of these parameters are provided in Table 1. While the above model captures the dynamics of the toggle switch when transcriptional/translational resources are abundant, it fails to account for the competition phenomenon that arises when these resources are scarce [25][26][27][28]. As both repressors, as well as the genetic context of the toggle switch, rely on the same pool of resources (building blocks, energy, RNAP, ribosomes, etc.), the above coupling effects need to be modeled explicitly for predictable system-level behavior. Accounting for the limited availability of these scarce resources, the dynamics of the toggle switch becomes (3) according to the works in [26,28], with the lumped constants Note that β Y and β Z decrease the effective production rate constants of Y and Z, respectively, and this effect increases with protein production levels. Therefore, these lumped constants measure resource sequestration associated with the production of Y and Z, respectively, due to the limited availability of shared resources. For instance, β Y = β Z = 0 in case of abundant resources (i.e., in the absence of competition and unwanted coupling between processes responsible for the expression of Y and Z).
Finally, to simplify further analysis, introduce the dimensionless quantities Based on the typical parameter ranges presented in Table 1, we estimate α y , α z ≈ 1 . . . 100 and β y , β z ≈ 0.1 . . . 10 to be typical from (2) and (4). Naturally, this range can be extended by varying promoter regions, ribosome binding sites, degradation tags, etc.

Stability Analysis
Considering the model in (1), neglecting the effects of resource competition, it was shown numerically that balancedness of the toggle switch (i.e., α y ≈ α z ) is essential for bistability [60]. To characterize this crucial feature, we introduce a = α y /α z together with α 0 = √ α y α z measuring the mean expression strength of the repressors. With this, we write the dynamics (5) asẏ = f y (y, z),ż = f z (y, z) such that α y = α 0 √ a and α z = α 0 / √ a. In what follows, we assume that a ≥ 1 without loss of generality (if a ≤ 1 then swapping y and z would result in a ≥ 1).
The stability profile of (6) can be established using nullcline analysis to reveal the effects of resource competition and parameter asymmetry. Focusing first on balanced toggle switches (i.e., a = 1), with β 0 = (1 + β y )(1 + β z ) the nullclines 0 = f y (y, z) and 0 = f z (y, z) intersect three times if α 0 > 2β 0 and at a single point otherwise [61] (Figure 1a). Considering the Jacobian of (6) at these intersections, it was also shown in [61] that two of them correspond to stable fixed points, whereas the third one gives rise to an unstable equilibrium. As increased resource sequestration yields greater values of β 0 , it pushes the nullclines lower in Figure 1a, eventually causing the transition from bistability (middle panel in Figure 1a) to monostability (right panel in Figure 1a).  (a) Stability profile in case of a balanced toggle switch (a = 1). Middle panel: moderate resource sequestration (α > 2β 0 ) yields bistable dynamics (α y = α z = 10, β y = β z = 1). Right panel: increasing resource sequestration above the critical threshold (2β 0 > α) eventually results in monostable dynamics (α y = α z = 10, β y = β z = 10). (b) In the general case when a ≥ 1, fixed points and stability profile are determined by the intersection of the nullclines with the manifold given by the constraint in (7), depicted with solid gray lines. Middle panel: in case of a balanced toggle switch we have a = 1, thus (7) simplifies to y = z or yz = 1. Right panel: increasing a pulls the two branches of (7) apart from each other, thus pushing the dynamics towards monostability.
While in the case of balanced toggle switches an equilibrium lies either on the y = z or on the yz = 1 manifolds [61] (middle panel in Figure 1b), in case of unbalanced switches this is no longer true. In particular, fixed points of (6) given by the intersections of the nullclines 0 = f y (y, z) and 0 = f z (y, z) must also satisfy the constraint as illustrated in the right panel in Figure 1b (see Appendix A for more details). As the branches of this constraint move away from each other as a increases, we expect unbalancedness to act against bistability. In particular, as we reveal in Section 3.1, while minor differences between α y and α z (i.e., a ≈ 1) still yield bistable dynamics with stable fixed points x y and x z (y-dominated and z-dominated), exceeding a critical threshold eventually leads to a single stable fixed point, yielding monostability.

Robustness Analysis
To uncover how the the interplay between unbalancedness and resource sequestration affects the robustness of (6) to noise, here we study the average time trajectories spend near the metastable fixed points x y and x z before transitioning towards the other. To this end, we first extend (6) in the form of the overdamped Langevin dynamics aṡ where regulates the intensity of the zero-mean δ-correlated Gaussian white noise (ξ y , ξ z ) [63]. It is this noise that leads to trajectories (infrequently) leaving the metastable fixed points [85][86][87][88], thus causing unwanted x y ↔ x z transitions. The frequency of these events can be characterized by approximating the underlying dynamics with a Markov jump process [89], where transition rates are parametrized using the Eyring-Kramers formula [85][86][87][88]. Within this framework, transition rates depend on the potential barriers separating metastable fixed points. Therefore, we next define a suitable (quasi) potential.
As ∂ f y (y, z)/∂z = ∂ f z (y, z)/∂y, the dynamics in (6) do not correspond to a gradient system, hence a quasi-potential must be defined [90,91]. Following one of the most common approaches, the quasi-potential V(y, z) changes along trajectories according to for a sufficiently small time step ∆t [90,92]. As ∆V(y, z) ≤ 0 and ∆V(y, z) = 0 only when f y (y, z) = f z (y, z) = 0, the potential surface behaves like a Lyapunov function [90,92]: system trajectories "flow downhill" towards the metastable fixed points x y and x z (for more details on the computation of V(y, z), see Appendix B). According to the Eyring-Kramers formula [87,88], the average time trajectories spend near a metastable fixed point (mean transition time) is exponentially proportional to the potential barrier required for leaving its neighborhood. To characterize this time and potential barrier, let Ω y , Ω z ∈ R 2 denote the regions of convergence of the metastable fixed points x y and x z , respectively. With this, τ y = E[inf{t > 0 : (y, z) ∈ Ω y , (y(0), z(0)) ∈ Ω z }] and τ z = E[inf{t > 0 : (y, z) ∈ Ω z , (y(0), z(0)) ∈ Ω y }] are the average duration trajectories spend near the metastable fixed points x y and x z , respectively. From the Eyring-Kramers formula, as → 0 the time τ y is exponentially proportional to the potential barrier h y required for leaving Ω y (Figure 2a), defined as where χ denotes continuous paths leading from x y to Ω z [85,87,88]. The potential barrier h z is defined similarly. Therefore, to reveal how resource sequestration and unbalancedness of the toggle switch impact its robustness to noise, in Section 3.2 we characterize how the potential barriers h y and h z separating the metastable fixed points depend on these factors. To further understand the long-term implications of reduced robustness to noise, we consider a two-step process to model both the random transitions between the metastable states x y and x z and the doubling of cells (Figure 2b). This way it becomes possible to reveal how the population-level distribution of colonies evolve over time, and how this process is shaped by resource sequestration and unbalancedness of the toggle switch. To this end, let p y and p z denote the probability of leaving x y and x z during one cell cycle, respectively (STEP 1 in Figure 2b). Furthermore, we assume that switching happens during growth and concludes before doubling takes place, thus cells preserve their states during the deterministic doubling (STEP 2 in Figure 2b). Starting from a single cell in generation 0, the population size after i doublings is N i = 2 i . x y x z x y x z x y x z Figure 2. Resource competition and unbalancedness both decrease robustness to noise. (a) In case of balanced bistable toggle switches, the two potential barriers are identical (h y = h z , middle panel), and resource sequestration lowers both these potential barriers (left panel). Conversely, unbalancedness increases one of the potential barriers at the expense of the other (right panel). Simulation parameters: α y = α z = 10, β y = β z = 0.25 in the left panel; α y = α z = 10, β y = β z = 0 in the middle panel; α y = 9.33, α z = 10.72, β y = β z = 0 in the right panel (thus a = 1.15). In all panels α 0 = 10. (b) Based on the robustness of the metastable fixed points, cells switch states with probabilities p y and p z (STEP 1), followed by their doubling yielding two identical cells preserving the same state (STEP 2). Before the ith doubling, n y and n z cells preserve their y-dominated and z-dominated states, respectively, and the rest switch states (m y and m z from the former to the latter and vice versa, respectively). The random variable Y i denotes the number of cells in the y-dominated state between STEP 1 and STEP 2, just before the ith doubling, so that With this, we are interested in how the population-level distribution of cell fates evolve over time, depending on the state of the seed cell in generation 0. To this end, introduce the random variables Y i and Z i to denote the number of cells in the y-dominated and z-dominated states in generation i, respectively. Therefore, q i (y i ) = Pr(Y i = y i | Y 0 = 0) is the probability of observing y i cells in the former state after i doublings provided that the initial seed cell was in latter state, and similarly, let r i (y i ) = Pr(Y i = y i | Y 0 = 1). As with this we have the population-level composition of cell fates can be calculated by computing q i (·) and r i (·) for i = 0, 1, 2, . . . , as we detail in Section 3.2.

Results
Leveraging the tools and results from the previous section, here we reveal how resource competition and parameter asymmetry affect fundamental stability and robustness properties of the toggle switch. In addition to illustrating their unwanted consequences, we also uncover how these tunable biophysical properties can be utilized, for instance, by exploiting resource sequestration to balance asymmetric toggle switches so that they can be employed in genetic optimizer modules [67]. As our approach relies on a mechanistic model of the system dynamics underpinned by biophysical parameters with clear interpretations, the findings presented here are directly translatable to experimental considerations.

Stability Properties
While the stability analysis of (6) is significantly more complex in the unbalanced case, it is possible to derive sufficient conditions ensuring monostability and bistability (see Appendix A for details). In particular, (6) becomes monostable if In addition to providing explicit design guidelines, the above formula (together with its counterpart in Theorem A1 in Appendix A) also illuminates the role that the parameters , and b = (1 + β y )/(1 + β z ) play in shaping the stability profile of unbalanced toggle switches.
For instance, we have already seen that in case of balanced toggle switches (i.e., a = 1), the dynamics are bistable if α > 2β 0 [61], independent of the value of b (Figure 3a). In case of unbalanced switches, from (12) we expect that greater values of a push the dynamics towards monostability by decreasing the right-hand side of (12), whereas increasing α 0 would have the opposite effect, confirmed in Figure 3b. Our results also reveal that the repressor with stronger expression can tolerate higher resource sequestration without losing bistability. For instance, assume that a > 1, thus α y > α z (black circles in Figure 3c). As greater values of β 0 increase the left-hand side of (12), we expect this change to push the dynamics towards monostability. Furthermore, keeping β 0 constant (representing the same overall amount of resource sequestration), while increasing b decreases the left-hand side, thus pushes the dynamics towards bistability, decreasing b has the opposite impact. These effects are confirmed and illustrated in Figure 3c: while low β 0 yields bistable dynamics despite the unbalancedness (first panel), increasing it evenly for both sides of the toggle switch causes a shift to monostability (second panel). Conversely, shifting the same amount of overall resource sequestration exclusively towards the side with higher production rate constant α preserves bistability (third panel), whereas allocating it to the other side has the opposite effect (fourth panel).

Robustness Properties
Having revealed how resource sequestration and parameter asymmetry affect the stability profile of (6), we next focus on the robustness properties of the metastable fixed points considering (8). As detailed in the previous section, according to the Eyring-Kramers formula, the mean transition time between these points is proportional to the height of the potential barriers separating them. Therefore, here we first focus on how these barriers are shaped by increased competition for shared resources and unbalancedness. To this end, consider a variety of toggle switches with different pairs of (α y , α z ) and progressively increasing α 0 = √ α y α z (Figure 4, first panel).
To reveal the role of balancedness, assume first that β y = β z = 0. Note that from a stability perspective, increasing α 0 pushes the dynamics towards bistability ( Figure 3); thus, it is reasonable to expect that robustness to noise also increases as the dynamics lie farther from the monostable/bistable border. While this is certainly the case for balanced switches (toggle variants #1 and #19) as the potential barriers h y and h z increase with α 0 (red and green dotted lines in Figure 4), the relationship in case of unbalanced toggle switches is more nuanced (toggle variants #2-#18). In particular, as α 0 increases by first increasing α z while keeping α y constant (toggle variants #2-#10), h z is indeed increasing rapidly but at the expense of h y decreasing (red and green dotted lines in Figure 4). Therefore, while increasing α 0 in this case pushes the dynamics farther away from monostability (Figure 3), only the x z metastable state becomes more robust to noise, the other's sensitivity to noise instead increases, and a similar trend can be observed when the roles are reversed (toggle variants #10-#18).  The role of resource sequestration can be analyzed similarly. As increasing β 0 pushes the dynamics towards monostability (Figure 3), we expect it to have a negative effect on the robustness of metastable states to noise. This is indeed the case, but parameter asymmetries also play a key role. In particular, the results in Figure 4 illustrate that while increasing β y and β z fundamentally affect h y and h z , thus the robustness of x y and x z to noise, respectively, cross effects are negligible ( Figure 4). That is, increasing loading on one side renders the same side more sensitive to random switchings, but leaves the other side unaffected.
Next, we focus on how the robustness of the metastable states shape the populationlevel composition of colonies. To this end, note that from the Eyring-Kramers formula the mean transition time τ y is proportional to exp (h y / ) where regulates noise intensity [85][86][87][88]. Furthermore, assuming that random x y → x z transitions are distributed exponentially [89] with parameter 1/τ y (so that the mean wait time is precisely τ y ), and considering the doubling time t d = ln(2)/γ where γ is the growth rate, we obtain that the probability of a random x y → x z switching between consecutive doublings is given by p y = 1 − e −t d /τ y . This highlights that p y increases with the doubling time t d and decreases with τ y , thus increases with noise intensity and decreases with the potential barrier h y . Similarly, we obtain that p z = 1 − e −t d /τ z for x z → x y transitions. Having uncovered how the potential barriers are shaped by the interplay between competition for shared resources and balancedness (Figure 4), we next focus on how p y and p z affect the evolution of the population-level composition of colonies by computing q i (·) and r i (·) from (11). To this end, from Figure 3 with y i = 2y i and z i = 2z i it follows that n y , m z = y i − n y , and n z = 2 i−1 + n y − y i from Figure 3. Note that here we used the generalized definition of the binomial coefficients such that ( n k ) = 0 if k < 0 or if k > n. Therefore, with the initial conditions q 0 (0) = r 0 (1) = 1 and q 0 (1) = r 0 (0) = 0 we can recursively compute q i (y i ) and r i (y i ).
This result reveals that depending on the transition probabilities p y and p z , after only a few generations the population-level profile of steady-state distribution can fundamentally differ from the state of the initial seed cell (e.g., red in Figure 5a starting from Y 0 = 1), especially if the distribution mean at the steady state is substantially different from the initial state (Figure 5b). Importantly, the expected composition of the population at steady state does not depend on the state of the initial seed cell (Figure 5c), but the speed at which this state is reached does (Figure 5d).

Balancing via Optimized Competition
The balancedness of the toggle switch not only fundamentally affects its stability and robustness properties, as we have uncovered in this paper (Figures 3-5), it is also crucial when the toggle switch is utilized as a "digital comparator" to optimize cellular performance [67]. We have already highlighted that carefully chosen resource competition can restore bistability (Figure 4c), thus here we explore how it can be leveraged to increase balancedness.
To illustrate this, first consider the case when resource competition is neglected (i.e., β y = β z = 0) and the toggle switch is balanced (i.e., α y = α z ). In this case, trajectories converge to x y and x z if y(0) > z(0) and if y(0) < z(0), respectively, that is, to the fixed point that corresponds to the dominant initial coordinate. In case of an unbalanced toggle switch (i.e., α y = α z ), this is not true anymore: for instance, if α y > α z then some initial conditions where y(0) < z(0) will yield trajectories that converge erroneously to x y (gray region in Figure 6a). To measure this effect, for the initial condition (y 0 , z 0 ) let (y, z) → (y ∞ , z ∞ ) as t → ∞ and define Ψ = {(y 0 , z 0 ) | (y 0 − z 0 )(y ∞ − z ∞ ) < 0}, that is, the set of initial conditions where the initial and final dominant coordinates are different (Figure 6a). To measure the size of this region, define e Ψ = 1 α y α z Ψ dA, so that e Ψ characterizes the fraction of the rectangle [0, α y ] × [0, α z ] with incorrect initial/final state pairings (Figure 6a). In particular, e Ψ = 0 in case of balanced switches and e Ψ increases as the toggle gets increasingly more unbalanced. The data in Figure 6a confirm that while e Ψ increases with unbalancedness, it stays fairly constant for a given level of unbalancedness above a certain threshold value of α 0 = √ α y α z . Importantly, unbalancedness due to α y = α z can be mitigated by carefully selecting β y and β z , e.g., via the introduction of decoy sites [65]. This is illustrated in Figure 6b where the optimal choice of (β y , β z ) significantly reduces the error e Ψ : if 1 ≤ a = α y /α z ≤ 2 the error decreases from 20% (Figure 6a) to less than 1% (Figure 6b), rendering the toggle switch almost perfectly balanced. Additionally, this optimal loading of the toggle switch also expands the range of (α 0 , a) pairs that yield bistable dynamics, rendering previously monostable dynamics bistable (e.g., orange circle in Figure 6). x y x z x y Figure 6. Resource competition can be leveraged to increase the balancedness of the toggle switch (uncolored regions correspond to parameter combinations that yield monostable dynamics). Contour values represent e Ψ in percentages. (a) In the absence of resource competition (i.e., β y = β z = 0), differences between α y and α z lead to significant error e Ψ . (b) By the optimal choice of (β y , β z ) the error e Ψ is greatly reduced.

Context Effects
Here, we reveal how competition for shared resources originating in the genetic context of the toggle switch shapes its stability and robustness properties. To this end, let β c capture the resource sequestration of modules other than the toggle switch (its context), yielding the dynamicṡ Importantly, with α w = α w /(1 + β c ) and β w = β w /(1 + β c ) for w ∈ {y, z} we obtain the dynamics in (6) with these rescaled parameters instead of the original α w and β w . Thus, the results presented in this paper can be applied in a straightforward manner even in the presence of loading from the context of the toggle switch.
To illustrate the detrimental effects of such competition, consider the collective behavior of N toggle switches, given by the dynamicṡ While a single toggle switch alone may display a bistable stability profile, the addition of further switches decreases the separation of the two stable fixed points (Figure 1), eventually leading to the collectively monostable dynamics of individually bistable toggle switches ( Figure 7a) as a result of additional loading from each other [61].
To reveal the role that parameter asymmetry and resource competition play in the above phenomenon, consider the simulation data in Figure 7b,c illustrating the critical number N crit of identical toggle switches (i.e., α w = α w,i and β w = β w,i for w ∈ {y, z} and i = 1, 2, . . . , N crit ) such that one more unit would render the collective behavior monostable. These results reveal two key findings, which follow from the data in Figure 4a,b. First, N crit increases with α 0 = √ α y α z and decreases with β 0 = (1 + β y )(1 + β z ). Second, while asymmetry in the parameters measuring resource loading via β y and β z captured by b = (1 + β y )/(1 + β z ) does not have any appreciable effect, the balancedness of the toggle switch (i.e., a = α y /α z ≈ 1) is crucial, as increasing the difference between α y and α z significantly decreases N crit . These results once again underscore that unbalancedness exacerbates the detrimental effects of resource competition. Naturally, as the number of toggle switches increases and approaches N crit , additional resource competition also yields reduced robustness to noise, following directly from

Discussion
Given that genetic modules display context-dependent behavior [9,25,28], predictive and quantitative models play a fundamental role in the development of complex genetic circuits [36,37]. One major source coupling the behavior of seemingly unconnected components emerges due to the limited availability of shared cellular resources, thus introducing the "bioenergetic cost" of genes due to their existence and expression [93]. As recent experimental developments enable the precise characterization and separation of this cost into expenses that cells incur at various levels [94,95], these high-throughput technologies illuminate the inner workings of cells at the part-level. As a result, leveraging quantitative modeling and formal analytic tools offer promising avenues for aiding the rational design of synthetic gene circuits.
Therefore, in this paper we focused on revealing how competition for shared cellular resources affects the stability and robustness properties of one of the most widely used genetic modules: the toggle switch [60]. This core building block plays a central role in a vast array of both natural and synthetic systems. One prominent example is checkpoint control enabling the division of complex tasks into independent sub-tasks [96], allowing cells to respond to a wide variety of input signals [97] influencing a diverse set of cellular processes [98,99]. Given their central role, understanding how fundamental dynamic properties of the toggle switch depend on tunable biophysical parameters in real-world applications is thus of considerable interest to promote modularity and predictable systemlevel performance.
To this end, our combined analytical/numerical approach uncovered explicit guidelines aiding the design and tuning of genetic switches in a rational fashion, even in the presence of competition for shared transcriptional and translational resources. For instance, we revealed that while greater protein expression rates push the dynamics towards bistability and yield increased robustness to noise, resource competition has the opposite effect. Furthermore, our findings highlight that parameter asymmetries play a crucial role in establishing stability and robustness properties: not only can they exacerbate detrimental effects of resource competition, but also restore bistability and balancedness when carefully optimized.
To obtain the results presented in this paper, we explicitly modeled the scarcity of shared resources and the resulting coupling phenomena, both between genes of the toggle switch and arising due to its genetic context. The reduced order model underpinning our findings offers a realistic approximation of the dynamics of the switch as it considers parameter asymmetries and the model assumptions lead to accurate experimental predictions in vitro and in vivo [26,28]. As the parameters all possess clear physical interpretations and correspond to easily tunable properties of standard genetic parts, the design guidelines we uncovered are directly translatable to experimental considerations. For instance, α can be tuned via ribosome binding site engineering [68], β via the introduction of decoy sites [65], and β c via the expression of heterologous proteins [25,26].
The results presented here are complemented by recent efforts to mitigate the adverse effects of competition for shared cellular resources, for instance, by decoupling resourcecoupled gene expression [100], upregulating ribosome production reacting to increased metabolic burden [101], and splitting up multicomponent genetic systems into smaller subcomponents distributed among multiple collaborative cell strains [102]. Additionally, as integrative models [10,[32][33][34]40] can accurately capture the bidirectional coupling between genetic circuits and the host harboring them, they offer unique and invaluable insights for the synthesis of large-scale biocircuits, for instance, by revealing how cell proliferation and gene expression affect one another. Our findings together with these tools thus offer promising opportunities for the rational and context-aware design of genetic switches relying on carefully characterized parts [103]. Therefore, we expect the key findings presented in this paper to be incorporated into the computer-aided fabrication of large-scale synthetic circuits [96,104,105], among other effects of context-dependence [9,15,[22][23][24].
Supplementary Materials: The MATLAB scripts required for obtaining the simulation data are available online at https://github.com/netbio-lab/unbalanced-toggle.git. All data were obtained using MATLAB R2020b, figures were prepared using Adobe Illustrator 2021.

Conflicts of Interest:
The authors declare no conflicts of interest.

5.
having identified the two regions of convergence (Ω y and Ω z ), adjust the initial potentials in both of them so that trajectories converging to the same stable fixed point have the same end potential; 6.
adjust the initial potentials alongside the border separating Ω y and Ω z so that trajectories starting close but on different sides share the same potential; and 7.
calculate the potential barriers h y and h z according to (10).