2723

LESSWRONG
LW

2722
NutritionPracticalRationality

2

Using Bayes' Theorem to determine Optimal Protein Intake

by neptuneio
18th Oct 2025
3 min read
1

2

2

Using Bayes' Theorem to determine Optimal Protein Intake
1Dalmert
New Comment
1 comment, sorted by
top scoring
Click to highlight new comments since: Today at 5:50 PM
[-]Dalmert2h10

I've been thinking of doing more things like this, however, I wonder about this part:

  • P(E | H1) = 0.2 (if 150g is enough, poor recovery is unlikely)
  • P(E | H2) = 0.7 (if 170g is needed, poor recovery is likely if you only ate 150g)

Any reason why these particular conditional probabilities are chosen here -- 0.2 and 0.7?
 

Would there be any principled way to update these probabilities while new evidence rolls in, and maybe even start both from 0.5? I think for simple observation our set of formulae might be under-constrained, so maybe we'd need to incorporate other stream of evidence to constrain it enough?

Reply
Moderation Log
More from neptuneio
View more
Curated and popular this week
1Comments
NutritionPracticalRationality

Introduction:

Most people treat protein intake as a fixed number: “1 gram per pound of body weight” or “1.6 grams per kilogram.” That’s fine as a starting point, but in reality your protein needs fluctuate day to day. Recovery, sleep, stress, and activity levels all affect how much protein your body actually requires. Instead of blindly following a static rule, you can think of protein intake as a hypothesis about what your body needs, and use Bayes’ Theorem to update that hypothesis as your body gives feedback. Over time, this approach lets you estimate the protein amount that works best for you, rather than relying on generic recommendations.

Example:

Let’s imagine a simple scenario: John Protein wants to decide whether he needs H1 = 150g/day or H2 = 170g/day. He starts with equal confidence in both priors, these represent his baseline belief in what protein intake would not cause an observable deficiency.

  • P(H1) = 0.5
  • P(H2) = 0.5

Each day, your body provides evidence about whether your protein intake is meeting your needs. This evidence comes from observable signals such as muscle soreness, fatigue, energy levels, hunger, and overall recovery. This evidence specifically consists of feeling constant fatigue, extremely low energy, long plateaus, and weakness. We can encode this as E = “evidence”.

Now, we need likelihoods — how probable is this evidence under each hypothesis?

  • P(E | H1) = 0.2 (if 150g is enough, poor recovery is unlikely)
  • P(E | H2) = 0.7 (if 170g is needed, poor recovery is likely if you only ate 150g)

Bayes’ Theorem then lets us update our belief about each hypothesis given the evidence:

P(H2 | E) = [P(E | H2) * P(H2)] / ([P(E | H2) * P(H2)] + [P(E | H1) * P(H1)])

Plugging in the numbers:

P(H2 | E) = (0.7 * 0.5) / ((0.7 * 0.5) + (0.2 * 0.5))
P(H2 | E) = 0.35 / (0.35 + 0.1)
P(H2 | E) = 0.35 / 0.45 ≈ 0.778

And the probability for H1 is just:

P(H1 | E) = 1 – 0.778 ≈ 0.222

The evidence pushes the posterior strongly toward the higher intake hypothesis. This is already more informative than the crude static rule: your body is signaling that 150g might not be enough for John's body.

We can turn these posteriors into an actionable number by computing the expected protein intake:

Expected intake = (P(H1 | E) * 150) + (P(H2 | E) * 170)
Expected intake = (0.222 * 150) + (0.778 * 170)
Expected intake ≈ 33 + 132.3 ≈ 165.3g/day

If you eat three meals, that’s roughly 55g per meal.

Applications:

The beauty of Bayes’ approach is that it’s recursive. Each new day’s evidence — how sore you feel, energy, hunger, sleep quality-can be used to update your belief again. Here’s a simple table you could maintain:

DayProtein IntakeEvidence/recoveryLikelihood P(E|H1)Likelihood P(E|H2)Posterior P(H1|E)Posterior P(H2|E)Expected Intake
1150gPoor0.20.70.2220.778165g
2160gOK0.50.30.3220.678163g
3170gExcellent0.80.10.2080.792154g

Poor: Constant fatigue, extremely low energy

OK: Sometimes tired, medium soreness, slightly less then normal energy

Excellent:  Not tired, some soreness, fully energized

Each day’s posterior becomes your prior for the next day. Over time, this process converges, producing a personalized protein estimate tuned to your body.

Predictions:

Using the data from the first few days and our Bayesian update, we predict that John's optimal intake is about 165g/day. That’s slightly higher than the classic 150g baseline, but lower than the 170g upper hypothesis. Spread over three meals, aim for about 55g per meal. Monitor recovery and energy for the next week, feed that back into the model, and the posterior will refine the number further.

The main insight here is that nutrition becomes a continuous inference problem, not a fixed rulebook. Each meal and day is evidence, and Bayes’ Theorem gives a principled way to update your beliefs. Over a few weeks, this approach will converge to a protein intake that’s genuinely optimal for you, rather than what textbooks or influencers prescribe.