The potential of artificial intelligence in enhancing adult weight loss: a scoping review

Objective: To present an overview of how artificial intelligence (AI) could be used to regulate eating and dietary behaviours, exercise behaviours and weight loss. Design: A scoping review of global literature published from inception to 15 December 2020 was conducted according to Arksey and O’Malley’s five-step framework. Eight databases (CINAHL, Cochrane–Central, Embase, IEEE Xplore, PsycINFO, PubMed, Scopus and Web of Science) were searched. Included studies were independently screened for eligibility by two reviewers with good interrater reliability (k = 0·96). Results: Sixty-six out of 5573 potential studies were included, representing more than 2031 participants. Three tenets of self-regulation were identified – self-monitoring (n 66, 100 %), optimisation of goal setting (n 10, 15·2 %) and self-control (n 10, 15·2 %). Articles were also categorised into three AI applications, namely machine perception (n 50), predictive analytics only (n 6) and real-time analytics with personalised micro-interventions (n 10). Machine perception focused on recognising food items, eating behaviours, physical activities and estimating energy balance. Predictive analytics focused on predicting weight loss, intervention adherence, dietary lapses and emotional eating. Studies on the last theme focused on evaluating AI-assisted weight management interventions that instantaneously collected behavioural data, optimised prediction models for behavioural lapse events and enhance behavioural self-control through adaptive and personalised nudges/prompts. Only six studies reported average weight losses (2·4–4·7 %) of which two were statistically significant. Conclusion: The use of AI for weight loss is still undeveloped. Based on the current study findings, we proposed a framework on the applicability of AI for weight loss but cautioned its contingency upon engagement and contextualisation.

In 2016, the WHO estimated that 39 % of the global adult population were overweight and predicted an increase to 50 % by 2030 (1,2) . Excessive fat accumulation is a major public health concern that increases one's risk of cardiometabolic multimorbidity and mortality by up to two and twenty-three times, respectively (3)(4)(5) . Concurrently, the yearly cost of treating obesity and its consequential diseases was estimated to reach US$1·2 trillion by 2025 (6) . While pharmacotherapy (e.g., orlistat) and surgical interventions (e.g., bariatric surgery) have been effective and prompt in inducing weight loss, individuals often experience subsequent weight regain due to poor lifestyle habits (7) . Therefore, cheaper and safer diet and exercise programmes remain the preferred method for weight loss where up to 55 % of weight loss programme participants could lose ≥5 % of their initial body weight within a year (8) . However, studies have shown that weight loss often culminates after 6 months and individuals often regain up to 100 % of their initial weight within 5 years (9,10) . Failure to sustain weight loss has been attributed to the poor adherence to behaviour change plans (9) , lack of motivation (11) , knowledge (12) , coping skills and self-efficacy (13) , and central to weight loss failure is the lack of self-regulation (14,15) .
Self-regulation refers to the self-monitoring and selfcontrol of automatic thoughts, emotions and behaviours to achieve a long-term goal (e.g., weight loss) (16) . Common self-regulation strategies for behaviour change include identifying discrepancies between current behaviours and future goals (17) , self-monitoring of behaviour and behavioural outcomes (18) , action planning (19) , goal setting (20) , habit change (21) and behavioural substitution (22) . However, as compared to old habits which are largely automatic and effortless, such strategies are intentional, effortful and cognitively demanding (23) . This often leads to the temporal erosion of behaviour change adherence, causing a well-known yo-yo weight effect (weight increases back to baseline) (24) . Therefore, individuals trying to lose weight often attempt to either increase self-regulation capacity through sheer willpower (25) or reduce the self-regulation effort needed through weight-loss mobile apps (26) , clinical weight management programmes (27) and commercial weight-loss programmes (28) . However, such methods are often expensive, resource-intensive and unsustainable (29) . An emerging strategy to tackle this problem of poor selfregulation is to apply artificial intelligence (AI) (30) .
AI refers to the mimicry of human intelligence through machine learning to attain and apply knowledge and skills for processes such as pattern recognition and decisionmaking. The popularity of AI stems from its potential to solve real-world problems with rationality, efficiency, costeffectiveness and accuracy. In obesity research, AI has been used to examine aetiologies (31) , perform risk profiling (32) , standardise diagnosis (decision support system) (33) , personalise weight management programmes (34) , perform remote monitoring (32) and predict prognoses (35) . However, to the authors' best knowledge, there are limited academic publications that explored the use of AI to improve behaviour change self-regulation for weight loss (36) .
Therefore, we conducted a scoping review to present an overview of the possible applications of AI to regulate eating and dietary behaviours, exercise behaviours and weight loss. Unlike a systematic review that aims to answer a specific research question, a scoping review aims to map out the 'breath, nature and extent of research' done on a topic without dwelling into the literature or assessing its methodological quality (37) . This aims to provide a comprehensive collection of articles on a specific topic, elucidate research gaps in their underexplored aspects and inform the worth of conducting a systematic review. In 2017-2018, approximately 45 % of middle-aged adults (40-59 years old), 43 % of older adults and 40 % of younger adults were obese (38) . This indicates that weight management should begin at a younger age before the onset of obesity and chronic diseases, which commonly occurs during middle-age due to a slower metabolism, increased food consumption and an increasingly sedentary lifestyle (39)(40)(41) . Therefore, the literature search was narrowed down to adults from 18-64 years old to enhance the focus and clarity of this inquiry.

