← Back

Evolution Doesn't Care About You

Category errors, fitness functions, and why your “broken” genes aren't broken

February 2026

Abstract dark fitness landscape with glowing coral-orange branching paths representing evolutionary selection pressure

When I got my genetic panel back and found out I have seven methylation mutations (MTHFR, MTR, MTRR, CBS, COMT, VDR, MAT1A), my first reaction was frustration. My second reaction was the question everyone asks:

Why would this even exist?

Why would evolution produce a gene that reduces my ability to convert folate by 70%? Why would it give me impaired B12 recycling? Why would it make detoxification harder? It feels like a manufacturing defect. Like somewhere in the production line, quality control fell asleep.

But that question, “why would evolution do this?”, is a category error. It reveals a broken mental model of how evolution actually works. And I think fixing that mental model matters, not just philosophically but practically, because it changes how you respond to your own genetics.

The Wrong Fitness Function

Here's the first mistake. When people ask “why would evolution allow this mutation?” they're implicitly assuming that evolution is trying to produce a healthy, long-lived, optimally-functioning human. It's not. Evolution has one objective function and it's brutally narrow:

Did you survive long enough to reproduce, and did your offspring survive long enough to reproduce?

That's it. That's the entire loss function. Evolution is not optimizing for you feeling great at 40. It's not optimizing for you avoiding autoimmune disease at 31. It's not optimizing for longevity, cognitive performance, energy levels, or any of the things we actually care about when we talk about health. It's optimizing for one thing: reproductive fitness across generations.

This means a gene that gives you Hashimoto's at 35 but makes you slightly more fertile at 18 is a winning gene. A mutation that causes chronic fatigue in middle age but conferred some survival advantage during famine at age 12 gets passed on. A variant that tanks your methylation capacity but maybe, just maybe, provided some other edge in an ancestral environment? Evolution doesn't care about the tradeoff. It already got what it wanted: your ancestors reproduced.

In machine learning terms, this is like training a model on a loss function that only measures one thing (say, click-through rate) and then being surprised that the model is terrible at user satisfaction, content quality, and long-term retention. The model isn't broken. It optimized exactly what you told it to optimize. Everything else is a side effect.

There's a concept in evolutionary biology called antagonistic pleiotropy. It means a single gene can have beneficial effects early in life and harmful effects later. Evolution selects for the early benefit because that's when reproduction happens. The late-life cost is invisible to natural selection because by then you've already passed your genes on. This is potentially why aging exists at all. It's not that evolution failed to solve aging. It's that evolution has no incentive to solve it. The fitness function doesn't extend past reproduction.

So when I look at my MTHFR variant and ask “why?” the honest answer is: evolution doesn't owe me an explanation. It wasn't trying to build a perfect Nick. It was running an optimization loop with a very narrow objective, and my methylation capacity wasn't in the loss function.

Which One Is the Mutation?

Here's the second category error, and it's the one that really messed with my head.

When you get a genetic report that says “MTHFR mutation,” the framing implies that there's a “normal” version of the gene and you got the broken one. But think about what MTHFR actually does. It processes folate, the natural form of vitamin B9 that exists in leafy greens, liver, legumes. Foods that humans have eaten for hundreds of thousands of years. MTHFR handles folate just fine. It's been doing that job since before we were human.

What it doesn't handle well is folic acid, the synthetic form that was invented in a lab and added to enriched flour, bread, cereal, and pasta starting in 1998 in the United States. That's 28 years ago. Our species is roughly 300,000 years old.

So which is the mutation? Is my MTHFR variant “broken”? Or is the ability to efficiently process a synthetic compound that's existed for 0.009% of human history the newer adaptation, and I just didn't get it?

Calling my MTHFR variant a “mutation” is a framing artifact. It depends entirely on which version you define as the baseline. If the baseline is “modern Western human who eats fortified food,” then yeah, I have a mutation. If the baseline is “human who eats the diet our species evolved on,” then my gene is the original and the ability to handle synthetic folic acid is the derived trait.

