Year: 2026
Type: preprint
Abstract: Overweight, obesity and other lifestyle-related conditions continue to rise, yet most consumer health applications only record raw numbers, require tedious manual food entry and estimate exercise energy expenditure with generic formulas. This paper presents HealthAI, a cross-platform (Android, iOS and Web) smart health management system that combines large language models (LLMs), supervised regression and wearable-platform data. The Flutter client communicates with a Node.js/Express RESTful backend backed by MongoDB Atlas; the backend orchestrates an LLM service (Groq API) for food recognition from images or text, personalized 7-day meal planning and a scope-restricted health chatbot, and a Python/scikit-learn module for calorie-burn prediction. We propose a hybrid LLM–ML pipeline in which the LLM only extracts structured information (activity, duration) from natural language, while the numeric calorie estimate is produced by a trained Gradient Boosting Regressor, making the result deterministic and statistically verifiable. Physical-activity data are synchronized from the Google Fit API with automatic fallback to Health Connect/HealthKit and an in-browser accelerometer step counter. On the Gym Members Exercise Dataset (973 records, 80/20 split) the Gradient Boosting model reaches R² = 0.9903, MAE = 22.84 kcal and RMSE = 28.48 kcal, outperforming Linear Regression and Random Forest. All eleven integration test cases passed, and the system is deployed in production on Render and Vercel.
Author: Nguyen, Le Anh Truc
Language: English
Subfield: General Health Professions
Field: Health Professions
Domain: Health Sciences
Open Access status: green
OpenAlex ID: W7225849033