Methods
This scoping review was structured according to the fivestep framework by Arksey and O'Malley, and results were presented according to the Preferred Reporting Items for Systematic Reviews and Meta-Analyses extension for scoping reviews (PRISMA-ScR) guidelines (online supplementary material, Supplemental Table S1) (42,43) .
Step 1: Identifying the research question We used the Population, Intervention, Comparison and Outcomes (PICO) acronym to develop our research question, 'what is known about the potential of AI for weight loss and weight-related behaviour change'.
Step 2: Identifying relevant studies Studies were first searched across eight electronic databases (CINAHL, Cochrane-Central, Embase, IEEE Xplore, PsycINFO, PubMed, Scopus and Web of Science) for papers published from inception till 22 July 2020. Initial search terms such as 'artificial intelligence' and 'weight loss' were iteratively derived from the PICO framework and medical subject heading through multiple rounds of database searching by the HSJC in consultation with LY. The final search terms used were 'artificial intelligence'; 'machine learning'; 'computational intelligence'; 'computer heuristics'; 'expert system'; 'fuzzy logic'; 'knowledge bases'; 'natural language processing'; 'neural networks'; 'weight loss'; 'weight management' and 'weight control' (see online supplementary material, Supplemental Table S2 for search terms used in different databases). Upon mapping the existing studies into three broad categories, we found that weight-related changes were centralised around diet and exercise. Therefore, we conducted another search for literature published up till 15 December 2020 using additional keywords such as 'diet', 'eating', 'physical activity', 'sedentary' and 'exercise'.
Step 3: Study selection After the database searching, duplicate articles were removed and the remaining titles and abstracts were screened for eligibility. Full texts of the articles were independently screened for eligibility by HSJC and WHDA where discrepancies were resolved through discussions. Studies were included if they described the use of AI for weight loss or weight loss-related behaviour change in adults aged 18-64 years. Studies were excluded if they: (1) did not describe the use of AI (e.g., purely data scraping); (2) were grey literature including conference, opinion, protocol or technical/theoretical papers; (3) were on people undergoing surgery (e.g., bariatric surgery) or with underlying diseases (excluding pre-diabetes) that affect weight status; (4) were unrelated to self-regulation and (5) were not written in the English language. Additional studies were then identified using forward and backward reference searching of the included articles. The search process and results are shown in Figs 1 and 2.
Step 4: Charting the data Data extraction was performed according to a form developed by HSJC, which was pilot tested on five articles and refined accordingly before use. Information extracted was categorised under the headersauthor, year, country, type of publication, study design, aim, population, sample size, age, sex, BMI, self-regulation tenets (e.g., selfmonitoring), AI functions (e.g., recognise eating behaviours), AI features (e.g., gesture recognition and predictive analytics), weight loss-related behaviours (e.g., dieting), machine learning techniques, data collection methods and important results. The resultant information was then charted as shown in Fig. 3.
Step 5: Collating, summarising and reporting the results

