Understanding Trigger Foods: Math, Not Myths
Within a week of being diagnosed with IBD, most people receive the same advice from the internet: avoid dairy, avoid gluten, avoid fiber, avoid spicy food, avoid red meat, avoid alcohol, avoid caffeine, avoid raw vegetables, avoid nuts, avoid seeds, avoid popcorn, avoid everything that makes eating enjoyable.
The problem is not that this advice is always wrong. The problem is that it is almost never personalized. Your triggers are not the same as someone else's triggers. The food that sends one person with Crohn's into a flare may be perfectly fine for another person with Crohn's. And the food you have been avoiding for three years out of internet-driven fear may have nothing to do with your symptoms at all.
Unnecessary food restrictions in IBD are not just inconvenient. They lead to nutritional deficiencies (already a risk in IBD), weight loss (already a risk in IBD), social isolation (avoiding meals with friends and family), and a diminished quality of life. The fear of food becomes its own source of stress — and stress is an actual documented trigger for IBD symptoms.
The Gavia approach: deterministic correlation, not guesswork
Gavia identifies trigger foods using math. Specifically, it uses a deterministic correlation algorithm with two thresholds:
First threshold — co-occurrence count: a food must appear alongside post-meal symptoms at least three times before it is even considered as a potential trigger. One bad reaction is not a pattern. Two could be coincidence. Three starts to mean something.
Second threshold — relative risk: the rate at which symptoms occur after eating that food must be at least 1.5 times higher than your overall symptom rate. This controls for the fact that if you are in a flare, everything you eat might be followed by symptoms — that does not make every food a trigger. The relative risk comparison isolates foods that are specifically associated with worse outcomes compared to your baseline.
Both thresholds must be met. A food that co-occurs with symptoms twice (below the count threshold) is not flagged, even if the relative risk is high — the sample size is too small. A food that co-occurs five times but at the same rate as your overall symptom rate is not flagged either — it is correlation with your condition, not with the food.
Why deterministic matters
Gavia does not use AI to guess your triggers. It does not use a machine learning model trained on other people's data. It uses your data, your meals, your symptoms, and straightforward math.
This is a deliberate choice. When it comes to telling someone "this food is triggering your symptoms," certainty matters more than sophistication. You should be able to ask "why does the app think eggs are a trigger?" and get an answer like "you logged symptoms after eating eggs 4 out of 5 times, compared to your overall post-meal symptom rate of 25%" — not "the AI model predicted this with 73% confidence."
Deterministic means the answer is the same every time you run the calculation. There is no randomness. There is no black box. There is math you can verify.
Safe foods: the other side
Trigger food identification gets all the attention, but safe foods identification is equally valuable. These are foods you have eaten multiple times without symptoms — your reliable options during a flare when your gut is at its most sensitive.
Gavia lets you build a safe foods list based on your personal tracking data. During a flare, the Nutrition tab highlights your safe foods and enables a low-residue filter to help you make choices that are less likely to aggravate symptoms. This is not a generic "flare diet" from the internet. It is your flare diet, built from your data.
Custom micronutrient tracking
One of the consequences of food restriction in IBD is micronutrient deficiency. Gavia automatically tracks five micronutrients that are critical for people with IBD: iron, B12, vitamin D, calcium, and zinc. If you want to track additional nutrients — folate, magnesium, omega-3, or anything else — the custom micronutrient entry lets you add any nutrient with a name, amount, and unit.
This matters because your GI or nutritionist may be monitoring specific nutrients based on your disease location and treatment. Having that data in the same app where you track everything else creates a complete nutritional picture.
The bottom line
Your trigger foods are yours. Not the internet's. Not a forum's. Not a blog's (including this one). They are determined by your body, your gut, your disease, and your data.
Track your meals. Track your symptoms. Let the math find the patterns. And stop avoiding foods you love because someone on Reddit said they were "bad for IBD." They might be bad for that person. The only way to know if they are bad for you is to track, eat, and measure.
That is what Gavia is for.