<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article article-type="research-article" dtd-version="2.3" xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Physiol.</journal-id>
<journal-title>Frontiers in Physiology</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Physiol.</abbrev-journal-title>
<issn pub-type="epub">1664-042X</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">1225638</article-id>
<article-id pub-id-type="doi">10.3389/fphys.2023.1225638</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Physiology</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Heterogeneous temporal representation for diabetic blood glucose prediction</article-title>
<alt-title alt-title-type="left-running-head">Huang et al.</alt-title>
<alt-title alt-title-type="right-running-head">
<ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/fphys.2023.1225638">10.3389/fphys.2023.1225638</ext-link>
</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Huang</surname>
<given-names>Yaohui</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2270194/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Ni</surname>
<given-names>Zhikai</given-names>
</name>
<xref ref-type="aff" rid="aff3">
<sup>3</sup>
</xref>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Lu</surname>
<given-names>Zhenkun</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>He</surname>
<given-names>Xinqi</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Hu</surname>
<given-names>Jinbo</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Li</surname>
<given-names>Boxuan</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Ya</surname>
<given-names>Houguan</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Shi</surname>
<given-names>Yunxian</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
</contrib>
</contrib-group>
<aff id="aff1">
<sup>1</sup>
<institution>College of Electronic Information</institution>, <institution>Guangxi Minzu University</institution>, <addr-line>Nanning</addr-line>, <country>China</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>Laboratory of Intelligent Information Processing and Intelligent Medical</institution>, <institution>Guangxi Minzu University</institution>, <addr-line>Nanning</addr-line>, <country>China</country>
</aff>
<aff id="aff3">
<sup>3</sup>
<institution>Department of Electronic Science</institution>, <institution>Xiamen University</institution>, <addr-line>Xiamen</addr-line>, <country>China</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2078803/overview">Philippe Fournier-Viger</ext-link>, Shenzhen University, China</p>
</fn>
<fn fn-type="edited-by">
<p>
<bold>Reviewed by:</bold>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2337036/overview">Xijiong Xie</ext-link>, Ningbo University, China</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1569951/overview">Jiaxin Cai</ext-link>, Xiamen University of Technology, China</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Zhenkun Lu, <email>lzk06@sina.com</email>
</corresp>
</author-notes>
<pub-date pub-type="epub">
<day>17</day>
<month>07</month>
<year>2023</year>
</pub-date>
<pub-date pub-type="collection">
<year>2023</year>
</pub-date>
<volume>14</volume>
<elocation-id>1225638</elocation-id>
<history>
<date date-type="received">
<day>25</day>
<month>05</month>
<year>2023</year>
</date>
<date date-type="accepted">
<day>19</day>
<month>06</month>
<year>2023</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2023 Huang, Ni, Lu, He, Hu, Li, Ya and Shi.</copyright-statement>
<copyright-year>2023</copyright-year>
<copyright-holder>Huang, Ni, Lu, He, Hu, Li, Ya and Shi</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<p>
<bold>Background and aims:</bold> Blood glucose prediction (BGP) has increasingly been adopted for personalized monitoring of blood glucose levels in diabetic patients, providing valuable support for physicians in diagnosis and treatment planning. Despite the remarkable success achieved, applying BGP in multi-patient scenarios remains problematic, largely due to the inherent heterogeneity and uncertain nature of continuous glucose monitoring (CGM) data obtained from diverse patient profiles.</p>
<p>
<bold>Methodology:</bold> This study proposes the first graph-based Heterogeneous Temporal Representation (HETER) network for multi-patient Blood Glucose Prediction (BGP). Specifically, HETER employs a flexible subsequence repetition method (SSR) to align the heterogeneous input samples, in contrast to the traditional padding or truncation methods. Then, the relationships between multiple samples are constructed as a graph and learned by HETER to capture global temporal characteristics. Moreover, to address the limitations of conventional graph neural networks in capturing local temporal dependencies and providing linear representations, HETER incorporates both a temporally-enhanced mechanism and a linear residual fusion into its architecture.</p>
<p>
<bold>Results:</bold> Comprehensive experiments were conducted to validate the proposed method using real-world data from 112 patients in two hospitals, comparing it with five well-known baseline methods. The experimental results verify the robustness and accuracy of the proposed HETER, which achieves the maximal improvement of 31.42%, 27.18%, and 34.85% in terms of MAE, MAPE, and RMSE, respectively, over the second-best comparable method.</p>
<p>
<bold>Discussions:</bold> HETER integrates global and local temporal information from multi-patient samples to alleviate the impact of heterogeneity and uncertainty. This method can also be extended to other clinical tasks, thereby facilitating efficient and accurate capture of crucial pattern information in structured medical data.</p>
</abstract>
<kwd-group>
<kwd>continuous glucose monitoring</kwd>
<kwd>diabetes mellitus</kwd>
<kwd>time series</kwd>
<kwd>prediction</kwd>
<kwd>graph neural network</kwd>
<kwd>deep neural network</kwd>
</kwd-group>
<contract-num rid="cn001">61561008</contract-num>
<contract-sponsor id="cn001">National Natural Science Foundation of China<named-content content-type="fundref-id">10.13039/501100001809</named-content>
</contract-sponsor>
<contract-sponsor id="cn002">Education Department of Guangxi Zhuang Autonomous Region<named-content content-type="fundref-id">10.13039/501100011823</named-content>
</contract-sponsor>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Computational Physiology and Medicine</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec id="s1">
<title>1 Introduction</title>
<p>Diabetes mellitus is a chronic metabolic disorder that afflicts over 463 million adultsworldwide, posing significant health risks and economic burdens (<xref ref-type="bibr" rid="B4">Bellary et al., 2021</xref>; <xref ref-type="bibr" rid="B15">Flood et al., 2021)</xref>. Hyperglycemia is the hallmark symptom of diabetes mellitus and can lead to serious complications such as cardiovascular disease, blindness, and heart failure (<xref ref-type="bibr" rid="B9">Cole and Florez, 2020)</xref>. Blood glucose levels are crucial health indicators for patients with diabetes (<xref ref-type="bibr" rid="B25">Leelarathna et al., 2022)</xref>. Continuous Glucose Monitoring (CGM) is a medical device that enables patients to regularly track their blood glucose levels (<xref ref-type="bibr" rid="B3">Battelino et al., 2022</xref>; <xref ref-type="bibr" rid="B19">Jin et al., 2022</xref>; <xref ref-type="bibr" rid="B20">Johnson et al., 2021)</xref>. CGM data can provide valuable insights into the dynamics of glucose metabolism, which can assist in optimizing the treatment strategies for both patients and clinicians (<xref ref-type="bibr" rid="B35">Visser et al., 2023)</xref>. However, CGM data inherently exhibit heterogeneity and uncertainty, as they vary depending on the type of diabetes, duration of monitoring, and individual characteristics of each patient (<xref ref-type="bibr" rid="B28">Martens et al., 2021</xref>; <xref ref-type="bibr" rid="B13">Elbalshy et al., 2022)</xref>. Therefore, developing effective blood glucose prediction (BGP) methods based on CGM data from multiple patients remains challenging.</p>
<p>Data-driven methods have received significant attention from researchers in recent years (<xref ref-type="bibr" rid="B32">Qiao et al., 2023</xref>; <xref ref-type="bibr" rid="B39">Wang et al., 2023)</xref>, which learn potential patterns from historical observations and make inferences for the future. These methods are widely applied in healthcare, including disease prediction and diagnosis (<xref ref-type="bibr" rid="B49">Zhang P. et al., 2022</xref>; <xref ref-type="bibr" rid="B18">Huang et al., 2022</xref>; <xref ref-type="bibr" rid="B5">Cai et al., 2019)</xref>, treatment decision support (<xref ref-type="bibr" rid="B38">Wang et al., 2022)</xref>, medical image analysis <xref ref-type="bibr" rid="B6">Cai et al. (2020)</xref>, and health monitoring (such as CGM, blood pressure monitoring, body temperature monitoring, and others) (<xref ref-type="bibr" rid="B37">Wang et al., 2021</xref>; <xref ref-type="bibr" rid="B48">Zhang H. et al. 2022)</xref>. Previous studies on CGM have proposed a variety of machine learning and deep learning models for predicting blood glucose levels (<xref ref-type="bibr" rid="B36">Wadghiri et al., 2022</xref>; <xref ref-type="bibr" rid="B49">Zhang P. et al., 2022</xref>; <xref ref-type="bibr" rid="B44">Ye et al., 2022)</xref> employed the swallow machine learning method, such as random forester (RF) and support vector machine (SVM), to achieve efficient glucose monitoring. <xref ref-type="bibr" rid="B51">Zhu et al. (2023)</xref> proposed an attention-based recurrent neural network to BGP for type 1 diabetes mellitus (T1DM) patients. Both <xref ref-type="bibr" rid="B33">Rabby et al. (2021)</xref> and <xref ref-type="bibr" rid="B42">Yang et al. (2022)</xref> have designed a hybrid long short-term memory network (LSTM) and demonstrated promising performance for T1DM patients. <xref ref-type="bibr" rid="B2">Aliberti et al. (2019)</xref> attempted to use the glucose signal by multiple patients to infer a new patient glucose-level through RNN, LSTM, and auto-regressive model; <xref ref-type="bibr" rid="B10">Deng et al. (2021)</xref> presented an improved generative adversarial network to capture the temporal patterns from type 2 diabetes mellitus (T2DM) patients. Similar works also can be found from (<xref ref-type="bibr" rid="B41">Xie and Wang, 2020</xref>; <xref ref-type="bibr" rid="B30">Nemat et al., 2022</xref>; <xref ref-type="bibr" rid="B24">Lee et al., 2023</xref>; <xref ref-type="bibr" rid="B29">Mhaskar et al., 2017)</xref>. Nevertheless, the preponderance of these approaches is concentrated on personalized Blood Glucose Prediction (BGP) and lacks the capacity to be generalized to multi-patient forecasting scenarios.</p>
<p>There are three major challenges that limit the prediction accuracy. 1) <italic>Heterogeneity</italic>: Monitoring durations vary among patients, attributable to individual differences in diagnosis, treatment, and lifestyle choices. This variation undermines the effectiveness of a one-size-fits-all approach to multi-patient blood glucose prediction (<xref ref-type="bibr" rid="B14">Espinoza et al., 2023</xref>; <xref ref-type="bibr" rid="B17">Hollander and Roep, 2022)</xref>, thereby exerting a significant impact on the performance of predictive models in multi-patient monitoring scenarios. 2) <italic>Uncertainty</italic>: The uncertainty regarding the specific type of diabetes (T1DM or T2DM) can impact the accuracy of CGM predictions in multi-patient scenarios, given the significant potential divergence in the progression of these two types <xref ref-type="bibr" rid="B12">Eizirik et al. (2020)</xref>. Moreover, coordinating continuous glucose monitoring (CGM) data from multi-patients introduces additional uncertainties, especially during overlapping, partially overlapping, or non-overlapping periods. These discrepancies can influence data consistency and model reliability <xref ref-type="bibr" rid="B21">Karges et al. (2023)</xref>. 3) <italic>Correlation</italic>: The prediction model must account for potential correlations that exist across both temporal and spatial dimensions among the samples or periods <xref ref-type="bibr" rid="B49">Zhang P. et al. (2022)</xref>. These correlations could stem from shared environmental factors, similar treatment plans, or communal lifestyle habits. Neglecting these correlations can impact the accuracy of predictions <xref ref-type="bibr" rid="B45">Zale and Mathioudakis (2022)</xref>.</p>
<p>To address the aforementioned challenges, we propose a novel heterogeneous representation learning model for diabetic blood glucose prediction, called HETER (heterogeneous temporal representation network). This model can be applied to multiple patients with various monitoring durations and different types of diabetes. Compared to conventional BGP models, our proposed model structure employs the subsequence repetition (SSR) method to process the heterogeneous CGM data. This approach avoids the information loss and meaningless incorporation often experienced with traditional truncation and padding methods <xref ref-type="bibr" rid="B1">Ahmed et al. (2023)</xref>. To discover the potential correlation in both spatial and temporal dimensions within heterogeneous and uncertain CGM data, we employ a dynamic time-warping (DTW) approach. This approach measures the similarity among diverse samples and reconstructs the CGM data input from multiple patients into a directed graph. Subsequently, a graph learning component grounded on graph convolutional networks (GCNs) is devised to capture the spatial characteristics embedded in the temporal information of the graph. These characteristics are frequently neglected by traditional recurrent learning-based approaches. This is the first work to leverage a graph neural network for multi-patient BGP to the best of our knowledge. In addition, HETER integrates a combination of attention and recurrent learning mechanisms to enhance the discrimination of distinct trends and patient types, thereby improving the robustness and generalizability for heterogeneous multi-patient BGP.</p>
<p>The major contributions can be summarized below.<list list-type="simple">
<list-item>
<p>1) The use of the SSR method for aligning heterogeneous CGM data is first applied in multi-patient blood glucose prediction. This approach presents a promising solution for processing heterogeneous medical time series data without the need for data truncation or interpolation.</p>
</list-item>
<list-item>
<p>2) A novel graph-based representation learning method is proposed to extract crucial temporal information from multiple CGM time series subsequences. To address the limitations of graph neural networks in capturing continuous temporal dynamics, we incorporate a representation enhancement module, further mining pattern information across both temporal and spatial dimensions.</p>
</list-item>
<list-item>
<p>3) The proposed HETER has been comprehensively evaluated by comparing it with five well-established prediction methods using a real-world heterogeneous CGM dataset. The results demonstrate the superiority of HETER in blood glucose prediction.</p>
</list-item>
</list>
</p>
<p>The rest of this paper is organized as follows: <xref ref-type="sec" rid="s2">Section 2</xref> introduces the materials and methods used in this study, including the dataset, problem definition, and methodology. Experimental results and analysis are presented in <xref ref-type="sec" rid="s3">Section 3</xref>. <xref ref-type="sec" rid="s4">Section 4</xref> concludes the study by discussing its implications, limitations, and future research directions.</p>
</sec>
<sec sec-type="materials|methods" id="s2">
<title>2 Materials and methods</title>
<sec id="s2-1">
<title>2.1 Datasets</title>
<p>The patients of experimental data were recruited from Shanghai East Hospital (from September 2019 to March 2021), and Shanghai Fourth People&#x15b; Hospital (from June 2021 to November 2021) in Shanghai, China <xref ref-type="bibr" rid="B50">Zhao et al. (2023)</xref>. The concise overview of the dataset is visually represented in <xref ref-type="fig" rid="F1">Figures 1A,B</xref>. This dataset comprises 125 CGM records from 112 patients, including 12 individuals with Type 1 Diabetes Mellitus (T1DM) and 100 individuals with Type 2 Diabetes Mellitus (T2DM). Patient sample lengths are inconsistent, as shown in <xref ref-type="fig" rid="F1">Figure 1C</xref>. The maximum, mean, and minimum lengths of the T1DM samples stand at 1,339, 981, and 357, respectively, while for the T2DM samples, these values are 1,339, 1,031, and 247. The resolution of the data is 15 min.</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>The brief visualization of experimental data. <bold>(A)</bold> The number of patients and samples for T1DM and T2DM. <bold>(B)</bold> The length distribution of T1DM and T2DM samples. <bold>(C)</bold> The time series observations of T1DM (left) and T2DM (right) samples.</p>
</caption>
<graphic xlink:href="fphys-14-1225638-g001.tif"/>
</fig>
<p>Given these diabetes samples, three types of uncertainties arise: 1) sample length uncertainty: the lengths of each sample are inconsistent. 2) disease type uncertainty: this dataset comprises data from two types of patients, and predictions need to be made simultaneously for both types. 3) sample correlation uncertainty: potential temporal pattern associations may exist asynchronously among the various samples. These inherent uncertainties inevitably limit the accuracy of prior prediction methods, particularly when applied to the simultaneous tracing of multiple patients. In this study, we aim to build the complex relationship between subsequences for accurate prediction, utilizing a combination of graph neural networks, attention mechanisms, and recurrent learning components.</p>
</sec>
<sec id="s2-2">
<title>2.2 Problem definition</title>
<p>This section covers preliminaries of heterogeneous time series (HTS) and describes the problem of HTS prediction problems. The frequently used symbols are listed in<xref ref-type="sec" rid="s10">Supplementary Table S1</xref>.</p>
<p>The continuous glucose monitoring data, collected from diverse patients at consistent intervals, demonstrates variation in relation to both monitoring durations and the specific initiation and termination timestamps. These data can be called the heterogeneous time series (HTS) in clinical glucose monitoring <xref ref-type="bibr" rid="B11">Duch&#xea;ne et al. (2007)</xref>; <xref ref-type="bibr" rid="B46">Zhang et al. (2017)</xref>, denoted as <inline-formula id="inf1">
<mml:math id="m1">
<mml:mi mathvariant="script">D</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi mathvariant="double-struck">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mo>&#xd7;</mml:mo>
<mml:mi>L</mml:mi>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula>, where <italic>N</italic> and <italic>L</italic> represent the number of samples and the preset length of each time series, respectively. The determination of length <italic>L</italic> is contingent upon the particular data processing approach employed, such as padding or truncation.</p>
<p>In this study, we consider both single-step and multi-step blood glucose prediction problems within the framework of HTS, which can be formulated as follows:<disp-formula id="e1">
<mml:math id="m2">
<mml:mfenced open="{" close="}">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold-italic">D</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mo>&#x2026;</mml:mo>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold-italic">D</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2190;</mml:mo>
<mml:mi mathvariant="script">F</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mo>&#x2026;</mml:mo>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:math>
<label>(1)</label>
</disp-formula>where <inline-formula id="inf2">
<mml:math id="m3">
<mml:mi mathvariant="script">F</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> denotes the prediction model, <italic>t</italic> represents the beginning time step, and <italic>s</italic> is the prediction steps. <italic>T</italic> indicates the window size, which means the length of the observational window of historical data we consider when making predictions. It determines the number of input features utilized for our forecasting endeavors. <inline-formula id="inf3">
<mml:math id="m4">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold-italic">D</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> represents the predictions.</p>
</sec>
<sec id="s2-3">
<title>2.3 Methodology</title>
<sec id="s2-3-1">
<title>2.3.1 Overview</title>
<p>
<xref ref-type="fig" rid="F2">Figure 2</xref> illustrates the general framework of the diabetic blood glucose prediction methods for multiple patients in clinical applications. First, heterogeneous CGM signals are aggregated into a raw data stream and delivered into the learning structure. Then, the learning structure employs data cleaning and fusion techniques to reorganize the input data. The processed data are then fed into learning methods for predictive modeling or other analytical purposes. Finally, the predictive outcomes and analytical findings can support clinical diagnosis, treatment strategies, and the implementation of precision medicine.</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>The workflow of clinical diabetic blood glucose prediction.</p>
</caption>
<graphic xlink:href="fphys-14-1225638-g002.tif"/>
</fig>
</sec>
<sec id="s2-3-2">
<title>2.3.2 Data alignment</title>
<p>The heterogeneity and uncertainty are inherent in CGM data samples present a significant challenge to traditional personalized prediction models, impeding their generalization to multi-patient tasks <xref ref-type="bibr" rid="B7">Capobianco (2017)</xref>. Consequently, the alignment of sample lengths becomes a necessity. Truncation (TRA) and padding (PAD) are two prevalent techniques employed to ensure uniformity in sample lengths <xref ref-type="bibr" rid="B8">Chen et al. (2020)</xref>; <xref ref-type="bibr" rid="B16">Hammad et al. (2021)</xref>. Truncation, which involves reducing data to a pre-determined length, inevitably leads to the loss of potentially crucial information. On the other hand, padding, which necessitates adding artificial data to attain a specified length, risks incorporating extraneous and meaningless data, potentially reducing the accuracy of predictions.</p>
<p>To address these issues, we proposed a subsequence repetition (SSR) method to align and reconstruct the heterogeneous CGM data, as illustrated in <xref ref-type="fig" rid="F3">Figure 3</xref>. First, the input data are individually normalized to scalar values using the min-max normalization technique in order to minimize the impact of magnitude differences. The process of normalization and de-normalization is formulated as follows:<disp-formula id="e2">
<mml:math id="m5">
<mml:msup>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mo>&#x303;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msup>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>min</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mi>max</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>min</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
<mml:mspace width="7.6em"/>
</mml:math>
<label>(2)</label>
</disp-formula>
<disp-formula id="e3">
<mml:math id="m6">
<mml:msup>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msup>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mo>&#x303;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msup>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>max</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>min</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>min</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:math>
<label>(3)</label>
</disp-formula>where <inline-formula id="inf4">
<mml:math id="m7">
<mml:msup>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mo>&#x303;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula> and <italic>D</italic>
<sup>(<italic>n</italic>)</sup> denote the <italic>n</italic>th normalized data and input data, respectively. max (&#x22c5;) is the maximal values of <italic>D</italic>
<sup>(<italic>n</italic>)</sup>, and min (&#x22c5;) represents the minimal values.</p>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>The schematic illustration of subsequence repetition (SSR) method.</p>
</caption>
<graphic xlink:href="fphys-14-1225638-g003.tif"/>
</fig>
<p>Subsequently, the normalized time series data are segmented into fixed-length subsequences, each representing a continuous time period consisting of <italic>T</italic> steps (i.e., window size). The generations after segmentation can be denoted as <inline-formula id="inf5">
<mml:math id="m8">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="script">D</mml:mi>
</mml:mrow>
<mml:mo>&#x303;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">{</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mo>&#x303;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x23;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi mathvariant="double-struck">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msup>
<mml:mo>&#xd7;</mml:mo>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:mo>&#x2026;</mml:mo>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mo>&#x303;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x23;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi mathvariant="double-struck">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>B</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msup>
<mml:mo>&#xd7;</mml:mo>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
<mml:mo stretchy="false">}</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>. <inline-formula id="inf6">
<mml:math id="m9">
<mml:msup>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="script">D</mml:mi>
</mml:mrow>
<mml:mo>&#x303;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mtext>train</mml:mtext>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula> and <inline-formula id="inf7">
<mml:math id="m10">
<mml:msup>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="script">D</mml:mi>
</mml:mrow>
<mml:mo>&#x303;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mtext>test</mml:mtext>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula> are used to denote the training set and test set, respectively, after data splitting. In the test set, we maintain a consistent number of segments across all samples. Nevertheless, due to the uncertainty of sample length, the number of split segments within the training set remains inconsistent across the samples. Hence, we employ SSR to achieve alignment of segments in the training set, which can be obtained by:<disp-formula id="e4">
<graphic xlink:href="fphys-14-1225638-fx1.tif"/>
<label>(4)</label>
</disp-formula>where <italic>s</italic> denotes the prediction steps, and <italic>T</italic> is the window size. The known subsequence segments are sequentially replicated until the total segment count equals <italic>&#x3b2;</italic>, where <italic>&#x3b2;</italic> represents the maximum number of segments within the training set. The reconstructed training data can be denoted as <inline-formula id="inf8">
<mml:math id="m12">
<mml:msubsup>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="script">D</mml:mi>
</mml:mrow>
<mml:mo>&#x303;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x23;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>train</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">{</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x23;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>train</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">Y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x23;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>train</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
<mml:mo stretchy="false">}</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> and the test data is <inline-formula id="inf9">
<mml:math id="m13">
<mml:msubsup>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="script">D</mml:mi>
</mml:mrow>
<mml:mo>&#x303;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x23;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>test</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">{</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x23;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>test</mml:mtext>
</mml:mrow>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">Y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x23;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>test</mml:mtext>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
<mml:mo stretchy="false">}</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
<p>The SSR method aligns the heterogeneous input data by utilizing the known data samples to fill the null subsequences. This method might increase redundant subsequence information, but it avoids losing the original temporal dependencies of the time series data. Both padding and truncation can easily affect the distribution of raw data.</p>
</sec>
<sec id="s2-3-3">
<title>2.3.3 Graph construction</title>
<p>The model architecture of the proposed HETER is illustrated in <xref ref-type="fig" rid="F4">Figure 4</xref>. In HETER, we initially calculate the distance between each heterogeneous CGM record in the training set, then construct a sparse relation graph (SRGraph) based on the obtained distance matrix. SRGraph is capable of capturing the intricate relationships among patients by arranging the input data in a graph structure. This is particularly crucial when considering the heterogeneity of individuals&#x2019; blood glucose levels influenced by varying lifestyle choices, treatment regimens, and genetic factors. Additionally, SRGraph excels in uncovering latent correlations between samples or periods across both spatial and temporal dimensions. This makes SRGraph particularly suitable for multiple patients&#x2019; BGP, where correlations may exist but are not explicitly evident in the data.</p>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>The architecture of the proposed heterogeneous temporal representation (HETER) network.</p>
</caption>
<graphic xlink:href="fphys-14-1225638-g004.tif"/>
</fig>
<p>Due to the inconsistent sample length among patients, the distance cannot be calculated on a point-to-point basis. Consequently, we employ the dynamic time-warping (DTW) approach to align the sample lengths of the raw input data <xref ref-type="bibr" rid="B26">Li et al. (2020)</xref>. This method is a widely used approach for measuring similarity between time series <xref ref-type="bibr" rid="B27">Li (2021)</xref>. It aims to minimize the distance between two time series while aligning their sample lengths. The process can be expressed as follows:<disp-formula id="e5">
<mml:math id="m14">
<mml:mtable class="aligned">
<mml:mtr>
<mml:mtd columnalign="right">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3b3;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mo>&#x3d;</mml:mo>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">t</mml:mi>
<mml:mi mathvariant="normal">a</mml:mi>
<mml:mi mathvariant="normal">n</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="right"/>
<mml:mtd columnalign="left">
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mrow>
<mml:mi>min</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="normal">&#x39b;</mml:mi>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="normal">&#x39b;</mml:mi>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:mi mathvariant="normal">d</mml:mi>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">t</mml:mi>
<mml:mi mathvariant="normal">a</mml:mi>
<mml:mi mathvariant="normal">n</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>d</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>d</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>,</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>s</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:math>
<label>(5)</label>
</disp-formula>where <italic>&#x3b3;</italic>
<sub>
<italic>i</italic>,<italic>j</italic>
</sub> represents the calculated distance between samples <italic>i</italic> and <italic>j</italic>. &#x39b; &#x3d; [<italic>&#x3bb;</italic>
<sup>1</sup>, <italic>&#x2026;</italic> , <italic>&#x3bb;</italic>
<sup>
<italic>&#x3ba;</italic>
</sup>] denotes the optimal alignment path between two samples. The alignment path <italic>&#x3bb;</italic> &#x3d; (<italic>s</italic>
<sub>1</sub>, <italic>s</italic>
<sub>2</sub>) must satisfy 1 &#x2264; <italic>s</italic>
<sub>1</sub> &#x2264; <italic>L</italic>
<sub>
<italic>i</italic>
</sub> and 1 &#x2264; <italic>s</italic>
<sub>2</sub> &#x2264; <italic>L</italic>
<sub>
<italic>j</italic>
</sub>, where <italic>s</italic>
<sub>1</sub> and <italic>s</italic>
<sub>2</sub> represent the time points of the samples, and <italic>L</italic>
<sub>
<italic>i</italic>
</sub> and <italic>L</italic>
<sub>
<italic>j</italic>
</sub> denote the sample lengths of <italic>D</italic>
<sup>(<italic>i</italic>)</sup> and <italic>D</italic>
<sup>(<italic>j</italic>)</sup>, respectively. The path begins at <italic>&#x3bb;</italic>
<sup>1</sup> &#x3d; (0, 0) and ends at <italic>&#x3bb;</italic>
<sup>
<italic>&#x3ba;</italic>
</sup> &#x3d; (<italic>L</italic>
<sub>
<italic>i</italic>&#x2212;1</sub>, <italic>L</italic>
<sub>
<italic>j</italic>&#x2212;1</sub>). Both <italic>d</italic>
<sub>
<italic>i</italic>
</sub> &#x2208; <italic>D</italic>
<sup>(<italic>i</italic>)</sup> and <italic>d</italic>
<sub>
<italic>j</italic>
</sub> &#x2208; <italic>D</italic>
<sup>(<italic>j</italic>)</sup> represent observations from the CGM record. The distance matrix for the input time series can be expressed as &#x393; &#x3d; [<italic>&#x3b3;</italic>
<sub>1,2</sub>, <italic>&#x2026;</italic> , <italic>&#x3b3;</italic>
<sub>
<italic>N</italic>,<italic>N</italic>&#x2212;1</sub>].</p>
<p>Then, the formal definition of the proposed SRGraph can be described below.</p>
<p>
<italic>Definition 1 (SRGraph).</italic> The SRGraph is formulated as <inline-formula id="inf10">
<mml:math id="m15">
<mml:mi mathvariant="script">G</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>V</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="script">E</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, where <inline-formula id="inf11">
<mml:math id="m16">
<mml:mi>V</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi mathvariant="double-struck">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula> is the set of nodes (i.e., CGM samples), and <inline-formula id="inf12">
<mml:math id="m17">
<mml:mi mathvariant="script">E</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi mathvariant="double-struck">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
<mml:mo>&#xd7;</mml:mo>
<mml:mi>N</mml:mi>
<mml:mo>&#xd7;</mml:mo>
<mml:mi>K</mml:mi>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula> is the set of edges (i.e., the relationships between CGM samples). <italic>N</italic> is the sample size and is equal to the number of nodes in the graph. <italic>K</italic> is a hyperparameter that denotes the number of items we aim to retrieve in the top positions of the distance ranking.</p>
<p>
<italic>Definition 2 (Node Neighborhood).</italic> Let <italic>v</italic>
<sub>
<italic>i</italic>
</sub>, <italic>v</italic>
<sub>
<italic>j</italic>
</sub> &#x2208; <italic>V</italic> denote nodes in the graph, and <inline-formula id="inf13">
<mml:math id="m18">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="script">E</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>v</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>v</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> to denote an directed edge pointing from <italic>v</italic>
<sub>
<italic>i</italic>
</sub> to <italic>v</italic>
<sub>
<italic>j</italic>
</sub>. The neighborhood of a node <italic>v</italic>
<sub>
<italic>i</italic>
</sub> is represented as <inline-formula id="inf14">
<mml:math id="m19">
<mml:mi mathvariant="script">N</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>v</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">{</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>v</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2208;</mml:mo>
<mml:mi>V</mml:mi>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>v</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>v</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="script">E</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">}</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
<p>
<italic>Definition 3 (Adjacency Matrix).</italic> The adjacency matrix is a mathematical representation of a graph. This study sorts the distances and selects the top-<italic>K</italic> minimal distances for each sample to construct the adjacency matrix. This matrix is denoted as <inline-formula id="inf15">
<mml:math id="m20">
<mml:mi mathvariant="bold-italic">A</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi mathvariant="double-struck">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mo>&#xd7;</mml:mo>
<mml:mi>K</mml:mi>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula>. If <inline-formula id="inf16">
<mml:math id="m21">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>v</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>v</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="script">E</mml:mi>
</mml:math>
</inline-formula>, then <italic>A</italic>
<sub>
<italic>i</italic>,<italic>j</italic>
</sub> &#x3e; 0, and if <inline-formula id="inf17">
<mml:math id="m22">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>v</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>v</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&#x2209;</mml:mo>
<mml:mi mathvariant="script">E</mml:mi>
</mml:math>
</inline-formula>, then <italic>A</italic>
<sub>
<italic>i</italic>,<italic>j</italic>
</sub> &#x3d; 0.</p>
<p>In general, CGM samples are treated as nodes in the graphs. The edges of the graph are constructed based on the distance relationships between these samples. With the information about nodes and edges, we generate the graph adjacency matrix, which is subsequently learned by the graph structure learning module.</p>
</sec>
<sec id="s2-3-4">
<title>2.3.4 Graph learning module</title>
<p>The proposed graph learning module intends to integrate the information of a node with that of its neighboring nodes to capture the temporal dependencies in a graph. Two stacked graph convolutional networks (GCNs) <xref ref-type="bibr" rid="B47">Zhang et al. (2019)</xref> are employed in the proposed HETER to embed the information of the SAGraph. This can be expressed as follows:<disp-formula id="e6">
<mml:math id="m23">
<mml:mtable class="aligned">
<mml:mtr>
<mml:mtd columnalign="right">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="script">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>g</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msubsup>
</mml:mtd>
<mml:mtd columnalign="left">
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>g</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x22c6;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x23;</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd columnalign="right"/>
<mml:mtd columnalign="left">
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold-italic">M</mml:mi>
</mml:mrow>
<mml:mo>&#x303;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:msup>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold-italic">A</mml:mi>
</mml:mrow>
<mml:mo>&#x303;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold-italic">M</mml:mi>
</mml:mrow>
<mml:mo>&#x303;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:msup>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x23;</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>g</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">b</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>g</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
</mml:mtd>
</mml:mtr>
</mml:mtable>
<mml:mspace width="2.9em"/>
</mml:math>
<label>(6)</label>
</disp-formula>
<disp-formula id="e7">
<mml:math id="m24">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="script">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>g</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>g</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x22c6;</mml:mo>
<mml:mi mathvariant="normal">D</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">p</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">t</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3c6;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="script">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>g</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>g</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:math>
<label>(7)</label>
</disp-formula>where symbol &#x22c6; indicates the graph convolution operation. <inline-formula id="inf18">
<mml:math id="m25">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="script">X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x23;</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> is the input for proposed model. <inline-formula id="inf19">
<mml:math id="m26">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold-italic">M</mml:mi>
</mml:mrow>
<mml:mo>&#x303;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi mathvariant="double-struck">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mo>&#xd7;</mml:mo>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula> denotes the diagonal matrix. The element <inline-formula id="inf20">
<mml:math id="m27">
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold-italic">M</mml:mi>
</mml:mrow>
<mml:mo>&#x303;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> represents the degree of node <italic>i</italic>, corresponding to the number of edges connected to node <italic>i</italic>. <inline-formula id="inf21">
<mml:math id="m28">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold-italic">A</mml:mi>
</mml:mrow>
<mml:mo>&#x303;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi mathvariant="bold-italic">A</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">I</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi mathvariant="double-struck">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>N</mml:mi>
<mml:mo>&#xd7;</mml:mo>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>K</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula> denotes an adjacency matrix with self-loops. <bold>
<italic>A</italic>
</bold> is the adjacency matrix of SAGraph and <bold>
<italic>I</italic>
</bold>
<sub>
<italic>u</italic>
</sub> represents a unit matrix. <inline-formula id="inf22">
<mml:math id="m29">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="script">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>g</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> is the embedding graph representation. <inline-formula id="inf23">
<mml:math id="m30">
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="script">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>g</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> is the output graph representation. <italic>p</italic>
<sub>
<italic>g</italic>
</sub> is dropout probability. <italic>&#x3c6;</italic>(&#x22c5;) is rectified linear unit (ReLU) activation. <bold>
<italic>W</italic>
</bold>
<sub>
<italic>g</italic>
</sub> represents the learnable weighting matrix. <bold>
<italic>b</italic>
</bold>
<sub>
<italic>g</italic>
</sub> is the learnable bias.</p>
</sec>
<sec id="s2-4-1">
<title>2.3.5 Representation enhancement module</title>
<p>The potential topological characteristics between patients are extracted by the graph learning module <xref ref-type="bibr" rid="B40">Wu et al. (2020)</xref>. The representation enhancement module is designed to exploit further the key information in both the temporal and spatial dimensions.</p>
<p>First, a convolution component is employed to filter out the useless information in spatial dimensions, the Dropout technique also be integrated to prevent overfitting:<disp-formula id="e8">
<mml:math id="m31">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="script">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>o</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi mathvariant="normal">D</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">p</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">t</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3c6;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>o</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2a;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="script">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>g</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>o</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:math>
<label>(8)</label>
</disp-formula>where <bold>
<italic>W</italic>
</bold>
<sub>
<italic>co</italic>
</sub> is the learnable convolution kernel, <inline-formula id="inf24">
<mml:math id="m32">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="script">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>o</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> represents the output from the convolution component, and &#x2a; denotes the traditional convolution operation. <italic>p</italic>
<sub>
<italic>c</italic>
</sub> is the dropout probability for the convolution component.</p>
<p>A limitation of graph convolutional networks is their inability to capture the continuous dynamical patterns from input CGM data. This is because the information propagation of graph convolutional networks occurs merely through nodes, ignoring the continuity of temporal features within nodes. To address this issue, temporal attention (TA) and a recurrent learning component are incorporated into the proposed HETER. Temporal attention is applied to highlight the key time steps in a period:<disp-formula id="e9">
<mml:math id="m33">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>a</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">f</mml:mi>
<mml:mi mathvariant="normal">t</mml:mi>
<mml:mi mathvariant="normal">m</mml:mi>
<mml:mi mathvariant="normal">a</mml:mi>
<mml:mi mathvariant="normal">x</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msubsup>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3c6;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msubsup>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="script">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">b</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2b;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi mathvariant="bold-italic">b</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:math>
<label>(9)</label>
</disp-formula>where <inline-formula id="inf25">
<mml:math id="m34">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>a</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> denotes the output attention score of TA. <bold>
<italic>W</italic>
</bold>
<sub>
<italic>ta</italic>
</sub> and <bold>
<italic>b</italic>
</bold>
<sub>
<italic>ta</italic>
</sub> are the learnable weighting matrix and bias, respectively.</p>
<p>HETER utilizes the attention score to reweight the output of the convolution component, which is then delivered to the gated recurrent unit (GRU)-based recurrent learning component to further extract the temporal dynamics. The information propagation processing in the recurrent learning component can be formulated as:<disp-formula id="e10">
<mml:math id="m35">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">r</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>&#x3c3;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">h</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="script">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>o</mml:mi>
<mml:mspace width="0.1em"/>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mo>&#x2299;</mml:mo>
<mml:mspace width="0.1em"/>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>a</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">b</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:mspace width="1.6em"/>
</mml:math>
<label>(10)</label>
</disp-formula>
<disp-formula id="e11">
<mml:math id="m36">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">u</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>&#x3c3;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">h</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="script">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>o</mml:mi>
<mml:mspace width="0.1em"/>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mo>&#x2299;</mml:mo>
<mml:mspace width="0.1em"/>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>a</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">b</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>u</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:mspace width="1.5em"/>
</mml:math>
<label>(11)</label>
</disp-formula>
<disp-formula id="e12">
<mml:math id="m37">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">c</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>&#x3c3;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">r</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2299;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">h</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="script">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>o</mml:mi>
<mml:mspace width="0.1em"/>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mo>&#x2299;</mml:mo>
<mml:mspace width="0.1em"/>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mi>a</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">b</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>c</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:math>
<label>(12)</label>
</disp-formula>
<disp-formula id="e13">
<mml:math id="m38">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">h</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">u</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2299;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">h</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">u</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2299;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">c</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mspace width="3em"/>
</mml:math>
<label>(13)</label>
</disp-formula>where <bold>
<italic>h</italic>
</bold>
<sub>
<italic>t</italic>
</sub> is the hidden state at <italic>t</italic> steps of GRU unit. <bold>
<italic>u</italic>
</bold>
<sub>
<italic>t</italic>
</sub>, <bold>
<italic>r</italic>
</bold>
<sub>
<italic>t</italic>
</sub>, <bold>
<italic>c</italic>
</bold>
<sub>
<italic>t</italic>
</sub> denotes the update gate, reset gate, and candidate hidden state of recurrent learning component, respectively. <italic>&#x3c3;</italic>(&#x22c5;) indicates the sigmoid activation function. [;] represents the concatenation operation, and &#x2299; is the element-wise multiplication operation.</p>
</sec>
<sec id="s2-4-2">
<title>2.3.6 Residual fusion and prediction</title>
<p>The output layer of the proposed HETER method consists of two multilayer perceptron networks, which are designed to encode the result into the desired output shape. To avoid the issue of vanishing or exploding gradients induced by excessive nonlinearity, the model&#x2019;s linear input representation is added to the product of the output layer to yield the final prediction results:<disp-formula id="e14">
<mml:math id="m39">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="script">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>o</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi mathvariant="normal">S</mml:mi>
<mml:mi mathvariant="normal">M</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi mathvariant="normal">T</mml:mi>
<mml:mi mathvariant="normal">M</mml:mi>
<mml:mi mathvariant="normal">L</mml:mi>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi mathvariant="normal">D</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">p</mml:mi>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">u</mml:mi>
<mml:mi mathvariant="normal">t</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">h</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>p</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>o</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:math>
<label>(14)</label>
</disp-formula>
<disp-formula id="e15">
<mml:math id="m40">
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold-italic">O</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x23;</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="script">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>o</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2295;</mml:mo>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>o</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">X</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x23;</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold-italic">b</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>o</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
<mml:mspace width="6.1em"/>
</mml:math>
<label>(15)</label>
</disp-formula>where <inline-formula id="inf26">
<mml:math id="m41">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="script">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>o</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> is the output from the generation layer, and <inline-formula id="inf27">
<mml:math id="m42">
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold-italic">O</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x23;</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> represents the predictive values. <italic>p</italic>
<sub>
<italic>o</italic>
</sub> is the dropout probability, and &#x2295; denotes the element-wise addition operation. <bold>
<italic>W</italic>
</bold>
<sub>
<italic>o</italic>
</sub> and <bold>
<italic>b</italic>
</bold>
<sub>
<italic>o</italic>
</sub> are the weight matrix and bias, respectively, used to generate the linear representation of the model input. The final results <inline-formula id="inf28">
<mml:math id="m43">
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi mathvariant="bold-italic">Y</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x23;</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> are obtained after de-normalization by Eq. <xref ref-type="disp-formula" rid="e3">(3)</xref>. Here, SMLP (&#x22C5;) and TMLP (&#x22C5;) correspond to Spatial-LP and Temporal-LP, respectively.</p>
</sec>
</sec>
</sec>
<sec sec-type="results|discussion" id="s3">
<title>3 Results and discussion</title>
<sec id="s3-1">
<title>3.1 Experimental setup</title>
<sec id="s3-1-1">
<title>3.1.1 Baseline methods</title>
<p>To verify the effectiveness of the proposed HETER, we select the following five methods as baselines for comparison. These methods have already achieved promising performance in personal diabetic blood glucose prediction or universal time series tasks.<list list-type="simple">
<list-item>
<p>1) <bold>Vanilla LSTM</bold>
<xref ref-type="bibr" rid="B33">Rabby et al. (2021)</xref> is a fundamental long short-term memory (LSTM) model that utilizes its internal gating mechanisms to capture temporal dynamics.</p>
</list-item>
<list-item>
<p>2) <bold>BiLSTM</bold>
<xref ref-type="bibr" rid="B30">Nemat et al. (2022)</xref> is a bi-directional recurrent neural network model that can capture both past and future temporal dynamics simultaneously.</p>
</list-item>
<list-item>
<p>3) <bold>Transformer</bold>
<xref ref-type="bibr" rid="B24">Lee et al. (2023)</xref> exhibits superiority in capturing global dependencies through its self-attention mechanism.</p>
</list-item>
<list-item>
<p>4) <bold>TPA-LSTM</bold>
<xref ref-type="bibr" rid="B34">Shih et al. (2019)</xref> incorporates attention mechanism and recurrent neural networks for processing time series data.</p>
</list-item>
<list-item>
<p>5) <bold>LSTNet</bold>
<xref ref-type="bibr" rid="B23">Lai et al. (2018)</xref> is an improved convolutional and recurrent architecture that is capable of capturing long-term dependencies and periodic patterns.</p>
</list-item>
</list>
</p>
</sec>
<sec id="s3-1-2">
<title>3.1.2 Performance criteria</title>
<p>We employ the mean absolute error (MAE), mean absolute percentage error (MAPE), and root mean square error (RMSE) to provide a comprehensive evaluation the performance of the predictive model. The MAE provides a straightforward metric of average error magnitude. The MAPE offers a scale-independent error measure in percentage terms, which is critical given the varying blood glucose levels across different contexts. The RMSE, emphasizing larger errors, assumes importance in our study, particularly considering the potential health consequences of substantial deviations in blood glucose levels. Moreover, these criteria are frequently adopted metrics for evaluating the accuracy of blood glucose predictions <xref ref-type="bibr" rid="B41">Xie and Wang (2020)</xref>; <xref ref-type="bibr" rid="B43">Yang et al. (2023)</xref>, which can be expressed as follows.<list list-type="simple">
<list-item>
<p>1) Mean absolute error</p>
</list-item>
</list>
<disp-formula id="e16">
<mml:math id="m44">
<mml:mi mathvariant="normal">M</mml:mi>
<mml:mi mathvariant="normal">A</mml:mi>
<mml:mi mathvariant="normal">E</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>&#x3bc;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mo movablelimits="false" form="prefix">&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="normal">&#x3a9;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>test</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
<mml:mfenced open="|" close="|">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>Y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x23;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>Y</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x23;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:math>
<label>(16)</label>
</disp-formula>
<list list-type="simple">
<list-item>
<p>2) Mean absolute percentage error</p>
</list-item>
</list>
<disp-formula id="e17">
<mml:math id="m45">
<mml:mi mathvariant="normal">M</mml:mi>
<mml:mi mathvariant="normal">A</mml:mi>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mi mathvariant="normal">E</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>&#x3bc;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mo movablelimits="false" form="prefix">&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="normal">&#x3a9;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>test</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
<mml:mfenced open="|" close="|">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>Y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x23;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>Y</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x23;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>Y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x23;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:math>
<label>(17)</label>
</disp-formula>
<list list-type="simple">
<list-item>
<p>3) Root mean square error</p>
</list-item>
</list>
<disp-formula id="e18">
<mml:math id="m46">
<mml:mi mathvariant="normal">R</mml:mi>
<mml:mi mathvariant="normal">M</mml:mi>
<mml:mi mathvariant="normal">S</mml:mi>
<mml:mi mathvariant="normal">E</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msqrt>
<mml:mrow>
<mml:mi>&#x3bc;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mo movablelimits="false" form="prefix">&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2208;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="normal">&#x3a9;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>test</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mi>Y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x23;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>Y</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x23;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msqrt>
<mml:mo>,</mml:mo>
</mml:math>
<label>(18)</label>
</disp-formula>where <inline-formula id="inf29">
<mml:math id="m47">
<mml:msubsup>
<mml:mrow>
<mml:mi>Y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x23;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> and <inline-formula id="inf30">
<mml:math id="m48">
<mml:msubsup>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>Y</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x23;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msubsup>
</mml:math>
</inline-formula> denote the actual and predictive values at time step <italic>t</italic> of the <italic>i</italic> sample, respectively. <italic>&#x3a9;</italic>
<sub>test</sub> represents the test set. <italic>&#x3bc;</italic>(&#x22c5;) denotes the operation of computing the mean values. The lower the values of MAE, MAPE, and RMSE, the better the prediction model&#x2019;s performance.</p>
</sec>
<sec id="s3-1-3">
<title>3.1.3 Model configurations</title>
<p>The experiments use the most recent 36 h (144 data points) of data for testing, while the remaining data were allocated for training. All experiments were conducted five times to improve the reliability of the results. The optimal hyperparameters were determined using the grid search method. The models were trained using the Adam optimization algorithm <xref ref-type="bibr" rid="B22">Kingma and Ba (2015)</xref>, with mean squared error (MSE) employed as the loss function. The training epochs and learning rate are adjusted to approach their optimal states for each method. <xref ref-type="sec" rid="s10">Supplementary Table S2</xref> provides the detailed settings for the hyperparameters of each method. We implement the models using Porch (v.1.12.1) <xref ref-type="bibr" rid="B31">Paszke et al. (2019)</xref>. The experiments for baseline methods and the proposed method were carried out on a server equipped with Intel(R) Xeon(R) Gold 6226R CPU (2.90 GHz) with 128G memory and were accelerated by two NVIDIA RTX A6000 GPUs.</p>
</sec>
</sec>
<sec id="s3-2">
<title>3.2 Performance comparison</title>
<p>The experimental results comparing the performance of the baseline model and HETER across three prediction horizons <italic>H</italic> are displayed in <xref ref-type="table" rid="T1">Table 1</xref>. HETER outperforms comparable methods in terms of MAE, MAPE, and RMSE. We also observe that HETER, utilizing the SSR processing method, exhibits superior performance in most scenarios, particularly when the prediction horizon is established at 15. The TPA-LSTM with truncation (TRA) ranks second in most cases, and LSTNet shows the second-best performance in terms of RMSE when <italic>H</italic> is set to 30 and 60. This suggests the effectiveness of recurrent learning units. However, the inferior performance of Vanilla LSTM and BiLSTM, which consistently rank lower than other comparable methods, indicates that the output representations from recurrent units need additional refinement via other components, such as attention mechanisms or convolution layers. The proposed HETER improves MAE, MAPE, and RMSE by 31.42%, 27.18%, and 34.85%, over the second-best method when <italic>H</italic> &#x3d; 15. When <italic>H</italic> is set to 30 and 60, the performance improvements over the second-best methods are 19.67% and 15.43% for MAE, 18.66% and 14.62% for MAPE, and 20.67% and 15.43% for RMSE, respectively.</p>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>The performance comparison in three metrics and three horizons on CGM observations. The best result for each metric is highlighted in bold.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">
<italic>H</italic>
</th>
<th align="center">Metrics</th>
<th colspan="2" align="center">Vanilla LSTM</th>
<th colspan="2" align="center">BiLSTM</th>
<th colspan="2" align="center">Transformer</th>
<th colspan="2" align="center">TPA-LSTM</th>
<th colspan="2" align="center">LSTNet</th>
<th colspan="3" align="center">HETER (ours)</th>
</tr>
<tr>
<th align="center">(min)</th>
<th align="center">(mg/dL)</th>
<th align="center">TRA</th>
<th align="center">PAD</th>
<th align="center">TRA</th>
<th align="center">PAD</th>
<th align="center">TRA</th>
<th align="center">PAD</th>
<th align="center">TRA</th>
<th align="center">PAD</th>
<th align="center">TRA</th>
<th align="center">PAD</th>
<th align="center">TRA</th>
<th align="center">PAD</th>
<th align="center">SSR</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">15</td>
<td align="center">MAE</td>
<td align="center">30.724</td>
<td align="center">34.959</td>
<td align="center">30.571</td>
<td align="center">32.566</td>
<td align="center">28.537</td>
<td align="center">31.569</td>
<td align="center">5.924</td>
<td align="center">7.769</td>
<td align="center">6.050</td>
<td align="center">6.542</td>
<td align="center">4.193</td>
<td align="center">4.372</td>
<td align="center">
<bold>4.063</bold>
</td>
</tr>
<tr>
<td align="left"/>
<td align="center">MAPE</td>
<td align="center">0.243</td>
<td align="center">0.270</td>
<td align="center">0.244</td>
<td align="center">0.259</td>
<td align="center">0.232</td>
<td align="center">0.250</td>
<td align="center">0.045</td>
<td align="center">0.059</td>
<td align="center">0.047</td>
<td align="center">0.051</td>
<td align="center">0.034</td>
<td align="center">0.034</td>
<td align="center">
<bold>0.033</bold>
</td>
</tr>
<tr>
<td align="left"/>
<td align="center">RMSE</td>
<td align="center">42.123</td>
<td align="center">48.664</td>
<td align="center">41.918</td>
<td align="center">44.463</td>
<td align="center">38.622</td>
<td align="center">43.650</td>
<td align="center">8.754</td>
<td align="center">11.323</td>
<td align="center">8.781</td>
<td align="center">9.295</td>
<td align="center">5.872</td>
<td align="center">6.329</td>
<td align="center">
<bold>5.703</bold>
</td>
</tr>
<tr>
<td align="center">30</td>
<td align="center">MAE</td>
<td align="center">30.688</td>
<td align="center">35.631</td>
<td align="center">30.599</td>
<td align="center">32.982</td>
<td align="center">29.560</td>
<td align="center">32.295</td>
<td align="center">8.415</td>
<td align="center">10.460</td>
<td align="center">8.368</td>
<td align="center">9.702</td>
<td align="center">7.575</td>
<td align="center">6.784</td>
<td align="center">
<bold>6.722</bold>
</td>
</tr>
<tr>
<td align="left"/>
<td align="center">MAPE</td>
<td align="center">0.245</td>
<td align="center">0.274</td>
<td align="center">0.243</td>
<td align="center">0.265</td>
<td align="center">0.244</td>
<td align="center">0.257</td>
<td align="center">0.064</td>
<td align="center">0.082</td>
<td align="center">0.064</td>
<td align="center">0.076</td>
<td align="center">0.060</td>
<td align="center">
<bold>0.052</bold>
</td>
<td align="center">0.054</td>
</tr>
<tr>
<td align="left"/>
<td align="center">RMSE</td>
<td align="center">42.024</td>
<td align="center">49.546</td>
<td align="center">42.045</td>
<td align="center">44.750</td>
<td align="center">40.019</td>
<td align="center">44.389</td>
<td align="center">12.943</td>
<td align="center">15.319</td>
<td align="center">12.751</td>
<td align="center">13.937</td>
<td align="center">11.352</td>
<td align="center">10.531</td>
<td align="center">
<bold>10.115</bold>
</td>
</tr>
<tr>
<td align="center">60</td>
<td align="center">MAE</td>
<td align="center">30.858</td>
<td align="center">36.211</td>
<td align="center">30.586</td>
<td align="center">33.129</td>
<td align="center">29.733</td>
<td align="center">34.604</td>
<td align="center">12.830</td>
<td align="center">14.399</td>
<td align="center">12.976</td>
<td align="center">14.941</td>
<td align="center">11.233</td>
<td align="center">
<bold>10.850</bold>
</td>
<td align="center">10.980</td>
</tr>
<tr>
<td align="left"/>
<td align="center">MAPE</td>
<td align="center">0.237</td>
<td align="center">0.282</td>
<td align="center">0.243</td>
<td align="center">0.265</td>
<td align="center">0.237</td>
<td align="center">0.271</td>
<td align="center">0.097</td>
<td align="center">0.111</td>
<td align="center">0.103</td>
<td align="center">0.114</td>
<td align="center">0.090</td>
<td align="center">
<bold>0.082</bold>
</td>
<td align="center">0.089</td>
</tr>
<tr>
<td align="left"/>
<td align="center">RMSE</td>
<td align="center">42.828</td>
<td align="center">50.319</td>
<td align="center">42.098</td>
<td align="center">44.836</td>
<td align="center">40.416</td>
<td align="center">47.836</td>
<td align="center">19.856</td>
<td align="center">21.422</td>
<td align="center">19.618</td>
<td align="center">21.474</td>
<td align="center">16.971</td>
<td align="center">17.200</td>
<td align="center">
<bold>16.591</bold>
</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>When the prediction horizon <italic>H</italic> is set to 30 and 60, HETER with SSR exhibits competitive RMSE performance in comparison to HETER with padding (PAD), but it performs inferior in terms of MAPE. This can be attributed to the nature of RMSE and MAPE. Specifically, RMSE assigns greater weight to high-magnitude data points (such as sharp increases and decreases), while MAPE focuses more on the relative error between predicted and actual values. In other words, HETER with PAD generally performs well, while HETER with SSR achieves superior accuracy during periods of high volatility. Moreover, these results also demonstrate the efficacy of the proposed HETER in filtering out meaningless information.</p>
</sec>
<sec id="s3-3">
<title>3.3 Prediction analysis</title>
<p>The prediction results are illustrated in <xref ref-type="fig" rid="F5">Figure 5</xref>. For illustrative purposes, we have selected the first patient samples from both the T1DM and T2DM datasets. Periods characterized by significant predictive errors are highlighted in the figure. Based on these illustrations, several key observations can be summarized as follows: 1) The progression of CGM for both T1DM and T2DM patients can be effectively tracked across all three prediction horizons. This indicates the promising accuracy of the proposed HETER in multi-patient diabetic blood glucose prediction. 2) The proposed HETER exhibits robust performance during relatively stable phases for both types of diabetic patients. This can be attributed to HETER&#x2019;s ability to fuse both global and local continuous temporal information via its graph learning module and temporal enhancement module. 3) The predictive error significantly increases with the extension of prediction horizons, particularly during highlighted periods. This phenomenon highlights the challenge of capturing the temporal dynamics associated with sharp increases and decreases. The proposed method succeeds in capturing as much of the trend of short-term fluctuations as possible, particularly under shorter prediction horizons. However, there remains room for improvement during periods of intense fluctuations in longer prediction horizons.</p>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>The visualization of the real values versus the predicted values.</p>
</caption>
<graphic xlink:href="fphys-14-1225638-g005.tif"/>
</fig>
<p>The correlation analysis of the normalized predictive results is illustrated in <xref ref-type="fig" rid="F6">Figure 6</xref>. The Pearson correlation coefficients (<italic>PCC</italic>) between actual values and predictions have also been calculated and are represented in <xref ref-type="fig" rid="F6">Figure 6</xref>. Several findings were made as follows: 1) The stationarity of the data was found to be significantly different between T1DM and T2DM patients as demonstrated in the example. T1DM shows a more stable trend with the majority of data points situated in the middle range, approximating a normal distribution <xref ref-type="bibr" rid="B12">Eizirik et al. (2020)</xref>. In contrast, the distribution of data points for T2DM patients demonstrates a significant drift, indicative of more severe fluctuations present in T2DM samples. This adds to the complexity and poses greater challenges for BGP models. 2) The proposed model exhibits strong generalization capabilities for both types of diabetic patients. While the instability of T2DM data may reduce the PCC values of the predictions, the majority of prediction errors are still confined within a 5% error bound, particularly when the prediction horizon <italic>H</italic> is small (15 or 30).</p>
<fig id="F6" position="float">
<label>FIGURE 6</label>
<caption>
<p>The correlation analysis of predictions. <bold>(A)</bold> T1DM Patient ID:1001. <bold>(B)</bold> T2DM Patient ID:2000.</p>
</caption>
<graphic xlink:href="fphys-14-1225638-g006.tif"/>
</fig>
</sec>
<sec id="s3-4">
<title>3.4 Parameter sensitivity analysis</title>
<p>The impact of window sizes <italic>T</italic> and <italic>K</italic> are evaluated through parameter sensitivity analysis. The optimal results are highlighted by the red dashed lines. In this analysis, the prediction horizon <italic>H</italic> is fixed at 15. The <italic>T</italic> is varied from 4 to 64, and <italic>K</italic> is increased from 25 to 124, and their results are shown in <xref ref-type="fig" rid="F7">Figures 7</xref>, <xref ref-type="fig" rid="F8">8</xref>, respectively. As depicted in <xref ref-type="fig" rid="F7">Figure 7</xref>, HETER obtains optimal performance when the window size is set to 8. Beyond this point, the performance in terms of all three metrics (MAE, MAPE, and RMSE) shows a nearly linear proportionality to the window size, with performance decreasing as window size increases. This underscores the importance of selecting an appropriate window size. A smaller window size may not provide sufficient temporal information, while an excessively large window size might introduce unnecessary pattern associations and fluctuations, inevitably impacting the prediction accuracy adversely.</p>
<fig id="F7" position="float">
<label>FIGURE 7</label>
<caption>
<p>The sensitivity analysis of window size <italic>T</italic>.</p>
</caption>
<graphic xlink:href="fphys-14-1225638-g007.tif"/>
</fig>
<fig id="F8" position="float">
<label>FIGURE 8</label>
<caption>
<p>The sensitivity analysis of the hyperparameter <italic>K</italic>.</p>
</caption>
<graphic xlink:href="fphys-14-1225638-g008.tif"/>
</fig>
<p>From <xref ref-type="fig" rid="F8">Figure 8</xref>, the highest model accuracy is achieved when <italic>K</italic> is set to 25. According to Eq. <xref ref-type="disp-formula" rid="e6">6</xref>, a larger <italic>K</italic> indicates denser adjacency information. However, an overly extensive relationship association might make it challenging for the prediction model to capture vital information, thus limiting prediction accuracy. These results also further verify the influence of graph relationships among multiple samples on prediction accuracy.</p>
</sec>
</sec>
<sec sec-type="conclusion" id="s4">
<title>4 Conclusion</title>
<p>Inherent heterogeneity and uncertainty in multiple CGM datasets present significant constraints to the applicability of traditional personalized BGP models in multi-patient scenarios. In this study, a novel HETER model is proposed for the simultaneous prediction of blood glucose levels in multiple diabetic patients. First, the SSR method is utilized to align patient samples drawn from heterogeneous time series. Subsequently, multiple CGM datasets are structured as a graph, employing a graph structure learning module to capture global temporal information. To improve the model&#x2019;s learning capability for continuous temporal characteristics, we incorporated a representation enhancement module into HETER, which allows it to highlight key information and further extract temporal representations. Additionally, we considered linear representations to enhance the model&#x2019;s predictive stability. Finally, We conducted comprehensive experiments to evaluate our proposed HETER model against five comparable methods. The results of these experiments verify the superiority of our proposed SSR method and HETER model. The rising demand for effective and accurate tracking of the progression of multiple diabetic patients in clinical scenarios heightens the necessity to enhance existing methodologies. HETER is an important methodological advancement for predicting heterogeneous multi-patient CGM data using graph neural networks.</p>
<p>There are several potential directions for future research. First, we aim to further optimize the alignment process for heterogeneous CGM data. The generative diffusion model could be employed to align heterogeneous data by generating new data similar to historical observations. Second, we plan to incorporate additional related factors into the multi-patient BGP, including patient behavior, heart rate, and food intake. This could enhance the robustness and generalizability of the prediction model, while also improving the interpretability of the results. Third, knowledge distillation and dynamic graph convolution could be utilized to design a lightweight graph architecture. This would potentially reduce the storage and computational requirements of the model.</p>
</sec>
</body>
<back>
<sec sec-type="data-availability" id="s5">
<title>Data availability statement</title>
<p>The original contributions presented in the study are included in the article/<xref ref-type="sec" rid="s10">Supplementary Material</xref>, further inquiries can be directed to the corresponding author.</p>
</sec>
<sec id="s6">
<title>Author contributions</title>
<p>YH conceived the study, wrote the manuscript, and contributed to the methodology. ZN critically reviewed and revised the manuscript and conducted statistical analysis. ZL designed the experimental process, revised the manuscript, and supervised the entire study. XH, JH, and BL analyzed data and conducted literature checks. HY and YS contributed to drafting the manuscript and analyzed data. All authors contributed to the article and approved the submitted version.</p>
</sec>
<sec id="s7">
<title>Funding</title>
<p>This work was supported by the National Natural Science Foundation of China (no. 61561008), the Innovation Project of Guangxi Graduate Education (no. YCSW2023254).</p>
</sec>
<ack>
<p>We thank Tongji University, Shanghai Fourth People&#x2019;s Hospital, and Shanghai East Hospital for generously sharing the data. We also sincerely appreciate the editor and the reviewers for their invaluable feedback and constructive suggestions that have substantially enhanced the quality of this paper.</p>
</ack>
<sec sec-type="COI-statement" id="s8">
<title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="disclaimer" id="s9">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<sec id="s10">
<title>Supplementary material</title>
<p>The Supplementary Material for this article can be found online at:<ext-link ext-link-type="uri" xlink:href="https://www.frontiersin.org/articles/10.3389/fphys.2023.1225638/full#supplementary-material">https://www.frontiersin.org/articles/10.3389/fphys.2023.1225638/full&#x23;supplementary-material</ext-link>
</p>
<supplementary-material xlink:href="DataSheet1.PDF" id="SM1" mimetype="application/PDF" xmlns:xlink="http://www.w3.org/1999/xlink"/>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ahmed</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Aziz</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Abd-Alrazaq</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Farooq</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Househ</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Sheikh</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>The effectiveness of wearable devices using artificial intelligence for blood glucose level forecasting or prediction: Systematic review</article-title>. <source>J. Med. Internet Res.</source>
<volume>25</volume>, <fpage>e40259</fpage>. <pub-id pub-id-type="doi">10.2196/40259</pub-id>
</citation>
</ref>
<ref id="B2">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Aliberti</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Pupillo</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Terna</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Macii</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Di Cataldo</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Patti</surname>
<given-names>E.</given-names>
</name>
<etal/>
</person-group> (<year>2019</year>). <article-title>A multi-patient data-driven approach to blood glucose prediction</article-title>. <source>IEEE Access</source>
<volume>7</volume>, <fpage>69311</fpage>&#x2013;<lpage>69325</lpage>. <pub-id pub-id-type="doi">10.1109/access.2019.2919184</pub-id>
</citation>
</ref>
<ref id="B3">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Battelino</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Bergenstal</surname>
<given-names>R. M.</given-names>
</name>
<name>
<surname>Rodr&#xed;guez</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Land&#xf3;</surname>
<given-names>L. F.</given-names>
</name>
<name>
<surname>Bray</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Tong</surname>
<given-names>Z.</given-names>
</name>
<etal/>
</person-group> (<year>2022</year>). <article-title>Efficacy of once-weekly tirzepatide versus once-daily insulin degludec on glycaemic control measured by continuous glucose monitoring in adults with type 2 diabetes (surpass-3 cgm): A substudy of the randomised, open-label, parallel-group, phase 3 surpass-3 trial</article-title>. <source>Lancet Diabetes and Endocrinol.</source>
<volume>10</volume>, <fpage>407</fpage>&#x2013;<lpage>417</lpage>. <pub-id pub-id-type="doi">10.1016/S2213-8587(22)00077-8</pub-id>
</citation>
</ref>
<ref id="B4">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bellary</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Kyrou</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Brown</surname>
<given-names>J. E.</given-names>
</name>
<name>
<surname>Bailey</surname>
<given-names>C. J.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Type 2 diabetes mellitus in older adults: Clinical considerations and management</article-title>. <source>Nat. Rev. Endocrinol.</source>
<volume>17</volume>, <fpage>534</fpage>&#x2013;<lpage>548</lpage>. <pub-id pub-id-type="doi">10.1038/s41574-021-00512-2</pub-id>
</citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Cai</surname>
<given-names>J.-x.</given-names>
</name>
<name>
<surname>Zhong</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Antenna selection for multiple-input multiple-output systems based on deep convolutional neural networks</article-title>. <source>PloS one</source>
<volume>14</volume>, <fpage>e0215672</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pone.0215672</pub-id>
</citation>
</ref>
<ref id="B6">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Cai</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Hu</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Tang</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Hung</surname>
<given-names>T.-Y.</given-names>
</name>
<name>
<surname>Tan</surname>
<given-names>Y.-P.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Deep historical long short-term memory network for action recognition</article-title>. <source>Neurocomputing</source>
<volume>407</volume>, <fpage>428</fpage>&#x2013;<lpage>438</lpage>. <pub-id pub-id-type="doi">10.1016/j.neucom.2020.03.111</pub-id>
</citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Capobianco</surname>
<given-names>E.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Systems and precision medicine approaches to diabetes heterogeneity: A big data perspective</article-title>. <source>Clin. Transl. Med.</source>
<volume>6</volume>, <fpage>23</fpage>&#x2013;<lpage>10</lpage>. <pub-id pub-id-type="doi">10.1186/s40169-017-0155-4</pub-id>
</citation>
</ref>
<ref id="B8">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chen</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Han</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Lombardi</surname>
<given-names>F.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Profile-based output error compensation for approximate arithmetic circuits</article-title>. <source>IEEE Trans. Circuits Syst. I Regul. Pap.</source>
<volume>67</volume>, <fpage>4707</fpage>&#x2013;<lpage>4718</lpage>. <pub-id pub-id-type="doi">10.1109/tcsi.2020.2996567</pub-id>
</citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Cole</surname>
<given-names>J. B.</given-names>
</name>
<name>
<surname>Florez</surname>
<given-names>J. C.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Genetics of diabetes mellitus and diabetes complications</article-title>. <source>Nat. Rev. Nephrol.</source>
<volume>16</volume>, <fpage>377</fpage>&#x2013;<lpage>390</lpage>. <pub-id pub-id-type="doi">10.1038/s41581-020-0278-5</pub-id>
</citation>
</ref>
<ref id="B10">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Deng</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Lu</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Aponte</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Angelidi</surname>
<given-names>A. M.</given-names>
</name>
<name>
<surname>Novak</surname>
<given-names>V.</given-names>
</name>
<name>
<surname>Karniadakis</surname>
<given-names>G. E.</given-names>
</name>
<etal/>
</person-group> (<year>2021</year>). <article-title>Deep transfer learning and data augmentation improve glucose levels prediction in type 2 diabetes patients</article-title>. <source>NPJ Digit. Med.</source>
<volume>4</volume>, <fpage>109</fpage>. <pub-id pub-id-type="doi">10.1038/s41746-021-00480-x</pub-id>
</citation>
</ref>
<ref id="B11">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Duch&#xea;ne</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Garbay</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Rialle</surname>
<given-names>V.</given-names>
</name>
</person-group> (<year>2007</year>). <article-title>Learning recurrent behaviors from heterogeneous multivariate time-series</article-title>. <source>Artif. Intell. Med.</source>
<volume>39</volume>, <fpage>25</fpage>&#x2013;<lpage>47</lpage>. <pub-id pub-id-type="doi">10.1016/j.artmed.2006.07.004</pub-id>
</citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Eizirik</surname>
<given-names>D. L.</given-names>
</name>
<name>
<surname>Pasquali</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Cnop</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Pancreatic <italic>&#x3b2;</italic>-cells in type 1 and type 2 diabetes mellitus: Different pathways to failure</article-title>. <source>Nat. Rev. Endocrinol.</source>
<volume>16</volume>, <fpage>349</fpage>&#x2013;<lpage>362</lpage>. <pub-id pub-id-type="doi">10.1038/s41574-020-0355-7</pub-id>
</citation>
</ref>
<ref id="B13">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Elbalshy</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Haszard</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Smith</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Kuroko</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Galland</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Oliver</surname>
<given-names>N.</given-names>
</name>
<etal/>
</person-group> (<year>2022</year>). <article-title>Effect of divergent continuous glucose monitoring technologies on glycaemic control in type 1 diabetes mellitus: A systematic review and meta-analysis of randomised controlled trials</article-title>. <source>Diabet. Med.</source>
<volume>39</volume>, <fpage>e14854</fpage>. <pub-id pub-id-type="doi">10.1111/dme.14854</pub-id>
</citation>
</ref>
<ref id="B14">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Espinoza</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Xu</surname>
<given-names>N. Y.</given-names>
</name>
<name>
<surname>Nguyen</surname>
<given-names>K. T.</given-names>
</name>
<name>
<surname>Klonoff</surname>
<given-names>D. C.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>The need for data standards and implementation policies to integrate cgm data into the electronic health record</article-title>. <source>J. Diabetes Sci. Technol.</source>
<volume>17</volume>, <fpage>495</fpage>&#x2013;<lpage>502</lpage>. <pub-id pub-id-type="doi">10.1177/19322968211058148</pub-id>
</citation>
</ref>
<ref id="B15">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Flood</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Seiglie</surname>
<given-names>J. A.</given-names>
</name>
<name>
<surname>Dunn</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Tschida</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Theilmann</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Marcus</surname>
<given-names>M. E.</given-names>
</name>
<etal/>
</person-group> (<year>2021</year>). <article-title>The state of diabetes treatment coverage in 55 low-income and middle-income countries: A cross-sectional study of nationally representative, individual-level data in 680 102 adults</article-title>. <source>Lancet Healthy Longev.</source>
<volume>2</volume>, <fpage>e340</fpage>&#x2013;<lpage>e351</lpage>. <pub-id pub-id-type="doi">10.1016/s2666-7568(21)00089-1</pub-id>
</citation>
</ref>
<ref id="B16">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hammad</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Iliyasu</surname>
<given-names>A. M.</given-names>
</name>
<name>
<surname>Subasi</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Ho</surname>
<given-names>E. S. L.</given-names>
</name>
<name>
<surname>El-Latif</surname>
<given-names>A. A. A.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>A multitier deep learning model for arrhythmia detection</article-title>. <source>IEEE Trans. Instrum. Meas.</source>
<volume>70</volume>, <fpage>1</fpage>&#x2013;<lpage>9</lpage>. <pub-id pub-id-type="doi">10.1109/tim.2020.3033072</pub-id>
</citation>
</ref>
<ref id="B17">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hollander</surname>
<given-names>N. H. M. d.</given-names>
</name>
<name>
<surname>Roep</surname>
<given-names>B. O.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>From disease and patient heterogeneity to precision medicine in type 1 diabetes</article-title>. <source>Front. Med.</source>
<volume>9</volume>, <fpage>932086</fpage>. <pub-id pub-id-type="doi">10.3389/fmed.2022.932086</pub-id>
</citation>
</ref>
<ref id="B18">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Huang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Lu</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Z.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>HFMD cases prediction using transfer one-step-ahead learning</article-title>. <source>Neural Process. Lett.</source>
<comment>Early View</comment>. <pub-id pub-id-type="doi">10.1007/s11063-022-10795-9</pub-id>
</citation>
</ref>
<ref id="B19">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Jin</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Xu</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Su</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Yan</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>X.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Fully integrated flexible biosensor for wearable continuous glucose monitoring</article-title>. <source>Biosens. Bioelectron.</source>
<volume>196</volume>, <fpage>113760</fpage>. <pub-id pub-id-type="doi">10.1016/j.bios.2021.113760</pub-id>
</citation>
</ref>
<ref id="B20">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Johnson</surname>
<given-names>S. R.</given-names>
</name>
<name>
<surname>Holmes-Walker</surname>
<given-names>D. J.</given-names>
</name>
<name>
<surname>Chee</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Earnest</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Jones</surname>
<given-names>o. b. o. t. C. A. C.</given-names>
</name>
<name>
<surname>Timothy</surname>
<given-names>W.</given-names>
</name>
<etal/>
</person-group> (<year>2021</year>). <article-title>Universal subsidized continuous glucose monitoring funding for young people with type 1 diabetes: Uptake and outcomes over 2 years, a population-based study</article-title>. <source>Diabetes Care</source>
<volume>45</volume>, <fpage>391</fpage>&#x2013;<lpage>397</lpage>. <pub-id pub-id-type="doi">10.2337/dc21-1666</pub-id>
</citation>
</ref>
<ref id="B21">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Karges</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Tittel</surname>
<given-names>S. R.</given-names>
</name>
<name>
<surname>Bey</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Freiberg</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Klinkert</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Kordonouri</surname>
<given-names>O.</given-names>
</name>
<etal/>
</person-group> (<year>2023</year>). <article-title>Continuous glucose monitoring versus blood glucose monitoring for risk of severe hypoglycaemia and diabetic ketoacidosis in children, adolescents, and young adults with type 1 diabetes: A population-based study</article-title>. <source>Lancet Diabetes and Endocrinol.</source>
<volume>11</volume>, <fpage>314</fpage>&#x2013;<lpage>323</lpage>. <pub-id pub-id-type="doi">10.1016/S2213-8587(23)00061-X</pub-id>
</citation>
</ref>
<ref id="B22">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Kingma</surname>
<given-names>D. P.</given-names>
</name>
<name>
<surname>Ba</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2015</year>). &#x201c;<article-title>Adam: A method for stochastic optimization</article-title>,&#x201d; in <conf-name>Proceedings of the 3rd International Conference on Learning Representations</conf-name>, <conf-loc>San Diego, CA, USA</conf-loc>. <comment>Poster</comment>.</citation>
</ref>
<ref id="B23">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Lai</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Chang</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Yang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2018</year>). &#x201c;<article-title>Modeling long- and short-term temporal patterns with deep neural networks</article-title>,&#x201d; in <conf-name>Proceedings of the 41st International ACM SIGIR Conference on Research and Development in Information Retrieval</conf-name> (<publisher-loc>Ann Arbor, MI, USA</publisher-loc>: <publisher-name>ACM</publisher-name>), <fpage>95</fpage>&#x2013;<lpage>104</lpage>.</citation>
</ref>
<ref id="B24">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lee</surname>
<given-names>S.-M.</given-names>
</name>
<name>
<surname>Kim</surname>
<given-names>D.-Y.</given-names>
</name>
<name>
<surname>Woo</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Glucose transformer: Forecasting glucose level and events of hyperglycemia and hypoglycemia</article-title>. <source>IEEE J. Biomed. Health Inf.</source>
<volume>27</volume>, <fpage>1600</fpage>&#x2013;<lpage>1611</lpage>. <pub-id pub-id-type="doi">10.1109/JBHI.2023.3236822</pub-id>
</citation>
</ref>
<ref id="B25">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Leelarathna</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Evans</surname>
<given-names>M. L.</given-names>
</name>
<name>
<surname>Neupane</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Rayman</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Lumley</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Cranston</surname>
<given-names>I.</given-names>
</name>
<etal/>
</person-group> (<year>2022</year>). <article-title>Intermittently scanned continuous glucose monitoring for type 1 diabetes</article-title>. <source>N. Engl. J. Med.</source>
<volume>387</volume>, <fpage>1477</fpage>&#x2013;<lpage>1487</lpage>. <pub-id pub-id-type="doi">10.1056/NEJMoa2205650</pub-id>
</citation>
</ref>
<ref id="B26">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Yang</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>R. W.</given-names>
</name>
<name>
<surname>Wu</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Wan</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Tandem Mass Tag-based quantitative proteomics analysis of metabolic associated fatty liver disease induced by high fat diet in mice</article-title>. <source>Inf. Sci.</source>
<volume>534</volume>, <fpage>97</fpage>&#x2013;<lpage>116</lpage>.<pub-id pub-id-type="doi">10.1186/s12986-020-00522-3</pub-id>
</citation>
</ref>
<ref id="B27">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Yu</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>Z. T.</given-names>
</name>
<name>
<surname>Yan</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Liao</surname>
<given-names>Y. J.</given-names>
</name>
<name>
<surname>Lu</surname>
<given-names>D. F.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Time works well: Dynamic time warping based on time weighting for time series data mining</article-title>. <source>Inf. Sci.</source>
<volume>547</volume>, <fpage>592</fpage>&#x2013;<lpage>598</lpage>. <pub-id pub-id-type="doi">10.1111/os.12855</pub-id>
</citation>
</ref>
<ref id="B28">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Martens</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Beck</surname>
<given-names>R. W.</given-names>
</name>
<name>
<surname>Bailey</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Ruedy</surname>
<given-names>K. J.</given-names>
</name>
<name>
<surname>Calhoun</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Peters</surname>
<given-names>A. L.</given-names>
</name>
<etal/>
</person-group> (<year>2021</year>). <article-title>Effect of continuous glucose monitoring on glycemic control in patients with type 2 diabetes treated with basal insulin: A randomized clinical trial</article-title>. <source>J. Am. Med. Assoc.</source>
<volume>325</volume>, <fpage>2262</fpage>&#x2013;<lpage>2272</lpage>. <pub-id pub-id-type="doi">10.1001/jama.2021.7444</pub-id>
</citation>
</ref>
<ref id="B29">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Mhaskar</surname>
<given-names>H. N.</given-names>
</name>
<name>
<surname>Pereverzyev</surname>
<given-names>S. V.</given-names>
</name>
<name>
<surname>Van der Walt</surname>
<given-names>M. D.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>A deep learning approach to diabetic blood glucose prediction</article-title>. <source>Front. Appl. Math. Statistics</source>
<volume>3</volume>, <fpage>14</fpage>. <pub-id pub-id-type="doi">10.3389/fams.2017.00014</pub-id>
</citation>
</ref>
<ref id="B30">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Nemat</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Khadem</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Eissa</surname>
<given-names>M. R.</given-names>
</name>
<name>
<surname>Elliott</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Benaissa</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Blood glucose level prediction: Advanced deep-ensemble learning approach</article-title>. <source>IEEE J. Biomed. Health Inf.</source>
<volume>26</volume>, <fpage>2758</fpage>&#x2013;<lpage>2769</lpage>.<pub-id pub-id-type="doi">10.1109/JBHI.2022.3144870</pub-id>
</citation>
</ref>
<ref id="B31">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Paszke</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Gross</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Massa</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Lerer</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Bradbury</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Chanan</surname>
<given-names>G.</given-names>
</name>
<etal/>
</person-group> (<year>2019</year>). &#x201c;<article-title>Porch: An imperative style, high-performance deep learning library</article-title>,&#x201d; in <conf-name>Proceedings of the 33rd Advances in Neural Information Processing Systems</conf-name>, <conf-loc>Vancouver, BC, Canada</conf-loc>, <fpage>8024</fpage>&#x2013;<lpage>8035</lpage>.</citation>
</ref>
<ref id="B32">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Qiao</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Wu</surname>
<given-names>Y.-X.</given-names>
</name>
<name>
<surname>Zhong</surname>
<given-names>S.-L.</given-names>
</name>
<name>
<surname>Yin</surname>
<given-names>P.-J.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>J.-H.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Brain-inspired intelligent robotics: Theoretical analysis and systematic application</article-title>. <source>Mach. Intell. Res.</source>
<volume>20</volume>, <fpage>1</fpage>&#x2013;<lpage>18</lpage>. <pub-id pub-id-type="doi">10.1007/s11633-022-1390-8</pub-id>
</citation>
</ref>
<ref id="B33">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Rabby</surname>
<given-names>M. F.</given-names>
</name>
<name>
<surname>Tu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Hossen</surname>
<given-names>M. I.</given-names>
</name>
<name>
<surname>Lee</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Maida</surname>
<given-names>A. S.</given-names>
</name>
<name>
<surname>Hei</surname>
<given-names>X.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Stacked lsm based deep recurrent neural network with Kalman smoothing for blood glucose prediction</article-title>. <source>BMC Med. Inf. Decis. Mak.</source>
<volume>21</volume>, <fpage>101</fpage>&#x2013;<lpage>115</lpage>. <pub-id pub-id-type="doi">10.1186/s12911-021-01462-5</pub-id>
</citation>
</ref>
<ref id="B34">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Shih</surname>
<given-names>S.-Y.</given-names>
</name>
<name>
<surname>Sun</surname>
<given-names>F.-K.</given-names>
</name>
<name>
<surname>Lee</surname>
<given-names>H.-y.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Temporal pattern attention for multivariate time series forecasting</article-title>. <source>Mach. Learn.</source>
<volume>108</volume>, <fpage>1421</fpage>&#x2013;<lpage>1441</lpage>. <pub-id pub-id-type="doi">10.1007/s10994-019-05815-0</pub-id>
</citation>
</ref>
<ref id="B35">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Visser</surname>
<given-names>M. M.</given-names>
</name>
<name>
<surname>Charleer</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Fieuws</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>De Block</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Hilbrands</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Van Huffel</surname>
<given-names>L.</given-names>
</name>
<etal/>
</person-group> (<year>2023</year>). <article-title>Effect of switching from intermittently scanned to real-time continuous glucose monitoring in adults with type 1 diabetes: 24-month results from the randomised alertt1 trial</article-title>. <source>Lancet Diabetes and Endocrinol.</source>
<volume>11</volume>, <fpage>96</fpage>&#x2013;<lpage>108</lpage>. <pub-id pub-id-type="doi">10.1016/S2213-8587(22)00352-7</pub-id>
</citation>
</ref>
<ref id="B36">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wadghiri</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Idri</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>El Idrissi</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Hakkoum</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Ensemble blood glucose prediction in diabetes mellitus: A review</article-title>. <source>Comput. Biol. Med.</source>
<volume>147</volume>, <fpage>105674</fpage>. <pub-id pub-id-type="doi">10.1016/j.compbiomed.2022.105674</pub-id>
</citation>
</ref>
<ref id="B37">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Huang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>He</surname>
<given-names>B.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Dual-grained representation for hand, foot, and mouth disease prediction within public health cyber-physical systems</article-title>. <source>Softw. Pract. Exp.</source>
<volume>51</volume>, <fpage>2290</fpage>&#x2013;<lpage>2305</lpage>. <pub-id pub-id-type="doi">10.1002/spe.2940</pub-id>
</citation>
</ref>
<ref id="B38">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Lu</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Huang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Fu</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>A multi-view multi-omics model for cancer drug response prediction</article-title>. <source>Appl. Intell.</source>
<volume>52</volume>, <fpage>14639</fpage>&#x2013;<lpage>14650</lpage>. <pub-id pub-id-type="doi">10.1007/s10489-022-03294-w</pub-id>
</citation>
</ref>
<ref id="B39">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Huang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Fu</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>A multivariate time series graph neural network for district heat load forecasting</article-title>. <source>Energy</source>
<volume>278</volume>, <fpage>127911</fpage>. <pub-id pub-id-type="doi">10.1016/j.energy.2023.127911</pub-id>
</citation>
</ref>
<ref id="B40">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Wu</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Pan</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Long</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Jiang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Chang</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>C.</given-names>
</name>
</person-group> (<year>2020</year>). &#x201c;<article-title>Connecting the dots: Multivariate time series forecasting with graph neural networks</article-title>,&#x201d; in <conf-name>Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining</conf-name> (<publisher-loc>New York, NY, USA</publisher-loc>: <publisher-name>ACM</publisher-name>), <fpage>753</fpage>&#x2013;<lpage>763</lpage>.</citation>
</ref>
<ref id="B41">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Xie</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Q.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Benchmarking machine learning algorithms on blood glucose prediction for type i diabetes in comparison with classical time-series models</article-title>. <source>IEEE Trans. Biomed. Eng.</source>
<volume>67</volume>, <fpage>3101</fpage>&#x2013;<lpage>3124</lpage>. <pub-id pub-id-type="doi">10.1109/TBME.2020.2975959</pub-id>
</citation>
</ref>
<ref id="B42">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yang</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Yu</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Ma</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Wu</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>An autonomous channel deep learning framework for blood glucose prediction</article-title>. <source>Appl. Soft Comput.</source>
<volume>120</volume>, <fpage>108636</fpage>. <pub-id pub-id-type="doi">10.1016/j.asoc.2022.108636</pub-id>
</citation>
</ref>
<ref id="B43">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yang</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>He</surname>
<given-names>L.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Short-term prediction method of blood glucose based on temporal multi-head attention mechanism for diabetic patients</article-title>. <source>Biomed. Signal Process. Control</source>
<volume>82</volume>, <fpage>104552</fpage>. <pub-id pub-id-type="doi">10.1016/j.bspc.2022.104552</pub-id>
</citation>
</ref>
<ref id="B44">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ye</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Hua</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Zhou</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>Q.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Precise detection and quantitative prediction of blood glucose level with an electronic nose system</article-title>. <source>IEEE Sensors J.</source>
<volume>22</volume>, <fpage>12452</fpage>&#x2013;<lpage>12459</lpage>. <pub-id pub-id-type="doi">10.1109/jsen.2022.3178996</pub-id>
</citation>
</ref>
<ref id="B45">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zale</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Mathioudakis</surname>
<given-names>N.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Machine learning models for inpatient glucose prediction</article-title>. <source>Curr. Diabetes Rep.</source>
<volume>22</volume>, <fpage>353</fpage>&#x2013;<lpage>364</lpage>. <pub-id pub-id-type="doi">10.1007/s11892-022-01477-w</pub-id>
</citation>
</ref>
<ref id="B46">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Bahrampour</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Ramakrishnan</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Schott</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Shah</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2017</year>). &#x201c;<article-title>Deep learning on symbolic representations for large-scale heterogeneous time-series event prediction</article-title>,&#x201d; in <conf-name>Proceedings of the 2017 International Conference on Acoustics, Speech and Signal Processing</conf-name> (<publisher-loc>New Orleans, LA, USA</publisher-loc>: <publisher-name>IEEE</publisher-name>), <fpage>5970</fpage>&#x2013;<lpage>5974</lpage>.</citation>
</ref>
<ref id="B47">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Tong</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Xu</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Maciejewski</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Graph convolutional networks: A comprehensive review</article-title>. <source>Comput. Soc. Netw.</source>
<volume>6</volume>, <fpage>11</fpage>&#x2013;<lpage>23</lpage>. <pub-id pub-id-type="doi">10.1186/s40649-019-0069-y</pub-id>
</citation>
</ref>
<ref id="B48">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>He</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Niu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Han</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>X.</given-names>
</name>
<etal/>
</person-group> (<year>2022a</year>). <article-title>Graphene-enabled wearable sensors for healthcare monitoring</article-title>. <source>Biosens. Bioelectron.</source>
<volume>197</volume>, <fpage>113777</fpage>. <pub-id pub-id-type="doi">10.1016/j.bios.2021.113777</pub-id>
</citation>
</ref>
<ref id="B49">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Huang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2022b</year>). <article-title>Dual-grained directional representation for infectious disease case prediction</article-title>. <source>Knowledge-Based Syst.</source>
<volume>256</volume>, <fpage>109806</fpage>. <pub-id pub-id-type="doi">10.1016/j.knosys.2022.109806</pub-id>
</citation>
</ref>
<ref id="B50">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhao</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Zhu</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Shen</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Lin</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Liang</surname>
<given-names>Y.</given-names>
</name>
<etal/>
</person-group> (<year>2023</year>). <article-title>Chinese diabetes datasets for data-driven machine learning</article-title>. <source>Sci. Data</source>
<volume>10</volume>, <fpage>35</fpage>. <pub-id pub-id-type="doi">10.1038/s41597-023-01940-7</pub-id>
</citation>
</ref>
<ref id="B51">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhu</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Kuang</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Daniels</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Herrero</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Georgiou</surname>
<given-names>P.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Iomt-enabled real-time blood glucose prediction with deep learning and edge computing</article-title>. <source>IEEE Internet Things J.</source>
<volume>10</volume>, <fpage>3706</fpage>&#x2013;<lpage>3719</lpage>. <pub-id pub-id-type="doi">10.1109/jiot.2022.3143375</pub-id>
</citation>
</ref>
</ref-list>
</back>
</article>