Study characteristics
As shown in Fig. 1, 1132 potential articles were retrieved from the first database search, 851 titles and abstracts were screened, 278 full-text articles were assessed and twentyeight articles were included. As shown in Fig. 2  articles were retrieved from the second database search, 3959 titles and abstracts were screened, ninety-six full-text articles were assessed and sixty-five articles were included. The kappa statistic (k) indicated good interrater reliability (k = 0·96) where discrepancies were resolved upon discussion. During the screening of full-text articles, two articles were unable to be retrieved even after seeking help from the university librarian and hence were excluded (44,45) . Two separate journal articles included in this review were published from the same dissertation (46)(47)(48) . Among the sixty-five included articles, one reported two studies and hence a total of sixty-six studies were presented in this scoping review. Representing more than 2031 participants, 56·1 % of the studies were from the USA, 87·9 % were experimental studies, 81·8 % had a sample size of < 100 participants, 89·4 % included participants from both sexes and 56·1 % reported the baseline BMI of the participants (Table 1). Study characteristics are detailed in online supplementary material, Supplemental Table S3.

Functions of artificial intelligence in self-regulation of weight loss-related behaviours
We categorised the included articles into three AI applications, namely machine perception (n 50), predictive analytics only (n 6) (47,55,82,105,107,111) and real-time analytics with personalised micro-interventions (n 10) (26,(49)(50)(51)(52)(53)(54)107) (Fig. 3). Briefly, machine perception refers to the use of machine learning to detect, extract features, classify and interpret (recognise) information that is received through wearable/ non-wearable devicesakin to our vision (camera), proprioception (gestures) and audition (sound) (112) . Predictive analysis refers to the use of historic data and statistical methods (e.g., data mining and modelling) to predict future events. Studies on predictive analytics focused on building predictive models based on behaviour data (eating and exercise), nutrition, goal achievement rates, anthropometric data, perspectives (e.g., blog posts) and ecological factors to predict weight loss and behaviour lapses. Real-time analytics refers to the instantaneous analysis of past and present data to train, test and optimise predictive models and provide  corresponding prompts of behavioural lapse risks and recommendations as micro-interventions. Only one of the studies explored the use of all three AI applications in enhancing weight loss (51) . A summary of the AI features, instruments/ sensors used, sensing domains and their corresponding functions relevant to weight management is shown in Table 3.
Predictive analytics: goal setting and action planning optimisation Six studies showed the use of AI to predict weight loss (n 1) (82) , adherence to personalised physical activity goals (n 2) (55,105) , dietary lapses (n 2) (47,107) and episodes of emotional eating (n 1) ( Table 2). Only one study collected primary data using the ecological momentary assessment (EMA), which was also the only one that reported a mean dietary lapse frequency of 3·5 per week. EMA refers to the 'repeated sampling of subjects' current behaviours and experiences in real-time, in subjects' natural environments'. None of the studies examined the applicability of these predictive models to stimulate weight loss. The sample sizes of the included studies on predictive analytics ranged from 12 to 210, of which only 83·3 % of the studies reported their participants' BMI. Mean BMI of these studies ranged from 22·1 to 33·6 kg/m 2 , which were higher than those studies on machine perception and hence possibly more applicable to overweight adults. 83·3 % of the articles reported mean ages that ranged from 22·1 to 55·2 years old, one study included only female participants and the proportion of females in the remaining studies ranged from 77 to 91·7 %. Two studies explicitly reported the recruitment of only adults who were overweight, which elucidates the unique weight loss trajectory in one who is overweight although it does not indicate strategies that are effective in weight loss (47,82) .
Real-time analytics and personalised micro-interventions: self-control Ten studies evaluated the use of AI-assisted weight management interventions that instantaneously optimise prediction models for behavioural risk profiling (e.g., low, medium and high risk) and enhance behavioural self-control through adaptive and personalised messages/feedback/prompts ( Table 4). The interventions were all delivered through smartphone apps, namely OnTrack (used in three of the included studies) (48)(49)(50) , Sweetech app (26) , Calfit app (54) , Lark's AI health coach app (53) , Think Slim app (106) , SmartCare app (51) , MyBehaviour (52) and one without a name. In general, the mobile app interventions used either wrist-worn activity       Gesture recognition To automatically detect inmeal food intake cycles using the inertial signals (acceleration and orientation Off-the-shelf smartwatch (acceleration and orientation velocity) In-meal bite detection Achieved the highest F1 detection score (0·913 in the leave-one subject-out    trackers, smartphone in-built accelerometers or EMA to track one's physical activity. Manual food logging and EMA were commonly used to track one's dietary habits (e.g., type, amount and triggers of food intake). Resultant data were then used to train the app's machine learning technology to recommend optimised goals and action plans for better self-control, adherence and success in weight loss and weight loss maintenance. More details on each intervention are shown in Table 4. Intervention duration ranged from 3 to 16 weeks of which 50 % of the studies reported the inclusion of runin periods of 1-2 weeks to collect baseline user data and assess user technological uptake and adherence (48)(49)(50)54,106) .
Of the ten studies on real-time analytics, one used Chatbots (53) and five used EMA (47)(48)(49)(50)106) . EMA frequency ranged from six to ten times a day and the number of EMA questions ranged from 15 to 21 questions. Common questions were on timing (e.g., morning; afternoon; night), location (e.g., home; work), emotions (e.g., sadness; boredom; stress), activity (e.g., watching television; socialising) physical state/ internal cue (e.g., hunger; cravings; fatigue) and situational triggers (e.g., visual food temptation/availability). The remaining three studies collected data on step count using accelerometers and food intake using manual logging through smartphone apps. Three studies (26,53,54) focused on only improving physical activity, four studies focused on only improving dietary behaviours (48)(49)(50)106) and three studies (29,51,52) focused on both. All five studies (29,48,49,50,53) on dietary lapse prevention reported percentage increases in dietary adherence, but only one study reported statistically significant results (P < 0·05), suggesting mixed findings (50) . Two of the three studies on preventing exercise lapses reported significant (P < 0·05) increases in step count and metabolic equivalent task (26,53) . This could be attributed to the personalisation of goals that were coherent with each users' lifestyle habits based on the information retrieved from their calendar apps (indicates availability for exercise) and health app (indicates activity patterns) (26) . Weight loss outcomes ranged from an average of 2·4 -4·7 % (29,(48)(49)(50)106) of which only two were statistically significant (P < 0·05) (26,50) . Three studies reported the use of Bluetooth enabled weighing machines that synchronise weight data to the users' phone apps, while the rest used manually-input weight.
Sixty percentage of the studies were randomised controlled trials, while the rest adopted observational and quasi-experimental designs. One study only recruited adults who were overweight, while the rest also included healthy adults (106) . The study sample sizes ranged from 8 to 181 participants, with mean ages ranging from 28·3 to 56·6 years old, 47-86·0% of females and a mean BMI of 27·3-37·0 kg/m 2 . Three studies reported model accuracies ranging from 69·2 to 83·8% in predicting dietary lapses, which is lower than those in the studies on machine perception (48)(49)(50) . This could be due to the inclusion of volatile complex human behavioural factors such as dietary lapse triggers into the prediction models that could have affected the model accuracies. Retention/completion rate ranged from 44 to 86% in eight of the nine studies, indicating varying levels of adherence (26,48,49,50,53,54,106) . Five studies assessed user acceptability/satisfaction using short surveys and validated instruments, namely Technology Acceptance Model Scales and Validated System Usability Scale (26,29,49,50,53) . However, the cut-off score to indicate acceptable acceptability/satisfaction was unclear.

