Figures
Abstract
Background
The objective of this study is to investigate predictive utility of online social media and web search queries, particularly, Google search data, to forecast new cases of influenza-like-illness (ILI) in general outpatient clinics (GOPC) in Hong Kong. To mitigate the impact of sensitivity to self-excitement (i.e., fickle media interest) and other artifacts of online social media data, in our approach we fuse multiple offline and online data sources.
Methods
Four individual models: generalized linear model (GLM), least absolute shrinkage and selection operator (LASSO), autoregressive integrated moving average (ARIMA), and deep learning (DL) with Feedforward Neural Networks (FNN) are employed to forecast ILI-GOPC both one week and two weeks in advance. The covariates include Google search queries, meteorological data, and previously recorded offline ILI. To our knowledge, this is the first study that introduces deep learning methodology into surveillance of infectious diseases and investigates its predictive utility. Furthermore, to exploit the strength from each individual forecasting models, we use statistical model fusion, using Bayesian model averaging (BMA), which allows a systematic integration of multiple forecast scenarios. For each model, an adaptive approach is used to capture the recent relationship between ILI and covariates.
Results
DL with FNN appears to deliver the most competitive predictive performance among the four considered individual models. Combing all four models in a comprehensive BMA framework allows to further improve such predictive evaluation metrics as root mean squared error (RMSE) and mean absolute predictive error (MAPE). Nevertheless, DL with FNN remains the preferred method for predicting locations of influenza peaks.
Citation: Xu Q, Gel YR, Ramirez Ramirez LL, Nezafati K, Zhang Q, Tsui K-L (2017) Forecasting influenza in Hong Kong with Google search queries and statistical model fusion. PLoS ONE 12(5): e0176690. https://doi.org/10.1371/journal.pone.0176690
Editor: Benjamin J. Cowling, University of Hong Kong, HONG KONG
Received: March 27, 2017; Accepted: April 15, 2017; Published: May 2, 2017
Copyright: © 2017 Xu et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: Influenza data are available from Hong Kong Centers for Health Protection (CHP). https://www.chp.gov.hk/ Google search data are available from Google Trends. https://trends.google.com.hk/. Meteorological data are available from Hong Kong Observatory https://www.hko.gov.hk/.
Funding: Research Grants Council Collaborative Research Fund (Ref. CityU8/CRF/12G) http://www.ugc.edu.hk/eng/rgc/result/other/12-13.htm. Theme-Based Research Scheme (Ref. T32-102/14-N) http://www.ugc.edu.hk/eng/rgc/theme/results/trs4.htm. National Natural Science Foundation of China (Ref. 71420107023) http://www.nsfc.gov.cn/publish/portal1/. National Science Foundation, Division of Mathematical Sciences (Ref. 1514808). https://nsf.gov/awardsearch/showAward?AWD_ID=1514808. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Competing interests: The authors have declared that no competing interests exist.
Introduction
In the past decades, millions of people were struck down by waves of influenza outbreaks. Worldwide, an estimated 3–5 million cases of severe illness occur due to the seasonal influenza, which also cause about 250,000 to 500,000 influenza associated deaths [1]. Furthermore, the 2009 H1N1 pandemic resulted in between 151,700 and 575,400 deaths worldwide only during the first year the virus circulated [2]. Prediction of influenza outbreaks is critical for developing effective strategies for prevention, intervention, and countermeasures, including but not limited to quarantine, vaccination, antiviral campaigns, management of hospital resources, and the United States’ Strategic National Stockpile, which can help to avoid catastrophic consequences and safe lives.
In 2008, Google developed an influenza surveillance web-service, Google Flu Trends (GFT) [3], which aimed to assess current flu activity based on flu-related Google search query [4] [5] [6] [7] [8]. As a result, GFT provided weekly estimates of influenza-like-illness (ILI) rates in 25 countries and several large metropolitan areas in the United States. GFT was discontinued in 2015 but the historical data remain available for public use. Recently, using information from online search engines and social networks to monitor and forecast dynamics of various infectious diseases has become one of the most actively developing research areas in data sciences, including just to name a few, influenza surveillance and forecasting with Twitter [9] [10] [11], Wikipedia [7] [12], UptoDate [13], and Google Correlate [5] [6]. In addition, Polgreen et al. [14] forecast influenza related deaths using search query from Yahoo, while Yuan et al. [15] forecast lab confirmed influenza cases using search query from Baidu. These approaches are typically based on some commonly used linear model, such as, e.g., generalized linear regression (GLM), while model selection is performed, for instance, with least absolute shrinkage and selection operator (LASSO) or penalized regression [5] [6] [13].
However, these studies on utility of nontraditional data sources for flu monitoring and forecasting largely focus on North America and, to some extent, Western Europe [3] [4] [5] [6] [9] [13] [14] [16] [17], while regions of Southeast and East Asia and, particularly, Hong Kong remain substantially under-explored despite the fact that Hong Kong often becomes a regional center of flu outbreaks, such as avian (H5N1) influenza [18], SARS [19], and influenza A (H1N1) [20]. Further, throughout the years, many instances of avian and other non-seasonal flu among humans are also for the first time detected in Hong Kong [21] [22]. Hence, accurately forecasting influenza activity is paramount not only for public health in Hong Kong but also for the worldwide global health preparedness. Many conventional approaches for influenza forecasting developed for North America, however, appear not to be directly applicable to Hong Kong and require various adjustments. For instance, influenza seasons in U.S. exhibit a noticeably more periodic cycle while the influenza season in Hong Kong is relatively aperiodic, which is arguable due to some distinct climate and socio-demographics characteristics of Hong Kong [23] [24]. Some recent yet scarce studies on Hong Kong include Wu et al. [24] who estimated infection attack rate (IAR) and infection-hospitalization probability (IHP) from the serial cross-sectional serologic data and hospitalization data. The estimated IAR and IHP were used to judge the severity in influenza pandemics. Yang et al. [25] used susceptible-infected-recovered (SIR) model with filters to forecast ILI+ rate, which is calculated by both the streams of ILI rate and viral detection rate. Cao et al. [26] developed a dynamic linear model to forecast ILI in Shenzhen (a city neighboring Hong Kong) by using district-level ILI surveillance data and city-level laboratory data. The objective is to generate sensitive, specific, and timely alerts for influenza epidemics in a subtropical city of Southern China. However, these models tend not to deliver sufficiently accurate weekly forecasts of ILI one week or two weeks in advance. Furthermore, to the best of our knowledge, the effectiveness of using Google Trend or other Internet-based sources to forecasting influenza in Hong Kong has not been evaluated yet, and it may be able to produce better forecasting performance.
In this study, we aim to investigate predictive utility of Google search data to forecast the number of new ILI cases (per 1000 consultations) in general outpatient clinics (GOPC) in Hong Kong for one-week and two-weeks ahead. Since GFT was never available in Hong Kong, we use the rate of queries for a small set of flu-related keywords in Google Trend as a proxy for ILI activity. Whenever using flu-related web queries in a predictive platform, one must be cautious of self-excitement effects (i.e., sensitivity to fickle media interest) and lack of calibration of online data [27]. To address these issues, we combine the Google search information in Hong Kong with several offline data sources such previous GOPC flu-related data and current meteorological variables as predictors of future flu activity. To develop ILI forecasts in Hong Kong, we consider three conventional parametric modeling approaches: Generalized Linear Models (GLM), Least Absolute Shrinkage and Selection Operator (LASSO), and Autoregressive integrated moving average (ARIMA). In addition, we also explore utility of deep learning (DL) procedures, namely, Feedforward Neural Networks (FNN), to discover hidden relationships between flu-related online and offline data and exogenous atmospheric variables. The key advantage of DL is its ability to model complex non-linear phenomenon using distributed and hierarchical feature representation [28] [29] [30]. DL is shown to deliver competitive performance in a variety of applications, from computer vision and speech recognition to weather forecasting and transportation network congestion (see, e.g., [28] [31] [32] [33] and references therein). However, to our knowledge, this is the first study that investigates utility of deep learning methodology for surveillance and forecasting of infectious diseases, i.e. influenza.
We evaluate the forecasting performance of all four models in terms of root mean squared error (RMSE), mean absolute percentage error (MAPE), mean absolute error (MAE), and ability to predict the correct time of seasonal maxima. We find that all four considered models have their own advantages as well as disadvantages during influenza seasons. In order to harness the power of each individual model into a joint unifying framework, we propose using a Bayesian model averaging (BMA) approach, which provides a coherent mechanism of combining the models’ strengths [34] [35]. Our findings indicate that BMA outperforms all the individual models in terms MAPE and RMSE, especially during the periods of highest influenza activity, which is especially important for health risk management.
Our study depicts interesting findings and phenomena. First, we find that DL with FNN is a promising tool for influenza predictive platforms with limited information. Second, BMA appears to be a cohesive unifying framework to combine predictive powers of individual models. Third, even a small and simple set of online web-queries coupled with offline data, which are easy to access and are publicly available in almost every county or city, can deliver reliable forecasts for future flu activity. These findings demonstrate the potential of combining non-traditional flu related data with traditional information sources, to generate computationally efficient and information greedy influenza forecasting, even in regions that exhibit atypical features.
The remainder of the paper is organized in three major sections: Methods, Case Study, and Discussion. In the Methods section, the data sets collected, the study design and the models used in this work are introduced. The next section, compares the forecasting performance of all the models using real data. Finally, we end with discussion and present open questions in the last session.
Methods
Data description
a. Influenza data.
We consider influenza like illness (ILI) data (per 1000 consultations) in general out-patient clinics (GOPC) in Hong Kong. ILI is defined as fever (temperature of 100°F [37.8°C] or greater) and a cough and/or a sore throat without a known cause other than influenza [36]. We extract GOPC’s ILI rates (per 1000 consultations), ILI-GOPC, from week 1, 2011 to week 3, 2016. This information is collected from Hong Kong Centers for Health Protection (CHP): [37]. The ILI rate is reported by a sentinel surveillance network of approximately 50 outpatient clinics. In order to evaluate the forecasting accuracy, we also focus on the influenza seasons during the observed period. According to CDC [36] the influenza season and non-influenza season are separated by the national baseline, which is developed by calculating the mean percentage of patient visits for ILI during non-influenza weeks for the previous three seasons and adding two standard deviations. However, CHP does not provide enough data for us to calculate the national baseline. Therefore, in this study we define influenza seasons as follows: the influenza season is on when there are more than 3 consecutive weeks during which ILI rate is above 5.0 per 1000 consultations.
Fig 1 displays the ILI-GOPC for the period 1, 2011–3, 2016. Unlike ILI in U.S., where there is a more clearly defined influenza season each year, there is no sufficiently regular cycle for influenza in Hong Kong. For instance, Fig 1 suggests that there is no influenza in the year 2013; in the year of 2014, there is one influenza season; and in the year of 2012 and 2015, there are two influenza seasons. Besides, the start and duration of influenza seasons largely vary from year to year.
Influenza seasons are denoted by the shaded areas.
b. Google search data.
The information from the climate variables is complemented with the search activity in Google for words in relation with influenza. Different keywords have different search frequency and can therefore produce diverse modeling outcomes. Hence, keywords need to be carefully selected to reflect terms most likely related with influenza epidemics. Hong Kong is a city with mix culture, and English as well as Chinese are both used in search engines. However, the search data is limited because of a relatively small representative population (of only 7 million), and Google tools such as Google Correlate are not available in Hong Kong. Based on previous studies of [15] and [38], the following search terms are used as important keywords in this study: cough, cold, flu, h3n2, h7n9, avian flu, fever, 傷風(cold), 咳(cough), 喉嚨痛(sore throat), 感冒(cold), 流感(flu), 發燒(fever),. We collected the normalized frequency of these 13 search terms via Google Trends.
c. Meteorological data.
Meteorological data have long been recognized as important variables in modeling and predicting influenza activity [16][39][40][41][42][43][44]. The meteorological information considered in this study are daily pressure, absolute max temperature, mean temperature, absolute min temperature, mean dew point, mean relative humidity, mean amount of cloud, rainfall, and bright sunshine. These data are collected by the Hong Kong Observatory [45] and cover the study period from the first week of 2011 to the third week of 2016.
Remark Furthermore, data quality control for operational epidemiological modeling and forecasting is a vast and rapidly developing research area in statistical sciences, epidemiology, numerical weather prediction and other disciplines (for more discussion on the current approaches to data quality control see, for example, [46, 47, 48, 49] and references therein). Data quality control constitutes a standalone research topic that falls outside the primary focus of this paper, and hence we leave it as a future extension of the current project.
Study design
Since the relationship between the ILI-GOPC and Google searches is intrinsically dynamic, in this study we use an adaptive form of out-of-sample forecasting [50]. That is, we use a 104 weeks’ window (i.e., two full years) to train statistical models and then the upcoming weeks to perform out-of-sample forecast validation. A choice of 104 weeks’ window allows to capture the yearly trend as well as seasonal pattern and at the same time has relatively minor assumptions on data availability and consistency of public health protocols. The model parameters are recomputed for each forecast by using only the training data from the previous 104 weeks before the forecasting week. To make a fair and reasonable comparison of different models, all the models use the same adaptive method with a 104 weeks’ window in this study.
Evaluation metrics
Four metrics are employed to measure the forecast accuracy: the root mean square error (RMSE), mean absolute percentage error (MAPE), and mean absolute error (MAE),. For a series of forecasting values and their corresponding real values (y1,y2,……,yn), these metrics are
In addition, as a measure of fit, we consider a sample correlation of estimator and observed y. Lower RMSE, MAPE, and MAE imply the better forecasting performance, while the higher the correlation the better.
We also use an ability of each model to predict the time point of maximum influenza activity as an evaluation criterion [17]. As in this study ILI serves as an indicator of influenza activity, an influenza peak is defined as the week of highest ILI rate in each specific influenza season. We then study absolute differences between the observed peak week and the forecasted peak week, produced by each forecasting models. In particular, let t be the week of the peak and be the forecasted week of the peak, the week difference is defined as and the smaller WD refers to the more accurate estimation of influenza peaks.
Statistical methodology
We start from individual models, all of which except deep learning have been considered and widely applied for influenza forecasting (see, for instance, [3] [4] [5] [6] [9] [13] [14] [15] [32] [51] [52] and references therein). We then use Bayesian model averaging to harness predictive power of individual models.
a. Generalized Linear Model (GLM).
In this study, we model ILI is a random rate (per 1000 consultations) following a Poisson distribution, and thus consider a Generalized Linear Model (GLM) with a log link (see [53][54] for discussion on GLM). The proposed model also employs autoregressive terms because of an intrinsic time series structure of ILI observations. Yang et al.[6] demonstrate that the recent ILI history is most appropriate to describe the present number of ILI cases, hence, we use only the previous month of ILI as autoregressive terms in GLM. Due to delays of 1–2 weeks in reporting offline ILI information, our model takes the form: where response yt is ILI at week t,h = 1,2,μ is the constant intercept, Wij(t) is the ith meteorological variable on jth day of the week t, αij is the coefficient for Wij(t), i = 1, 2, ……, 9, j = 1, 2, ……, 7; Gk(t) is the volume of kth Google search term, βk is the coefficient for Gk(t),k = 1,2,……,13; γl,l = 2,3,4 are coefficients for log-transformed previous y. The function “glm” is used to fit the GLM model. [55].
b. Least absolute shrinkage and selection operator (LASSO).
Penalized linear regression is recently demonstrated to be a promising approach to forecast ILI [5] [6][13]. In particular, penalized linear regression is a generalized linear regression with a certain variable selection procedure. For instance, LASSO, one of the penalization methods, is used to shrink estimation of the regression coefficients in GLM towards zero relative to the maximum likelihood estimates. The objective of this method is to prevent overfitting due to either collinearity of the covariates or high-dimensionality. In our case of ILI forecasting in Hong Kong, if we integrate all the variables into one group (denoted by Xp,p = 1,2,……,79, which include Wij(t), i = 1, 2, ……, 9, j = 1, 2, ……, 7 and Gk(t),k = 1,2,……,13) and (ln(y(t − q)), q = 2,3,4), the GLM can be rewritten as
Then, in a given week t, letting , the objective of LASSO is to estimate parameters , that minimize
LASSO penalty term is based on L1 norm, with an idea to shrink coefficients of nonsignificant regressors towards zero, and such regressors are then removed from the model (for more details see, for instance, [56] [57] [58] and [59] and references therein). We use the function “penalized” in penalized R package to fit the LASSO model [60].
c. Autoregressive integrated moving average (ARIMA).
As a benchmark, we also consider a Box-Jenkins approach, namely, autoregressive integrated moving average (ARIMA(p,d,q)) model, where p is the number of autoregressive (AR) terms, q is the order of the non-seasonal moving average (MA) lags, and d is the number of non-seasonal differences [61] [62] [63]. The ARIMA has the form: where yt is ILI at week t and εt is white noise random error; φi (i = 1, 2, …, p) and θj (j = 0,1, 2, …, q) are parameters to be estimated using least squares, maximum likelihood etc. On application of ARIMA for flu forecasting see, for instance, [17], [50], [51], [52] and references therein.
Similarly to GLM and LASSO, we re-fit each ARIMA model upon arrival of new observations. Model orders p, q, and d for each ARIMA model are selected from a search over possible model candidates by minimizing the corrected Akaike Information Criterion (AIC) [64]. The function “auto.arima” in the “forecast” R package is used to find the parameters of ARIMA [64][65].
d. Deep learning: Feedforward neural networks (FNN).
Deep learning (DL) is a new branch of machine learning, that can be viewed as extension of neural networks (NN) methods and that experience a resurgence following recent advances in computing (see, for instance, [29], [30], and references therein). An appealing property of deep learning is the ability for a model to learn the important features and causal relationships among variables automatically and in a nonparametric data-driven way, instead of relying on manual parametric feature engineering. Deep learning models with multiple layers, have achieved impressive results in many applications such as image classification, natural language processing and drug discovery [66] [67] [68]. However, utility of deep learning procedures for infectious epidemiology remains yet much less investigated [28].
Let us provide a schematic interpretation of a DL idea. Suppose we start from a standard neural network (NN) that consists of many simple, connected processors called neurons, each producing a sequence of real-valued activations. Neural networks have different kind of node layers (input, hidden, and output). Input neurons get activated through sensors perceiving the environment; other neurons get activated through weighted connections from previously active neurons [30]. In application to influenza modeling, the input neurons can be meteorological variables, Google search data, and previously offline-observed ILI data, which constitute the same set of covariates as, for instance, in GLM. The output neurons are then one-week-ahead and two-week-ahead ILI-GOPC. Commonly, NN have one or two hidden layers of neurons. Adding hidden layers tends to increase predictive performance but with a price of increasing computational complexity.
In this study, we employ a feedforward (acyclic) NNs (FNN) architecture to train the neural network (see Fig 2) in an unsupervised setting, because of its superior ability of non-linearity to approximate unknown function to any degree of desired accuracy [69]. Our goal is investigate effectiveness of FNN to discover some hidden dependence features among online and offline flu-related data and exogenous regressors and to improve predictive utility of Google search terms.
The circles denotes neurons in the neural network. The input neurons are the same variables as in GLM and the output neurons are one-week-ahead and two-week-ahead ILI.
There exist multiple approaches to select optimal DL architecture (see, e.g. reviews by [70][71][72] and references therein). Conventionally, a number of hidden layers, a number of nodes, and a learning rate are the three primary tuning parameters, that are selected based on a V-fold cross validation, where V is typically five. Other procedures include over-fitting monitoring, pruning and regularization [72]. In addition, the number of hidden nodes should be less than twice the number of input nodes (i.e., in our case less than 158 nodes). In our study, based on the cross validation experiments, we find that the two hidden layers with 50 and 100 nodes, and the learning rate is 0.005 deliver the most competitive performance in terms of mean squared error (MSE). Furthermore, although it is possible to start with a more sophisticated DL architecture and refine it using L_1 or L_2 regularization procedures, such experiments are computationally expensive, and we omit them in this project. The DL feedforward (acyclic) NNs (FNN) architecture is implemented using the open source H2O R package [73]. The function “h2o.deeplearning” is used to train the model in this study.
More information about deep learning and FNN can be found in [29] [30] [70] [71].
e. Bayesian model averaging (BMA).
Standard statistical analysis—such as, for example, regression analysis—typically proceeds conditionally on one assumed statistical model. The model is always selected from a basket of statistical models, and the data analyst cannot confirm if it is the best model. In many situations, the best model is just the overall best in terms of accuracy, but this method ignores the uncertainty raised by different answers produced by other feasible models [34] [35]. Therefore, we use Bayesian model averaging (BMA) to address this problem by conditioning, not on a single “best” model, but on the entire ensemble of statistical models first considered. BMA possesses a range of theoretical optimality properties and is shown to deliver competitive predictive performance in a variety of applications [74] [75] [76]. In this paper, the same problem (i.e., whether the best model could be selected by only comparing the evaluation metrics) is faced. Therefore, we introduce BMA to combine all the models to see whether a BMA weighted model combination could produce an enhanced set of ILI forecasts.
Let to be the forecasted values, M1,M2,…,Mn to be a set of n models, and D to be the training set. Then the predictive mean of is where p(Mi|D), the posterior probability that the i-th model is the true model, is computed as with p(D|Mi) denoting the marginal likelihood, that is calculated as and p(θi|Mi) is the prior density under model Mi.
For more detailed discussion on BMA see, for instance, [34], [35] and references therein. The function “bicreg” in the BMA R package is used to run the BMA model [77].
Case study
We now evaluate the proposed approaches and data by adaptively forecasting ILI-GOPC for the latest two years (i.e., week 4, 2014 to week 3, 2016). We first use four individual models, GLM, ARIMA, LASSO and DL with FNN, to forecast ILI in this period. When using LASSO, we set λ = 10, and 25 terms are selected, on average, each week. The previous ILI incidences are always excluded, and different meteorological and Google search terms are included in each fitting. S3 Table shows the parameters p, d, and q selected in ARIMA. FNN uses two hidden layers with 50 and 100 nodes, and the learning rate is 0.005. Table 1 shows the forecasting performance of these four models for the whole forecasting period and the seasons on influenza activity (i.e., “influenza seasons”). In particular, according to our definition, there are three influenza seasons in the forecasting period: (1) Influenza Season I: January 25, 2014 to April 19, 2014; (2) Influenza Season II: December 27, 2014 to March 7, 2015; (3) Influenza Season III: May 30, 2015 to August 22, 2015. Correspondingly, there exist three influenza spikes: Peak I (week 8, 2014), Peak II (week 8, 2015), and Peak III (week 25, 2015). Table 2 displays the week difference of influenza peaks.
Table 1 indicates that the DL with FNN is the most competitive approach in terms of RMSE, MAPE, and MAE for one week ahead forecasting. The DL with FNN also yields highly competitive results for two weeks ahead forecasting in terms of all evaluation metrics (except of MAPE and MAE where the DL with FNN is the second best to LASSO). Table 2 suggests that for one-week-ahead forecasting, the DL with FNN is the best model with the lowest mean of WD. In particular, for Peaks I and II, the DL with FNN accurately predict the peak week (i.e., delivered WD is 0), while for Peak III, there is only one week difference between the forecasted and observed series (i.e., WD is 1). For two-week-ahead forecasting, both the DL with FNN and GLM are the two best models. The mean week differences of these models are both 1 week, which is slightly higher than that of one-week-ahead forecasting. Hence, we can conclude that the DL with FNN tends to the preferred approach for influenza forecasting in Hong Kong.
Figs 3 and 4 show the forecasting results of GLM, LASSO, and DL with FNN. Although the DL with FNN produces the overall best forecasting result, it does not perform well during all the three influenza seasons where the forecasted values of deep learning always underestimate the observed values. The forecasted ILI during influenza seasons produced by ARIMA are close to observed values, but there are peak delays, especially in Influenza Season II and III. GLM sometimes overestimates the number of observations (Influenza Season II), and sometimes underestimates them (Influenza Season III). LASSO also underestimates the ILI values (Influenza Season I and III). Both GLM and LASSO have delays to forecast the start of influenza seasons.
In each figure, the black line denotes the observed ILI and the red line denotes the estimated ILI from each model. The shaded areas denote the influenza seasons.
In each figure, the black line denotes the observed ILI and the red line denotes the estimated ILI from each model. The shaded areas denote the influenza seasons.
Therefore, we use BMA to combine all these four models in order to develop a more accurate predictive tool for ILI in Hong Kong. BMA offers a comprehensive approach to weight (or score) each model based on its recent performance such that the model weights (scores) vary over time. This in turn allows to better capture intrinsically dynamic relationships among all the forecasting approaches. In order to discover the best length of window, we evaluate lengths of window from 8 to 26 weeks. For one-week-ahead forecasting, when the length of window is 18 weeks, BMA produces the most accurate forecasted values during influenza seasons (S1 Table). A 17 weeks’ sliding window can lead to accurate performance for two-week-ahead forecasting (S2 Table).
Fig 5 presents the results of BMA when the length of sliding windows is 18 weeks and 17 weeks for one-week- and two-week-ahead forecasting, respectively. BMA takes advantages of and overcomes the shortcomings of each model, especially during the active influenza seasons. In particular, the BMA forecasts more closely follow the observed ILI curves than any of the forecasts based on the individual models (Figs 3 and 4, and supplementary S1 and S2 Tables). However, in terms of peak week prediction, when using 18 weeks’ window to forecast ILI-GOPC one week ahead, WD for BMA in Peak I, II, and III are 1, 1, and 0, respectively; when using 17 weeks’ window to forecast ILI-GOPC two weeks ahead, WD for BMA in Peak I, II, and III are 2, 0, and 2, respectively. Hence, although BMA improves the overall predictive fit in terms MAPE and RMSE, it does not improve the forecasting accuracy of influenza peaks, and the DL with FNN still remains the most competitive method to forecast locations of influenza peaks.
The black line denotes the observed ILI, the red line denotes the one-week-ahead estimated ILI, and the blue line denotes the two-week-ahead estimated ILI. The shaded areas denote the influenza seasons.
Discussion
In this study we evaluate a predictive utility of Google flu-related searches in Hong Kong, coupled with offline influenza data and exogenous meteorological information. We consider a number of conventional parametric forecasting models such as GLM, penalized regression, and ARIMA, as well as a data-driven nonparametric deep learning approach with a feedforward (acyclic) neural networks (DL with FNN). Despite the fact that deep learning is shown to deliver competitive performance in modeling and forecasting a wide range of complex natural phenomena and disparate social systems, its utility for epidemiological studies is yet underexplored. To our knowledge, this is the first study that employs deep learning methodology for surveillance and forecasting of infectious diseases and explores its predictive utility of DL in application to influenza. Furthermore, to integrate and harness predictive power of individual models, we also employ a unified framework of Bayesian Model Averaging. Our results suggest a number of remarkable findings. First, indeed, even a small set of flu-related Google search queries, coupled with offline data, can yield reasonable forecasts of future flu activity both in terms of the ILI curve and location of outbreak spike. Second, among all individual models, the data-driven deep learning (DL) method with FNN is certainly a preferred candidate. Finally, we find that neither model can be considered as universally best, i.e., the principle “one size fits all” is not appropriate, that is, although BMA is a very useful tool to improve forecasts of the ILI curve, the DL with FNN is still the best for predicting the outbreak peak location.
In general, our proposed approach can be a feasible alternative to forecast ILI in Hong Kong or other countries where ILI has no constant seasonal trend and external data is limited. The method could produce accurate ILI forecasts and provide policymakers with sufficient time to enhance health risk management strategies.
In the future we plan to evaluate our approach in application to other geographical regions, with a particular focus, on substantially less investigated developing countries in Southeast and East Asia, and to incorporate local socio-demographic information and networks of everyday social contacts. To assess a hierarchical social communication structure of contacts, we can use various offline information sources, such as census, school enrollment and public transportation data (see, e.g., [78], [79]) and georeferenced online data such as Meetup and Twitter [80]. We also plan to extend our approach to a setting of probabilistic forecasting of flu, that is, to develop a full predictive density of future flu scenarios.
Supporting information
S1 Table. Comparison of one-week-ahead forecasting accuracy of BMA with different window sizes.
https://doi.org/10.1371/journal.pone.0176690.s001
(DOCX)
S2 Table. Comparison of two-week-ahead forecasting accuracy of BMA of different window sizes.
https://doi.org/10.1371/journal.pone.0176690.s002
(DOCX)
S3 Table. The parameters p, d, and q in ARIMA.
https://doi.org/10.1371/journal.pone.0176690.s003
(DOCX)
Acknowledgments
This research is supported by the Research Grants Council Collaborative Research Fund (Ref. CityU8/CRF/12G), Theme-Based Research Scheme (Ref. T32-102/14-N), and National Natural Science Foundation of China (Ref. 71420107023). Yulia R. Gel and Kusha Nezafati are supported in part by the National Science Foundation, Division of Mathematical Sciences (NSF DMS 1514808).
Author Contributions
- Conceptualization: QX YRG.
- Data curation: QX.
- Formal analysis: QX.
- Funding acquisition: KLT YRG.
- Methodology: QX YRG.
- Software: KN.
- Supervision: KLT.
- Writing – original draft: QX.
- Writing – review & editing: YRG LLRR QZ.
References
- 1.
World Health Organization website. Influenza (Seasonal). Available: http://www.who.int/mediacentre/factsheets/fs211/en/. Accessed November 28, 2016.
- 2.
Centers for Disease Control and Prevention website. First Global Estimates of 2009 H1N1 Pandemic Mortality Released by CDC-Led Collaboration. Available: http://www.cdc.gov/flu/spotlights/pandemic-global-estimates.htm. Accessed November 28, 2016.
- 3. Ginsberg J., Mohebbi M. H., Patel R. S., Brammer L., Smolinski M. S., & Brilliant L. (2009). Detecting influenza epidemics using search engine query data. Nature, 457(7232), 1012–1014. pmid:19020500
- 4. McIver D. J., & Brownstein J. S. (2014). Wikipedia usage estimates prevalence of influenza-like illness in the United States in near real-time. PLoS Comput Biol, 10(4), e1003581. pmid:24743682
- 5. Santillana M., Zhang D. W., Althouse B. M., & Ayers J. W. (2014). What can digital disease detection learn from (an external revision to) Google Flu Trends?. American journal of preventive medicine, 47(3), 341–347. pmid:24997572
- 6.
Yang, S., Santillana, M., & Kou, S. C. (2015). ARGO: a model for accurate estimation of influenza epidemics using Google search data. arXiv preprint arXiv:1505.00864.
- 7. Lampos V., Miller A. C., Crossan S., & Stefansen C. (2015). Advances in nowcasting influenza-like illness rates using search query logs. Scientific reports, 5.
- 8. Kang M., Zhong H., He J., Rutherford S., & Yang F. (2013). Using google trends for influenza surveillance in South China. PloS one, 8(1), e55205. pmid:23372837
- 9.
Achrekar, H., Gandhe, A., Lazarus, R., Yu, S. H., & Liu, B. (2011, April). Predicting flu trends using twitter data. In Computer Communications Workshops (INFOCOM WKSHPS), 2011 IEEE Conference on (pp. 702–707). IEEE.
- 10. Broniatowski D. A., Paul M. J., & Dredze M. (2013). National and local influenza surveillance through Twitter: an analysis of the 2012–2013 influenza epidemic. PloS one, 8(12), e83672. pmid:24349542
- 11. Santillana M., Nguyen A. T., Dredze M., Paul M. J., Nsoesie E. O., & Brownstein J. S. (2015). Combining search, social media, and traditional data sources to improve influenza surveillance. PLoS Comput Biol, 11(10), e1004513. pmid:26513245
- 12. Hickmann K. S., Fairchild G., Priedhorsky R., Generous N., Hyman J. M., Deshpande A., et al. (2015). Forecasting the 2013–2014 influenza season using Wikipedia. PLoS Comput Biol, 11(5), e1004239. pmid:25974758
- 13. Santillana M., Nsoesie E. O., Mekaru S. R., Scales D., & Brownstein J. S. (2014). Using clinicians’ search query data to monitor influenza epidemics. Clinical Infectious Diseases, 59(10), 1446–1450.
- 14. Polgreen P. M., Chen Y., Pennock D. M., Nelson F. D., & Weinstein R. A. (2008). Using internet searches for influenza surveillance. Clinical infectious diseases, 47(11), 1443–1448.
- 15. Yuan Q., Nsoesie E. O., Lv B., Peng G., Chunara R., & Brownstein J. S. (2013). Monitoring influenza epidemics in China with search query from Baidu.PloS one, 8(5), e64323. pmid:23750192
- 16. Shaman J., & Kohn M. (2009). Absolute humidity modulates influenza survival, transmission, and seasonality. Proceedings of the National Academy of Sciences, 106(9), 3243–3248.
- 17. Preis T., & Moat H. S. (2014). Adaptive nowcasting of influenza outbreaks using Google searches. Royal Society open science, 1(2), 140095. pmid:26064532
- 18. Shortridge K. F., Zhou N. N., Guan Y., Gao P., Ito T., Kawaoka Y., et al. (1998). Characterization of avian H5N1 influenza viruses from poultry in Hong Kong. Virology, 252(2), 331–342. pmid:9878612
- 19. Lo J. Y., Tsang T. H., Leung Y. H., Yeung E. Y., Wu T., & Lim W. W. (2005). Respiratory infections during SARS outbreak, Hong Kong, 2003. Emerg Infect Dis, 11(11), 1738–41. pmid:16318726
- 20. Cowling B. J., Ng D. M., Ip D. K., Liao Q., Lam W. W., Wu J. T., et al. (2010). Community psychological and behavioral responses through the first wave of the 2009 influenza A (H1N1) pandemic in Hong Kong.Journal of Infectious Diseases, 202(6), 867–876. pmid:20677945
- 21. Cowling B. J., Jin L., Lau E. H., Liao Q., Wu P., Jiang H., et al. (2013). Comparative epidemiology of human infections with avian influenza A H7N9 and H5N1 viruses in China: a population-based study of laboratory-confirmed cases. The Lancet, 382(9887), 129–137.
- 22. To K. K., Tsang A. K., Chan J. F., Cheng V. C., Chen H., & Yuen K. Y. (2014). Emergence in China of human disease due to avian influenza A (H10N8)–cause for concern?. Journal of Infection, 68(3), 205–215. pmid:24406432
- 23. Tamerius J. D., Shaman J., Alonso W. J., Bloom-Feshbach K., Uejio C. K., Comrie A., et al. (2013). Environmental predictors of seasonal influenza epidemics across temperate and tropical climates. PLoS Pathog,9(3), e1003194. pmid:23505366
- 24. Wu J. T., Ho A., Ma E. S., Lee C. K., Chu D. K., Ho P. L., et al. (2011). Estimating infection attack rates and severity in real time during an influenza pandemic: analysis of serial cross-sectional serologic surveillance data. PLoS Med, 8(10), e1001103. pmid:21990967
- 25. Yang W., Cowling B. J., Lau E. H., & Shaman J. (2015). Forecasting influenza epidemics in Hong Kong. PLoS Comput Biol, 11(7), e1004383. pmid:26226185
- 26. Cao P. H., Wang X., Fang S. S., Cheng X. W., Chan K. P., Wang X. L., et al. (2014). Forecasting influenza epidemics from multi-stream surveillance data in a subtropical city of China. PloS one, 9(3), e92945. pmid:24676091
- 27. Lazer D., Kennedy R., King G., & Vespignani A. (2014). The parable of Google flu: traps in big data analysis. Science, 343(6176), 1203–1205. pmid:24626916
- 28. Hinton G. E., & Salakhutdinov R. R. (2006). Reducing the dimensionality of data with neural networks. Science, 313(5786), 504–507. pmid:16873662
- 29. LeCun Y., Bengio Y., & Hinton G. (2015). Deep learning. Nature, 521(7553), 436–444. pmid:26017442
- 30. Schmidhuber J. (2015). Deep learning in neural networks: An overview. Neural Networks, 61, 85–117. pmid:25462637
- 31. Ma X., Yu H., Wang Y., & Wang Y. (2015). Large-scale transportation network congestion evolution prediction using deep learning theory. PloS one, 10(3), e0119044. pmid:25780910
- 32.
Zou, B., Lampos, V., Gorton, R., & Cox, I. J. (2016, April). On Infectious Intestinal Disease Surveillance using Social Media Content. In Proceedings of the 6th International Conference on Digital Health Conference (pp. 157–161). ACM.
- 33. Huang W., Song G., Hong H., & Xie K. (2014). Deep architecture for traffic flow prediction: deep belief networks with multitask learning. IEEE Transactions on Intelligent Transportation Systems, 15(5), 2191–2201.
- 34. Hoeting J. A., Madigan D., Raftery A. E., & Volinsky C. T. (1999). Bayesian model averaging: a tutorial. Statistical Science, 382–401.
- 35. Raftery A. E., Gneiting T., Balabdaoui F., & Polakowski M. (2005). Using Bayesian model averaging to calibrate forecast ensembles. Monthly Weather Review, 133(5), 1155–1174.
- 36.
Centers for Disease Control and Prevention website. Overview of Influenza Surveillance in the United States. Available: http://www.cdc.gov/flu/weekly/overview.htm. Accessed November 28, 2016.
- 37.
The Centre for Health Protection (CHP) of the Department of Health: GOPC. http://www.chp.gov.hk/en/sentinel/26/44/292.html. Accessed 13 March 2017.
- 38.
Wang, S., Paul, M. J., & Dredze, M. (2014, June). Exploring health topics in Chinese social media: An analysis of Sina Weibo. In AAAI Workshop on the World Wide Web and Public Health Intelligence.
- 39. du Prel J. B., Puppe W., Gröndahl B., Knuf M., Weigl F., Schaaff F., et al. (2009). Are meteorological parameters associated with acute respiratory tract infections?. Clinical infectious diseases, 49(6), 861–868. pmid:19663691
- 40. Urashima M, Shindo N, Okabe N (2003) A seasonal model to simulate influenza oscillation in Tokyo. Jpn J Infect Dis 56: 43–47. pmid:12824683
- 41. Lowen AC, Mubareka S, Steel J, Palese P (2007) Influenza virus transmission is dependerelative humidity. PLoS Pathogens 3: e151.
- 42. Lofgren E, Fefferman NH, Naumova YN, Gorski J, Naumova EN (2007) Influenza seasonality: underlying causes and modeling theories. J Virol 81: 5429–5436. pmid:17182688
- 43. Viboud C., Pakdaman K., Boelle P. Y., Wilson M. L., Myers M. F., Valleron A. J., et al. (2004). Association of influenza epidemics with global climate variability. European journal of epidemiology, 19(11), 1055–1059. pmid:15648600
- 44. Sagripanti JL, Lytle CD (2007) Inactivation of influenza virus by solar radiation. Photochem Photobiol 83: 1278–1282. pmid:17880524
- 45.
Hong Kong Observatory. http://www.hko.gov.hk/. Accessed 13 March 2017.
- 46. Reich N. G., Lauer S. A., Sakrejda K., Iamsirithaworn S., Hinjoy S., Suangtho P., et al. (2016). Challenges in Real-Time Prediction of Infectious Disease: A Case Study of Dengue in Thailand. PLoS Negl Trop Dis, 10(6), e0004761. pmid:27304062
- 47. Brooks L. C., Farrow D. C., Hyun S., Tibshirani R. J., & Rosenfeld R. (2015). Flexible modeling of epidemics with an empirical Bayes framework. PLoS Comput Biol, 11(8), e1004382. pmid:26317693
- 48. Funk S., Camacho A., Kucharski A. J., Eggo R. M., & Edmunds W. J. (2016). Real-time forecasting of infectious disease dynamics with a stochastic semi-mechanistic model. Epidemics.
- 49. Lenart B., Schlegelmilch J., Bergonzi-King L., Schnelle D., Difato T. L., & Wireman J. (2013). Operational epidemiological modeling: A proposed national process. Homeland Security Affairs, 9(1).
- 50. Burkom H. S., Murphy S. P., & Shmueli G. (2007). Automated time series forecasting for biosurveillance. Statistics in medicine, 26(22), 4202–4218.pr pmid:17335120
- 51. Dugas A. F., Jalalpour M., Gel Y., Levin S., Torcaso F., Igusa T., et al. (2013). Influenza forecasting with Google flu trends. PloS one,8(2), e56176. pmid:23457520
- 52. Soebiyanto R. P., Adimi F., & Kiang R. K. (2010). Modeling and predicting seasonal influenza transmission in warm regions using climatological parameters. PloS one, 5(3), e9450. pmid:20209164
- 53. Nelder J. A., & Baker R. J. (1972). Generalized linear models. Encyclopedia of statistical sciences.
- 54.
McCullagh P., & Nelder J. A. (1989). Generalized linear models (Vol. 37). CRC press.
- 55.
R Core Team (2016). R: A language and environment for statistical computing. R Foundation for Statistical Computing, Vienna, Austria. URL https://www.R-project.org/.
- 56. Tibshirani R. (1996). Regression shrinkage and selection via the LASSO. Journal of the Royal Statistical Society Series B-Methodological 58 (1), 267–288.
- 57. Tibshirani R. (1997). The LASSO method for variable selection in the Cox model. Statistics in Medicine 16 (4), 385–395. pmid:9044528
- 58. Tibshirani R., Saunders M., Rosset S., Zhu J., & Knight K. (2005). Sparsity and smoothness via the fused lasso. Journal of the Royal Statistical Society: Series B (Statistical Methodology), 67(1), 91–108.
- 59. Tibshirani R. and Wang P. (2007). Spatial smoothing and hot spot detection for cgh data using the fused lasso. Biostatistics Journal 9, 18–29.
- 60.
Goeman, J. J. (2017). Penalized R package, version 0.9–50.
- 61.
Box G. E., Jenkins G. M., Reinsel G. C., & Ljung G. M. (2015). Time series analysis: forecasting and control. John Wiley & Sons.
- 62.
Hamilton J. D. (1994). Time series analysis (Vol. 2). Princeton: Princeton university press.
- 63.
Chatfield C. (2000). Time-series forecasting. CRC Press.
- 64.
Hyndman RJ (2017). forecast: Forecasting functions for time series and linear models. R package version 8.0,
- 65.
Hyndman R. J., & Khandakar Y. (2007). Automatic time series for forecasting: the forecast package for R (No. 6/07). Monash University, Department of Econometrics and Business Statistics.
- 66. Greenspan H., van Ginneken B., & Summers R. M. (2016). Guest Editorial Deep Learning in Medical Imaging: Overview and Future Promise of an Exciting New Technique. IEEE Transactions on Medical Imaging, 35(5), 1153–1159.
- 67. Manning C. D. (2016). Computational linguistics and deep learning. Computational Linguistics.
- 68. Gawehn E., Hiss J. A., & Schneider G. (2016). Deep learning in drug discovery. Molecular Informatics, 35(1), 3–14. pmid:27491648
- 69. Zhang Y., & Wu L. (2008). Weights optimization of neural network via improved BCO approach. Progress In Electromagnetics Research, 83, 185–198.
- 70.
Hinton, Geoffrey E., “A practical guide to training restricted Boltzmann machines.” University of Toronto: Computer Science, https://www.cs.toronto.edu/~hinton/absps/guideTR.pdf. Accessed 13 March 13 2017.
- 71.
“Deep Learning Tutorial.” http://deeplearning.net/tutorial/deeplearning.pdf. Accessed 13 March 2017
- 72.
Goodfellow, Ian, Yoshua Bengio, Aaron Courville. “Deep Learning.” http://www.deeplearningbook.org/. Accessed 13 March 2017.
- 73.
Candel, Arno, Jessica Lanford, Erin LeDell, Viraj Parmar, Anisha Arora. “Deep Learning with H2O.” https://h2o-release.s3.amazonaws.com/h2o/rel-slater/9/docs-website/h2o-docs/booklets/DeepLearning_Vignette.pdf. Accessed 13 March 2017
- 74. Faust J., Gilchrist S., Wright J. H., & Zakrajšsek E. (2013). Credit spreads as predictors of real-time economic activity: a Bayesian model-averaging approach. Review of Economics and Statistics, 95(5), 1501–1519.
- 75. McLean Sloughter J., Gneiting T., & Raftery A. E. (2013). Probabilistic wind vector forecasting using ensembles and Bayesian model averaging. Monthly Weather Review, 141(6), 2107–2119.
- 76. Wöhling T., Schöniger A., Gayler S., & Nowak W. (2015). Bayesian model averaging to explore the worth of data for soil‐plant model selection and prediction. Water Resources Research, 51(4), 2825–2846.
- 77.
Raftery, A., Hoeting, J., Volinsky, C., Painter, I. and Yeung, K.Y. (2015). BMA: Bayesian Model Averaging. R package version 3.18.6.
- 78. Ramirez-Ramirez L.L., Gel Y. R., Thompson M.E., De Villa E. and Mcpherson M. (2013). A new surveillance and spatio-temporal visualization tool SIMID: SIMulation of Infectious Diseases using random networks and GIS. Comput. Methods & Programs in Biomedicine, 110(3):455–470.
- 79. Nsoesie E.O., Marathe M, and Brownstein J.S.. Forecasting peaks of seasonal influenza epidemics. PLoS ONE, 8(2), 06 2013.
- 80.
Popa, J., Nezafati, K., Gel, Y.R., Zweck, J., Bobashev, G. (2016). Catching Social Butterflies: Identifying Influential Users of an Event-Based Social Networking Service. Proceedings of the 2016 IEEE Big Data Congress, 198–205.