key: cord-0305287-jyiaqrjn authors: Phillips, N. E.; Mareschal, J.; Schwab, N.; Manoogian, E. N. C.; Borloz, S.; Ostinelli, G.; Gauthier-Jaques, A.; Umwali, S.; Gonzalez Rodriguez, E.; Aeberli, D.; Hans, D.; Panda, S.; Rodondi, N.; Naef, F.; Collet, T.-H. title: The effects of time-restricted eating vs. standard dietary advice on weight, metabolic health and the consumption of processed food: A pragmatic randomised controlled trial in community-based adults date: 2021-02-01 journal: nan DOI: 10.1101/2021.01.29.21250725 sha: c7d06e4b941c010dec480acf932bb86d61f00b6a doc_id: 305287 cord_uid: jyiaqrjn The prevalence of metabolic syndrome (MS) is increasing, affecting approximately 1 billion people. Weight loss is key to control MS components, i.e. central obesity, hypertension, prediabetes, and dyslipidemia. Here, we characterised the relationships between eating duration, unprocessed and processed food consumption, and metabolic health. In a 4-week observation phase, 213 Swiss adults recorded consumed meals and drinks with a smartphone application, and these were annotated for food processing levels according to the NOVA classification. Regression analysis showed that the number of unprocessed food items showed the highest number of significant relationships with MS components after age and sex. Next, in a randomised controlled trial, we tested whether 12-hour time-restricted eating (TRE) for 6 months leads to metabolic benefits compared to standard dietary advice (SDA), in adults who ate >14h per 24h cycle and had at least one MS component. Twenty-eight adults were randomised to TRE and lost 1.6% of initial body weight (SD 3.0%, p = 0.02), compared to the 26 in the SDA arm whose weight was stable (-1.1%, SD 3.4%, p = 0.17). No significant difference in body weight reduction was observed between TRE and SDA (p = 0.56). Overall, our results show the promise of smartphone records to predict metabolic health, and highlight that further research is needed to understand individual responses to TRE and SDA. The prevalence of the metabolic syndrome (MS) is increasing worldwide, affecting approximately 1 billion people [1] . MS is a cluster of different clinical conditions (called thereafter MS components, i.e. central obesity, elevated blood pressure, impaired glucose tolerance, and dyslipidaemia) which share common mechanisms [2] . This puts a substantial proportion of the population at risk for cardio-metabolic diseases, such as myocardial infarction, stroke, diabetes and their long-term complications [3] . Weight loss is a key factor to control MS components. Even a 5% weight loss is associated with metabolic benefits [4] , but most patients struggle to achieve and maintain weight loss by lifestyle modifications (i.e. healthy diet and increased physical activity). Current pharmacological options are not always efficacious and tolerated [5] , and bariatric surgery is reserved for patients with severe obesity and requires close follow-up [4] . This explains the strong interest in new approaches to address isolated obesity (i.e. without comorbidities) or multiple MS components. Recent animal and human studies have highlighted the role of eating timing in addition to the amount of calorie intake. These approaches are often called intermittent or periodic fasting and recommend various dietary regimens on daily, weekly or monthly timescales [6, 7] . One form of intermittent fasting, called time-restricted eating (TRE), limits energy intake to certain windows of time within the 24-hour cycle without restrictions on calories or macronutrients [8, 9] . In human studies, TRE can lead to weight loss even without deliberate calorie restriction [10] [11] [12] [13] [14] , but this could result from a loss of both lean and fat mass [15] . The observed outcomes on glucose metabolism have been mixed, with effects on HbA1c [11, 16] , fasting glucose [17] , insulin sensitivity [18] , or the area under the curve of continuous glucose measurement [19] . However, an important and unaddressed question is whether TRE can lead to health benefits beyond the standard dietary advice (SDA) which is part of the clinical standard of care to address MS and isolated obesity [4] . Mobile technologies hold great promise to track daily eating behaviour and improve metabolic health during daily routine. They offer potential advantages over more traditional methods, such as food diaries or food questionnaires, by avoiding memory recall bias and minimising negative feedback and the Hawthorne observer effect [20] . In a landmark study using the smartphone application MyCircadianClock [10] , Gill and Panda remotely collected data on eating behaviour to identify adults that may benefit from TRE. Once data are remotely collected, a key question is how we subsequently characterise the relationship between the ingestion events and metabolic health. One possibility is to use photographs and annotations to estimate the number of calories in each consumed meal and drinks. This requires either asking participants to record exact weights and ingredients of meals [21] , or a semiquantitative estimation of all pictures by trained dieticians based on reference tables and standard recipes. Beyond calories and macronutrient content, food quality can be assessed using systems such as the NOVA classification, which devised four categories to rank food from unprocessed to ultra-processed [22] [23] [24] . To date, it is not established whether NOVA classification of meals and drinks events recorded by smartphone carries predictive information across multiple metabolic health indicators. The goals of our study were two-fold. First, we characterised the relationships between eating duration, unprocessed and processed food consumption, and metabolic health using a smartphone application in the Swiss adult population over 4 weeks. Second, we investigated whether a 12-hour TRE leads to metabolic benefits compared to SDA in a pragmatic randomised controlled trial lasting 6 months. The SwissChronoFood trial is an open-label pragmatic randomised controlled trial evaluating the metabolic effects of TRE vs. SDA (clinicaltrials.gov no NCT03241121, Kofam.ch no SNCTP000002259). People aged ≥ 12 years were eligible, although only adults (≥ 18 years old) are reported in this article. Each participant signed a written consent form (see Institutional Review Board Statement below). The study comprised an observation phase to assess the baseline metabolic parameters and the daily eating behaviour of community-based adults using a research-dedicated smartphone application over 4 weeks. The recruitment was done via posters, online adverts and social media in two different language and cultural regions of Switzerland, i.e. at Lausanne University Hospital, Lausanne and at Inselspital, Bern. Inclusion criteria were adults with a body mass index (BMI) ≥ 20 kg/m 2 , stable weight (± 2 kg) over the previous 3 months, and the regular and confident use of a smartphone compatible with the MyCircadianClock application (iOS or Android systems) [10] . After 4 weeks of observation, individuals who had eaten for >14 hours per 24-hour cycle and had at least one component of MS were eligible for the intervention phase ( Figure S1 ). The criteria of each MS component followed the International Diabetes Foundation (IDF) consensus definition [2] : Central obesity was defined as BMI ≥ 30 kg/m 2 or waist circumference (WC) ≥ 80 cm (women) or WC ≥ 94 cm (men); hypertension as systolic blood pressure (BP) ≥ 130 mmHg and/or diastolic BP ≥ 85 mmHg; impaired fasting glucose for plasma levels ≥ 5.6 mmol/L (100 mg/dL); high triglycerides for fasting plasma levels ≥ 1.7 mmol/L (150 mg/dL); and low HDL cholesterol for fasting plasma levels < 1.29 mmol/L (50 mg/dL, women) or < 1.03 mmol/L (40 mg/dL, men). In the intervention phase, participants were randomized to the TRE or SDA intervention, with a 1:1 allocation ratio and block randomization of 8 units stratified by sex and recruitment site. The intervention could not be blinded, but the allocation table was computer-generated and concealed. Those in the TRE arm were asked to limit their consumption of food and caloriecontaining drinks to a 12-hour window of their choice, with no advice on nutrition quality, quantity of macronutrients or calorie intake. Those in the SDA arm received brief nutritional counselling and were given a leaflet summarising the food pyramid and Swiss recommendations for a balanced and healthy diet [25, 26] , which is considered the standard of care. After 6 months, the metabolic measurements were repeated at the close-out visit. In addition, participants were contacted at 2 and 4 months post-randomisation to self-report their body weight and address compliance with the intervention. In addition to the eligibility criteria of each study phase listed above, we excluded pregnant and breastfeeding women, individuals with a major illness/surgery over the previous month, active cancer or under treatment over the previous 12 months, eating disorder, prior bariatric surgery, those who had been following a weight management program over the previous 3 months, shift workers, and those travelling to a different time zone during the observation phase. Additionally for the intervention phase, we excluded adults with cardiovascular disease (e.g. coronary heart disease, cerebrovascular disease, peripheral artery disease), major liver, gastrointestinal, renal, endocrine or sleep disorders, diabetes mellitus with hypoglycaemic drug(s), those on centrally-acting medications (benzodiazepines, zolpidem, zopiclone, antidepressants, neuroleptics and psychotropic drugs), lipid-lowering drugs, and medications affecting gut absorption, transit or weight. Modifications to the study protocol. In the original protocol, we planned to randomise only participants with MS following the IDF consensus definition, i.e. those with central obesity and at least two other MS components [2] . This population proved difficult to recruit because the Swiss adult population has a lower prevalence of obesity than in most Western countries [27] , thus leading to an even lower prevalence of MS. The inclusion criteria for the intervention phase were relaxed after 5 months of recruitment: Those who had eaten for >14 hours per 24-hour cycle and had at least one component of the metabolic syndrome (MS) were eligible for the intervention phase ( Figure S1 ). Participants were instructed to take pictures of all consumed food, drinks and medications with the research-dedicated myCircadianClock smartphone application [10] . Recorded entries included a timestamped picture and a free text annotation. Participants could annotate photographs either immediately, or in the following hours. Optionally, participants could type text only entries without any picture, e.g. if the smartphone ran out of battery, or if it was not socially acceptable to take pictures in the current context. The eating duration was calculated from the timestamp of all recorded ingestion events (food items, drinks, except for water and medications) during the observation phase [10, 15] . In order to be less sensitive to outliers (special days with time shifts in ingestion events) or entry errors, the eating duration was defined as the time interval between the 2.5 th and the 97.5 th percentiles of all timestamped ingestion events. To account for the social consumption habits and the nadir of food entries, we calculated the percentiles using a start time of 04:00am as defined previously [10] , which also corresponded to a low point of ingestion events in this study ( Figure S2) . The eating duration of the intervention phase was estimated in a similar fashion. Participants did not receive feedback on their eating duration until the end of the observation phase. They were regularly reminded to record ingestion events at pre-planned regular phone calls or via email after 2 weeks of observation, and after 2 and 4 months of intervention ( Figure S1 ). We developed an analysis pipeline using Python scripts to categorise the free text annotations of all recorded ingestion events in the observation and intervention phases. To ensure good coverage and improve the number of text entries with an assigned NOVA category, we performed the following pre-processing steps: 1) Each text entry containing multiple food items separated by commas were split into multiple text entries; 2) Numbers, semiquantitative terms (e.g. "slice", "glass", "piece", "half"), units (e.g. "grams", "deciliters", is the author/funder, who has granted medRxiv a license to display the preprint in (which was not certified by peer review) preprint The copyright holder for this this version posted February 1, 2021. ; https://doi.org/10.1101/2021.01.29.21250725 doi: medRxiv preprint "spoons") and multiple blank spaces were removed. 3) We then counted the number of unique text entries using the Tokenizer function in Keras (Python module, version 2.2.4). Free text annotations sometimes comprised typos and spelling variations, and to correct for this we further processed words based on the Levenshtein distance (Python module python-Levenshtein, version 0.12.0). The Levenshtein distance between two words is the minimum number of single-character changes (substitutions, insertions or deletions) that is required to transform one word into the other. For any two entries with a Levenshtein distance of one, the entry with the largest number of counts was preferred e.g., "ham piza" would be transformed into "ham pizza" if the second entry had more counts across all recordings. 4) Finally, text entries that were recorded only once were not included in this analysis. From a total of 17,438 unique entries, 11,030 were recorded once and 6408 were recorded more than once, but this filtering still gave high coverage due to the fact that some items are frequently used. For example, the top entry "cafe" ("coffee" in English, "Kaffee" in German, and many other spelling variants) was used 3031 times. The full list of recorded entries (including the single entries), their frequencies, and processing steps is included as Supplementary File 1. We assessed food processing according to the qualitative NOVA classification, which uses four categories to rank food from unprocessed to ultra-processed [22] [23] [24] . There was no attempt to assess quantitatively the macronutrient intake, number of calories, or types of food items. In addition to the 4 NOVA categories (NOVA1: 'Unprocessed or minimally processed foods', NOVA2: 'Processed culinary ingredients', NOVA3: 'Processed foods', NOVA4: 'Ultra-processed foods'), we added categories for beverages grouped into 'Alcohol-containing drinks' (A), 'Caffeinated drinks' (C), 'Sweet drinks' (S), and 'Other drinks' (D). With this extended classification, each drink entry could therefore be assigned multiple categories, for example the soda Coca-Cola was an ultra-processed, caffeinated and sweet drink (abbreviated NOVA4-CS), coffee with sugar and milk was a NOVA2, caffeinated and sweet drink (abbreviated NOVA2-CS), and a black tea was a NOVA1, caffeinated drink (abbreviated NOVA1-C). The pre-processed text entries were annotated using the extended NOVA classification by 4 independent reviewers (J.M., N.P., S.U., T.H.C.). A category was assigned to a given entry if a minimum of 3 reviewers selected the category. A consensus was reached for the remaining entries by at least 3 reviewers. For entries collected in German (at the Bern research site), representing 16.4% of all entries, the entries were annotated by a single reviewer (T.H.C.) due to language considerations. Some food entries required assumptions on their base recipes and ingredients. Items were assumed to be homemade unless stated otherwise [28, 29] , with limited exceptions (e.g. chocolate-containing food and drinks, biscuits, toast and soft bread, croissants, pizza, burgers, plant-based drinks) because they most often involve food processing. A single dish composed of multiple items and ingredients was assigned the single highest NOVA category based on their base recipe. A full list of annotated entries is provided in the accompanying Supplementary File 2. For participants randomised to TRE or SDA, we quantified their compliance to the allocated intervention by comparing their ingestion events to those recorded during the observation phase. We quantified the eating duration (defined in section 2.2) and the percentage of ingestion events belonging to each NOVA and drink category (defined in section 2.3). This was done separately for the observation and intervention phases to calculate the changes (Δ) pre- is the author/funder, who has granted medRxiv a license to display the preprint in (which was not certified by peer review) preprint The copyright holder for this this version posted February 1, 2021. ; https://doi.org/10.1101/2021.01.29.21250725 doi: medRxiv preprint and post-randomisation. The compliance of participants in the TRE arm was assessed according to their eating duration in the intervention phase. Participants in the SDA arm were considered compliant if the proportion of ingestion events with NOVA4 category decreased and the proportion of ingestion events with NOVA1 categories increased. The primary outcome of the study was the change in weight after 6 months following the 12hour TRE vs. SDA intervention. Weight was measured in light clothing with calibrated medicalgrade scales at baseline (visit 1), at randomisation (visit 3) and after 6 months of follow-up (visit 6, Figure S1 ). In addition, weight was measured at home and recorded at interim phone calls (visits 4 and 5). Because these weights were self-reported, they were analysed in a secondary analysis. The secondary outcomes were the changes in body mass index (BMI), WC, BP, and fasting plasma concentrations of glucose, HDL cholesterol and triglycerides. The BMI was calculated as the weight in kilograms divided by the height in meters squared. The height was measured barefoot using a calibrated stadiometer. BP was measured three times with a calibrated BP monitor (Omron device) and an appropriately sized arm cuff, after 5 minutes of rest in the sitting position, and the last two values were averaged. We measured other metabolic parameters, such as glycated haemoglobin (HbA1c), using standard biochemistry assays at the same time points. Body composition was measured by whole-body dual energy X-ray absorptiometry (DXA, GE Healthcare Lunar iDXA at Lausanne site, GE Healthcare Lunar Prodigy Advance at Bern site) following international guidelines [30] . With minimal ionising radiation, DXA can assess total lean mass, fat mass, and body fat percentage [31] . The visceral adipose tissue (VAT) was computed by subtracting subcutaneous adipose tissue from the total android fat mass [32] . At baseline, sleep quality was assessed with the Pittsburgh Sleep Quality Index (PSQI) [33] and physical activity with the International Physical Activity Questionnaire (IPAQ) [34] . Sleep duration and the mid-point of sleep were assessed on work days and free days using the Munich Chronotype Questionnaire [35] . 2.6. Statistical analyses Data are reported as mean ± standard deviation (SD), or median (interquartile range, IQR) if not normally distributed. Comparisons between groups or sex were calculated with the Chi 2 statistic (or exact Fisher test where appropriate) for categorical variables, or Student t-test for continuous variables. Paired sample t-tests were performed (Scipy module in Python, version 1.2.1; Stata software package, version 16.1) to test for the null hypothesis that pre-and postintervention measurements had identical mean values. Non-paired t-tests were used to compare the differences between the TRE and control group (which have different numbers of participants). A two-tailed p-value of < 0.05 was considered statistically significant. All analyses were performed with the intention-to-treat approach. Sample size calculations were based on general assumptions as no randomized controlled trial of TRE was published at the time of study design. Gill is the author/funder, who has granted medRxiv a license to display the preprint in (which was not certified by peer review) preprint The copyright holder for this this version posted February 1, 2021. ; https://doi.org/10.1101/2021.01.29.21250725 doi: medRxiv preprint estimated attrition rate of 25%, this difference was expected to be observed with 20 participants (10 in the TRE arm, 10 in the SDA arm). Bayesian linear regression [36] was performed using data from the observation phase to quantify the relationship between the explanatory variables and the outcome variables (clinical measurements related to metabolic health). The explanatory variables included: age, sex, the number of ingestion events for each of the NOVA and drink categories, eating duration, the midpoint of sleep on work/free days, sleep duration on work/free days, sleep quality (PSQI), and physical activity (IPAQ). For each of the participants ! = 1, . . . , & there is a set of ( explanatory variables ) ! = () !" , . . . , ) !# ) and a set of , clinical measurements -! = (-!" , . . . , -!$ ). The linear regression model for each clinical measurement . for participant ! is then given by where for each clinical measurement . there is a vector of regression coefficients 0 % = (0 %" , . . . , 0 %# ) and a parameter 1 % to quantify the SD of the observation error. The clinical measurements were log-transformed before further analyses to make the distributions closer to a normal distribution, and we normalised both the clinical measurements and the explanatory variables by subtracting the mean and dividing by the standard deviation. In the Bayesian regression, we used priors of 1 % ∼ &(0,1) and 0 %' ∼ &(0,0.1) to regularise the inference problem. Posteriors for the regression coefficients and parameters were inferred by the Hamiltonian Monte Carlo sampler in the STAN probabilistic programming language [37] with 4 different chains of 1000 samples each. To perform variable selection, we fitted the model with all variables and then only selected variables if 95% of the parameter estimates were greater or less than one. To validate predictive performance of the regression models we performed leave-one-out cross-validation (LOO-CV) whereby a test participant was removed from the data and the model was optimised using the remaining participants. The 3 ( value was then calculated using the predictions on the test participants. For participants randomised to TRE or SDA, we performed a secondary analysis using the weight measurements at visits 1 and 3 (the observation phase) and visit 6 (6 months after the start of intervention), but also the self-reported weights at visits 4 and 5 (2 and 4 months after start of intervention, respectively). For each participant, we could then estimate the change in weight using the following quadratic model where -(4) is the weight measurement (kg) at time 4, 4 is time in months after the start of intervention, 5 is the starting weight (kg), 7 is the regression coefficient for the linear rate of weight loss (in kg/per month) while 8 is the regression coefficient for the quadratic term (in kg/per month 2 ), and 9 is a normally distributed noise term with mean 0 and standard deviation 1 ) to account for measurement noise and natural fluctuations in weight. The quadratic term was included to account for weight time series that showed a nonlinear, curved profile. The two weight measurements in the observation phase (visits 1 and 3) are considered as 4 = 0. After performing parameter inference, this approach provides confidence bounds on the weight change for each participant. is the author/funder, who has granted medRxiv a license to display the preprint in (which was not certified by peer review) preprint The copyright holder for this this version posted February 1, 2021. ; https://doi.org/10.1101/2021.01.29.21250725 doi: medRxiv preprint Out of the 729 adults screened for eligibility, 511 did not meet the criteria (detailed in Figure 1 ). We included 218 adults in the observation phase, but had to exclude 5 individuals just after inclusion for undisclosed psychiatric disorders, or a BMI lower than self-reported. Therefore the observational data of 213 adults could be analysed. Next, we randomised 28 participants to TRE and 26 to SDA intervention. Of note, 2 individuals allocated to the SDA arm had to be excluded the day after randomisation [38] , when it was learnt that they met an exclusion criteria for the intervention phase (regular use of statin or antidepressant). The 213 adults in the observation phase had a mean age of 40.1 years (SD 13.3, range from 18 to 77) and 71% were women ( Table 1 ). The median BMI was 24.9 kg/m 2 (IQR 22.6 to 29.1). Central obesity was found more often in women (55%) than in men (39%, p=0.04). On the other hand, hypertension, impaired fasting glucose and elevated triglycerides were more prevalent among men than women (all p ≤ 0.002). While the mean fasting plasma glucose was 5.2 mmol/L (SD 0.6) in men and 4.9 mmol/L (SD 0.5) in women (p=0.0001), the HbA1c levels were comparable between sex (p=0. 19) . Following the IDF definition [2] , the prevalence of MS was not statistically different between men (21%) and women (11%, p=0.055). When looking at MS components separately, 38% had no MS component, 27% a single MS component, 21% two MS components, and 14% three or more MS components. We therefore decided to include participants with at least one MS component at baseline (section 2.1). 3.3. Correlation of metabolic health with unprocessed and processed food consumption at baseline A total of 88.7% of ingestion events (out of 102,072 events) were annotated, of which 2.4% were removed as they were water or flavoured water, 1.2% were medications, and 1.5% had text that was not sufficiently informative to be fully annotated. The remaining 11.3% of ingestion events were not annotated because they represented single entries. Of the annotated ingestion events, unprocessed or minimally processed foods (NOVA1) represented 45.9%, processed culinary ingredients (NOVA2) 13.1%, processed foods (NOVA3) 18.2%, and ultra-processed foods (NOVA4) 22.9%. Drink entries were also classified according to the newly devised categories: Alcohol-containing drinks (A) represented 2.9% of the annotated entries, caffeinated drinks (C) 11.1%, sweet drinks (S) 2.5%, and other drinks (D) 5.0%. Some entries were designated multiple categories, and the overlap between different categories is shown in Table S1 . We next examined whether the classification of ingestion events, questionnaires on sleep and physical activity contained predictive information for each metabolic health parameter at baseline in a Bayesian linear regression. We only report here the significant coefficients (Figure 2A) . The regression coefficient for age was significant for all metabolic health parameters except HDL cholesterol. The regression coefficient for sex was significant for 5 out of 8 of the metabolic health parameters, and the estimated coefficients for women were negative for WC, systolic BP, triglycerides and glucose, which is in line with their lower values is the author/funder, who has granted medRxiv a license to display the preprint in (which was not certified by peer review) preprint The copyright holder for this this version posted February 1, 2021. ; https://doi.org/10.1101/2021.01.29.21250725 doi: medRxiv preprint typically seen among women. Out of the ingestion events, the number of unprocessed food items (NOVA1) had the highest predictive performance. It was negatively associated with BMI, WC and diastolic BP, and positively associated with HDL cholesterol. The ingestion of ultraprocessed food items (NOVA4) was positively associated with WC. The consumption of alcohol-containing drinks (NOVA-A) was positively associated with HDL cholesterol, and caffeinated drinks (NOVA-C) with triglyceride levels. Finally, the level of physical activity (IPAQ) was negatively associated with BMI, WC and triglycerides, and positively associated with HDL. Given that age and sex were frequently found to have significant regression coefficients (Figure 2A) , we wanted to confirm that the inclusion of the additional explanatory variables from ingestion events and questionnaires increased predictive performance. Indeed, the R 2 values calculated on test participants using LOO-CV showed that inclusion of those variables increased predictive performance for BMI, WC and HDL cholesterol, while there was no improvement in performance over age and sex alone for systolic and diastolic BP, triglycerides, glucose and HbA1c ( Figure 2B ). Of note, there was a negative relationship between eating duration and sleep on work days and glucose levels, and also sleep on work days and diastolic BP levels, but this did not lead to substantially increased predictive performance when these variables were included. We evaluated the changes in fraction of NOVA categories and in eating duration between study phases to quantify compliance to each intervention (TRE and SDA) after randomisation. Relative to baseline, those in the SDA arm significantly increased the proportion of unprocessed or minimally processed food (NOVA1, +5.8%, SD 10.2, p = 0.01) and significantly decreased the proportion of ultra-processed food (NOVA4, -6.4%, SD 10.9, p < 0.01, Figure 3A) . The increased consumption of NOVA1 items in the SDA group was significant compared to TRE (p < 0.01, Table S2 ). There were other changes in the number of processed food items (NOVA3) in the TRE arm and processed culinary ingredients (NOVA2) in the SDA arm, but with borderline significance (Figure 3A) . No significant changes were observed for the consumed drink categories. The timestamp of each ingestion event allowed the assessment of changes in eating duration during the intervention phase (Figure 3B-C) . The TRE intervention shortened the eating duration compared to baseline (-3.0h, SD 1.6), which was due to a later start of the eating interval (+1.6h, SD 1.1) and an earlier end of the eating interval (-1.4h, SD 1.1, all p < 0.01). Changes of the eating interval after TRE were all statistically significant compared to SDA (all p < 0.01 for pairwise comparisons, Table S2 ). The changes in NOVA categories in the SDA arm on the one hand, and changes in eating duration in the TRE arm on the other hand, confirm that participants followed the randomly allocated intervention, and the absence of crossover or contamination between study arms. We measured the changes in clinical outcomes relative to baseline (Table S3 ) and compared the metabolic effects of TRE and SDA. After 6 months, those randomised to TRE lost 1.6% of initial body weight (SD 2.9, p = 0.01), compared to the absence of weight loss with SDA (-1.1%, is the author/funder, who has granted medRxiv a license to display the preprint in (which was not certified by peer review) preprint The copyright holder for this this version posted February 1, 2021. ; https://doi.org/10.1101/2021.01.29.21250725 doi: medRxiv preprint SD 3.5, p = 0.19, Figure 4A) . Thus, there was no significant difference in weight loss between TRE and SDA (between-group difference -0.5 kg, 95% confidence interval -2.4 to 1.4, p = 0.61, similar results with non-parametric tests). While the average change in weight in both arms was modest, some participants close to 10% of initial body weight (Figure 4B) . We next used all recorded weights to model the weight loss for each individual. We estimate that in the TRE group 2 participants gained weight and 9 lost weight, whereas in the SDA group 3 participants gained weight and 7 lost weight ( Figure 4C) . We also assessed whether differences were observed in the secondary outcomes, i.e. changes in BMI, WC, systolic and diastolic BP, HDL cholesterol, triglycerides, glycated haemoglobin, fasting plasma glucose levels (Figure S3) , and body composition ( Figure S4) . However, the observed changes in these metabolic outcomes were not statistically significant between TRE and SDA ( Table 2) . Finally, there were no major changes in the number of MS diagnosis following the full IDF definition. For those with complete data, in the TRE group 5 out of 22 participants had MS at baseline, and one more participant was diagnosed with MS after intervention. In the SDA group, 5 out of 18 participants had MS at baseline, and one participant "gained" MS diagnosis and one participant "lost" MS diagnosis after 6 months. 3.6. Weight loss during the TRE intervention is associated with the number of events recorded in the observation phase Finally, we assessed potential explanatory variables that were associated with increased weight loss in the TRE arm. While we found no significant association with either sex, age, weight at baseline, reduction in eating duration or the eating duration during the intervention phase (Figure 5) , we found a positive correlation between the percentage of weight loss and the number of ingestion events recorded during the observation phase (p = 0.01, Figure 5F ). In our study, we characterised the relationship between eating duration, unprocessed and processed food consumption, and metabolic health. We found that the fraction of unprocessed food out of all ingestion events was positively associated with HDL cholesterol and negatively associated with BMI, waist circumference and triglycerides. The additional information from unprocessed and processed food consumption improved metabolic health modelling. Next, we investigated whether a randomised dietary intervention could lead to weight loss in a pragmatic community-based setting. Adults with at least one MS component and eating >14 hours per 24-hour cycle lost 1.6% (SD 2.9) of body weight with a self-selected 12-hour TRE, keeping in mind that this intervention group was not reminded about standard dietary guidelines. There was no significant difference in weight loss between TRE and SDA (between-group difference -0.5 kg, 95% confidence interval -2.4 to 1.4, p = 0.61). Mobile technologies hold the potential to track daily behaviour and improve metabolic health. This novel approach offers advantages over more traditional methods, such as food diaries or food questionnaires, as it avoids memory recall bias and minimises negative feedback and the Hawthorne observer effect [20] . Close monitoring of eating behaviour can only be achieved in closed facilities, but this limits the applicability of findings to real-life settings. Furthermore, smartphone applications can offer more flexibility to participants by allowing photos to be taken and then annotated at a later time, and the record of consumed meals can be hidden in is the author/funder, who has granted medRxiv a license to display the preprint in (which was not certified by peer review) preprint The copyright holder for this this version posted February 1, 2021. ; https://doi.org/10.1101/2021.01.29.21250725 doi: medRxiv preprint order to minimise feedback that may lead to behavioural changes, which has been successfully used in previous studies [10] . In addition to observing community-based adults, the data from smartphone apps can help identify participants that may benefit from dietary interventions and subsequently evaluate compliance. In our study, the ingestion events were recorded remotely with a smartphone application and their level of food processing was assessed with the NOVA classification. We found a positive correlation between ultra-processed food (NOVA4) consumption and waist circumference. This is in line with the association of ultra-processed food consumption and obesity in epidemiological studies in Sweden [39] and the US [40] . In a large longitudinal French cohort, higher consumption of ultra-processed food was associated with increased BMI and a higher risk of developing overweight/obesity [41] . At the other end of the spectrum of food processing, the number of unprocessed food items (NOVA1) showed the highest number of significant relationships with MS components after age and sex in our study. The fraction of unprocessed food events (NOVA1) was positively associated with HDL and negatively associated with BMI, waist circumference and triglycerides. Our findings match the current recommendations favouring unprocessed or minimally processed food in everyday diet and limiting processed food to curtail the obesity epidemic and improve metabolic health [41] . The NOVA classification does not specifically address drinks. Beverages are spread across NOVA categories following their level of food processing: Coffee and tea are considered unprocessed (NOVA1), wine and beer processed through fermentation (NOVA3), while soda, energy drinks, and spirits are ultra-processed (NOVA4). We proposed and implemented here an extension to the standard NOVA classification [22] [23] [24] , by splitting all ingestion events with beverages into alcohol-containing drinks (NOVA-A), caffeinated drinks (NOVA-C), sweet drinks (NOVA-S), and other drinks (NOVA-D). In our study, moderate alcohol consumption was associated with increased HDL cholesterol [42] . We found a positive association between triglycerides and caffeinated drinks. Meta-analysis on the effects of coffee consumption on serum lipids previously showed a positive dose-response relation between coffee intake, cholesterol and triglycerides [43] . Overall, our extension of the NOVA classification to beverages seems to align with already known metabolic links, and the significant associations found between the NOVA processed data and clinical measurements demonstrates the potential of using smartphone food logs for predicting cardiometabolic health. In a randomised trial, we compared the effects of TRE vs. SDA on metabolic health. We first confirmed compliance with the TRE and SDA interventions, thanks to the timestamp and the text annotation of each ingestion event, respectively. We could also confirm the lack of crosscontamination between both arms, which is a known risk of unblinded trials [44] . Compared to baseline, TRE significantly reduced body weight (-1.6%, SD 2.9), but this reduction in body weight was not significant when compared to SDA. One possible reason for the modest reduction in body weight is that the eating window needs to be shorter to benefit from TRE, or the clock time of eating window might play a role in metabolic benefits of TRE [18] . Previous studies of TRE reported weight loss with a reduction of eating duration to 10 hours [10, 11, 15] or even shorter duration (6 hours) [18] . In our study, the eating window was 12-hour long for feasibility reasons: The intervention lasted for 6 months and was trialled in a pragmatic RCT to be applicable to a broader population. Interestingly, rodent studies have shown a doseresponse effect in the prevention of obesity with 8-hour TRE leading to maximum benefits, is the author/funder, who has granted medRxiv a license to display the preprint in (which was not certified by peer review) preprint The copyright holder for this this version posted February 1, 2021. ; https://doi.org/10.1101/2021.01.29.21250725 doi: medRxiv preprint while 12-hour TRE showed fewer benefits [9] . In human studies, a potential dose-response effect is less clear. This may be explained by the fact that rodent studies were done during their entire lifespan, while human studies are relatively short compared to the human lifespan. While they might lead to lower compliance on the long-term, future studies should focus on more stringent forms of TRE, i.e. a shorter eating duration such as 8 or 10 hours, should test the intervention for longer follow-ups, i.e. one year or more, while regularly checking compliance to the intervention. Finally, using all weight measurements across 5 different visits combined with a regression model allowed the estimation of weight loss for each individual. This showed that some participants seemed to respond well to 12-hour TRE, and the estimated weight loss was significant for 9 of the 25 participants. Given that there were no strong predictors of weight loss, the heterogeneous responses could arise from personal sensitivities to food timing that result from as yet unknown factors, and further research is needed to reveal the underlying causes. Our study has limitations. First, the self-reported ingestion events via a smartphone application could be subject to missing ingestion events and missed photographs. However, the free text annotation feature could be used after the fact, if it was socially unacceptable or impossible to take a picture at the time. The timestamp of pictures could not be edited by participants and all smartphones automatically synchronise their date and time with a time server when online. The chance of mistimed ingestion events was therefore minimal. Second, the unblinded nature of the study and the compliance to the intervention are limitations shared with other trials of dietary interventions [44] . As advised by the CONSORT nonpharmacological trial guidelines, we assessed compliance with the NOVA classification and eating duration, but it's technically conceivable that one individual willingly limited their pictures of meals and drinks only within their assigned TRE window, and not outside of it. Because the motivation of participants was high, we find this unlikely. Our study shows the potential of mobile technologies to record eating behaviour remotely and establish relationships with metabolic health. The NOVA classification proved to be a good compromise for summarising nutrition quality. Specifically, annotating ingestion events with NOVA categories remained feasible since a fully quantitative evaluation of eating behaviour is not realistic in large studies. The fact that the NOVA categories were selected in the regression model justifies the approach, and we showed that the inclusion of the smartphone and questionnaire data led to an increase in predictive performance for metabolic health. The randomised trial of TRE vs. SDA confirmed that a TRE intervention is feasible over 6 months in a broad population, but probably requires a shorter eating window for increased benefits on weight loss and other MS components. is the author/funder, who has granted medRxiv a license to display the preprint in (which was not certified by peer review) preprint [34] . The Global Epidemic of the Metabolic Syndrome Harmonizing the Metabolic Syndrome: A Joint Interim Statement of the International Diabetes Federation Task Force on Epidemiology and Prevention; National Heart, Lung, and Blood Institute Metabolic Syndrome and the Risk of Cardiovascular Disease in Older Adults Association of Pharmacological Treatments for Obesity With Weight Loss and Adverse Events: A Systematic Review and Meta-Analysis Health Effects of Intermittent Fasting: Hormesis or Harm? A Systematic Review Flipping the Metabolic Switch: Understanding and Applying the Health Benefits of Fasting Time-Restricted Eating to Prevent and Manage Chronic Metabolic Diseases App Reveals Erratic Diurnal Eating Patterns in Humans That Can Be Modulated for Health Benefits Ten-Hour Time-Restricted Eating Reduces Weight, Blood Pressure, and Atherogenic Lipids in Patients with Metabolic Syndrome Effects of 8-Hour Time Restricted Feeding on Body Weight and Metabolic Disease Risk Factors in Obese Adults: A Pilot Study A Pilot Feasibility Study Exploring the Effects of a Moderate Time-Restricted Feeding Intervention on Energy Intake, Adiposity and Metabolic Physiology in Free-Living Human Subjects Time-Restricted Eating and Metabolic Syndrome: Current Status and Future Perspectives Time-Restricted Eating Effects on Body Composition and Metabolic Measures in Humans Who Are Overweight: A Feasibility Study Adherence to Time-Restricted Feeding and Impact on Abdominal Obesity in Primary Care Patients: Results of a Pilot Study in a Pre-Post Design Effect of Time Restricted Eating on Body Weight and Fasting Glucose in Participants with Obesity: Results of a Randomized, Controlled, Virtual Clinical Trial Early Time-Restricted Feeding Improves Insulin Sensitivity, Blood Pressure, and Oxidative Stress Even without Weight Loss in Men with Prediabetes Time-Restricted Feeding Improves Glucose Tolerance in Men at Risk for Type 2 Diabetes: A Randomized Crossover Trial Energy Balance Measurement Working Group Energy Balance Measurement: When Something Is Not Better than Nothing Personalized Nutrition by Prediction of Glycemic Responses Ultra-Processed Foods, Diet Quality, and Health Using the NOVA Classification System The UN Decade of Nutrition, the NOVA Food Classification and the Trouble with Ultra-Processing Current Food Classifications in Epidemiological Studies Do Not Enable Solid Nutritional Recommendations for Preventing Diet-Related Chronic Diseases: The Impact of Food Processing Swiss Society for Nutrition; Federal Food Safety and Veterinary Office Pyramide Alimentaire Suisse European Food-Based Dietary Guidelines: A Comparison and Update The CoLaus Study: A Population-Based Study to Investigate the Epidemiology and Genetic Determinants of Cardiovascular Risk Factors and Metabolic Syndrome Contribution of Ultra-Processed Foods in the Diet of Adults from the French NutriNet-Santé Study Ultra-Processed Foods and Added Sugars in the US Diet: Evidence from a Nationally Representative Cross-Sectional Study The Official Positions of the International Society for Clinical Densitometry: Body Composition Analysis Reporting Dual-Energy X-Ray Performs as Well as Clinical Computed Tomography for the Measurement of Visceral Fat Dual-Energy X-Ray Absorptiometry for Quantification of Visceral Fat The Pittsburgh Sleep Quality Index -a New Instrument for Psychiatric Practice and Research International Physical Activity Questionnaire: 12-Country Reliability and Validity Life between Clocks: Daily Temporal Patterns of Human Chronotypes Bayesian Data Analysis A Probabilistic Programming Language Post-Randomisation Exclusions: The Intention to Treat Principle and Excluding Patients from Analysis Trends in Consumption of Ultra-Processed Foods and Obesity in Sweden between 1960 and 2010. Public Health Nutr Processing Level and Diet Quality of the US Grocery Cart: Is There an Association? Public Health Nutr Ultra-Processed Food Intake in Association with BMI Change and Risk of Overweight and Obesity: A Prospective Analysis of the French NutriNet-Santé Cohort Lifestyle Determinants of High-Density Lipoprotein Cholesterol: The National Heart, Lung, and Blood Institute Family Heart Study The Effect of Coffee Consumption on Serum Lipids: A Meta-Analysis of Randomized Controlled Trials for the CONSORT NPT Group CONSORT Statement for Randomized Trials of Nonpharmacologic Treatments: A 2017 Update and a CONSORT Extension for Nonpharmacologic Trial Abstracts The authors wish to thank all the participants to the study and the clinical teams who referred them to the study. The authors have no potential conflict of interest to declare. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results. The study was conducted according to the guidelines of the Declaration of Helsinki and the Good Clinical Practice. It was approved by the Ethics Committees of Vaud canton and Bern canton, Switzerland (protocol no 2017-00487). Informed consent was obtained from all participants involved in the study. The data presented in this study are available upon reasonable request to the corresponding author. The data are not publicly available due to confidentiality reasons.