<?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. Pharmacol.</journal-id>
<journal-title>Frontiers in Pharmacology</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Pharmacol.</abbrev-journal-title>
<issn pub-type="epub">1663-9812</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">1371504</article-id>
<article-id pub-id-type="doi">10.3389/fphar.2024.1371504</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Pharmacology</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Sequential model for predicting patient adherence in subcutaneous immunotherapy for allergic rhinitis</article-title>
<alt-title alt-title-type="left-running-head">Li 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/fphar.2024.1371504">10.3389/fphar.2024.1371504</ext-link>
</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" equal-contrib="yes">
<name>
<surname>Li</surname>
<given-names>Yin</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="author-notes" rid="fn001">
<sup>&#x2020;</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2539419/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/formal-analysis/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author" equal-contrib="yes">
<name>
<surname>Xiong</surname>
<given-names>Yu</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<xref ref-type="author-notes" rid="fn001">
<sup>&#x2020;</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/formal-analysis/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Fan</surname>
<given-names>Wenxin</given-names>
</name>
<xref ref-type="aff" rid="aff3">
<sup>3</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2632955/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Wang</surname>
<given-names>Kai</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/936327/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Yu</surname>
<given-names>Qingqing</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Si</surname>
<given-names>Liping</given-names>
</name>
<xref ref-type="aff" rid="aff4">
<sup>4</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>van der Smagt</surname>
<given-names>Patrick</given-names>
</name>
<xref ref-type="aff" rid="aff5">
<sup>5</sup>
</xref>
<xref ref-type="aff" rid="aff6">
<sup>6</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/67698/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/formal-analysis/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Tang</surname>
<given-names>Jun</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2553622/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Chen</surname>
<given-names>Nutan</given-names>
</name>
<xref ref-type="aff" rid="aff6">
<sup>6</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/629716/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/formal-analysis/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
</contrib-group>
<aff id="aff1">
<sup>1</sup>
<institution>Department of Otorhinolaryngology</institution>, <institution>The First People&#x2019;s Hospital of Foshan</institution>, <addr-line>Foshan</addr-line>, <country>China</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>Department of Otorhinolaryngology</institution>, <institution>The Second Affiliated Hospital of Guizhou University of Traditional Chinese Medicine</institution>, <addr-line>Guiyang</addr-line>, <country>China</country>
</aff>
<aff id="aff3">
<sup>3</sup>
<institution>Paul C. Lauterbur Research Center for Biomedical Imaging, Shenzhen Institutes of Advanced Technology</institution>, <addr-line>Shenzhen</addr-line>, <country>China</country>
</aff>
<aff id="aff4">
<sup>4</sup>
<institution>Department of Radiology</institution>, <institution>Zhongshan Hospital</institution>, <institution>Fudan University</institution>, <addr-line>Shanghai</addr-line>, <country>China</country>
</aff>
<aff id="aff5">
<sup>5</sup>
<institution>Faculty of Informatics, ELTE University</institution>, <addr-line>Budapest</addr-line>, <country>Hungary</country>
</aff>
<aff id="aff6">
<sup>6</sup>
<institution>Machine Learning Research Lab</institution>, <institution>Volkswagen Group</institution>, <addr-line>Munich</addr-line>, <country>Germany</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/1995901/overview">Andr&#xe9; Coelho</ext-link>, Instituto Polit&#xe9;cnico de Lisboa, Portugal</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/1209572/overview">Eduardo Guti&#xe9;rrez-Abej&#xf3;n</ext-link>, Universidad de Valladolid, Spain</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1282093/overview">Linda Cox</ext-link>, Consultant, Wyoming, United States</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Jun Tang, <email>fsyyytj@126.com</email>
</corresp>
<fn fn-type="equal" id="fn001">
<label>
<sup>&#x2020;</sup>
</label>
<p>These authors have contributed equally to this work</p>
</fn>
</author-notes>
<pub-date pub-type="epub">
<day>19</day>
<month>07</month>
<year>2024</year>
</pub-date>
<pub-date pub-type="collection">
<year>2024</year>
</pub-date>
<volume>15</volume>
<elocation-id>1371504</elocation-id>
<history>
<date date-type="received">
<day>16</day>
<month>01</month>
<year>2024</year>
</date>
<date date-type="accepted">
<day>24</day>
<month>06</month>
<year>2024</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2024 Li, Xiong, Fan, Wang, Yu, Si, van der Smagt, Tang and Chen.</copyright-statement>
<copyright-year>2024</copyright-year>
<copyright-holder>Li, Xiong, Fan, Wang, Yu, Si, van der Smagt, Tang and Chen</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>
<sec>
<title>Objective</title>
<p>Subcutaneous Immunotherapy (SCIT) is the long-lasting causal treatment of allergic rhinitis (AR). How to enhance the adherence of patients to maximize the benefit of allergen immunotherapy (AIT) plays a crucial role in the management of AIT. This study aims to leverage novel machine learning models to precisely predict the risk of non-adherence of AR patients and related local symptom scores in 3&#xa0;years SCIT.</p>
</sec>
<sec>
<title>Methods</title>
<p>The research develops and analyzes two models, sequential latent-variable model (SLVM) of Stochastic Latent Actor-Critic (SLAC) and Long Short-Term Memory (LSTM). SLVM is a probabilistic model that captures the dynamics of patient adherence, while LSTM is a type of recurrent neural network designed to handle time-series data by maintaining long-term dependencies. These models were evaluated based on scoring and adherence prediction capabilities.</p>
</sec>
<sec>
<title>Results</title>
<p>Excluding the biased samples at the first time step, the predictive adherence accuracy of the SLAC models is from 60% to 72%, and for LSTM models, it is 66%&#x2013;84%, varying according to the time steps. The range of Root Mean Square Error (RMSE) for SLAC models is between 0.93 and 2.22, while for LSTM models it is between 1.09 and 1.77. Notably, these RMSEs are significantly lower than the random prediction error of 4.55.</p>
</sec>
<sec>
<title>Conclusion</title>
<p>We creatively apply sequential models in the long-term management of SCIT with promising accuracy in the prediction of SCIT nonadherence in AR patients. While LSTM outperforms SLAC in adherence prediction, SLAC excels in score prediction for patients undergoing SCIT for AR. The state-action-based SLAC adds flexibility, presenting a novel and effective approach for managing long-term AIT.</p>
</sec>
</abstract>
<kwd-group>
<kwd>allergic rhinitis</kwd>
<kwd>allergen immunotherapy</kwd>
<kwd>adherence</kwd>
<kwd>sequential model</kwd>
<kwd>latent variable model</kwd>
</kwd-group>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Pharmacoepidemiology</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec id="s1">
<title>1 Introduction</title>
<p>Allergic rhinitis (AR) is characterized by allergen-specific IgE-mediated inflammation in upper respiratory inflammation with a prevalence of up to 30% worldwide (<xref ref-type="bibr" rid="B23">Meltzer, 2016</xref>). In addition to allergen avoidance as the superior criterion, allergen-specific immunotherapy (AIT) aims to induce specific allergen immune tolerance, consequently achieving a status of clinical symptom remission. The repeatable intake of the specific unmodified or chemically modified allergens (allergoids) was the key to maintaining the symptoms. Among these approaches of AIT, subcutaneous immunotherapy (SCIT), sublingual immunotherapy (SLIT), and lymphatic immunotherapy (LIT) are demonstrated as the mainstream treatments regarding efficacy, safety, and side effects. Compared to the SLIT, SCIT is a clinic-dependent treatment in which the patient accepted an allergen extract injection subcutaneously. It is divided into the initial treatment stage (dose accumulation stage) and the maintenance treatment stage (dose maintenance stage). The World Allergy Organization (WAO) recommends that immunotherapy be maintained for three to 5&#xa0;years and clinically recommended for at least 2&#xa0;years. Patient adherence is a critical factor in ensuring long-lasting efficacy and sustaining symptom-relieving effects.</p>
<p>Due to the long duration of SCIT, cumbersome process, slow onset, individual differences in treatment effect, and other factors fundamentally impact the completeness of therapeutics. From the reported studies on AIT, the rate of adherence ranged from around 25% to over 90% (<xref ref-type="bibr" rid="B27">Passalacqua et al., 2013</xref>). The World health Organization (WHO) adopted the definition of &#x201c;adherence&#x201d; as &#x201c;the extent to which a person&#x2019;s behavior, such as taking medication, following a diet, or executing lifestyle changes, corresponds with agreed recommendations from a healthcare provider&#x201d; (<xref ref-type="bibr" rid="B26">Eduardo, 2003</xref>). In recent European Academy of Allergy and Clinical Immunology (EAACI) guidelines, it is highlighted to educate patients on how immunotherapy works and on explaining the importance of compliance to the regular doses for 3&#xa0;years of treatment (<xref ref-type="bibr" rid="B31">Roberts et al., 2018</xref>).</p>
<p>The multiple approaches were introduced into the field of improving adherence and supervising patient outcomes with systematic and technological interventions to prevent incomplete discontinuation of the treatment. The intervention from a clinic in advance running through the whole treatment cycle was approved as an effective approach. In facing the multitude of personalized data from patients, how to precisely identify and assess the risk of upcoming non-adherent behavior, a clinical prediction model is promising in the application.</p>
<p>In healthcare, machine learning, especially sequential models, stands at the forefront of innovation, providing new ways to analyze complex medical data and improve patient treatments. Previous research primarily concentrated on non-sequential prediction methods for adherence (<xref ref-type="bibr" rid="B32">Ruff et al., 2019</xref>; <xref ref-type="bibr" rid="B37">Wang et al., 2020</xref>; <xref ref-type="bibr" rid="B25">Mousavi et al., 2022</xref>; <xref ref-type="bibr" rid="B38">Warren et al., 2022</xref>). This approach presents a significant limitation in treatment processes, particularly for immunotherapy that often spans extended periods, such as 3&#xa0;years. These non-sequential methods tend to predict only the overall outcome, overlooking the intricacies of intermediate time steps. To facilitate earlier intervention, a sequential model capable of making predictions at any given time step would be markedly more beneficial. While some subsequent studies have introduced sequential models (<xref ref-type="bibr" rid="B8">Hsu et al., 2022</xref>; <xref ref-type="bibr" rid="B34">Singh et al., 2022</xref>; <xref ref-type="bibr" rid="B33">Schleicher et al., 2023</xref>), their scope was restricted to predicting adherence alone. Our study enhances this approach by incorporating a state-action model, which can predict both adherence and score/state. This advancement allows for more precise and detailed management of AR patients by allergologists. These models excel in processing and analyzing time-dependent data, making them ideal for predicting patient adherence to treatments like SCIT for AIT. By effectively using sequential data, these algorithms uncover temporal patterns and correlations, leading to more accurate and personalized treatment plans.</p>
<p>In this study, in order to introduce the appropriate prediction model into long-period immunotherapy to customize the management of interventions and incorporate patient feedback, we have selected and evaluated two specific sequential models tailored to this scenario. Our findings demonstrate that these models are not only effective in predicting patient adherence to medical treatments but also invaluable in enhancing treatment strategies, thereby making a significant contribution to patient-centered healthcare.</p>
</sec>
<sec sec-type="methods" id="s2">
<title>2 Methods</title>
<sec id="s2-1">
<title>2.1 Study design</title>
<p>The study design is a critical component that shapes the direction and reliability of our research. It includes a systematic approach to selecting the study population, the treatment methods applied, and the evaluation criteria (see <xref ref-type="fig" rid="F1">Figure 1</xref>).</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>Flowchart on 205 patients treated with SCIT for Der p/Der f allergy during a 36-month treatment period. The adherence was assessed with sequential latent variable models focusing on patient&#x2019;s demographic characteristics and clinical follow-up data.</p>
</caption>
<graphic xlink:href="fphar-15-1371504-g001.tif"/>
</fig>
<sec id="s2-1-1">
<title>2.1.1 Population</title>
<p>A retrospective analysis including 205 AR patients who started SCIT treatment between August 2018 and September 2019 in the Immunotherapy Center at the First People&#x2019;s Hospital of Foshan was performed. According to the Guidelines for the Diagnosis and Treatment of Allergic Rhinitis (2015 Edition), the recruit criteria were formulated: Patients with skin index (SI) of skin prick test (SPT) &#x2b;&#x2b; or above, or specific Immunoglobulin E (sIgE) level in serum to dermatophagoides pteronyssinus (Der p) and/or dermatophagoides farinae (Der f) i.&#x2009;e., <inline-formula id="inf1">
<mml:math id="m1">
<mml:mi mathvariant="normal">D</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mspace width="0.3333em"/>
<mml:mi mathvariant="normal">p</mml:mi>
<mml:mo>/</mml:mo>
<mml:mi mathvariant="normal">D</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mi mathvariant="normal">r</mml:mi>
<mml:mspace width="0.3333em"/>
<mml:mi mathvariant="normal">f</mml:mi>
<mml:mo>&#x2265;</mml:mo>
<mml:mn>0.35</mml:mn>
<mml:mspace width="0.3333em"/>
<mml:mtext>kU/L</mml:mtext>
</mml:math>
</inline-formula>, which exposure to dust mites was confirmed as the major allergen by allergen tests, including: 1) Patients with mild to moderate asthma; 2) Patients with moderate to severe persistent rhinitis; 3) Mild to moderate asthma with allergic rhinitis (and/or allergic conjunctivitis); 4) Patients with mild to moderate asthma and eczema. Exclusion criteria included: 1) severe or uncontrolled bronchial asthma with continuous monitoring of Forced Expiratory Volume in one second (FEV1) <inline-formula id="inf2">
<mml:math id="m2">
<mml:mo>&#x3c;</mml:mo>
<mml:mn>70</mml:mn>
<mml:mi>%</mml:mi>
</mml:math>
</inline-formula> per of the expected value; 2) Patients with asthma whose symptoms or reduced lung function continue to fail to be controlled with grade 4 or 5 treatment; 3) Patients sensitized to other allergens such as pet furs, pollens or molds; 4) Patients who are taking beta-2 blockers or angiotensin-converting enzyme inhibitors; 5) Patients with serious underlying diseases, including cardiovascular and cerebrovascular diseases, autoimmune diseases and immunodeficiency diseases, malignant diseases, and chronic infectious diseases; 6) Patients with serious mental illness, lack of compliance, or inability to understand the risks and limitations of treatment. The patients data were anonymized before use.</p>
<p>The study protocol was approved by the Ethics Committee of the First People&#x2019;s Hospital of Foshan, Foshan, China. All methods were performed in accordance with the relevant guidelines and regulations.</p>
</sec>
<sec id="s2-1-2">
<title>2.1.2 SCIT treatment and evaluation</title>
<p>Before administering SCIT to enrolled patients, they will first perform a routine physical examination, inquire about related information since the last injection (including allergy symptoms), and post-injection, patients are observed for 30&#xa0;min in case of the occurrence of side effects. Standardized adsorbed Der p and Der f allergen extracts (Allergopharma, Reinbeck, Germany) were used for SCIT. According to the manufacturer&#x2019;s instructions, in the dose accumulation phase with weekly injections of allergen extracts with a gradually increased concentration from 100&#x2009;SQ-U/mL to 10,000&#x2009;SQ-U/mL, respectively injected 0.2, 0.4, 0.8 mL; after reaching the maintenance dose, 100,000 standardized quality units was used. In the maintenance phase, an injection interval of 6 <inline-formula id="inf3">
<mml:math id="m3">
<mml:mo>&#xb1;</mml:mo>
</mml:math>
</inline-formula> 2 weeks was carried out according to the manufacturer&#x2019;s recommendations.</p>
<p>Patients receive regular treatment evaluations, including symptom scores and medication scores. The symptom score recorded a total of nasal symptoms (nasal itching, sneezing, rhinorrhea, nasal congestion), ocular symptoms (ocular itching, lacrimation), and pulmonary symptoms (shortness of breath, tightness in chest, perennial cough, wheezing), and assessed symptom severity using the visual analogue scale (VAS). In the VAS symptom score, the score of each symptom is from 0 to 10.0 indicates that the patient has no discomfort and 10 indicates that the patient is extremely uncomfortable. The patient gives the score of each symptom according to the actual situation, and the sum of all symptom scores is the symptom score. Medication score recorded the use of current adjuvant medication within 1 month to reach symptom relief. The use of oral antihistamines, antileukotrienes, and bronchodilators were recorded as one point, local glucocorticoids as two points, oral glucocorticoids or combined medication (hormones and <inline-formula id="inf4">
<mml:math id="m4">
<mml:mi>&#x3b2;</mml:mi>
<mml:mn>2</mml:mn>
</mml:math>
</inline-formula> receptor agonists) as three points, and the total cumulative score was the medication score. Symptom scores and medication scores were assessed once at registration of SCIT and then thereafter.</p>
<p>Due to the separated injection regimen within 16 weeks and thereafter, all the chosen patients completed the 4&#xa0;months of SCIT, we chose the fourth month as the starting point of the observation. According to our previous experience, 1&#xa0;year after the start was the peak of the withdrawal, so we added a time point at 18 months to further assess and follow up on the related symptom score and individual status. The data collection spans six time steps: at 0, 4, 12, 18, 24, and 36 months. This approach is standard in medical treatment, although for optimal model performance, an equal distribution of time intervals would be preferable.</p>
</sec>
<sec id="s2-1-3">
<title>2.1.3 Data collection</title>
<p>Data were collected from patient records in hospitals, and the following information was extracted for analysis: patient age, gender, distance to clinic, ratio of AIT cost to family income, allergen test results, <italic>etc.</italic>, as well as patient VAS system score and medication score information, including baseline data of patients before injection therapy, adverse reactions to SCIT. For the descriptive analysis, categorical variables were given as numbers and percentages, and continuous variables were presented using mean, standard deviation, median, interquartile range (IQR), and minimum and maximum values. To address missing values, we tracked every patient, which allowed us to ensure the dataset&#x2019;s completeness. We did not remove outliers, aiming to follow real-clinical scenarios as closely as possible.</p>
</sec>
<sec id="s2-1-4">
<title>2.1.4 Survey methods</title>
<p>Adherence was defined as the accomplishment of 3&#xa0;years of AIT. Non-adherence was defined as discontinuation of AIT at random time points during 3&#xa0;years. The follow-up contents included 1) the main reasons for patients&#x2019; discontinuation of treatment; 2) the duration of discontinuation of treatment, and 3) Allergic symptoms after discontinuation of treatment.</p>
</sec>
</sec>
<sec id="s2-2">
<title>2.2 Sequential models</title>
<p>The focus of our study is the development of sequential models that can efficiently and accurately predict the progression of symptoms and adherence in patients undergoing SCIT. This involves a comprehensive analysis of the data collected, structured to provide insights into the treatment&#x2019;s effectiveness and patient compliance over time. Additionally, we explore and compare two distinct sequential models.</p>
<sec id="s2-2-1">
<title>2.2.1 Data</title>
<p>We have a dataset <inline-formula id="inf5">
<mml:math id="m5">
<mml:mi>D</mml:mi>
</mml:math>
</inline-formula>, comprising sequences <inline-formula id="inf6">
<mml:math id="m6">
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<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:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>T</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:mn>11</mml:mn>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula>, <inline-formula id="inf7">
<mml:math id="m7">
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<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:mi>y</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>&#x2208;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi mathvariant="double-struck">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula>, and a corresponding action <inline-formula id="inf8">
<mml:math id="m8">
<mml:msub>
<mml:mrow>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula>. In the context of healthcare, the observations encompass <inline-formula id="inf9">
<mml:math id="m9">
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> (see <xref ref-type="table" rid="T2">Table 2</xref>) whether the patient will cease the treatment in the interval between the scoring measurements at <inline-formula id="inf10">
<mml:math id="m10">
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> and <inline-formula id="inf11">
<mml:math id="m11">
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>. The actions <inline-formula id="inf12">
<mml:math id="m12">
<mml:msub>
<mml:mrow>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> represent the ongoing medical procedures for the patient during the period from <inline-formula id="inf13">
<mml:math id="m13">
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> to <inline-formula id="inf14">
<mml:math id="m14">
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> (see <xref ref-type="fig" rid="F2">Figure 2</xref>). In this context, <inline-formula id="inf15">
<mml:math id="m15">
<mml:msub>
<mml:mrow>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> is binary, reflecting whether treatment is given, and is numerically equivalent to the adherence variable <inline-formula id="inf16">
<mml:math id="m16">
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>. Despite their numerical equivalence, we maintain a distinction between action <inline-formula id="inf17">
<mml:math id="m17">
<mml:msub>
<mml:mrow>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> and adherence <inline-formula id="inf18">
<mml:math id="m18">
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> to enhance model clarity and accommodate future research expansions, potentially allowing for a wider range of action values. For each patient, we possess basic information <inline-formula id="inf19">
<mml:math id="m19">
<mml:mi>s</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>14</mml:mn>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula> which includes age, gender, commute distance to clinic, ratio of cost to family income, eosinophils count, eosinophils percentage, nasal allergen provocation test (change of nasal resistance, <inline-formula id="inf20">
<mml:math id="m20">
<mml:mi mathvariant="normal">&#x394;</mml:mi>
<mml:mtext>NR</mml:mtext>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>%</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>), peak nasal inspiratory flow. <inline-formula id="inf21">
<mml:math id="m21">
<mml:mi mathvariant="normal">&#x394;</mml:mi>
<mml:mi mathvariant="normal">P</mml:mi>
<mml:mi mathvariant="normal">N</mml:mi>
<mml:mi mathvariant="normal">I</mml:mi>
<mml:mi mathvariant="normal">F</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>%</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>), serum total IgE level, sIgE of Dermatophagoides pteronyssinus (Derp), sIgE of Dermatophagoides farinae (Derf), skin prick test (Derp, Derf) (see <xref ref-type="table" rid="T1">Table 1</xref> for more details).</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>Histogram of scores across six time steps. Score value (horizontal axis) vs. count (vertical axis).</p>
</caption>
<graphic xlink:href="fphar-15-1371504-g002.tif"/>
</fig>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>Demographic and clinical data of the patients under subcutaneous immunotherapy. In the rows from Age to Cost/Family income, values indicate the number of patients (percentage, if available). Other rows represent the median and IQR. <italic>p</italic>-values are omitted due to their large values.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th colspan="2" rowspan="2" align="center">Variables</th>
<th colspan="3" align="center">Patients</th>
</tr>
<tr>
<th align="center">total</th>
<th align="center">adherent</th>
<th align="center">non-adherent</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">age</td>
<td align="left">
<inline-formula id="inf22">
<mml:math id="m22">
<mml:mo>&#x2264;</mml:mo>
<mml:mn>12</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">96 (46.7)</td>
<td align="center">40</td>
<td align="center">56</td>
</tr>
<tr>
<td align="left">
</td>
<td align="left">13&#x2013;17</td>
<td align="center">30 (14.6)</td>
<td align="center">10</td>
<td align="center">20</td>
</tr>
<tr>
<td align="left"/>
<td align="left">
<inline-formula id="inf23">
<mml:math id="m23">
<mml:mo>&#x2265;</mml:mo>
<mml:mn>18</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">79 (38.7)</td>
<td align="center">23</td>
<td align="center">56</td>
</tr>
<tr>
<td align="left">gender</td>
<td align="left">Female</td>
<td align="center">62 (30.2)</td>
<td align="center">22</td>
<td align="center">40</td>
</tr>
<tr>
<td align="left"/>
<td align="left">Male</td>
<td align="center">143 (69.8)</td>
<td align="center">51</td>
<td align="center">92</td>
</tr>
<tr>
<td align="left">distance to clinic (km)</td>
<td align="left">
<inline-formula id="inf24">
<mml:math id="m24">
<mml:mo>&#x2264;</mml:mo>
<mml:mn>10</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">136 (66.3)</td>
<td align="center">56</td>
<td align="center">80</td>
</tr>
<tr>
<td align="left"/>
<td align="left">
<inline-formula id="inf25">
<mml:math id="m25">
<mml:mo>&#x3e;</mml:mo>
<mml:mn>10</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">69 (33.7)</td>
<td align="center">17</td>
<td align="center">52</td>
</tr>
<tr>
<td align="left">cost/family income (%)</td>
<td align="left">
<inline-formula id="inf26">
<mml:math id="m26">
<mml:mo>&#x3c;</mml:mo>
<mml:mn>30</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">107 (52.4)</td>
<td align="center">37</td>
<td align="center">70</td>
</tr>
<tr>
<td align="left">
</td>
<td align="left">30&#x2013;50</td>
<td align="center">77 (37.4)</td>
<td align="center">32</td>
<td align="center">45</td>
</tr>
<tr>
<td align="left"/>
<td align="left">
<inline-formula id="inf27">
<mml:math id="m27">
<mml:mo>&#x3e;</mml:mo>
<mml:mn>50</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">21 (10.2)</td>
<td align="center">4</td>
<td align="center">17</td>
</tr>
<tr>
<td align="left">EOS(<inline-formula id="inf28">
<mml:math id="m28">
<mml:mo>&#xd7;</mml:mo>
</mml:math>
</inline-formula>
<inline-formula id="inf29">
<mml:math id="m29">
<mml:msup>
<mml:mrow>
<mml:mn>10</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mn>9</mml:mn>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula>/L)</td>
<td align="left"/>
<td align="center">0.37; 0.41</td>
<td align="center">0.36; 0.52</td>
<td align="center">0.38; 0.36</td>
</tr>
<tr>
<td align="left">EOS %</td>
<td align="left"/>
<td align="center">0.05; 0.04</td>
<td align="center">0.05; 0.05</td>
<td align="center">0.05; 0.05</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf30">
<mml:math id="m30">
<mml:mi mathvariant="normal">&#x394;</mml:mi>
</mml:math>
</inline-formula>NR (%)</td>
<td align="left"/>
<td align="center">16.67; 59.70</td>
<td align="center">30.00; 92.80</td>
<td align="center">14.80; 50.00</td>
</tr>
<tr>
<td align="left">
<inline-formula id="inf31">
<mml:math id="m31">
<mml:mi mathvariant="normal">&#x394;</mml:mi>
</mml:math>
</inline-formula>PNIF(%)</td>
<td align="left"/>
<td align="center">11.90; 34.50</td>
<td align="center">12.70; 39.30</td>
<td align="center">11.10; 28.80</td>
</tr>
<tr>
<td align="left">total IgE (kU/L)</td>
<td align="left"/>
<td align="center">286; 543</td>
<td align="center">340; 487</td>
<td align="center">226; 555</td>
</tr>
<tr>
<td align="left">sIgE of Der p (kU/L)</td>
<td align="left"/>
<td align="center">30.80; 68.480</td>
<td align="center">31.30; 74.40</td>
<td align="center">30.40; 67.80</td>
</tr>
<tr>
<td align="left">sIgE of Der f (kU/L)</td>
<td align="left"/>
<td align="center">40.00; 68.20</td>
<td align="center">40.60; 75.10</td>
<td align="center">37.10; 65.70</td>
</tr>
<tr>
<td align="left">Der p SPT SI</td>
<td align="left"/>
<td align="center">1.04; 0.58</td>
<td align="center">1.00; 0.59</td>
<td align="center">0.82; 0.55</td>
</tr>
<tr>
<td align="left">Der f SPT SI</td>
<td align="left"/>
<td align="center">1.00; 0.50</td>
<td align="center">0.82; 0.51</td>
<td align="center">0.80; 0.45</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s2-2-2">
<title>2.2.2 Sequential latent variable model</title>
<p>In our research, we use the Stochastic Latent Actor-Critic (SLAC) model (<xref ref-type="bibr" rid="B16">Lee et al., 2020</xref>). Our application differs from the original use of SLAC which is typically associated with reinforcement learning. Instead, we use its sequential latent-variable model (SLVM) without Actor-Critic. This approach aligns with similar methodologies found in other works (<xref ref-type="bibr" rid="B15">Krishnan et al., 2015</xref>; <xref ref-type="bibr" rid="B10">Karl et al., 2016</xref>; <xref ref-type="bibr" rid="B4">Gregor et al., 2018</xref>). The choice of the SLAC model was motivated by its ability to facilitate more efficient learning and superior generalization in intricate environments.</p>
<p>The SLVM is fundamentally a framework that processes information in a step-by-step manner, capturing the dynamics of an environment or process over time. It constructs a latent representation of the data that it identifies and uses underlying patterns or structures within the dataset that probably are not immediately obvious. This capability makes it exceptionally suitable for tasks where understanding temporal relationships is crucial, such as predicting patient adherence in allergen immunotherapy. The model operates by generating a sequence of predictions, each informed by the data received up to that point, thereby enabling it to adapt and refine its understanding as more information becomes available. This methodological choice allows our research to use the strengths of SLAC in a novel context, applying it to the predictive modeling of patient behaviors in a healthcare setting.</p>
<p>After training the model, given the historical data up to step <inline-formula id="inf32">
<mml:math id="m32">
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:math>
</inline-formula>, the model is capable of generating a patient&#x2019;s next scores from time step <inline-formula id="inf33">
<mml:math id="m33">
<mml:mi>t</mml:mi>
</mml:math>
</inline-formula> to <inline-formula id="inf34">
<mml:math id="m34">
<mml:mi>T</mml:mi>
</mml:math>
</inline-formula> directly from the latent space, i.e., <inline-formula id="inf35">
<mml:math id="m35">
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>:</mml:mo>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">&#x2223;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>:</mml:mo>
<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>a</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>:</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>. Similarly, it can predict the adherence of step <inline-formula id="inf36">
<mml:math id="m36">
<mml:mi>t</mml:mi>
<mml:mo>:</mml:mo>
<mml:mi>T</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:math>
</inline-formula> at time step <inline-formula id="inf37">
<mml:math id="m37">
<mml:mi>t</mml:mi>
</mml:math>
</inline-formula>, <inline-formula id="inf38">
<mml:math id="m38">
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>:</mml:mo>
<mml:mi>T</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">&#x2223;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>:</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>0</mml:mn>
<mml:mo>:</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>. See details of the model and the training process in <xref ref-type="sec" rid="s11">Supplementary Appendix S1</xref>.</p>
</sec>
<sec id="s2-2-3">
<title>2.2.3 LSTM</title>
<p>As an alternative, Long short-term memory (LSTM) is a classical sequential neural-network model (<xref ref-type="bibr" rid="B7">Hochreiter and Schmidhuber, 1997</xref>). Given the historical data, in our implementation, an LSTM predicts the score <inline-formula id="inf39">
<mml:math id="m39">
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> and adherence <inline-formula id="inf40">
<mml:math id="m40">
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> in parallel. The LSTM&#x2019;s autoregressive feature allows us to iteratively input its current predictions to predict subsequent outcomes, covering prediction from <inline-formula id="inf41">
<mml:math id="m41">
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> to <inline-formula id="inf42">
<mml:math id="m42">
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> and <inline-formula id="inf43">
<mml:math id="m43">
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> to <inline-formula id="inf44">
<mml:math id="m44">
<mml:msub>
<mml:mrow>
<mml:mi>y</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:math>
</inline-formula>. Implementation details and the reasons for the model choice can be found in <xref ref-type="sec" rid="s11">Supplementary Appendix S2</xref>.</p>
</sec>
</sec>
</sec>
<sec sec-type="results" id="s3">
<title>3 Results</title>
<p>A total of 205 patients were enrolled in this study. The mean age was <inline-formula id="inf45">
<mml:math id="m45">
<mml:mn>17.57</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn>11.68</mml:mn>
</mml:math>
</inline-formula> years, children and adolescents represented the major population (61.3%) in AIT treatment. Males (70%) were predominantly represented. The population with a commute distance to the clinic within <inline-formula id="inf46">
<mml:math id="m46">
<mml:mn>10</mml:mn>
<mml:mspace width="0.3333em"/>
<mml:mtext>km</mml:mtext>
</mml:math>
</inline-formula> was 66 percent. Due to a great portion of juveniles from the cohort, the ratio of cost to family income instead of personal income was evaluated. The patients who undertook AIT cost less than 30% of monthly family income and account for half the distribution of the population, while 12.9% non-adherent patients undertook the 50% financial burden in AIT treatment.</p>
<p>The change of nasal resistance (NR) and peak nasal inspiratory flow (PNIF) after nasal allergen provocation (NPT) was used to evaluate the severity of symptoms by combining the symptom score. The change of NR after NPT from the adherent group was higher than the non-adherent group <inline-formula id="inf47">
<mml:math id="m47">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>30</mml:mn>
<mml:mspace width="0.3333em"/>
<mml:mi>%</mml:mi>
<mml:mtext>&#x2009;vs&#x2009;</mml:mtext>
<mml:mn>14.8</mml:mn>
<mml:mspace width="0.3333em"/>
<mml:mi>%</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>. The laboratory tests such as total IgE, sIgE of Der p and Der f, and SPT did not exhibit a significant difference between the two groups. For detailed characteristics of patients see <xref ref-type="table" rid="T1">Table 1</xref>.</p>
<p>The observed total non-adherence rate at the end of 3&#xa0;years was 35.4% and the median of the SCIT duration was 18 months in the study. The rate of dropout in the third year (43.0%) was highest in comparison to the end of the first year (26.5%) and the second year (30.0%). The reason for the withdrawal from the patients included the concern of COVID-19, especially at the beginning of 2020 accounting for a 25% portion of the non-adherent patients in the first year. The most influential reason for the withdrawal was unreached expectations for clinical improvement (43.9%). Medical issues including pregnancy status during the treatment period and other physical disorders were collected from patients leading to the withdrawal of SCIT (4.5%). The significantly improved symptoms contributed to the reason for dropout, especially after 2&#xa0;years SCIT treatments (18.2%). The recorded cases from side effects accounted for 4.5%, comprising the local and systematic adverse reactions (see <xref ref-type="table" rid="T2">Table 2</xref>).</p>
<table-wrap id="T2" position="float">
<label>TABLE 2</label>
<caption>
<p>Detailed reasons for withdrawal from SCIT at different time points.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th colspan="1" align="left">Reasons for SCIT withdrawal</th>
<th colspan="4" align="center">Number of non-adherent patients</th>
<th align="left"/>
</tr>
<tr>
<th align="left"/>
<th align="center">5&#x2013;12&#xa0;months</th>
<th align="center">13&#x2013;18&#xa0;months</th>
<th align="center">19&#x2013;24&#xa0;months</th>
<th align="center">25&#x2013;36&#xa0;months</th>
<th align="right">total by reason</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">no clinical improvement</td>
<td align="center">18</td>
<td align="center">11</td>
<td align="center">8</td>
<td align="center">21</td>
<td align="right">58</td>
</tr>
<tr>
<td align="left">medical issue</td>
<td align="center">3</td>
<td align="center">1</td>
<td align="center">2</td>
<td align="center">0</td>
<td align="right">6</td>
</tr>
<tr>
<td align="left">improved efficacy</td>
<td align="center">0</td>
<td align="center">0</td>
<td align="center">0</td>
<td align="center">24</td>
<td align="right">24</td>
</tr>
<tr>
<td align="left">schooling</td>
<td align="center">3</td>
<td align="center">3</td>
<td align="center">0</td>
<td align="center">5</td>
<td align="right">11</td>
</tr>
<tr>
<td align="left">side effects</td>
<td align="center">2</td>
<td align="center">1</td>
<td align="center">1</td>
<td align="center">2</td>
<td align="right">6</td>
</tr>
<tr>
<td align="left">COVID-19</td>
<td align="center">9</td>
<td align="center">7</td>
<td align="center">3</td>
<td align="center">1</td>
<td align="right">20</td>
</tr>
<tr>
<td align="left">personal issue</td>
<td align="center">0</td>
<td align="center">3</td>
<td align="center">0</td>
<td align="center">4</td>
<td align="right">7</td>
</tr>
<tr>
<td align="left">total by time period</td>
<td align="center">35</td>
<td align="center">26</td>
<td align="center">14</td>
<td align="center">57</td>
<td align="right">132</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>We have a total of 205 samples, which we have randomly divided into a test dataset comprising 20%, i.e., 41 samples. For our analysis, we employ a five-fold cross-validation approach. Additionally, we apply zero-mean and unit standard deviation (STD) normalization to the variables <inline-formula id="inf48">
<mml:math id="m48">
<mml:mi>x</mml:mi>
</mml:math>
</inline-formula> and <inline-formula id="inf49">
<mml:math id="m49">
<mml:mi>s</mml:mi>
</mml:math>
</inline-formula>.</p>
<p>The Root Mean Square Error (RMSE) metric is used to evaluate the precision of our medical score predictions. Furthermore, to assess the adherence predictions, we use a comprehensive set of metrics including accuracy, precision, recall, and the F1 score, each offering a unique perspective on the performance of our predictive models. Most of the figures in this study are presented using boxplots.</p>
<p>In all results in this study, the uncertainties for both models are calculated using <italic>five-fold cross-validation</italic>. In addition, as SLAC is a probabilistic model, we also perform 100 samples from the latent space to compute its uncertainty.</p>
<sec id="s3-1">
<title>3.1 One-step prediction</title>
<p>In this experiment, our focus is on predicting the immediate next step. Within the SLVM, the prediction of <inline-formula id="inf50">
<mml:math id="m50">
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> is based on the sequence <inline-formula id="inf51">
<mml:math id="m51">
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>:</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> and actions <inline-formula id="inf52">
<mml:math id="m52">
<mml:msub>
<mml:mrow>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>:</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>. Additionally, we forecast the subsequent state <inline-formula id="inf53">
<mml:math id="m53">
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> using the sequence <inline-formula id="inf54">
<mml:math id="m54">
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>:</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> along with actions <inline-formula id="inf55">
<mml:math id="m55">
<mml:msub>
<mml:mrow>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>:</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>. In contrast, for LSTM, the predictions for both <inline-formula id="inf56">
<mml:math id="m56">
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> and the next state <inline-formula id="inf57">
<mml:math id="m57">
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> are derived from <inline-formula id="inf58">
<mml:math id="m58">
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>:</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> and <inline-formula id="inf59">
<mml:math id="m59">
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>:</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>.</p>
<p>As illustrated in <xref ref-type="fig" rid="F3">Figure 3</xref>, SLVM surpasses LSTM in performance beginning at time step two. The figure indicates that with an increased amount of historical data (additional time steps), SLVM achieves greater RMSE. Both SLAC and LSTM demonstrate considerably better over random prediction methods. Further insights are provided in <xref ref-type="fig" rid="F4">Figures 4</xref>, <xref ref-type="fig" rid="F5">5</xref>, which provides detailed representations of each feature. In the prediction of specific local symptoms score, SLVM performs an improvement in error after step two with all parameters compared to LSTM. The results from RMSE in nasal and ocular symptoms display relatively high values compared to those for lower respiratory tract symptoms. This can be attributed to the fact that the majority of patients in the cohort predominantly exhibited nasal and ocular symptoms, which presented a wide range of scores.</p>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>RMSE of the prediction step by step. The red dashed line is the RMSE of random prediction with Uniform distribution. See <xref ref-type="fig" rid="F5">Figures 5</xref>, <xref ref-type="fig" rid="F6">6</xref> for more details.</p>
</caption>
<graphic xlink:href="fphar-15-1371504-g003.tif"/>
</fig>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>RMSE of SLAC one-step prediction across various scores and time steps.</p>
</caption>
<graphic xlink:href="fphar-15-1371504-g004.tif"/>
</fig>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>RMSE of LSTM one-step prediction across various scores and time steps.</p>
</caption>
<graphic xlink:href="fphar-15-1371504-g005.tif"/>
</fig>
<p>
<xref ref-type="fig" rid="F6">Figure 6</xref> demonstrates that from steps two to four, accuracy in adherence predictions improves with the inclusion of additional information. The first step shows a notable bias, as it only includes data from adherent patients, as detailed in Sec. 2.1.2. Nonetheless, both models adeptly manage this bias and achieve high-accuracy predictions. Prediction for the sixth step is not conducted due to the cessation of treatment by the hospital. In the fifth step, there is a decline in accuracy, likely due to the extended time interval of 12 months. In future research, it would be worthwhile to explore whether adopting a consistent interval for data collection could enhance the outcomes of longitudinal prediction. <xref ref-type="table" rid="T3">Table 3</xref> illustrates details of the classification for one-step prediction. Initially, both models exhibit perfect performance in Accuracy, Precision, and Recall at the first time step, but diverge in subsequent steps. In terms of Accuracy, LSTM generally outperforms SLVM, particularly evident at time steps three, four, and five. For Precision, LSTM again shows superior performance in the later time steps, except at time step two where SLVM marginally leads. However, in the Recall metric, SLVM surpasses LSTM from time step two onwards, indicating its strength in correctly identifying positive cases. The F1 score, which balances precision and recall, shows LSTM generally ahead, except at time step two where SLAC has a slight edge. This metric indicates LSTM&#x2019;s balanced capability in both precision and recall, especially in the later time steps. Overall, while both models start equally strong, LSTM demonstrates greater consistency and effectiveness across most metrics and time steps. SLVM, while lagging slightly behind in accuracy and precision, shows its robustness in recall, especially in the middle to later time steps.</p>
<fig id="F6" position="float">
<label>FIGURE 6</label>
<caption>
<p>Accuray of the prediction step by step. The red dashed line is the accuracy of random prediction with Uniform distribution. See <xref ref-type="table" rid="T3">Table 3</xref> for more details.</p>
</caption>
<graphic xlink:href="fphar-15-1371504-g006.tif"/>
</fig>
<table-wrap id="T3" position="float">
<label>TABLE 3</label>
<caption>
<p>Comparison of LSTM and SLAC over different time steps. The results are expressed as a mean <inline-formula id="inf60">
<mml:math id="m60">
<mml:mo>&#xb1;</mml:mo>
</mml:math>
</inline-formula> standard deviation. The better results are highlighted in bold.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left">Metric</th>
<th align="left">Model</th>
<th align="center">Time step 1</th>
<th align="center">Time step 2</th>
<th align="center">Time step 3</th>
<th align="center">Time step 4</th>
<th align="right">Time step 5</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">accuracy</td>
<td align="left">LSTM</td>
<td align="center">
<inline-formula id="inf61">
<mml:math id="m61">
<mml:mn mathvariant="bold">1.00</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn mathvariant="bold">0.00</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">
<inline-formula id="inf62">
<mml:math id="m62">
<mml:mn>0.66</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn>0.03</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">
<inline-formula id="inf63">
<mml:math id="m63">
<mml:mn mathvariant="bold">0.80</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn mathvariant="bold">0.04</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">
<inline-formula id="inf64">
<mml:math id="m64">
<mml:mn mathvariant="bold">0.84</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn mathvariant="bold">0.05</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="right">
<inline-formula id="inf65">
<mml:math id="m65">
<mml:mn mathvariant="bold">0.74</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn mathvariant="bold">0.02</mml:mn>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left"/>
<td align="left">SLVM</td>
<td align="center">
<inline-formula id="inf66">
<mml:math id="m66">
<mml:mn>1.00</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn>0.01</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">
<inline-formula id="inf67">
<mml:math id="m67">
<mml:mn mathvariant="bold">0.70</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn mathvariant="bold">0.06</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">
<inline-formula id="inf68">
<mml:math id="m68">
<mml:mn>0.72</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn>0.04</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">
<inline-formula id="inf69">
<mml:math id="m69">
<mml:mn>0.71</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn>0.04</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="right">
<inline-formula id="inf70">
<mml:math id="m70">
<mml:mn>0.60</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn>0.06</mml:mn>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">precision</td>
<td align="left">LSTM</td>
<td align="center">
<inline-formula id="inf71">
<mml:math id="m71">
<mml:mn mathvariant="bold">1.00</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn mathvariant="bold">0.00</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">
<inline-formula id="inf72">
<mml:math id="m72">
<mml:mn>0.72</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn>0.01</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">
<inline-formula id="inf73">
<mml:math id="m73">
<mml:mn mathvariant="bold">0.86</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn mathvariant="bold">0.06</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">
<inline-formula id="inf74">
<mml:math id="m74">
<mml:mn mathvariant="bold">0.90</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn mathvariant="bold">0.05</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="right">
<inline-formula id="inf75">
<mml:math id="m75">
<mml:mn mathvariant="bold">0.62</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn mathvariant="bold">0.03</mml:mn>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left"/>
<td align="left">SLVM</td>
<td align="center">
<inline-formula id="inf76">
<mml:math id="m76">
<mml:mn mathvariant="bold">1.00</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn mathvariant="bold">0.00</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">
<inline-formula id="inf77">
<mml:math id="m77">
<mml:mn mathvariant="bold">0.75</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn mathvariant="bold">0.03</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">
<inline-formula id="inf78">
<mml:math id="m78">
<mml:mn>0.74</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn>0.03</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">
<inline-formula id="inf79">
<mml:math id="m79">
<mml:mn>0.71</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn>0.03</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="right">
<inline-formula id="inf80">
<mml:math id="m80">
<mml:mn>0.44</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn>0.05</mml:mn>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">recall</td>
<td align="left">LSTM</td>
<td align="center">
<inline-formula id="inf81">
<mml:math id="m81">
<mml:mn mathvariant="bold">1.00</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn mathvariant="bold">0.00</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">
<inline-formula id="inf82">
<mml:math id="m82">
<mml:mn>0.86</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn>0.06</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">
<inline-formula id="inf83">
<mml:math id="m83">
<mml:mn>0.83</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn>0.05</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">
<inline-formula id="inf84">
<mml:math id="m84">
<mml:mn>0.82</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn>0.08</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="right">
<inline-formula id="inf85">
<mml:math id="m85">
<mml:mn>0.61</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn>0.03</mml:mn>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left"/>
<td align="left">SLVM</td>
<td align="center">
<inline-formula id="inf86">
<mml:math id="m86">
<mml:mn>1.00</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn>0.01</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">
<inline-formula id="inf87">
<mml:math id="m87">
<mml:mn mathvariant="bold">0.87</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn mathvariant="bold">0.06</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">
<inline-formula id="inf88">
<mml:math id="m88">
<mml:mn mathvariant="bold">0.90</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn mathvariant="bold">0.03</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">
<inline-formula id="inf89">
<mml:math id="m89">
<mml:mn mathvariant="bold">0.86</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn mathvariant="bold">0.04</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="right">
<inline-formula id="inf90">
<mml:math id="m90">
<mml:mn mathvariant="bold">0.70</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn mathvariant="bold">0.10</mml:mn>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left">F1 score</td>
<td align="left">LSTM</td>
<td align="center">
<inline-formula id="inf91">
<mml:math id="m91">
<mml:mn mathvariant="bold">1.00</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn mathvariant="bold">0.00</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">
<inline-formula id="inf92">
<mml:math id="m92">
<mml:mn>0.79</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn>0.03</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">
<inline-formula id="inf93">
<mml:math id="m93">
<mml:mn mathvariant="bold">0.84</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn mathvariant="bold">0.03</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">
<inline-formula id="inf94">
<mml:math id="m94">
<mml:mn mathvariant="bold">0.85</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn mathvariant="bold">0.05</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="right">
<inline-formula id="inf95">
<mml:math id="m95">
<mml:mn mathvariant="bold">0.62</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn mathvariant="bold">0.03</mml:mn>
</mml:math>
</inline-formula>
</td>
</tr>
<tr>
<td align="left"/>
<td align="left">SLVM</td>
<td align="center">
<inline-formula id="inf96">
<mml:math id="m96">
<mml:mn>1.00</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn>0.00</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">
<inline-formula id="inf97">
<mml:math id="m97">
<mml:mn mathvariant="bold">0.81</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn mathvariant="bold">0.04</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">
<inline-formula id="inf98">
<mml:math id="m98">
<mml:mn>0.81</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn>0.02</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="center">
<inline-formula id="inf99">
<mml:math id="m99">
<mml:mn>0.78</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn>0.03</mml:mn>
</mml:math>
</inline-formula>
</td>
<td align="right">
<inline-formula id="inf100">
<mml:math id="m100">
<mml:mn>0.54</mml:mn>
<mml:mo>&#xb1;</mml:mo>
<mml:mn>0.06</mml:mn>
</mml:math>
</inline-formula>
</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s3-2">
<title>3.2 Rollouts</title>
<p>In the rollout experiment, our focus extends to a longer-term prediction. The SLAC prediction of <inline-formula id="inf101">
<mml:math id="m101">
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>:</mml:mo>
<mml:mi>T</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> and <inline-formula id="inf102">
<mml:math id="m102">
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>:</mml:mo>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> are computed based on <inline-formula id="inf103">
<mml:math id="m103">
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>:</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> and <inline-formula id="inf104">
<mml:math id="m104">
<mml:msub>
<mml:mrow>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>:</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>. Actions, <inline-formula id="inf105">
<mml:math id="m105">
<mml:mrow>
<mml:mo stretchy="false">{</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>:</mml:mo>
<mml:mi>i</mml:mi>
<mml:mo>&#x2265;</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">}</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> are inferred from the model&#x2019;s output, <inline-formula id="inf106">
<mml:math id="m106">
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>. Moreover, for time steps greater than <inline-formula id="inf107">
<mml:math id="m107">
<mml:mi>t</mml:mi>
</mml:math>
</inline-formula>, we employ a prior in the latent space, which eliminates the need for the input of <inline-formula id="inf108">
<mml:math id="m108">
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>:</mml:mo>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>. In the LSTM model, the predictions for <inline-formula id="inf109">
<mml:math id="m109">
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>:</mml:mo>
<mml:mi>T</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> and <inline-formula id="inf110">
<mml:math id="m110">
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>:</mml:mo>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> are based on <inline-formula id="inf111">
<mml:math id="m111">
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>:</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> and <inline-formula id="inf112">
<mml:math id="m112">
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>:</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>.</p>
<p>
<xref ref-type="fig" rid="F7">Figures 7</xref>, <xref ref-type="fig" rid="F8">8</xref> illustrate the performance of our model in multi-step predictions. Similar to one-step predictions, the accuracy generally improves with the availability of more information, except in the case of the adherence prediction at the fifth step. The results demonstrate the model&#x2019;s proficiency in making long-term predictions.</p>
<fig id="F7" position="float">
<label>FIGURE 7</label>
<caption>
<p>RMSE of the rollout prediction. The first time step in each subplot represents the beginning of the rollout time step.</p>
</caption>
<graphic xlink:href="fphar-15-1371504-g007.tif"/>
</fig>
<fig id="F8" position="float">
<label>FIGURE 8</label>
<caption>
<p>Accuracy of the rollout prediction. The first time step in each subplot represents the beginning of the rollout time step.</p>
</caption>
<graphic xlink:href="fphar-15-1371504-g008.tif"/>
</fig>
</sec>
<sec id="s3-3">
<title>3.3 Model as a simulator</title>
<p>Given the initial condition of a patient, we can assess the outcomes of various interventions. Clinically, if the patient&#x2019;s adherence to treatment significantly impacts the prognosis (and there is a possibility of non-adherence), it becomes imperative for the doctor to emphasize treatment compliance. Conversely, if adherence makes little difference, it suggests the therapeutic approach may be ineffective for this patient, allowing the doctors to emphasize adherence efforts.</p>
<p>To evaluate the impact of varying actions on SLAC&#x2019;s performance, we analyze how different actions affect the resulting scores. In the absence of a ground truth with diverse actions for the same patient, our focus shifts to examining whether the states are responsive to changes in actions. Considering initial states <inline-formula id="inf113">
<mml:math id="m113">
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>:</mml:mo>
<mml:mn>3</mml:mn>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> and actions <inline-formula id="inf114">
<mml:math id="m114">
<mml:msub>
<mml:mrow>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>:</mml:mo>
<mml:mn>2</mml:mn>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>, we do rollouts with <inline-formula id="inf115">
<mml:math id="m115">
<mml:msub>
<mml:mrow>
<mml:mi>a</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>3</mml:mn>
<mml:mo>:</mml:mo>
<mml:mn>5</mml:mn>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>, alternating between one and zero. This controlled alteration reveals that the average predicted value of <inline-formula id="inf116">
<mml:math id="m116">
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>6</mml:mn>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> under these conditions is <inline-formula id="inf117">
<mml:math id="m117">
<mml:mo>&#x2212;</mml:mo>
<mml:mn>0.20</mml:mn>
</mml:math>
</inline-formula>. This value is computed from the prediction outcomes for actions with ones minus those for actions with zeros. The result indicates that our model can be used as a simulator for doctors to see the impact of different treatments/therapies. Since the LSTM does not have similar functions (see <xref ref-type="sec" rid="s2-2-3">Section 2.2.3</xref>), we only show the SLAC results.</p>
</sec>
<sec id="s3-4">
<title>3.4 Interpretability</title>
<p>Previous models and methods have been developed for interpreting machine learning algorithms, including SHAP (<xref ref-type="bibr" rid="B22">Lundberg and Lee, 2017</xref>) and Captum (<xref ref-type="bibr" rid="B14">Kokhlikyan et al., 2020</xref>). We opt for Captum, as it integrates more seamlessly with PyTorch-based code. We perform the measure of the factor importance using Integrated Gradients of Captum for SLAC (see <xref ref-type="fig" rid="F9">Figure 9</xref>). The magnitude of features highlights the significance of the model&#x2019;s prediction for a specific class. The distance to the clinic significantly impacts patient adherence, especially if a patient is located far from the clinic or has relocated, as they are more likely to discontinue their visits. Following the distance, SPT of Der f and sIgE of Der f greatly influence the adherence. In contrast,<inline-formula id="inf118">
<mml:math id="m118">
<mml:mi mathvariant="normal">&#x394;</mml:mi>
<mml:mtext>NR</mml:mtext>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>%</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, EOS<inline-formula id="inf119">
<mml:math id="m119">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>%</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, and the cost/family income<inline-formula id="inf120">
<mml:math id="m120">
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>%</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> have minimal impacts.</p>
<fig id="F9" position="float">
<label>FIGURE 9</label>
<caption>
<p>Importances of the factors.</p>
</caption>
<graphic xlink:href="fphar-15-1371504-g009.tif"/>
</fig>
</sec>
</sec>
<sec id="s4">
<title>4 Discussion and conclusion</title>
<p>The reported adherence rates of SCIT ranged from around 23%&#x2013;90%, due to the non-uniform follow-up duration (2&#x2013;4 years) (<xref ref-type="bibr" rid="B27">Passalacqua et al., 2013</xref>; <xref ref-type="bibr" rid="B18">Lemberg et al., 2017</xref>; <xref ref-type="bibr" rid="B39">Yang et al., 2018</xref>; <xref ref-type="bibr" rid="B17">Lee et al., 2019</xref>). Poor adherence in the three to 5-year time span of AIT is an obstacle to reaching allergen tolerance and symptom remission. Recently &#x201c;adherence and persistence in AIT (APAIT)&#x201d; checklist was proposed to assists researchers in assessing adherence or persistence to AIT treatment (<xref ref-type="bibr" rid="B28">Pfaar et al., 2023</xref>). The present study is the first research regarding the application of machine learning models in the adherence prediction of SCIT in AR patients. From our study, the accomplishment rate of the 3-year treatment cycle was relatively low (35.4%), while the dropout rate after 2&#xa0;years accounts for half (42.8%) in the whole non-adherence cohort. Several researchers focus on these variables impacting adherence to medical behaviors to enhance the intervention approach to reduce the withdrawal caused by disease-unrelated reasons. Even though the COVID-19 pandemic affected the adherence of the majority of the patients in the 3-year cycle, the first year since the pandemic&#x2019;s outbreak appears to have fundamentally built a barrier to patients, similar to the finding from <xref ref-type="bibr" rid="B19">Liu et al. (2021)</xref> that 11% dropouts in the 2&#xa0;years SCIT was observed caused by COVID-19. We excluded the patients who dropped out in the dose buildup phase within 4&#xa0;months to minimize the dose-origin impact. Due to the uncovered cost from the public healthcare system and commercial insurance, financial burden accounts for a non-negligible factor in influencing the patient&#x2019;s decision-making. A similar finding from <xref ref-type="bibr" rid="B21">Louren&#xe7;o et al. (2020)</xref> indicated that economic reasons contributed to the most frequent cause of SCIT cessation.</p>
<p>Recently, as the presented studies focusing on the medication adherence prediction of non-communicable diseases such as diabetes, hypertension, cancer, and chronic respiratory diseases regarding machine learning models were introduced into the application, the systematic monitoring of patients&#x2019; adherence behaviors remarkably re-tailored the disease management and enhanced medical decision-making (<xref ref-type="bibr" rid="B9">Kanyongo and Ezugwu, 2023</xref>) Due to the multidimensional variables in the prediction of adherence collected for analysis, machine learning models exhibit advantages in automatic feature selection, interaction effects, scalability, robustness, and so on compared to traditional regression analysis.</p>
<p>
<xref ref-type="bibr" rid="B25">Mousavi et al. (2022)</xref> demonstrated the effectiveness of a hybrid model that combines neural networks and genetic algorithms for predicting diet adherence. <xref ref-type="bibr" rid="B37">Wang et al. (2020)</xref> explored another hybrid model that integrates neural networks and support vector machines to predict nonadherence in Crohn&#x2019;s Disease patients by streamlining the intervention process in medicine-taking. Both methods have shown excellent performance. The deployment of machine-learning algorithms in the prediction of adherence in cardiovascular disease including random forests, support vector machines, and neural networks showed the accuracy ranged from 0.53 to 0.97 (<xref ref-type="bibr" rid="B24">Mirzadeh et al., 2022</xref>; <xref ref-type="bibr" rid="B41">Zakeri et al., 2022</xref>). The ensemble learning model in the prediction of adherence from the patients who conducted self-administer injections proposed by <xref ref-type="bibr" rid="B5">Gu et al. (2021)</xref> achieved a good performance and generalization properties based on the fusion of multiple heterogeneous classifiers. In the field of allergen immunotherapy, <xref ref-type="bibr" rid="B40">Yao et al. (2023)</xref> introduced a machine-learning model with an improved DFSSA algorithm to predict the therapeutic efficacy of AIT for asthma using clinical characteristics and serum allergen detection metrics. However, these non-sequential methods generally predict only the final outcome, neglecting the complexities of intermediate stages. A sequential model that can make predictions at any specific time step would significantly enhance the ability for early intervention. <xref ref-type="bibr" rid="B8">Hsu et al. (2022)</xref> investigated the advantages of incorporating patient history into the prediction of medication adherence. They assessed the performance of temporal neural network models, particularly LSTM and simple recurrent neural networks, and compared these with non-temporal neural networks, ridge classifiers, and logistic regression. To optimize the efficacy of cognitive training for older adults, <xref ref-type="bibr" rid="B34">Singh et al. (2022)</xref> employed multivariate time series analysis and developed personalized models for each patient to capture their unique adherence patterns. However, the sequential data of patients is often characterized by fluctuating adherence and high dropout rates, resulting in uneven, unaligned, and missing values in the time series data. To address this challenge, <xref ref-type="bibr" rid="B33">Schleicher et al. (2023)</xref> applied change point detection to identify phases with varying dropout rates, presented methods for handling uneven and misaligned time series, and used time series classification to predict the user&#x2019;s phase. These models, however, overlook the significance of score prediction in SCIT treatment. Our study advances this methodology by integrating a state-action model capable of predicting both adherence and score/state. This enhancement facilitates a more accurate and comprehensive whole-process management of AR patients in SCIT treatment.</p>
<p>The proposed prediction models can help clinicians dynamically measure the effectiveness of adherence interventions including more frequent reminders or engagement strategies, such that healthcare teams can focus on these individuals and proactively provide them with additional support. Moreover, in the surveillance of local symptom scores and rescue medicine up-take, the models offer a clinical evidence-based approach to precisely predict the risk of non-adherence in patient-centered care precisely. Especially for the potential risk of withdrawal caused by medical issues or related side effects, our models suggest multidimensional observational parameters for timely offering medical intervention and increasing patient engagement by participating in shared decision-making. The implementation of integration of the models with existing healthcare workflows is challenging, while the application of telesystem and online consultation would improve the work efficacy in immunotherapy centers and facilitate patient&#x2019;s self-management.</p>
<p>Our study demonstrates notable findings in the domain of patient adherence prediction in subcutaneous immunotherapy. The comparison between the SLAC model and LSTM model reveals the distinct strengths and limitations of each approach. Notably, SLAC exhibits greater flexibility, and it outperforms LSTM in score prediction. This advantage likely stems from its ability to efficiently learn and generalize in complex environments. Conversely, the LSTM model shows better performance in predicting adherence, indicating its potential usage in scenarios. Both models demonstrate the capability to handle longer sequences, extending beyond one-step prediction. This ability is crucial in medical settings where long-term patient monitoring and prediction are essential for effective treatment planning.</p>
<p>Overall, the study underscores the importance of selecting the appropriate model based on the specific requirements of the task, whether it be flexibility, precision in score prediction, or adherence prediction. The findings contribute to the growing field of machine learning applications in healthcare, particularly in enhancing patient-centered treatment strategies through accurate and personalized predictions. Future research could focus on evaluating the SLAC model&#x2019;s performance in simulating various actions, further enriching its applicability in clinical settings. Additionally, the generalization to other diseases or the application of our models would be an interesting direction for future research.</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="s11">Supplementary Material</xref>, further inquiries can be directed to the corresponding author.</p>
</sec>
<sec id="s6">
<title>Ethics statement</title>
<p>The studies involving humans were approved by Ethics Committee of The First People&#x2019;s Hospital of Foshan. The studies were conducted in accordance with the local legislation and institutional requirements. Written informed consent for participation was not required from the participants or the participants&#x2019;s legal guardians/next of kin in accordance with the national legislation and institutional requirements.</p>
</sec>
<sec id="s7">
<title>Author contributions</title>
<p>YL: Data curation, Formal Analysis, Investigation, Methodology, Software, Writing&#x2013;original draft, Writing&#x2013;review and editing. YX: Data curation, Formal Analysis, Investigation, Writing&#x2013;original draft. WF: Data curation, Methodology, Software, Writing&#x2013;original draft. KW: Data curation, Investigation, Writing&#x2013;original draft. QY: Data curation, Methodology, Software, Writing&#x2013;original draft. LS: Data curation, Methodology, Writing&#x2013;original draft. PV: Data curation, Formal Analysis, Writing&#x2013;original draft. JT: Conceptualization, Supervision, Writing&#x2013;review and editing. NC: Conceptualization, Data curation, Formal Analysis, Investigation, Methodology, Writing&#x2013;original draft, Writing&#x2013;review and editing.</p>
</sec>
<sec sec-type="funding-information" id="s8">
<title>Funding</title>
<p>The author(s) declare that no financial support was received for the research, authorship, and/or publication of this article.</p>
</sec>
<sec sec-type="COI-statement" id="s9">
<title>Conflict of interest</title>
<p>Authors PV and NC were employed by company Volkswagen Group.</p>
<p>The remaining 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="s10">
<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="s11">
<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/fphar.2024.1371504/full#supplementary-material">https://www.frontiersin.org/articles/10.3389/fphar.2024.1371504/full&#x23;supplementary-material</ext-link>
</p>
<supplementary-material xlink:href="Presentation1.pdf" id="SM1" mimetype="application/pdf" xmlns:xlink="http://www.w3.org/1999/xlink"/>
</sec>
<ref-list>
<title>References</title>
<ref id="B26">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Eduardo</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2003</year>). <source>Adherence to long-term therapies: evidence for action</source>. <publisher-loc>Geneva, Switzerland</publisher-loc>: <publisher-name>World Health Organization</publisher-name>.</citation>
</ref>
<ref id="B4">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gregor</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Papamakarios</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Besse</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Buesing</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Weber</surname>
<given-names>T.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Temporal difference variational auto-encoder</article-title>. <source>arXiv</source>. <pub-id pub-id-type="doi">10.48550/arXiv.1806.03107</pub-id>
</citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Zalkikar</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Kelly</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Hall</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Daly</surname>
<given-names>K.</given-names>
</name>
<etal/>
</person-group> (<year>2021</year>). <article-title>Predicting medication adherence using ensemble learning and deep learning models with large scale healthcare data</article-title>. <source>Sci. Rep.</source> <volume>11</volume>, <fpage>18961</fpage>. <pub-id pub-id-type="doi">10.1038/s41598-021-98387-w</pub-id>
</citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hochreiter</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Schmidhuber</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>1997</year>). <article-title>Long short-term memory</article-title>. <source>Neural Comput.</source> <volume>9</volume>, <fpage>1735</fpage>&#x2013;<lpage>1780</lpage>. <pub-id pub-id-type="doi">10.1162/neco.1997.9.8.1735</pub-id>
</citation>
</ref>
<ref id="B8">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hsu</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Warren</surname>
<given-names>J. R.</given-names>
</name>
<name>
<surname>Riddle</surname>
<given-names>P. J.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Medication adherence prediction through temporal modelling in cardiovascular disease management</article-title>. <source>BMC Med. Inf. Decis. Mak.</source> <volume>22</volume>, <fpage>313</fpage>&#x2013;<lpage>321</lpage>. <pub-id pub-id-type="doi">10.1186/s12911-022-02052-9</pub-id>
</citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kanyongo</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Ezugwu</surname>
<given-names>A. E.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Machine learning approaches to medication adherence amongst ncd patients: a systematic literature review</article-title>. <source>Inf. Med. Unlocked</source> <volume>38</volume>, <fpage>101210</fpage>. <pub-id pub-id-type="doi">10.1016/j.imu.2023.101210</pub-id>
</citation>
</ref>
<ref id="B10">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Karl</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Soelch</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Bayer</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Van der Smagt</surname>
<given-names>P.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>Deep variational bayes filters: unsupervised learning of state space models from raw data</article-title>. <source>arXiv</source>. <pub-id pub-id-type="doi">10.48550/arXiv.1605.06432</pub-id>
</citation>
</ref>
<ref id="B14">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kokhlikyan</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Miglani</surname>
<given-names>V.</given-names>
</name>
<name>
<surname>Martin</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Alsallakh</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Reynolds</surname>
<given-names>J.</given-names>
</name>
<etal/>
</person-group> (<year>2020</year>). <article-title>Captum: a unified and generic model interpretability library for pytorch</article-title>. <source>arXiv</source>. <pub-id pub-id-type="doi">10.48550/arXiv.2009.07896</pub-id>
</citation>
</ref>
<ref id="B15">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Krishnan</surname>
<given-names>R. G.</given-names>
</name>
<name>
<surname>Shalit</surname>
<given-names>U.</given-names>
</name>
<name>
<surname>Sontag</surname>
<given-names>D.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Deep kalman filters</article-title>. <source>aarXiv</source>. <pub-id pub-id-type="doi">10.48550/arXiv.1511.05121</pub-id>
</citation>
</ref>
<ref id="B16">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lee</surname>
<given-names>A. X.</given-names>
</name>
<name>
<surname>Nagabandi</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Abbeel</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Levine</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Stochastic latent actor-critic: deep reinforcement learning with a latent variable model</article-title>. <source>Adv. Neural Inf. Process. Syst.</source> <volume>33</volume>, <fpage>741</fpage>&#x2013;<lpage>752</lpage>. <pub-id pub-id-type="doi">10.48550/arXiv.1907.00953</pub-id>
</citation>
</ref>
<ref id="B17">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lee</surname>
<given-names>J.-H.</given-names>
</name>
<name>
<surname>Lee</surname>
<given-names>S.-H.</given-names>
</name>
<name>
<surname>Ban</surname>
<given-names>G.-Y.</given-names>
</name>
<name>
<surname>Ye</surname>
<given-names>Y.-M.</given-names>
</name>
<name>
<surname>Nahm</surname>
<given-names>D.-H.</given-names>
</name>
<name>
<surname>Park</surname>
<given-names>H.-S.</given-names>
</name>
<etal/>
</person-group> (<year>2019</year>). <article-title>Factors associated with adherence to allergen specific subcutaneous immunotherapy</article-title>. <source>Yonsei Med. J.</source> <volume>60</volume>, <fpage>570</fpage>&#x2013;<lpage>577</lpage>. <pub-id pub-id-type="doi">10.3349/ymj.2019.60.6.570</pub-id>
</citation>
</ref>
<ref id="B18">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lemberg</surname>
<given-names>M.-L.</given-names>
</name>
<name>
<surname>Berk</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Shah-Hosseini</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Kasche</surname>
<given-names>E.-M.</given-names>
</name>
<name>
<surname>M&#xf6;sges</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Sublingual versus subcutaneous immunotherapy: patient adherence at a large German allergy center</article-title>. <source>Patient Prefer. Adherence</source> <volume>11</volume>, <fpage>63</fpage>&#x2013;<lpage>70</lpage>. <pub-id pub-id-type="doi">10.2147/PPA.S122948</pub-id>
</citation>
</ref>
<ref id="B19">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Liu</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Feng</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Yu</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Compliance with subcutaneous immunotherapy and factors affecting compliance among patients with allergic rhinitis</article-title>. <source>Am. J. Otolaryngol</source> <volume>42</volume>, <fpage>103125</fpage>. <pub-id pub-id-type="doi">10.1016/j.amjoto.2021.103125</pub-id>
</citation>
</ref>
<ref id="B21">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Louren&#xe7;o</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Fernandes</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Coutinho</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Lopes</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Spinola Santos</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Neto</surname>
<given-names>M.</given-names>
</name>
<etal/>
</person-group> (<year>2020</year>). <article-title>Subcutaneous immunotherapy with aeroallergens-evaluation of adherence in real life</article-title>. <source>Eur. Ann. Allergy Clin. Immunol.</source> <volume>52</volume>, <fpage>84</fpage>&#x2013;<lpage>90</lpage>. <pub-id pub-id-type="doi">10.23822/EurAnnACI.1764-1489.122</pub-id>
</citation>
</ref>
<ref id="B22">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lundberg</surname>
<given-names>S. M.</given-names>
</name>
<name>
<surname>Lee</surname>
<given-names>S.-I.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>A unified approach to interpreting model predictions</article-title>. <source>Adv. Neural Inf. Process. Syst.</source> <volume>30</volume>. <pub-id pub-id-type="doi">10.5555/3295222.3295230</pub-id>
</citation>
</ref>
<ref id="B23">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Meltzer</surname>
<given-names>E. O.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>Allergic rhinitis: burden of illness, quality of life, comorbidities, and control</article-title>. <source>Immunol. Allergy Clin.</source> <volume>36</volume>, <fpage>235</fpage>&#x2013;<lpage>248</lpage>. <pub-id pub-id-type="doi">10.1016/j.iac.2015.12.002</pub-id>
</citation>
</ref>
<ref id="B24">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Mirzadeh</surname>
<given-names>S. I.</given-names>
</name>
<name>
<surname>Arefeen</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Ardo</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Fallahzadeh</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Minor</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Lee</surname>
<given-names>J.-A.</given-names>
</name>
<etal/>
</person-group> (<year>2022</year>). <article-title>Use of machine learning to predict medication adherence in individuals at risk for atherosclerotic cardiovascular disease</article-title>. <source>Smart Health</source> <volume>26</volume>, <fpage>100328</fpage>. <pub-id pub-id-type="doi">10.1016/j.smhl.2022.100328</pub-id>
</citation>
</ref>
<ref id="B25">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Mousavi</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Karandish</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Jamshidnezhad</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Hadianfard</surname>
<given-names>A. M.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Determining the effective factors in predicting diet adherence using an intelligent model</article-title>. <source>Sci. Rep.</source> <volume>12</volume>, <fpage>12340</fpage>. <pub-id pub-id-type="doi">10.1038/s41598-022-16680-8</pub-id>
</citation>
</ref>
<ref id="B27">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Passalacqua</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Baiardini</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Senna</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Canonica</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>2013</year>). <article-title>Adherence to pharmacological treatment and specific immunotherapy in allergic rhinitis</article-title>. <source>Clin. Exp. Allergy</source> <volume>43</volume>, <fpage>22</fpage>&#x2013;<lpage>28</lpage>. <pub-id pub-id-type="doi">10.1111/j.1365-2222.2012.04052.x</pub-id>
</citation>
</ref>
<ref id="B28">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Pfaar</surname>
<given-names>O.</given-names>
</name>
<name>
<surname>Devillier</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Schmitt</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Demoly</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Hilberg</surname>
<given-names>O.</given-names>
</name>
<name>
<surname>DuBuske</surname>
<given-names>L.</given-names>
</name>
<etal/>
</person-group> (<year>2023</year>). <article-title>Adherence and persistence in allergen immunotherapy (apait): a reporting checklist for retrospective studies</article-title>. <publisher-loc>Allergy</publisher-loc>.</citation>
</ref>
<ref id="B31">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Roberts</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Pfaar</surname>
<given-names>O.</given-names>
</name>
<name>
<surname>Akdis</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Ansotegui</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Durham</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Gerth van Wijk</surname>
<given-names>R.</given-names>
</name>
<etal/>
</person-group> (<year>2018</year>). <article-title>Eaaci guidelines on allergen immunotherapy: allergic rhinoconjunctivitis</article-title>. <source>Allergy</source> <volume>73</volume>, <fpage>765</fpage>&#x2013;<lpage>798</lpage>. <pub-id pub-id-type="doi">10.1111/all.13317</pub-id>
</citation>
</ref>
<ref id="B32">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ruff</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Koukalova</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Haefeli</surname>
<given-names>W. E.</given-names>
</name>
<name>
<surname>Meid</surname>
<given-names>A. D.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>The role of adherence thresholds for development and performance aspects of a prediction model for direct oral anticoagulation adherence</article-title>. <source>Front. Pharmacol.</source> <volume>10</volume>, <fpage>113</fpage>. <pub-id pub-id-type="doi">10.3389/fphar.2019.00113</pub-id>
</citation>
</ref>
<ref id="B33">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Schleicher</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Unnikrishnan</surname>
<given-names>V.</given-names>
</name>
<name>
<surname>Pryss</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Schobel</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Schlee</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Spiliopoulou</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Prediction meets time series with gaps: user clusters with specific usage behavior patterns</article-title>. <source>Artif. Intell. Med.</source> <volume>142</volume>, <fpage>102575</fpage>. <pub-id pub-id-type="doi">10.1016/j.artmed.2023.102575</pub-id>
</citation>
</ref>
<ref id="B34">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Singh</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Chakraborty</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>He</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Tian</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Lustria</surname>
<given-names>M. L. A.</given-names>
</name>
<etal/>
</person-group> (<year>2022</year>). <article-title>Deep learning-based predictions of older adults&#x2019; adherence to cognitive training to support training efficacy</article-title>. <source>Front. Psychol.</source> <volume>13</volume>, <fpage>980778</fpage>. <pub-id pub-id-type="doi">10.3389/fpsyg.2022.980778</pub-id>
</citation>
</ref>
<ref id="B37">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wang</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Fan</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Hong</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>Y.</given-names>
</name>
<etal/>
</person-group> (<year>2020</year>). <article-title>Applying machine learning models to predict medication nonadherence in crohn&#x2019;s disease maintenance therapy</article-title>. <source>Patient Prefer. adherence</source> <volume>14</volume>, <fpage>917</fpage>&#x2013;<lpage>926</lpage>. <pub-id pub-id-type="doi">10.2147/PPA.S253732</pub-id>
</citation>
</ref>
<ref id="B38">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Warren</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Marashi</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Siddiqui</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Eijaz</surname>
<given-names>A. A.</given-names>
</name>
<name>
<surname>Pradhan</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Lim</surname>
<given-names>D.</given-names>
</name>
<etal/>
</person-group> (<year>2022</year>). <article-title>Using machine learning to study the effect of medication adherence in opioid use disorder</article-title>. <source>PLoS One</source> <volume>17</volume>, <fpage>e0278988</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pone.0278988</pub-id>
</citation>
</ref>
<ref id="B39">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Yang</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Huang</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>X.</given-names>
</name>
<etal/>
</person-group> (<year>2018</year>). <article-title>Risk factors and strategies in nonadherence with subcutaneous immunotherapy: a real-life study</article-title>. <source>Int. Forum Allergy Rhinol.</source> <volume>8</volume>, <fpage>1267</fpage>&#x2013;<lpage>1273</lpage>. <pub-id pub-id-type="doi">10.1002/alr.22190</pub-id>
</citation>
</ref>
<ref id="B40">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yao</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Wang</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Zhou</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Jia</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Xiang</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>W.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Predicting the therapeutic efficacy of ait for asthma using clinical characteristics, serum allergen detection metrics, and machine learning techniques</article-title>. <source>Comput. Biol. Med.</source> <volume>166</volume>, <fpage>107544</fpage>. <pub-id pub-id-type="doi">10.1016/j.compbiomed.2023.107544</pub-id>
</citation>
</ref>
<ref id="B41">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zakeri</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Sansgiry</surname>
<given-names>S. S.</given-names>
</name>
<name>
<surname>Abughosh</surname>
<given-names>S. M.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Application of machine learning in predicting medication adherence of patients with cardiovascular diseases: a systematic review of the literature</article-title>. <source>J. Med. Artif. Intell.</source> <volume>5</volume>, <fpage>5</fpage>&#x2013;<lpage>16</lpage>. <pub-id pub-id-type="doi">10.21037/jmai-21-26</pub-id>
</citation>
</ref>
</ref-list>
</back>
</article>