Research Notes

When Randomness Defeats Natural Selection

A Wright–Fisher experiment shows why a beneficial allele is usually lost when it begins as one copy, how migration can oppose local adaptation, and why a brief bottleneck leaves a lasting genetic deficit.

20 July 2026 · 6 min read

Natural selection is directional, but evolution in a finite population is not deterministic.

A new allele can increase expected reproductive success and still disappear in its first few generations. A locally favourable allele can be held at low frequency by migration. A population can recover numerically after a bottleneck while remaining genetically depleted. These outcomes are not exceptions added to an otherwise deterministic theory. They follow from sampling.

This study uses a diploid Wright–Fisher model to connect four ideas—drift, selection, migration, and bottlenecks—inside one reproducible synthetic experiment. The purpose is not to infer the history of a real population. It is to show which qualitative claims survive explicit simulation and which require empirical data.

The model starts with copies, not percentages

Consider a diploid population of size (N). If allele (A) has frequency (p_t), there are (2N p_t) copies before reproduction. With genic selection coefficient (s), the expected frequency after selection is

pt=pt(1+s)1+spt.p_t^\star=\frac{p_t(1+s)}{1+s p_t}.

The next generation is sampled rather than assigned:

Xt+1Binomial(2N,pt),pt+1=Xt+12N.X_{t+1}\sim\operatorname{Binomial}(2N,p_t^\star), \qquad p_{t+1}=\frac{X_{t+1}}{2N}.

The binomial step is the source of drift. Its conditional variance,

Var(pt+1pt)=pt(1pt)2N,\operatorname{Var}(p_{t+1}\mid p_t) =\frac{p_t^\star(1-p_t^\star)}{2N},

shrinks as (N) grows, but it never vanishes in a finite population. The states (p=0) and (p=1) are absorbing when mutation and migration are absent. A trajectory eventually loses or fixes the allele.

That formulation also clarifies why “a beneficial mutation has selection coefficient (0.05)” is incomplete. Starting frequency matters. In this experiment every fixation run begins from one copy,

p0=12N.p_0=\frac{1}{2N}.

Larger populations reduce drift per generation, but they also make a single copy a smaller initial fraction of the population.

Selection changes odds, not destiny

The fixation grid used five population sizes and six selection coefficients, with 2,500 independent replicates for every parameter pair. Under neutrality, the fixation probability of one copy should equal (1/(2N)). The simulation recovered that benchmark closely: (0.0248) for (N=20), (0.0056) for (N=100), and (0.0008) for (N=500), compared with theoretical values (0.025), (0.005), and (0.001).

Line chart comparing fixation probabilities for neutral and beneficial new alleles across five diploid population sizes.
Figure 1. Fixation probabilities from 2,500 replicates per parameter pair. A selection coefficient of \(s=0.05\) raises fixation to roughly 0.09–0.10 across the tested population sizes, yet about nine out of ten new copies are still lost. Values are synthetic model outputs.

At (s=0.05), fixation increased to (0.0952), (0.1016), (0.0868), (0.0924), and (0.0992) as (N) ranged from 20 to 500. The approximate constancy is consistent with the strong-selection, rare-copy regime: selection offsets the declining initial frequency, but it does not make fixation likely.

The practical lesson is sharper than “small populations have more drift.” A beneficial allele introduced once has a high probability of early loss even when its expected trajectory points upward. Reporting only the deterministic recurrence hides the event that dominates most realizations.

Migration can oppose local adaptation

The model extends to two demes by applying migration before selection and sampling. If (m) is the symmetric migration fraction,

p~1=(1m)p1+mp2,p~2=(1m)p2+mp1.\widetilde p_1=(1-m)p_1+mp_2,\qquad \widetilde p_2=(1-m)p_2+mp_1.

Selection then acts with opposite signs in the two habitats. The experiment therefore asks whether a locally favoured allele can remain differentiated when migrants continually import the alternative.