It's like calling someone “lactose intolerant” when lactose intolerance is the ancestral default for our species. The majority of humans on Earth can't digest lactose past childhood. Lactose tolerance is the mutation. It appeared roughly 7,500 years ago in European pastoral populations who domesticated cattle. We just call it “normal” because the people who named it could drink milk.

The framing determines the narrative. “You have a mutation” sounds like you're defective. “Your gene is the ancestral version and the modern environment changed around it” sounds like the environment is the problem. Both descriptions point at the same biology. Only one of them makes you feel broken.

Mutations Are the Search Algorithm

The third mistake is thinking mutations are errors. That they're something that went wrong. This one is the most interesting to me because the correct mental model comes straight from machine learning.

Evolution is an optimizer. It's searching through an astronomically large space of possible genetic configurations to find ones that produce organisms fit enough to reproduce. But unlike gradient descent (the algorithm that trains most neural networks), evolution has no gradient. It can't compute the derivative of fitness with respect to any gene. It has no backpropagation. It has no loss landscape it can peer down at and follow the slope.

So how does it search?

Random perturbation. Mutations are how evolution explores the search space. Every generation, the genome gets slightly randomly modified. Most mutations are neutral. Some are harmful. A tiny fraction are beneficial. Natural selection then acts as the filter: organisms with harmful mutations are less likely to reproduce, organisms with beneficial mutations are more likely, and over time the population drifts toward higher fitness.

If you work in ML, you've seen this exact pattern:

  • Genetic algorithms literally model evolution. You maintain a population of candidate solutions, apply random mutations to each one, evaluate fitness, select the best, and repeat. If you set the mutation rate to zero, the algorithm converges prematurely and gets stuck at a local optimum. The mutations are not bugs in the algorithm. They are the algorithm.
  • Exploration vs. exploitation in reinforcement learning. An agent that never explores, that always exploits its current best strategy, will never discover better strategies. You need randomness, epsilon-greedy policies, entropy bonuses. Evolution's equivalent is mutation. Without it, species get stuck.
  • Dropout and noise injection in deep learning. We deliberately introduce randomness during training to prevent overfitting, to keep the model from memorizing the training data and failing to generalize. Evolution does the same thing at the population level. Genetic diversity is the species-level equivalent of regularization. It prevents overfitting to the current environment.
  • Simulated annealing and stochastic gradient descent. Even in gradient-based optimization, we add noise. We use stochastic minibatches instead of full-batch gradient descent because the noise helps escape local minima. The randomness isn't a flaw in the optimizer. It's what makes the optimizer work.

My MTHFR variant isn't an error in the system. It's a sample from the system. Evolution rolled the dice on my genome, the same way it rolls the dice on every genome, because that rolling is what allows the species to adapt over time. Some rolls produce variants that are well-suited to the current environment. Some don't. But you need all of the rolls for the search to work.

A species with zero genetic variation is a species that can't adapt. The next environmental change (a new pathogen, a climate shift, a dietary change) wipes it out. Variation is the raw material that selection acts on. High variance in the population is what allows evolution to hill-climb over time. My seven methylation mutations are just points in that high-variance distribution. They're not defects. They're data points in the search.

The Distribution Shift Problem

There's one more ML concept that maps perfectly onto this.

In machine learning, distribution shift is when the data your model encounters in production is different from the data it was trained on. A model trained on photos of cats taken in daylight will fail on cats photographed at night. It's not that the model is broken. It's that the environment changed.

That's exactly what happened to my genes. My MTHFR variant was “trained” (selected for, or at least not selected against) in an environment of wild-caught food, natural folate, no synthetic folic acid, no processed grains, no industrial seed oils, no antibiotics, no chronic psychological stress, and significantly more microbial exposure. The gene configuration worked well enough in that environment for hundreds of thousands of years.

Then the environment shifted. Dramatically. In the last 100 years, a blink in evolutionary time, we introduced synthetic food fortification, antibiotics, chronic stress, sedentary lifestyles, processed food, and a thousand other environmental inputs that our genome has never seen. My genes didn't change. The distribution did.

