An Explainable AI Framework with Interactive Visualization for Predicting Adolescent Concern over Unhealthy Food Advertisements

Authors

  • Kotte Vinaykumar Department of Computer Science and Engineering (AI & ML), Kakatiya Institute of Technology & Science, Warangal, Telangana, India – 506015.
  • Shiva Krishna Reddy Burra Department of Computer Science and Engineering (AI & ML), Kakatiya Institute of Technology & Science, Warangal, Telangana, India – 506015.
  • Naga Tharun Yerra Department of Computer Science and Engineering (AI & ML), Kakatiya Institute of Technology & Science, Warangal, Telangana, India – 506015.
  • Varshitha Kodam Department of Computer Science and Engineering (AI & ML), Kakatiya Institute of Technology & Science, Warangal, Telangana, India – 506015.
  • Jayanth Chandragiri Department of Computer Science and Engineering (AI & ML), Kakatiya Institute of Technology & Science, Warangal, Telangana, India – 506015.

DOI:

https://doi.org/10.69996/jsihs.2026008

Keywords:

Explainable AI, Stacking Ensemble, SHAP, Adolescent Health, Food Advertising

Abstract

Advertising of unhealthy foods has a considerable effect on the eating habits of teenagers and children. Fast food advertising is used to persuade teenagers to choose high-calorie and low-nutrition food (e.g., burgers, candy). The techniques used by advertisers to promote high-calorie foods are often persuasive, such as using celebrity endorsements and giving away toys with the purchase of a Happy Meal. These examples of persuasive advertising dominate the public's perception of the products advertised and the information given to consumers about the advertised product. This paper aims to create a comprehensive explainable AI predictive framework to quantify the level of concern (high, medium, low) of adolescents who are exposed to unhealthy food advertising. This study utilized a dataset of 1030 adolescents (ages 13-18) collected through a survey and utilized a stacked ensemble model with logistic regression as the final phase learner, producing an accuracy of 95.63 percent and a weighted F1 of 0.957. The researchers utilized synthetic minority oversampling technique (SMOTE) to resolve the issue of class imbalance in the data set. In addition to predicting which adolescent was most likely to be concerned with a piece of unhealthy food advertising, the researchers used SHAP (Shapley Additive Explanations) to provide both global and local explainability of the model used to make the prediction. In both cases, celebrity endorsement, free toys, parental education, knowledge of health, and age were the most important variables in predicting concern level among adolescents who were exposed to unhealthy food advertising. An interactive web-based dashboard in Flask was developed to enable users to filter real-time demographic data to view the predictive output per adolescent, view the distribution of concern levels, assess the impact of an advertisement on the individual, assess the impact of an advertisement on an adolescent based on age and gender, view correlation heatmaps, and generate individual SHAP explanations. This work replicates and validates the predictive methodology documented by Titu et al. (2023), but this work provides an interactive visualization layer that can be used to assist in educating the public on healthy eating.

References

[1] M. F. S. Titu, “Predicting Adolescent Concern Over Unhealthy Food Ads Using Explainable AI,” IEEE Access, early access, 2025.

[2] E. K. Boyland et al., “Advertising as a Cue to Consume: A Systematic Review and MetaAnalysis Effects of Acute Exposure to Unhealthy Food and Nonalcoholic Beverage Advertising on Intake in Children and Adults,” Am. J. Clin. Nutr., vol. 103, no. 2, pp. 519– 533, Feb. 2016.

[3] M. A. Bragg, “The Impact on Dietary Outcomes of Celebrities and Influencers in Marketing Unhealthy Foods to Children: A Systematic Review and Meta-Analysis,” Nutrients, vol. 14, no. 3, pp. 434, 2022

[4] B. Kelly, “The Impact of Food Marketing on Children’s Dietary Intake: A Systematic Review,” Obes. Rev., vol. 23, no. 3, pp.e13392, 2022.

[5] World Health Organization, “Policies to Protect Children from the Harmful Impact of Food Marketing,” WHO Guideline, Geneva, Switzerland, 2023.

[6] World Health Organization, “Obesity and Overweight,” Fact Sheet, Geneva, Switzerland, 2024.

[7] S. Vandevijvere, “Global Trends in the Use of Digital Marketing of Unhealthy Foods to Children,” Obes. Rev., vol. 24, no. S1, pp.e13545, 2023.

[8] Q. Liu, “Contemporary Digital Marketing Techniques Used in Unhealthy Food Campaigns Targeting Young People,” Appetite, vol. 198, 2025.

[9] M. Driessen, “Making Sense of Adolescent-Targeted Social Media Food Marketing: A Qualitative Study of Expert Views on Key Definitions, Priorities and Challenges,” Appetite, vol. 166, 105499, 2021.

[10] K.Vaishali, “Health Education Reimagined Virtual Reality for Immersive WellnessLearning”, JCESH, vol. 1, no. 1, pp. 55–66, 2024

[11] S. M. Lundberg and S.-I. Lee, “A Unified Approach to Interpreting Model Predictions,” in Proc. Adv. Neural Inf. Process. Syst. (NeurIPS), pp. 4765–4774, 2017.