This is not a contest between a universally “good” allele and random noise. Fitness is environment-specific. Weak migration can replenish variation and reduce local loss; stronger migration can homogenize the demes and erode the response to divergent selection. The relevant dimensionless comparison is not (m) or (s) alone, but their scale relative to drift and to one another.

The synthetic results support a trade-off, not a universal migration threshold. An empirical application would require defensible effective population sizes, direction-specific migration, dominance, linked loci, and an observation model for sampled genotypes.

A bottleneck is remembered after abundance recovers

Expected heterozygosity,

Ht=2pt(1pt),H_t=2p_t(1-p_t),

measures within-locus diversity. Under neutral Wright–Fisher drift,

E[Ht]=H0(112N)t.\mathbb E[H_t] =H_0\left(1-\frac{1}{2N}\right)^t.

The simulation checked this decay law using 8,000 independent loci per population size. It then imposed a ten-generation bottleneck from (N=500) to (N_b), after which census size returned immediately to 500.

Line chart showing mean heterozygosity through time for no bottleneck and temporary bottlenecks to population sizes 50, 25, and 10.
Figure 2. Mean heterozygosity across 10,000 synthetic loci. The shaded interval marks the ten-generation bottleneck. Returning population size to 500 does not restore variants already lost.

At generation 180, mean heterozygosity was approximately (0.417) without a bottleneck and (0.252) after a bottleneck to (N_b=10). Intermediate bottlenecks ended at (0.345) for (N_b=25) and (0.381) for (N_b=50).

This is a useful separation of state variables. Census size can rebound in one generation because the model instructs it to do so. Allele-frequency diversity cannot rebound without mutation, migration, or stored variation. Demographic recovery and genetic recovery are different claims.

What the computation validates

The supplied run completed a five-by-six fixation grid, neutral diversity checks, migration experiments, and bottleneck experiments. It used 2,500 fixation replicates per cell, 8,000 loci for the neutral validation, 1,800 replicates per migration setting, and 10,000 loci per bottleneck scenario. Six unit tests and the output-manifest checks passed.

Those checks support the implementation of the stated model. They do not validate the model for a particular species. The experiment omits mutation, dominance, overlapping generations, linkage, changing population size outside the bottleneck, and uncertainty in (N_e). It also treats loci as independent.

The next research step is therefore not simply a larger simulation. A stronger study would add an observation layer and ask which combinations of (N_e), (s), and (m) are identifiable from finite time-series or genomic samples. It could then compare conservation policies under posterior uncertainty rather than under known parameters.

Conclusion

Selection supplies a direction; drift supplies a distribution of possible histories. Migration couples those histories across space, and bottlenecks remove options that later demographic growth cannot automatically recreate.

The model’s most important result is not a single fixation probability. It is a discipline for interpretation: distinguish expected change from realized trajectories, abundance from diversity, and model validation from empirical validation.

References

  1. Wright, S. (1931). Evolution in Mendelian populations. Genetics, 16(2), 97–159. https://doi.org/10.1093/genetics/16.2.97
  2. Kimura, M. (1962). On the probability of fixation of mutant genes in a population. Genetics, 47(6), 713–719. https://doi.org/10.1093/genetics/47.6.713
  3. Shafiey, H., & Waxman, D. (2017). Exact results for the probability and stochastic dynamics of fixation in the Wright–Fisher model. Journal of Theoretical Biology, 430, 64–77. https://doi.org/10.1016/j.jtbi.2017.06.026
  4. Whitlock, M. C. (2003). Fixation probability and time in subdivided populations. Genetics, 164(2), 767–779. https://doi.org/10.1093/genetics/164.2.767
  5. Nei, M., Maruyama, T., & Chakraborty, R. (1975). The bottleneck effect and genetic variability in populations. Evolution, 29(1), 1–10. https://doi.org/10.1111/j.1558-5646.1975.tb00807.x