Dietary Assessment
Mean Absolute Error (MAE)
Also known as: MAE
The average of the absolute differences between estimated and reference values across a set of observations — the preferred first-line accuracy measure for calorie and nutrient estimation because its units match the thing being measured.
Key takeaways
- MAE is the mean of |estimate − reference| across a dataset, reported in the original units (kcal, g, mg).
- It is preferred over mean error (signed average) because signed errors can cancel and flatter a biased estimator.
- MAE is less punishing of outliers than RMSE — a characteristic that matters when choosing between the two.
- Reporting MAE without the reference set, the sample size, and the measurement year is meaningless.
Mean Absolute Error (MAE) is the arithmetic mean of the absolute differences between estimated values and reference (ground-truth) values across a set of observations. For a calorie-estimation method evaluated against laboratory-weighed reference meals, MAE is expressed in kilocalories: the average by which the method's estimate deviates from the measured truth, ignoring direction. It is the most interpretable first-line accuracy measure in dietary-assessment methodology precisely because its units match the units of the quantity being measured.
The formula
For n observations, each with an estimated value êi and a reference value ei:
MAE = (1/n) × Σ |êi − ei|
That is all. The absolute-value operator is the critical detail: it prevents signed errors from cancelling. A method that over-estimates by 100 kcal on half its observations and under-estimates by 100 kcal on the other half has a signed mean error near zero — which would flatter the method if reported alone — but an MAE of roughly 100 kcal, which accurately reflects that the method is never particularly close.
Why MAE and not signed bias
A dietary-assessment method's signed bias — the mean of (estimate − reference) — is a distinct and useful statistic that captures whether the method systematically over- or under-estimates. It should be reported alongside MAE, not instead of it. A method with MAE 120 kcal and signed bias near zero is noisy but unbiased; a method with MAE 120 kcal and signed bias +100 kcal is almost entirely systematic over-estimation. The distinction matters for deciding whether a recalibration constant could improve the method.
MAE vs RMSE
The choice between MAE and Root Mean Square Error is partly technical and partly aesthetic. RMSE punishes large errors more severely because it squares them before averaging; MAE weights all errors linearly. A method that is 50 kcal off on 99 meals and 500 kcal off on one meal will have an MAE near 55 kcal and an RMSE closer to 80 kcal. Researchers favour RMSE when the downstream cost of large errors is disproportionately bad (for example, insulin-dose estimation in type 1 diabetes); MAE when the downstream cost is roughly linear in error magnitude (typical calorie-tracking use cases).
What a meaningful MAE report looks like
Any published MAE figure is meaningless without four pieces of context:
- The reference set it was measured against (a specific laboratory-weighed meal set, with an n).
- The year of measurement (because food databases and app models drift).
- The statistical method used (mean MAE across meals, or weighted, or median as a robust alternative).
- The signed bias reported alongside.
A claim of "accurate to within 50 kcal" without these qualifiers is marketing, not methodology. A claim of "MAE 48.7 kcal against the Bitebench 2026 reference set (n=500 meals), signed bias −12 kcal" is a methodological statement and can be reproduced or challenged.
References
- Willmott CJ, Matsuura K. "Advantages of the mean absolute error (MAE) over the root mean square error (RMSE) in assessing average model performance". Climate Research , 2005 — doi:10.3354/cr030079.
- Chai T, Draxler RR. "Root mean square error (RMSE) or mean absolute error (MAE)?". Geoscientific Model Development , 2014 — doi:10.5194/gmd-7-1247-2014.
Related terms
- Mean Absolute Percentage Error (MAPE) The average of the absolute percentage differences between estimates and reference values …
- Root Mean Square Error (RMSE) The square root of the mean of squared differences between estimates and reference values …
- Accuracy vs Precision Two distinct properties of a measurement system — accuracy is closeness to the true value,…