Discussion
Through this systematic scoping review, we found and included sixty-six studies that showed the potential uses of AI in regulating eating and dietary behaviours, exercise behaviours and weight loss. We conceptualise the AI use cases as (1) machine perception to enhance selfmonitoring efficiency; (2) predictive analysis to optimise weight loss goal setting and action planning and (3) realtime analytics and personalised micro-interventions to prevent behavioural lapses. In general, the third themes seemed to be the most homogeneous where all studies described the use of a mobile phone app to monitor eating/dietary/exercise behaviours, optimise goal setting based on real-time data and delivery nudges/prompts to recommend a healthier behaviour. Predictive analytics was conducted on a wide variety of variables such as step count, energy intake, dietary lapse triggers, emotions and heart rate variability. It is noteworthy that we only found six studies that focused only on predictive modelling which could explain the heterogeneity. Machine perception was the most diverse with various recognition techniques that could be used to estimate energy intake and output. However, the accuracy of recognition technology and tracking device (e.g., in recognising food items and tracking heart rates), ease of data collection (e.g., syncing from various devices to a common data storage server for computing), degree of automaticity (i.e., risk of privacy infringement), user uptake (i.e., how adherent are the users to question prompts or machine-generated recommendations), machine learning modules (e.g., steps to prepare and analyse data and selecting the most suitable model for different datasets) and the comprehensiveness of such techniques (e.g., the number of food types that can be recognised) remains challenging. This hinders the practical implementation of AI into weight management programmes in a free-living condition, which could explain why most of the included studies are at the machine perception stage and only ten are real-life use cases for weight management. Readers should note that heterogeneity tests such as Q and I 2 were not conducted and the aforementioned observation was derived iteratively through perusal. Participants in the studies on real-time analytics and micro-interventions were generally older (seven of eight studies reported mean age of 40-57 years old) and had a higher BMI (27-37 kg/m 2 ) than the other included studies. While variables such as gender/sex/are well-known to influence the outcomes of weight management programmes due to differences in body image (111) , food intake choices (112) , self-monitoring and self-control (113) , we did not find studies that examined such differences. Future studies could include a subgroup analysis based on gender to identify gender-specific target variables that could enhance weight management outcomes. While all studies ascertained the benefits of AI in facilitating behavioural self-regulation, only two out of ten interventional studies showed statistically significant weight loss post-intervention. This could be due to the difference in intervention effects on a general compared with an overweight population (114,115) . Another reason could be due to the short interventional programme that lasted from 3 to 16 weeks, where clinically significant weight loss (> 5 % of initial body weight) is normally observed between 6-9 months postintervention (116) . On the other hand, mixed findings could also be attributed to an underpowered sample size of 43 and 55 in the studies that showed significant weight loss results as compared with the rest that ranged from 52 to 181 (29,48,49,50) . It is also possible that micro-interventions in the form of prompting affect different behaviours differently. For example, increasing physical activity may require prompts/reminders/cues to motivate an action while such prompts could have a counter-productive effect on reducing unhealthy eating as it cues the action of unhealthy eating (117) . Therefore, although we recognise the potential of AI in enhancing the completeness and convenience of behaviour change self-monitoring and self-control, its additional efficiency cannot be established as yet. Moreover, the majority of the studies were on machine perception while only ten were on real-time analytics with micro-interventions. This suggests that we are still in the infancy stage of applying AI on self-regulating weight loss-related behaviours as studies are still focused on building accurate and valid behaviour self-monitoring systems before testing its effectiveness in predicting and promoting weight loss.