Asking “why would evolution give me this mutation?” is like deploying a model into a completely different environment and then blaming the model when it underperforms. The model was fine. Your production environment is nothing like your training environment.

The Tradeoffs You Can't See

Once you have the right mental model, you start noticing the tradeoffs everywhere.

Sickle cell trait. One copy of the sickle cell gene protects against malaria. Two copies give you sickle cell disease. If you only look at the disease, it's a horrible mutation. If you look at the full picture, it's a brilliant adaptation in malaria-endemic regions. Heterozygous advantage: one copy is better than zero copies or two copies. The “bad” gene persists because it's beneficial at the population level.

COMT slow metabolizer. I have this one too. COMT clears catecholamines (dopamine, norepinephrine, epinephrine) from the brain. A slow COMT means I clear stress hormones more slowly, which is bad for anxiety and stress tolerance. But it also means higher baseline dopamine, which is associated with better working memory, sustained attention, and cognitive performance under calm conditions. Some researchers call it the “warrior vs. worrier” gene. In an ancestral environment where sustained focus during tracking or foraging could mean the difference between eating and starving, the “worrier” variant might have been an advantage. The same gene that makes me stress-sensitive also makes me detail-oriented. Evolution doesn't pick sides. It picks whatever reproduces.

Cystic fibrosis carriers. Carrying one copy of the CF gene (which causes severe lung disease in people with two copies) may protect against cholera and typhoid fever. Same pattern as sickle cell. The “disease gene” is actually a defense mechanism at half dosage.

MTHFR itself. We don't fully understand the tradeoffs yet. But given how common MTHFR variants are (roughly 40–50% of the population carries at least one copy), it's hard to argue it's a straightforward deleterious mutation. Variants that common in a population usually persist because they confer some advantage, or at minimum because they're not harmful enough in the ancestral environment for selection to remove them. The harm only becomes visible in the modern environment, which, again, is a distribution shift, not a genetic defect.

How This Changes What You Do

This isn't just philosophy. The mental model you apply to your genetics changes your response to them.

If you think your genes are “broken,” your response is helplessness. I got a bad roll. I'm defective. There's nothing I can do. That framing leads to either giving up or obsessively trying to “fix” your genetics, which you can't.

If you understand that your genes are the ancestral version operating in a mismatched environment, your response is different. The genes aren't the problem. The environment is. And unlike your genome, you can change your environment.

My MTHFR variant can't efficiently convert synthetic folic acid. So I don't eat synthetic folic acid. I take methylfolate (the already-converted form) and I eat foods rich in natural folate. I'm not fixing a defect. I'm adjusting the environment to match the hardware. It's the difference between trying to patch the model and just deploying it in the right environment.

My COMT variant clears stress hormones slowly. So I manage my stress inputs more carefully: L-theanine, magnesium, structured recovery. I'm not broken. I just have a configuration that requires different operating conditions.

My VDR variant makes me less sensitive to vitamin D. So I take more of it, 5,000 IU daily instead of the standard 600 IU recommendation. I'm compensating for a gene that evolved in high-UV equatorial environments and now operates in San Francisco fog. The gene is fine. The latitude is wrong.

This is the practical upshot: stop asking “why would evolution give me this?” and start asking “what environment does my genome expect, and how far am I from it?” The gap between your genetic expectations and your actual environment is where disease lives. Close the gap and you fix the mismatch.

The Right Question

Evolution is not a benevolent designer. It's a blind optimizer running a narrow fitness function over geological timescales. It doesn't care if you feel good or live long or understand it. It cares about one thing, reproductive fitness, and once you've served that purpose, you're on your own.

Your mutations aren't manufacturing defects. They're the raw output of evolution's search algorithm, random perturbations that allow the species to explore the fitness landscape. Some of those perturbations are maladaptive in the modern environment. That's not a bug in your genome. That's a distribution shift between the environment your genes were selected in and the one you live in now.

The question isn't “why am I broken?” It's “what does my hardware actually need to run well, and am I giving it that?”

Probably not. Most of us aren't. But at least now you're asking the right question.