[12] M. Ribeiro, “Why Should I Trust You? Explaining the Predictions of Any Classifier,” in Proc. ACM SIGKDD Int. Conf. Knowl. Discov. Data Mining, pp. 1135–1144, 2016.

[13] F. Garde and O. Byrne, “Regulating Food Marketing to Children: A Review of the WHO Recommendations and National Implementation,” J. Law Med., vol. 28, no. 1, pp. 5–25, 20200

[14] C. Molnar, Interpretable Machine Learning, 2nd ed. Lulu.com, 2022.

[15] S. M. Lundberg, “From Local Explanations to Global Understanding with Explainable AI for Trees,” Nat. Mach. Intell., vol. 2, no. 1, pp. 56–67, 2020.

[16] K. Vinaykumar, “Similarity Measures and Text Documents Classification Accuracies Using Benchmark Datasets,” Proc. 4th Int. Conf. Trends Electron. Inform. (ICOEI), pp. 688–695, 2020.

[17] F. Sebastiani, “Machine Learning in Automated Text Categorization,” ACM Comput. Surv., vol. 34, no. 1, pp. 1–47, 2002.

[18] C. Aggarwal and C. Zhai, “A Survey of Text Classification Algorithms,” in Mining Text Data. Boston, MA: Springer, pp. 163–222, 2012.

[19] J. Devlin, “BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding,” in Proc. NAACLHLT, pp. 4171–4186, 2019.

[20] T. Joachims, “Text Categorization with Support Vector Machines: Learning with Many Relevant Features,” in Proc. ECML, pp. 137–142, 1998.

[21] A. Vaswani, “Attention is All You Need,” in Proc. Adv. Neural Inf. Process. Syst. (NeurIPS), pp. 5998–6008, 2017.

[22] J. Zhou, “Explainable AI for Medical Imaging: A Survey,” IEEE Trans. Med. Imaging, vol. 42, no. 5, pp. 1234– 1256, 2023.

[23] A. Holzinger et al., “Explainable AI: The New 42?” in Machine Learning and Knowledge Extraction, Cham, Switzerland: Springer, pp. 1–18, 2019.

[24] R. R. Hoffman et al., “Metrics for Explainable AI: Challenges and Prospects,” arXiv preprint arXiv:1812.04608, 2018.

[25] D. Gunning, “XAI—Explainable Artificial Intelligence,” Sci. Robot., vol. 4, no. 37, 2019.

[26] World Health Organization, “Set of Recommendations on the Marketing of Foods and Non-Alcoholic Beverages to Children,” WHO, Geneva, 2010

[27] C. Klepp, “Impact of Unhealthy Food Marketing on Children,” Obesity Evidence Hub, 2025.

[28] M. G. Lanjewar et al., “Machine Learning Based Technique to Predict the Water Adulterant in Milk Using Portable Near Infrared Spectroscopy,” Foods, vol. 12, no. 6, pp. 1242, 2023.

[29] Z. Liu, “Artificial Intelligence in Food Safety: A Decade Review and Bibliometric Analysis,” Foods, vol. 12, no. 6, pp. 1242, 2023.

[30] S. Vandevijvere and B. Swinburn, “Towards Global Monitoring of the Corporate Sector for Nutrition,” Lancet, vol. 393, no. 10178, pp. 1266–1278, 2019.

[31] A. Ronksley-Pavia, “The Influence of Food Marketing on Children’s Food Preferences and Choices,” Appetite, vol. 166, 105499, 2021.

[32] M. J. Harris, “A Systematic Review of the Effects of Food Marketing on Children’s Dietary Behaviors,” Obes. Rev., vol. 20, no. 5, pp. 663–684, 2019.

[33] C. Corvalán et al., “The Impact of Food Marketing on Children’s Dietary Intake and Obesity,” Lancet Child Adolesc. Health, vol. 3, no. 6, pp. 397–408, 2019.

[34] J. McGowan, “The Role of Food Marketing in Children’s Food Choices and Obesity,” Curr. Obes. Rep., vol. 9, no. 3, pp. 278–290, Sep. 2020.

[35] T. Lobstein and S. Davies, “Defining and Labelling Food Marketing to Children: A Systematic Review,” Obes. Rev., vol. 10, no. 2, pp. 156–168, 2009.

[36] M. S. Amarra, “Food Marketing to Children in Asia: A Review,” Obes. Rev., vol. 20, no. S2, pp. 91–102, 2019.

[37] S. K. Kumanyika, “Food Marketing to Children and Youth: Threat or Opportunity?” Institute of Medicine, Washington, DC, 2006.

[38] Swara Snehit Patil, “Artificial Intelligence: A Way to Promote Innovation”, JSIHS, vol. 2, no. 1, pp. 1–5, 2024.

Downloads

Published

2026-06-30

How to Cite

Kotte Vinaykumar, Shiva Krishna Reddy Burra, Naga Tharun Yerra, Varshitha Kodam, & Jayanth Chandragiri. (2026). An Explainable AI Framework with Interactive Visualization for Predicting Adolescent Concern over Unhealthy Food Advertisements. Journal of Sensors, IoT & Health Sciences (JSIHS,ISSN: 2584-2560), 4(2), 18-30. https://doi.org/10.69996/jsihs.2026008