Machine perception
One obvious advantage of using wearable sensors for machine perception is its potential to enhance the completeness and accuracy of data collection as it reduces respondents' self-reporting burden, a contributing factor of underreporting shown in up to 30 and 50 % of adults of normal and overweight (58,110) . This is commonly achieved through the automatic collection of objective behavioural data, eliminating the common barriers of adherence such as poor motivation, time constraints and negative moods (118) . However, none of the studies on machine perception evaluated its effects on weight loss nor behaviour change and most of the studies did not assess the accuracy of food energy estimations. This could be due to the focus on building an accurate and reliable machine perception system before assessing its validity on specific weight-related estimations. Nevertheless, studies have shown that off-loading the need for manual logging (e.g., keeping a food diary, taking pictures and scanning barcodes) reduces user burden and increases self-monitoring adherence (119,120) . Of note, research has shown that the frequency rather than accuracy of selfmonitoring is more significant in weight loss (121) . Future studies could examine the efficiency and accuracy of triangulating gesture data with image and sound in selfmonitoring for weight loss and actual weight loss.
Several limitations were reported including the lower accuracy of classifiers trained at a group rather than individual level (62,110) and assessing in a laboratory rather than free-living conditions (65,84,95) . Food recognition techniques by detecting chewing and swallowing gestures may be accurate enough to discriminate between hard and soft food items but not the exact food type especially for liquids that do not need chewing (64,70,78) . This would affect the accuracy of energy intake estimations and non-optimal recommendations were given. In terms of usability, the use of certain wearable devices such as placing electrodes over one's skin surface for electromyography may not be comfortable and applicable in a free-living condition. Some of the devices also required the user to switch them on and off before and after an eating episode, placing a certain amount of burden on the users. Physical activity may also be misclassified when one performs different types of exercises within the same assessment time frame (88,93) . Lastly, sample sizes were small and were comprised of mostly healthy young adults and hence models may not be representative of the entire population, although the data points collected were enough to develop an accurate model (89,93,97,98,104) . Future studies could take note of these limitations and address them when possible.

