DOI : https://doi.org/10.5281/zenodo.19692557
- Open Access

- Authors : Dr S Srikanth, Edukulla Deekshitha, Kolakani Anusri, Jillela Swaran Reddy
- Paper ID : IJERTV15IS031567
- Volume & Issue : Volume 15, Issue 03 , March – 2026
- Published (First Online): 22-04-2026
- ISSN (Online) : 2278-0181
- Publisher Name : IJERT
- License:
This work is licensed under a Creative Commons Attribution 4.0 International License
Fitness Tracker with AI Nutritionist
Mr. S Srikanth
Department of Computer Science and Engineering(Data Science) Institute of Aeronautical Engineering Hyderabad, Telangana, India
Edukulla Deekshitha
Department of Computer Science and Engineering (Data Science) Institute of Aeronautical Engineering Hyderabad, Telangana, India
Kolakani Anusri
Department of Computer Science and Engineering(Data Science) Institute of Aeronautical Engineering Hyderabad, Telangana, India
Jillela Swaran Reddy
Department of Computer Science and Engineering(Data Science) Institute of Aeronautical Engineering Hyderabad, Telangana, India
Abstract: This work presents NutriFit, an AI-driven nutrition recommendation system and intelligent fitness monitoring system designed to offer personalized food and activity recommendations. The system uses deep neural networks to identify human activity, multi-sensor activity tracking, a reinforcement learning diet optimization framework, and calorie calculating models. NutriFit incorporates Natural Language Understanding (NLU) to operate as an AI nutritionist chatbot and offer multi-turn user engagement. Experimental review reveals higher user adherence, high satisfaction ratings, and better recommendation accuracy when compared to conventional static workout programs. The outcomes validate NutriFit is promise as a scalable, personalized fitness and nutrition companion.
Keywords: AI nutritionist, fitness tracker, deep learning, human activity identification, personalized health monitoring, and reinforcement learning.
-
INTRODUCTION
-
Motivation and Problem Statement
Rapid changes in lifestyle have led to an alarming rise in obesity, diabetes, cardiovascular disease, and other ailments worldwide. The WHO reports that 13% of people globally are obese and over 39% of people are overweight [1]. Traditional fitness applications lack personalization and do not dynamically adjust recommendations based on users’ physiological traits.
AI can significantly enhance lifestyle management and health monitoring by leveraging real-time data and predictive analytics [2]. However, most existing systemslike Fitbit, Apple Health, and Google Fitoffer general advice rather than specific nutrition and exercise recommendations. This eliminates the requirement for an intelligent platform with
real-time monitoring, AI-based nutrition planning, and user-centric feedback systems.
-
Research Objective
-
This paper proposes NutriFit, a real-time fitness tracker driven by AI that:
-
tracks physical activity using heart rate, accelerometer, and sleep data.
-
predicts the kind of exercise and the quantity of calories burnt using CNN-LSTM networks.
-
Reinforcement learning to develop personalized diet and fitness plans.
-
Nutrition chatbot with AI capabilities to provide conversational guidance.
-
-
-
RELATED WORK
-
Healthcare Conversational Agents
Commercial devices that emphasize activity tracking but lack complex nutrition recommendation algorithms include Fitbit and Mi Band [3]. Examples of AI-driven dietary systems that are limited to static calorie estimates and do not adapt to changes in user health are MyFitnessPal and HealthifyMe [4]. Reinforcement Learning research emphasizes adaptive suggestion efficiency in wellness management [5][6]. However, research on integrated exercise + nutrition enhancement with discussion is lacking.
-
Recommendation System for Content-Based Filtering
The Content-Based Filtering (CBF) recommendation algorithm provides personalized workout plans and food selections based on each user’s distinct characteristics, preferences, and physiological data. Unlike collaborative
filtering, which compares several users, CBF just takes into account the attributes of objects (foods/workouts) and the target user’s profile.
-
-
SYSTEM ARCHITECTURE
-
Overall System Workflow
Figure 1
The five main parts of the end-to-end system workflow are shown in Figure 1: (1) User Interface Layer; (2) Sensor Data Collection; (3) Activity Recognition Model; (4) AI Nutritionist Chatbot; and (5) Progress Analytics Dashboard.
-
Pipeline for Data Processing and Feature Extraction
Data Processing & Feature Extraction Pipeline: The Data Processing and Feature Extraction Pipeline preprocesses raw sensor and user input data to produce structured parameters for customized exercise and nutrition recommendations. The pipeline’s normalization, noise reduction, and feature engineering processes are applied to heart rate samples, step counts, calorie measurements, sleep data, and daily lifestyle factors.
-
Module for User Profiling and Goal Classification:
This module looks at the user’s physical attributes, such as age, height, weight, gender, BMI, BMR, activity level, dietary preferences, and fitness objectives. Based on specific attributes, like maintaining fitness, growing muscle, or decreasing weight, the system separates users into personalized groups. These categories are used as input by the Content-Based Filtering recommendation engine to generate diet and exercise suggestions tailored to each profile.
Classification RulesBMI=Height(m)/2Weight(kg
BMI Range
Class
< 18.5
Underweight
18.5 24.9
Normal
25 29.9
Overweight
> 30
Obese
-
Module for Nutritional Data Extraction and Classification:
The Biomedical Named Entity Recognition module used in medical chatbots is replaced in this system by a Nutritional Data Extraction and Classification module. This section examines nutritional data to identify key nutrient attributes for each food item, including calories, vitamins, minerals, and macronutrient composition (protein, fats, and carbs). Based on these extracted characteristics, the technique categorizes food items into functional dietary groupings, such as high-protein, low- calorie, high-fiber, and weight-loss-oriented foods. These structured nutritional factors are used by the Content- Based Filtering recommendation engine to generate personalized meal suggestions that match user goals and body measurements.
-
Nutritional attribute extraction uses dataset-driven feature processing techniques using standardized nutrition data from three food nutrient categories: DIET TYPE (weight-loss foods, muscle-gain foods, diabetic-friendly items), MICRO (vitamins, minerals, fiber), and MACRO (calories, protein, carbs, fats). The system’s structured nutrition database is updated with over 700 Indian food products that include thorough annotations of their macronutrient and calorie content.
MACRO,ifwNcaloriesNproteinNcarbsNfat
-
The entity extraction component is replaced with nutritional attribute extraction and food classification, which maps food items to dietary groups using calorie limitations and macronutrient thresholds.
- Motivation Tracking & Wellness Score Module: The Affective Computing module used in healthcare systems is replaced by a Motivation Tracking & Wellness Score Module that looks at lifestyle performance metrics and user adherence behavior in order to enhance tailored support. The module assesses daily exercise performance, calorie balance, sleep quality, and hydration in order to compute a Wellness EngagementScore. The score is calculated using a weighted aggregation
function:
() = () + () + () + ()
W(u)=A(u) + S(u) + C(u) + H(u)
-
Performance Tracking & Progress Monitoring System: Over time, the Progress Monitoring and Performance Tracking module maintains a continuous record of the user’s eating habits, degree of physical activity, and general well-being. Unlike dialogue systems, which monitor conversational context, this module evaluates daily exercise performance trends and adaptation requirements. It looks at trends in long- term data to assess progress and provide customized recommendations.
-
-
Framework for Personalized Recommendation Scoring: Reinforcement-learning-based conversation management in the system is replaced with a Content-Based Recommendation Scoring Model that evaluates diet and exercise recommendations based on nutritional relevance, user goals, and progress performance. The framework assigns a recommendation score to each item and selects the best suggestions for the user.
-
Formulation of Recommendation Models: The recommendation problem is simulated using a multi-factor scoring function: =++++ = Goal compatibility score (maintenance, muscle gain, and weight loss).Pi is a performance adaptation score based on prior achievements.,,, , , and are adjustable weight factors, and ci is the user preference match compliance score.A common configuration of hyperparameters is =0.4, =0.3,
=0.2, =0.1=0.4, =0.3, =0.2, =0.1..
-
State RepresentationThe recommendation status at time is represented by a feature vector that integrates nutritional and performance data: St = [BMIt, BMRt, Calburnt, Calntaket, Sleept, Hydrationt, Motivationt, Goalt]. BMI and BMR are physiological measurements.Daily wellbeing measurements include sleep and hydration. Cal_burn, Cal_intake = dynamics of calorie utilization.Wellness score = motivation Goal = the desired result for the user
-
The suggestion action space defines the set of possible personalized outputs that the system can provide for the user based on their current health status, dietary needs, and activity objectives. Each activity refers to a specific type of wellness advice designed to maximize lifestyle outcomes and improve user compliance. Instead of using dialogue-based actions, the system uses goal-oriented recommendation actions, like recommending suitable diet plans and exercise regimens and reminding users to stay supplying weekly progress reports,
making motivational remarks to increase consistency, and making sure you stay hydrated and receive adequate sleep. These exercises allow for dynamic adaptation to user performance levels and offer continuous support along the fitness journey. The goal of the action space is to promote proactive health management, customization, and sustained engagement with the NutriFit platform.
-
-
EXPERIMENTAL METHODOLOGY
-
Features of the Dataset
The NutriFit system was assessed using both fake user health profile data with realistic physiological distributions and real-world dietary information. The experiment made use of multiple sources:
-
Food Nutrition Dataset: Serving sizes, calories, macronutrients (fat, protein, and carbohydrates), and micronutrients (vitamins and minerals) for more than 750 Indian food products.
-
Serving sizes, calories, macronutrients (fat, protein, and carbohydrates), and micronutrients (vitamins and minerals) for more than 750 Indian food items are included in this food nutrition dataset. User Profile Dataset.
-
Workout Dataset: 300 workout plans arranged according to fitness goals, calorie burn rate, and degree of difficulty.
-
Performance Logs: To evaluate the consistency and adherence to recommendations, 200 real usage sessions were recorded.
b. Comparing Baselines NutriFit is performance was compared using three well-known fitness and nutrition platforms:
1. MyFitnessPal: Standard calorie tracking and static recommendations.2. Customized diet plans are not available with Google Fit, an activity tracker.3. HealthifyMe is a rule-based AI-powered calorie recommendation system.
-
-
Evaluation Metrics
-
The recommendation system’s performance:
-
Accuracy: The appropriateness of recommended items in terms of their nutritional value.
-
Precision, Recall, and F1-Score: Classification effectiveness for personalized exercise and diet plans.
-
Mean Similarity Score: This uses cosine similarity to determine how well user profile
-
vectors and suggested item vectors match.
-
System Effectiveness:
-
Response Time: The mean delay in making suggestions (ms).
-
Computational efficiency is the amount of CPU and memory used under workload.
-
User Interaction Time: The time required to develop an all-inclusive daily program.
-
-
System Performance: To ascertain the precision, effectiveness, and usability of the customized recommendation engine, the NutriFit system’s performance was evaluated using quantitative assessment measures. Accuracy, precision, recall, and F1-score were used to assess the quality of recommendations for meals and exercises in relation to actual nutritional appropriateness criteria. In addition to coverage rate, which measures the proportion of recommendations that are in line with user objectives, cosine similarity-based mean similarity score was calculated to evaluate the degree of matching between user profile vectors and suggested item vectors.
-
User Engagement:
The fitness tracker with AI nutritionist uses a number of variables to gauge user satisfaction, adherence, and involvement. Important indicators include Daily Active Users (DAU) to assess continuous usage, session duration to measure time spent on the app, and feature usage frequency for features like fitness monitoring, food journaling, and AI nutrition recommendations. Retention rate monitors consistent use over time, whereas target completion rate evaluates the achievement of customized fitness and nutrition goals. Additionally, a composite engagement score that incorporates these data provides a thorough quantitative evaluation that is enhanced by qualitative user input to evaluate system effectiveness and satisfaction. By continuously monitoring these variables, the application can be adjusted to increase user motivation and promote healthy habits.
-
-
RESULTS AND ANALYSIS
-
Performance of AI Nutritionist Components
Table I displays the evaluation metrics for the AI Nutritionist system. Meal recommendations successfully align with user nutritional goals, with a weighted F1-score of 0.839 and an accuracy rate of 84.1%. Exercise plan recommendations have an 81.7% F1-score (precision: 83.0%, recall: 80.5%), demonstrating reliable activity advice tailored to each person’s fitness level. Calorie intke prediction verifies accurate daily energy tracking with a mean confidence of 0.761 and an accuracy of 88.5%.
Figure 2
Figure 2 depicts the intent classification confusion matrix for the AI Nutritionist system, revealing generally strong prediction performance with minimal misclassification across dietary and exercise-related intents. Key observations include:
-
Meal Recommendation: A well-organized user query knowledge of dietary preferences is indicated by the highest accuracy (85.2%).
-
Exercise Plan: Although there are many different ways to formulate exercise queries, strong performance (80.3%) is necessary for personalized fitness recommendations.
-
Calorie monitoring has a reasonable accuracy of 83.2% and is occasionally confused with meal suggestions due to overlapping user inputs.
-
-
Reinforcement Learning Convergence.
Figure 3
Figure 3. The 50-episode moving average shows consistent improvement after episode 1,832, stabilizing recommendation accuracy at 87.2%. The first exploration period (episodes 0500) exhibits significant variance in user satisfaction scores, reflecting diverse inquiry
handling, but post-convergence behavior displays lesser volatility and consistent, customized recommendations. Statistical research reveals a mean episode satisfaction of 68.5%, a post-convergence mean of 87.2%, a maximum score of 98.3%, and a minimum of 76.4%. The learning curve demonstrates effective policy acquisition without oscillations or performance degradation and supports strong adaption for customized nutrition advising.
The training procedure of the AI Nutritionist system consistently improves its ability to offer customized nutritional and activity suggestions. As the model adapts to a range of questions, a high variance in user input during the first 500 episodes suggests exploratory activity. At episode 1,500, the system reaches a stable phase with an average post-convergence satisfaction of 87.2% and reduced variability, indicating reliable and consistent recommendations. The maximum level of satisfaction was 98.3%, while the lowest post- convergence score was 76.4%. Overall, the consistent rise without abrupt fluctuations indicates robust learning dynamics, effective policy acquisition, and the avoidance of catastrophic forgetting, all of which promote long-term reliability in real-world applications.
A comprehensive statistical analysis reveals that: µ = 68.5% (= 15.2%) is the average episode satisfaction score. The convergence threshold is episode 1,832, which is the first of 100 consecutive episodes that fall within 0.5 standard deviation of the final mean. Performance following convergence: µ = 87.2% (= 3.5%) 98.3% was the highest satisfaction rating ever recorded (Episode 1,910). The lowest post-convergence score is 76.4%.
-
-
DISCUSSION
-
Performance Analysis
Our data show a number of important conclusions across many evaluation dimensions:
NLP Sturdiness: The intent categorization component outperforms baseline systems by 26%, achieving 85.2% accuracy thanks to domain-specific heuristics tailored to exercise and dietary contexts (Table III). The confusion matrix (Figure 2) shows that misclassifications primarily occur between semantically comparable categories, such as “meal recommendation” and “dietary restriction.” Therefore, future study should incorporate semantic similarity limits for better disambiguation.
Entity extraction validates the integration of specialized vocabularies relevant to diet and exercise, resulting in an F1- score of 82.7%, a 3.1% improvement over comparative systems. The gazetteer-based approach balances interpretability and computational performance, making it
suitable for real-time deployment. However, limitations in handling unusual meals, exercise names, and user spelling variations drive more study on transformer-based entity recognition.
RL-Enhanced Dialogue Management: Using Deep Q- Network (DQN) to optimize dialogue policies results in measurable improvements in user engagement and the caliber of tailored recommendations. The converged policy’s post- convergence mean satisfaction score of 87.2%, which is 122% higher than the initial baseline of 39.4% (p < 0.001, two-tailed t-test), confirms the efficacy of the learned policy.
Early training episodes have a negative mean reward (-0.15) due to exploratory actions, which is consistent with -greedy DQN behavior. The crucial performance indicator, the 100- episode post-convergence average (87.2%), confirms the RL training process by demonstrating that the system generates steady, high-quality personalization despite a lengthy exploration phase.
-
Practical Implications
The Fitness AI Nutritionist system has a number of possible real-world deployment options:Principal Uses: Personalized Meal Planning: 85.2% purpose classification ensures accurate dietary recommendations depending on user goals and constraints.
Exercise Advice: Dynamic workout plan recommendations with 80.3% accuracy enable customized fitness routines.Monitoring of Calories and Nutrients: With the use of automated tracking, users can keep up their intended intake of calories and macronutrients.
-
Ethical Considerations
To protect user privacy, safety, and confidence, AI-driven fitness and nutrition assistants must be deployed with strict adherence to ethical norms.
Disclaimer and Scope Restrictions: The system makes it clear that it is an AI assistant and should not be used in place of professional guidance by advising users to consult with knowledgeable nutritionists or personal trainers for significant health or fitness issues. In high-risk situations, such as significant calorie deficiencies or exercise contraindications, automated alarms that recommend professional intervention are activated. Users must accept the disclaimer before beginning their initial interaction.
Data Security and Privacy: The system has robust security mechanisms that comply with HIPAA-equivalent requirements (India: Digita Information Security in Healthcare Act draft): end-to-end TLS 1.3 encryption for data in transit and AES-256 encryption for data at rest. The technique of automatically eliminating personally identifiable information from databases
is known as anonymization. User Consent: Conversation logging requires explicit opt-in and granular privacy restrictions.
Data Retention: Non-consented data is automatically erased after ninety days.
Access Control: Role-based authentication and audit logging provide safe access to all user data.
-
-
CONCLUSION
This work presents the AI Nutritionist, a conversational agent enhanced by reinforcement learning designed to offer personalized exercise and nutrition guidance. The empirical evaluation demonstrates good performance in several metrics after 1,832 training episodes, such as 85.2% intent classification accuracy, 82.7% entity extraction F1-score, sub- 250 ms response latency, and RL policy convergence with a post-convergence mean satisfaction score of 87.2%, a 122% improvement over the baseline. Combining domain-specific NLP components (intent classification, entity extraction, sentiment analysis) with adaptive dialogue management via Deep Q-Networks enables consistent, reliable recommendations.
Comparative analysis demonstrates measurable gains over existing commercial and baseline systems, highlighting the system’s potential for practical usage in personalized exercise and dietary support. Future studies will look into transformer- based entity recognition, broader knowledge base coverage, and multi-modal input integration to further enhance customization and user engagement [1].
Beyond quanttative performance, the system exhibits promise for practical applications in personalized fitness coaching, nutrition adherence, and motivational support while respecting ethical and data protection standards. Some of the constraints include the need for expert supervision in high-risk circumstances, handling unique entities, and knowledge base coverage. Future research will focus on expanding the knowledge base, incorporating multi-modal input (such wearable data), integrating transformer-based entity recognition, and exploring long-term engagement strategies in order to enhance customization and user adherence [1].
The system demonstrates practical application in real-world fitness and nutrition support scenarios, such as personalized meal planning, customized exercise guidance, calorie and macronutrient tracking, and behavioral nudges to improve adherence, while maintaining ethical standards, user privacy, and data security through encryption, anonymization, explicit consent, role-based access control, and automated retention policies. Despite these benefits, there are some disadvantages, such as the system’s inherent inability to replace certified
nutritionists or fitness professionals for critical decision- making; potential misclassifications in semantically similar intents; and limited knowledge base coverage of foods, exercises, and uncommon nutrition entities. These disadvantages motivate further studies to incorporate adherence, larger knowledge bases, broader multi-modal inputs such as wearable or biometric data, and transformer- based entity recognition.
REFERENCES
-
“Generative AI-based meal recommender system,” Z. B. Ter, P. Naveen, and J. Jayapradha, Journal of Informatics and Web Engineering, vol. 4, no. 2, pp. 315338, June 2025.MMU Press
-
“Application of AI in Nutrition,” arXiv preprint, December 2023, R. Ramakrishnan, T. Xing, T. Chen, M.-H. Lee, and J. Gao.
-
“A machine learning-based food recommender system in academic settings,” arXiv preprint, June 2023, A. Ajami and B. Teimourpour.
-
“Semantic modeling for food recommendation explanations,” arXiv preprint, May 2021, I. Padhiar, O. Seneviratne, S. Chari, D. Gruen, and D.
L. McGuinness.
-
(Writer). “Food science and nutrition perspective for smart nutrition research and healthcare with artificial intelligence assistance,” Systems Microbiology & Biomanufacturing, vol. 4, 2024
-
(Author). “A Systematic Review of Artificial Intelligence Applications to Personalized Dietary Recommendations,” Health Care, 2025.
-
H. S. J. Chew, “The use of conversational agents (chatbots) based on artificial intelligence for weight loss: scoping review and practical recommendations,” JMIR Medical Informatics, vol. 10, no. 4, 2022.
-
J. Chen, R.-Z. Hu, Y.-X. Zhuang, J.-Q. Zhang, and Y. Yang, “Natural language processing chatbotbased interventions for improvement of diet, physical activity, and tobacco smoking behaviors: systematic review,” JMIR (2025) mHealth and uHealth.
-
“NutriGen: Personalized meal plan generator leveraging large language models to enhance dietary and nutritional adherence,” S. Khamesian, A. Arefeen, S. M. Carpenter, and H. Ghasemzadeh, arXiv preprint, 2025.
-
L. Lu, Y. Deng, C. Tian, S. Yang, and D. Shah, “Purrfessor: A refined multimodal LLaVA diethealth chatbot,” arXiv preprint, 2024.
-
R. Srivastava, “Improving conversational agents with deep reinforcement learning: a novel approach to dialogue management”; Scientific Journal of Artificial Intelligence and Blockchain Technologies, vol. 1, no. 4, 2025.
-
P. K. Ingole and A. V. Sakhare, “Deep dive into nutrition: leveraging AI for healthier lifestyles,” International Journal of Food and Nutritional Sciences, 2022.
