AtulyaU: A Context-Aware Mobile Health Architecture for Closed-Loop Dietary Deficit Telemetry and Clinically Guarded Precision Supplementation
Abstract:Preventive healthcare and chronic disease self-management (e.g., Type 2 Diabetes, Polycystic Ovary Syndrome [PCOS], iron-deficiency anemia, and hypertension) depend fundamentally on daily micronutrient adequacy, metabolic balance, and bioavailable nutrient absorption. However, contemporary mobile health (mHealth) solutions suffer from a critical clinical disconnect: commercial trackers provide passive caloric tallies without analyzing actual nutrient shortages, while consumer health culture promotes "blind supplementation" popping generic multivitamins without measuring dietary intake, risking both chronic deficiencies and micronutrient toxicity. In this paper, we present AtulyaU, an end-to-end context-aware mHealth architecture built on a core clinical innovation: Closed-Loop Dietary Deficit Quantification and Dynamic Precision Supplementation. AtulyaU decomposes real-time meal telemetry from a 235+ regional food ontology into bioavailable macro- and micronutrient profiles, computes the patient's personalized clinical target vector based on chronic conditions and hormonal milestones, and derives an exact, dynamic Nutrient Shortage Gap Vector. Rather than prescribing generic regimens, AtulyaU's Clinical Context Injection (CCI) engine drives state-of-the-art LLMs (Gemini 2.5 Flash) to generate a prioritized, two-tier intervention: (1) food-first nutrient bridging within caloric envelopes, followed by (2) precision micro-supplementation calibrated strictly to the residual shortage. Enforcing a Stable Prefix Protocol with disk-level KV caching and a Deterministic Safety Boundary (DSB), AtulyaU eliminates absorption contraindications (e.g., competitive calcium-iron inhibition at the DMT-1 transporter, lipid-carrier requirements for fat-soluble vitamins). Across 150 clinical scenarios in 5 disease cohorts, AtulyaU achieves 98.4% clinical guideline adherence and 100% contraindication safety, eliminating both micronutrient under-coverage and toxicity risks inherent in ungrounded consumer LLMs. Key Contributions:1. Closed-Loop Dietary Deficit Quantification: Decomposing consumed meals to compute real-time micronutrient shortages against clinical targets.2. Dynamic Precision Supplementation: Prioritizing whole-food gap closure followed by micro-supplementation calibrated strictly to the residual shortage.3. Type-Safe Edge-Cloud Architecture: End-to-end tRPC/Zod validation between React Native client and Gemini LLM backend.4. Stable Prefix Caching & Safety Boundaries: 57.0% latency reduction via disk caching and 100% contraindication prevention.
Authors
- Sameer Singh (ORCID: https://orcid.org/0000-0002-7444-8989)
Institutions
- Birla Institute of Technology and Science, Pilani (IN)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-10-26
- DOI
- https://doi.org/10.5281/zenodo.23659688
- Primary Topic
- Mobile Health and mHealth Applications
- Type
- preprint