Multivariate Modeling and Feature Attribution in Consumer Product Ratings: A Case Study on Nutritional Profiles of Breakfast Cereals

Authors

  • Wenjun Fu

DOI:

https://doi.org/10.61173/ax3sj616

Keywords:

consumer ratings, nutritional profiling, multivariate modeling

Abstract

Generally speaking, consumer product ratings play a central role in shaping food choices, yet the relationship between nutritional attributes and perceived product quality remains under-quantified. This paper explores how nutritional components—such as sugar, fiber, protein, and calories—influence consumer ratings through a literature review and empirical case study of breakfast cereals, while examining how interpretable predictive models reveal the most critical drivers. Using a publicly available cereal dataset encompassing approximately 77–80 products (with detailed nutritional content and rating variables), this study integrates descriptive statistics, linear regression, regularized regression, and ensemble tree models. We employ both model-based and model-agnostic feature attribution methods. Our findings reveal that linear models explain nearly all out-of-sample rating variance, indicating a near-deterministic mapping between nutritional components and ratings. While random forest models demonstrate robust performance, their accuracy remains relatively low. Cross-model analysis identifies sugar (negative impact) as the most critical variable, followed by calories and sodium (negative), and dietary fiber (positive). Finally, we translated these insights into health-oriented recommendation strategies, prioritizing products with low sugar, high fiber/protein, and moderate calories. Under these constraints, we generated the top 10 predicted-score cereal products. Our findings support current guidelines limiting free/added sugar intake and increasing dietary fiber, illustrating how explainable modeling informs healthier product recommendations and formulation improvements.

References

[1] U.S. Food and Drug Administration. (2024-2025). Added sugars on the Nutrition Facts label. https://www.fda.gov

[2] U.S. Food and Drug Administration. (2016, May 27). Food labeling: Revision of the Nutrition and Supplement Facts labels (Final rule). Federal Register. https://www.federalregister.gov

[3] U.S. Food and Drug Administration. (2016). Final rules to update the Nutrition Facts label [PDF overview]. https://www. fda.gov

[4] AGES. (2025, April 10). WHO sugar recommendations. AGES - Nutrition & Food / Nutrition Recommendations. https://www.ages.at/en/human/nutrition-food/nutritionrecommendations/who-sugar-recommendations

[5] Fuentes, M., Carpentier, F. R. D., Corvalán, C., Reyes, M., & Taillie, L. S. (2023). Front-of-package nutrition labeling and its impact on food manufacturers’ practices. Nutrients, 15(2), 377. https://doi.org/10.3390/nu15020377

[6] Martini, D., Menozzi, D., & Vicentini, A. (2022). Relationship between front-of-pack labeling and nutritional quality: A narrative review of available evidence. Nutrients, 14(5), 1091. https://doi.org/10.3390/nu14051091

[7] Fisher, A., Rudin, C., & Dominici, F. (2018). All models are wrong, but many are useful: Learning a variable’s importance by studying an entire class of prediction models simultaneously. arXiv. https://arxiv.org/abs/1801.01489

[8] Daneshvar, A., & Golalizadeh, M. (2023). Regression shrinkage and selection via least quantile shrinkage and selection operator. PLOS ONE, 18(2), e0266267. https://doi.org/10.1371/ journal.pone.0266267

[9] Salman, H. A., et al. (2024). Random forest algorithm overview (H. A. Salman et al., Trans.). Babylonian Journal of Machine Learning, 2024(June), 69-79. https://doi.org/10.58496/ BJML/2024/007

[10] Lundberg, S. M., & Lee, S.-I. (2017). A unified approach to interpreting model predictions. Advances in Neural Information Processing Systems (NeurIPS). https://arxiv.org/abs/1705.07874

[11] Poutanen, K., Sozer, N., & Valle, G. D. (2020). Dietary fibre from whole grains and their benefits on metabolic health. Nutrients, 12(10), 3045. https://doi.org/10.3390/nu12103045

[12] McRae, M. P. (2016). Health benefits of dietary whole grains: An umbrella review of meta-analyses. Cureus, 8(7), e711. https://doi.org/10.7759/cureus.711

[13] Crawford, T. (2016). 80 cereals [Dataset]. Kaggle. https:// www.kaggle.com/datasets/crawford/80-cereals

[14] R Core Team. (n.d.). cereal {liver}: 77 cereals, 16 variables; rating possibly from Consumer Reports [R documentation]. CRAN. https://search.r-project.org/CRAN/refmans/liver/html/ cereal.html

[15] Kss7vs. (2020). Analysis of the 80 cereals dataset [Rpubs post]. Rpubs. https://rpubs.com/kss7vs/636466

[16] Hamoye HQ. (2021, March 12). Understanding the relationship between nutritional content and cereal ratings: A data-driven approach [Blog post]. Medium. https:// hamoyehq.medium.com/understanding-the-relationshipbetween-nutritional-content-and-cereal-ratings-a-data-driven- 6b8a0f5cbdfe

Downloads

Published

2025-12-19