Previously submitted to: JMIR AI (no longer under consideration since Oct 14, 2026)
Date Submitted: Oct 6, 2026
Open Peer Review Period: Oct 14, 2026 - Oct 14, 2026
(closed for review but you can still tweet)
NOTE: This is an unreviewed Preprint
Warning: This is a unreviewed preprint (What is a preprint?). Readers are warned that the document has not been peer-reviewed by expert/patient reviewers or an academic editor, may contain misleading claims, and is likely to undergo changes before final publication, if accepted, or may have been rejected/withdrawn (a note "no longer under consideration" will appear above).
Peer review me: Readers with interest and expertise are encouraged to sign up as peer-reviewer, if the paper is within an open peer-review period (in this case, a "Peer Review Me" button to sign up as reviewer is displayed above). All preprints currently open for review are listed here. Outside of the formal open peer-review period we encourage you to tweet about the preprint.
Citation: Please cite this preprint only for review purposes or for grant applications and CVs (if you are the author).
Final version: If our system detects a final peer-reviewed "version of record" (VoR) published in any journal, a link to that VoR will appear below. Readers are then encourage to cite the VoR instead of this preprint.
Settings: If you are the author, you can login and change the preprint display settings, but the preprint URL/DOI is supposed to be stable and citable, so it should not be removed once posted.
Submit: To post your own preprint, simply submit to any JMIR journal, and choose the appropriate settings to expose your submitted version as preprint.
Warning: This is an author submission that is not peer-reviewed or edited. Preprints - unless they show as "accepted" - should not be relied on to guide clinical practice or health-related behavior and should not be reported in news media as established information.
Deficit Loop: Closed-Loop Adaptive Calorie Targeting With Per-User AI Agents Over Consumer Messaging — Development and 7-Week Observational Field Report
ABSTRACT
Background:
Consumer weight-management tools prescribe daily calorie targets open-loop: a population prediction equation estimates energy expenditure, an intended deficit is subtracted, and the number is rarely checked against what happens to the individual. Self-reported energy intake carries a large, stable, person-specific under-reporting bias, so a weight-loss stall presents two indistinguishable failure modes — a wrong target or an incomplete log — that demand opposite interventions.
Objective:
To describe the design of the deficit loop, a deterministic closed-loop calorie-target controller operating inside per-user large language model (LLM) coaching agents over consumer messaging (SMS and WhatsApp), and to report engineering constraints and field observations from its first 7 weeks of production operation.
Methods:
The controller maintains two energy-expenditure estimates in deliberately different units: an apparent expenditure back-solved from the user's own logged meals and weigh-ins, which inherits the user's reporting bias by construction, and an anthropometric prediction in physiological units, used exclusively for safety bounds. Their ratio routes each weekly run between re-deriving the target and repairing the measurement. An absolute deficit applied in the user's own logging units yields a provable fixed-point property: the steady-state true deficit equals the intended deficit for any stable multiplicative reporting bias. All arithmetic is computed outside the generative layer, and estimator internals are structurally excluded from user-facing messages. Observations are retrospective, de-identified aggregates from production snapshots (July and September 2026) of a commercial service; there was no control group.
Results:
Across users with at least one closed-loop control window (n=29), measured expenditure ran a median of approximately 284 kcal/day below the plan's textbook-formula prediction (24/29 below) and approximately 511 kcal/day below a consumer-calculator recommendation (22/24 below) — for the median user, roughly half of the formula-promised weekly progress. On 28-day forward weight-change prediction (57 windows, 19 users), the loop nearly eliminated the formula baseline's systematic bias (−0.02 vs −0.15 kg/week) and improved median absolute error (0.26 vs 0.36 kg/week). Over 7 weeks the controller landed 65 target movements (35 down, 30 up; median absolute change 100 kcal/day), and sub-floor detection reclassified roughly half of the recently active fleet (19/36) as not having a calorie-target problem. In a scan of 3,345 outbound coaching messages, 725 (21%) "room to eat" encouragements were sent while the user's standing target exceeded measured expenditure by at least 150 kcal/day, motivating the paper's central architectural argument: in an LLM-mediated coach, the dominant harm of an over-estimated target is behavioral.
Conclusions:
Closing the loop on the prescription itself — while routing between "fix the target" and "fix the measurement" under self-report bias — is feasible at production scale inside LLM-mediated coaching, with all numbers kept outside the generative layer. This is an observational systems report from a self-selected commercial cohort, not a clinical-efficacy claim; controlled evaluation is future work.
Citation
Request queued. Please wait while the file is being generated. It may take some time.
Copyright
© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.