Predictive analytics
Positive dietary outcome expectations have been shown to significantly correlate with body fat loss (122) , weight loss and weight loss maintenance in obese individuals (123) . Studies included in this category predicted weight loss based on self-reported or accelerometer-measured exercise intensity (e.g., step count and duration), self-reported diet type (i.e., fat content and food items), the researcher measured anthropometrics, adherence to counselling interventions and socio-demographic profile (i.e., age and sex). Other predictors include weight energy consumption (124,125) , initial body composition (mainly fat percentage), social interaction on social media, negatively worded emotional blog posts (126,127) , the historical success rate in diet and exercise goal achievement and food item consumed (eating poultry was found to be associated with better goal commitment than eating porcine). These studies used clustering, decision trees, bag of visual words approach and linguistic inquiry and word count to classify the data obtained. One study included the temporal closeness of weight loss-related blog posts (i.e., timestamp) and frequency of virtual social interaction (e.g., commenting on friends' posts) into the predictive models to improve the accuracy of weight loss prediction (127) . Another study developed an algorithm based on the utilitymaximising framework to consider the irrationalities in human behaviour change in its weight loss predictive model (84) . The inclusion of such behavioural concepts could inform the future development of predictive models of public health nutrition and weight loss.
However, despite the strong influence of situational and environmental factors on behavioural self-regulation, only one study included the influence of such factors using EMA in its predictive model (48) . EMA has been shown to enhance the reliability and validity of data collected by reducing the risk of recall bias and reflect human responses in real-world settings (128) . Exercise lapses were predicted by the number of weeks one has participated in a weight loss intervention and the average daily steps in comparison to that of the previous week (47,105) . On the other hand, dietary lapses were predicted by food type (e.g., oil, pork, fruits) and self-reported EMA factors such as boredom, motivation, cognitive load and tempting food availability (50,129) . In a study on 469 overweight and obese participants who attended a behavioural weight loss programme, negative affect and social situations were identified as dietary lapse triggers at 9 months into the programme while affect, urges and situational dietary adherence were significantly associated with weight loss 12 months into the programme (130) . Neither affect, negative physical state, urges and temptations, time pressure, nor social situation was significantly associated with physical activity (130) . Suggestively, the predictors of physical activity and dietary adherence differ and future research and interventions should consider examining such differences to develop target and efficient intervention.

Real-time analytics and micro-interventions
Three studies reported significant improvements in participants' diet and exercise lapse prevention after undergoing a micro-intervention that involved behavioural lapse selfmonitoring through smartphone app nudges/prompts (26,50,53) . This coincides with a study that found a 1 % decrease in the risk of exercise lapse with every additional 10 min of physical activity, suggesting that prior event/experience with self-regulation success increases the likelihood of preceding adherence (131) . Only two studies reported a statistically significant weight loss in participants who underwent AI-assisted weight loss intervention. The randomised controlled trial with the largest sample size (n 181) only found a significant interventional effect when its interaction with diet type was considered (49) . Concurrently, this study reported the lowest completion rate of 62·9 % as compared with the two aforementioned studies with higher completion rates of 86 % (26) and 97·7 % (50) . Given that larger sample sizes reflect higher generalisability of results, this discrepancy suggests that interventional prompts could only be effective in inducing weight loss if the users react and adhere to the weight loss prompts and recommendations. This is especially when studies have shown that prompts and reminders could be deemed annoying and reduce app utilisation. Future studies should also note issues on legitimacy, privacy, the effort required and an ability to monitor behaviours and goals automatically in real-time (132) .
Potential mechanism of how artificial intelligence can be used to improve self-regulation for weight loss and weight-related behaviour changes Through this review, we highlight that a large gap in the evidence on how AI can assist in weight loss self-regulation is the lack of integration and synthesis of all three AI function categories. Therefore, we conceptualised the potential use of AI in self-regulation for weight loss based on the current findings and present it in Fig. 4. This mechanism is akin to how humans make behavioural decisions by firstly using our senses to detect and recognise certain behaviours, triggers and outcomes. Next, information is processed and learned in the brain by drawing linkages between past behaviours and current outcomes to anticipate future outcomes. Lastly, anticipations are updated based on new information while the brain decides and self-regulates behavioural outputs to achieve the desired goal (133) .
There are several research gaps. Firstly, intervention effectiveness should consider the influence of sex, age and comorbidities which are well-known primary predictors of body weight. Secondly, future studies on AI-assisted weight loss interventions could consider the influence of an obesogenic environment that presents one with various temptations and sets one up for self-regulation failure. Moreover, affect, habit strength and motivation have been well-established to be significant predictors of behaviour change and could be considered in future studies. It is noteworthy that data could be stored and retrieved from a cloud (on-demand data centres over the internet) or edge computing (near the source, e.g., smartphone) devices to allow machine learning algorithms to optimise and personalise existing weight loss predictive models (134) .

Limitations
Firstly, the lack of Chinese database could have limited our search results on the use of AI, especially when China has been rapidly developing their technological capabilities in recent years. Future studies could examine the use of AI in studies published in other languages to facilitate further discussions on the potential of AI in self-regulation for weight loss. Next, as this scoping review aimed to present the potential of AI to enhance self-regulation for weight management, a broad and comprehensive scope of the review was needed. Therefore, although some AI applications were tested on small samples of a mixture of adults who were both healthy and overweight, such articles were included due to the consideration of feasibility that they  Fig. 4 (colour online) Proposed mechanism of AI-assisted self-regulation are still at their infancy of development. Lastly, our search results could be limited to the AI applications published in academic journals and not those which have gone straight to consumer use.

Conclusion
In summary, the current study elucidated the potential use of AI to improve weight loss through a proposed framework that includes machine perception, predictive analytics and realtime analytics with micro-interventions. However, this is contingent upon other situational, environmental and emotional factors that have to be accounted for in the AI architectures. Future studies could compare the effectiveness of AI-assisted self-regulation weight loss programmes and existing behaviour change programmes to assess the resource efficiency of AI-assisted interventions.