 Research article
 Open access
 Published:
A novel time series analysis approach for prediction of dialysis in critically ill patients using echostate networks
BMC Medical Informatics and Decision Making volumeÂ 10, ArticleÂ number:Â 4 (2010)
Abstract
Background
Echostate networks (ESN) are part of a group of reservoir computing methods and are basically a form of recurrent artificial neural networks (ANN). These methods can perform classification tasks on time series data. The recurrent ANN of an echostate network has an 'echostate' characteristic. This 'echostate' functions as a fading memory: samples that have been introduced into the network in a further past, are faded away. The echostate approach for the training of recurrent neural networks was first described by Jaeger H. et al. In clinical medicine, until this moment, no original research articles have been published to examine the use of echostate networks.
Methods
This study examines the possibility of using an echostate network for prediction of dialysis in the ICU. Therefore, diuresis values and creatinine levels of the first three days after ICU admission were collected from 830 patients admitted to the intensive care unit (ICU) between May 31th 2003 and November 17th 2007. The outcome parameter was the performance by the echostate network in predicting the need for dialysis between day 5 and day 10 of ICU admission. Patients with an ICU length of stay <10 days or patients that received dialysis in the first five days of ICU admission were excluded. Performance by the echostate network was then compared by means of the area under the receiver operating characteristic curve (AUC) with results obtained by two other time series analysis methods by means of a support vector machine (SVM) and a naive Bayes algorithm (NB).
Results
The AUC's in the three developed echostate networks were 0.822, 0.818, and 0.817. These results were comparable to the results obtained by the SVM and the NB algorithm.
Conclusions
This proof of concept study is the first to evaluate the performance of echostate networks in an ICU environment. This echostate network predicted the need for dialysis in ICU patients. The AUC's of the echostate networks were good and comparable to the performance of other classification algorithms. Moreover, the echostate network was more easily configured than other time series modeling technologies.
Background
Echostate networks (ESN), first described by Jaeger H. et al. [1â€“3], are part of a group of reservoir computing methods and are basically a form of recurrent artificial neural networks (ANN). Modeling of time series in medical databases by classification methods is not easy due to the problem of correlation between the different input variables, also known as the problem of multicollinearity. Analysis of the trend of physiological data however is of vital importance in an ICU environment. Research into techniques that analyze these ICU time series data will become ever more important. The complex modeling of time series can be tackled by using highly specialised tools such as hidden Markov modeling or by extracting features from the time series that will be of help to classify unseen data sets which is thus a method of feature extraction. Echostate networks belong to this second class of classification methods. Till this time, no echostate network applications in clinical research have been published although echostate network technology for time series prediction has been studied in a variety of engineering applications such as telecommunication [1] and robotics [2], as well as in linguistics to detect grammatical structure [3]. An echostate network is a 'black box' method since the network does not give clear insight in the parameters of the data model, and thus gives no direct explanatory power. Regression methods with the use of 'penalization', survival analysis with competing risk analysis or functional data analysis are other alternatives for these kinds of time series data sets but will not be discussed in this paper. In an echostate network, the input variables are applied to a dynamical system called the 'reservoir'. In figure 1, the most general structure of an echostate network is shown. The reservoir is a recurrent ANN with a large number of units and weighted connections between these units that remain constant. This contrasts with a standard feedforward ANN where these connections vary and are trained via different algorithms, most amply the backpropagation algorithm. The echostate network however, is trained by modifying the readout function of the network: the readout function of an echostate network is mapped onto the desired outcome parameter during training till a sufficiently low mean squared error has been reached between the predicted and the real classification data. The training of the readout function of an echostate network, which is a simple linear function, gives rise to a much more efficient training algorithm than would be the case in a standard feedforward ANN computation. The reservoir of an echostate network acts as a 'fading memory' (hence the term 'echostate') and can therefore perform analysis on temporal data such as time series. This could mean a lot of potential future clinical applications since temporal data in the ICU environment are ubiquitous but more difficult to model with statistical regression methods [4, 5].
Methods
The study was approved by the Ethics Committee of the Ghent University Hospital prior to the start of the data retrieval. Informed consent was waived because of the non interventional study design. This study examines the possibility of using an echostate network for predicting the need for dialysis in the ICU. Moreover, the study compared the performance in prediction obtained by the echostate network with that obtained by two other time series analysis methods, namely a support vector machine (SVM) and a Naive Bayes classifier (NB) (cf. appendix). To reach these objectives, diuresis and creatinine values were retrieved from the ICU database from a study population consisting of an observational cohort of 916 patients admitted consecutively to the ICU between May 31th 2003 and November 17th 2007, selected from a total of 9752 MICU/SICU patients admitted in this period after application of inclusion/exclusion criteria. Only diuresis and creatinine values of the first three days after ICU admission were retrieved (cf. Figure 2). The outcome parameter in this study was the prediction of dialysis between day 5 and day 10 after ICU admission (cf. Figure 2). 8725 patients with a length of stay (LOS) on the ICU <10 days and 111 patients that received dialysis in the first five days of ICU admission were excluded from analysis. Some further preprocessing of the diuresis and creatinine data was needed: diuresis was only measured in 2 hour intervals while creatinine was measured once, twice or exceptionally three times a day. Hence, the interval between creatinine measurements was larger than the interval between two diuresis measurements. Since the input of time series need to contain measurements over regular time intervals which have to be the same for both parameters, interpolation of the data was the first preprocession step. Furthermore, since the availability of both diuresis and creatinine measurements did not fully overlap, additional preprocessing was at hand. After preprocessing of the data of the 916 patients that had fulfilled the inclusion criteria, 830 patients in total were available with 60 interpolated measurements for both creatinine and diuresis. 62% of these patients were male, mean age of the study population was 58.6 years, total mortality was 17% and mean SAPS II score was 37.2. The echostate network performance in predicting dialysis was measured by calculating the area under the receiver operating curve (AUC). For comparison, the AUC's for the same prediction problem, obtained by two other time series analysis methods consisting of a support vector machine (SVM) and a naive Bayes (NB) algorithm were calculated. Several parts of the algorithms had a stochastic nature, such as the random initialization of the reservoir weights. Therefore, the ESN, SVM and NB analyses were repeated three times each time using another initialization of the weights in the echostate network, to see whether or not the variations seen in different analyses were caused by contingent network characteristics. Furthermore, the computational complexity of the three methods will be compared through their required execution times.
Construction of the echostate network
The basic ESN architecture used in this study is shown in figure 1. This basic structure consists of K input units, N reservoir units and L output units. The input variables are presented to the input units, the reservoir units form the dynamical reservoir and the output units represent the classification or prediction results. Remark that  in contrast to a standard feedforward neural network  there are feedback connections to previous hidden layers of the reservoir and that there are loops within single units. First, the different matrices wherein the weights between the units are stored, were configured. These matrices are very important for the functioning of the network, because the echostate characteristic of the network is dependent upon the mathematical properties of these matrices [6]. Three different matrices are constructed: W^{in} consists of the weights between input and reservoir units, W holds the weights between units of the reservoir, W^{out} the weights between the input, the reservoir and the output units. It is important to note that only the weights of the output function i.e. W^{out} will be mapped onto the desired output. The other matrices (connections/weights) remain constant after initialization, this in contrast with a standard ANN (cf. introduction). Second, the training of the echostate network was performed by sampling of the teacher data into the network (sampling phase) and calculation of the output weights. Third, after the training phase, the echostate network was exploited with new unseen data (exploitation phase). During these training and validation phases kfold crossvalidation was used. Crossvalidation is a technique wherein the total data set is split into k equally sized parts, called k folds. Each of these k folds are consecutively used for validation of the part of the database 'outside' the k fold, so for validation of the remaining k1 folds. This procedure is repeated for all of the k folds. The final performance is the total of those measured in each of the k iterations, which thus covers the total amount of available data. The spectral radius of the echostate network was set at 0.99 [6]. Figure 3 shows the basic scheme of the echostate network model that was used in this study. The echostate network for this study consisted of 2 input nodes (one for the diuresis values and one for the creatinine values), 10 reservoir nodes and 1 output node (dialysis: yes/no?). The number of reservoir nodes was selected by analyzing the results of a parameter sweep. Using 10 reservoir nodes resulted in stable results and optimal classification performance. Each node represents a perceptron which is the simplest form of a neural network [7]. The time series presented to the network's two input nodes thus consisted of 60 diuresis values and 60 creatinine values (i.e. 60 points in time from T = 1 to T = 60, cf. Figure 3) for every of the 830 patients included (cf. supra). The time series R_{1} is for patient 1 and time series R_{830} is for the last patient presented to the network. After presentation of the 60 diuresis and creatinine values (i.e. T = 1 till 60) of the first patient, an output weight and the status of the network can be calculated. Indeed, the status of the network at timepoint T = 60 is a function of the previously seen data for that patient: the network status is an 'echo' of all previously seen data. Therefore, the output weight together with the status of the network at timepoint T = 60 is all that is needed for the training algorithm of the echostate network. The same is then done for every other patient, till all patients (from R_{1} through R_{830}) (Figure 3) have been presented to the network.
Statistical analysis
The AUC results for the three compared methods (ESN, SVM and NB) were calculated using a 10fold crossvalidation. In each of the different methods, the same folds were used. The AUC results obtained by the echostate network were then compared with the AUC results of the SVM classifier and the Naive Bayes (NB) algorithm by a nonparametric statistical test [8] within SAS version 9.1.3 (macro %roc). A DunnSidak correction [9] for multiple testing was performed on the obtained pvalues.
Results
In total, 830 patients were retained from the ICU database, after initial assessment of 916 patients for inclusion eligibility and after preprocessing of the data. From these 830 patients, 82 (9.9%) received dialysis and 748 (90.1%) did not receive dialysis between day 5 and day 10 of ICU admission. Table 1 indicates the AUC's in the three consecutive testruns for the prediction of the ESN, SVM and NB networks with two input variables (diuresis and creatinine), the 95% confidence intervals for the developed algorithms and there statistical differences with the echostate network results. All AUC's demonstrated good discrimination. As shown in Table 1, there were no major differences in AUC's between the different tested methods. Only small statistical differences were seen at the .05 level between the ESN and the NB in testrun 2 and 3, at the advantage of the NB algorithm. It was concluded that ESN, SVM and NB performed well when predicting the need for dialysis in this ICU population (Table 1). So far as computational complexity was concerned, the SVM and NB each required almost 5 hours of computation time, whereas the ESN only required 2 seconds, which was a major advantage for the echostate network approach.
Discussion
This is the first study to investigate the clinical application of echostate networks for classification in large ICU databases. In general, it is nontrivial to model time series data with classical statistical techniques such as longitudinal data analysis, due to the high degree of correlation within the data. In recent years there has been an evolution towards the development of riskprediction models that use daily assessment of organ function to evaluate the patient status, and thus incorporate already a certain degree of time dependency [10]. Echostate networks are specifically designed for the analysis of time series. Other algorithms such as Hidden Markov modeling or dynamic time warping are outside of the scope of this study, but can be suitable alternatives for time series analysis as are methods like functional data analysis and survival analysis methods with consideration of competing risks. The presence of time series in the ICU is ubiquitous and hence the number of possible future ICU applications for this technology are hudge. Echostate networks have successfully been employed for numerous prediction problems in telecommunication research [1] and robotics [2], as well as in linguistics to detect grammatical structure [3]. Most of these applications come down to prediction of future states of a time series. In this study however, the basic echostate network architecture is being adapted so that not only prediction by the network of future states is possible, but finding solutions to classification problems becomes possible too. It is noticed that the results from the SVM and NB are slightly better than the results obtained by the echostate network. All AUC's were above 0.8 and clinically acceptable. The time series modeling process in itself was much harder to realize for the SVM and NB, which are not easily configured for time series analysis applications, in contrast to the developing of the echostate network which is perfectly suitable for time series analysis and therefore relatively easily configured. To be able to input time series in NB and SVM, preprocessing of the data is needed by extracting noncorrelated data out of the time series. This preprocessing step needs not to be performed in the echostate network configuration. The NB and SVM algorithms needed a much longer computation time than the ESN method. These are all clear advantages in favour of the echostate network approach. It can therefore be concluded that ESN perform well at the task at hand. As a limitation of the study, we can state that no competing risk analysis for competing events (e.g. discharge, death, dialysis before day 5) was performed relating to the more general problem of missing data as seen in other survival analysis methods. The results obtained in this study can be considered as a proof of concept for the use of reservoir computing methods in the ICU. It is clear for every clinician working in an ICU environment that possible future applications for this new data modeling method are amply found: there are a vast number of continuously monitored physiological variables retrieved at the bedside that have time series characteristics. Just to name a few, haemodynamic parameters, ventilatory settings and consecutively retrieved blood samples, are all potential candidates for time series analysis through an echostate network approach in the ICU. Till now, most of the dynamical and thus timedependent features of these patient variables were lossed during the modeling process of ICU databases, in spite of the fact that analysis of the trend of physiological data are of vital importance in an ICU environment. The fact that now and in the near future advanced dynamical modeling capabilities through novel technologies such as these described in this study will become possible in clinical practice, is a thrilling evolution for every clinician caring for the welfare of his patients.
Conclusion
This proof of concept study evaluated the performance of echostate networks for the first time in predicting the need for dialysis in an ICU population. The classification performance of the echostate network was good. Moreover, the echostate network was easily configured compared to SVM and NB modeling techniques, and the echostate network needed much less computation time. Since time series data in the ICU are amply available and since the modeling of ICU time series data with regression techniques are more difficult due to the problem of high correlation within the data, the authors state that ESN might contribute to the development of future modeling methods of ICU databases.
Appendix
a. SVM
The heuristic behind the SVM algorithm is quite different from that of the commonly used logistic regression modeling for prediction. This latter approach is the golden standard for prognostic modeling in the ICU and is best known by clinicians. The LR algorithm uses a weighted least squares algorithm, i.e. the prediction is based on construction of a regression line as the best fit through the data points by minimizing a weighted sum of the squared distances to the fitted regression line. SVM, in contrast, tries to model the input variables by finding the separating boundary  called hyperplane  to reach classification of the input variables: if no separation is possible within a high number of input variables, the SVM algorithm still finds a separation boundary for classification by mathematically transforming the input variables and thereby increasing the dimensionality of the input variable space. The general term for a separating straight line in a highdimensional space is a hyperplane. Moreover, statistical learning theory predicts that the SVM algorithm will find the hyperplane with the maximummargin to the nearest data point on either side of the hyperplane.
b. Naive Bayes algorithm
Bayesian theory and Bayesian probability are named after Thomas Bayes, a British eighteenth century mathematician. Bayesian logic combines the result of a test for a particular patient with a pretest probability (of the population), to forecast or determine the chance of finding a disease: clinicians intuitively combine these two probabilities routinely. Bayesian theory suggests that Bayes' theorem can be used as a rule to infer or update the degree of 'belief' in light of new information (hence the name 'belief networks'). Bayesian networks can be seen as an alternative to logistic regression models where statistical dependence or independence between different variables are explicitly formulated and not hidden in the regression coefficients as in logistic regression. In a naive Bayes network, as used in this study, there are no dependencies between the different feature variables, they are thus considered to be conditionally independent, hence the term 'naive'. A nice example of the applicability in classification problems of these naive Bayesian networks is the article by Price et al. for the classification of cercival cancer patients [11].
Abbreviations
 ANN:

Artificial Neural Network
 AUC:

area under the receiver operating characteristic curve
 ESN:

EchoState Network
 ICU:

Intensive Care Unit
 MICU:

medical intensive care unit
 LOS:

Length of Stay
 LSN:

LiquidState Network
 NB:

naive Bayes algorithm
 SICU:

surgical intensive care unit
 SVM:

support vector machine
References
Jaeger H, Haas H: Harnessing nonlinearity: predicting chaotic systems and saving energy in wireless communication. Science. 2004, 304 (5667): 7880. 10.1126/science.1091277.
Salmen M, Ploger P: Echostate networks used for Motor Control. Robotics and Automation. 2005, 18: 19531958.
Tong M, Bickett A, Christiansen E, Cottrell G: Learning grammatical structure with echo state networks. Neural Networks. 2007, 20: 424432. 10.1016/j.neunet.2007.04.013.
Toma T, AbuHanna A, Bosman RJ: Discovery and inclusion of SOFA score episodes in mortality prediction. J Biomed Inform. 2007, 40 (6): 649660. 10.1016/j.jbi.2007.03.007.
Toma T, AbuHanna A, Bosman RJ: Discovery and integration of univariate patterns from daily individual organfailure scores for intensive care mortality prediction. Artif Intell Med. 2008, 43 (1): 4760. 10.1016/j.artmed.2008.01.002.
Jaeger H: The echo state approach to analyzing and training recurrent neural networks. (Tech. Rep. No. 148). 2001, Bremen: German National Research Center for Information Technology
Rosenblatt F: The perceptron: a probabilistic model for information storage and organization in the brain. Psychol Rev. 1958, 65 (6): 386408. 10.1037/h0042519.
DeLong ER, DeLong DM, D CP: Comparing the Areas Under Two or More Correlated Receiver Operating Characteristic Curves: A Nonparametric Approach. Biometrics. 1988, 44: 837845. 10.2307/2531595.
Ludbrook J: On making multiple comparisons in clinical and experimental pharmacology and physiology. Clin Exp Pharmacol Physiol. 1991, 18 (6): 379392. 10.1111/j.14401681.1991.tb01468.x.
Le Gall J: The use of severity scores in the intensive care unit. Intens Care Med. 2005, 31: 16181623. 10.1007/s0013400528258.
Price GJ, McCluggage WG, Morrison MM, McClean G, Venkatraman L, Diamond J, Bharucha H, Montironi R, Bartels PH, Thompson D: Computerized diagnostic decision support system for the classification of preinvasive cervical squamous lesions. Hum Pathol. 2003, 34 (11): 11931203. 10.1016/S00468177(03)004210.
Prepublication history
The prepublication history for this paper can be accessed here:http://www.biomedcentral.com/14726947/10/4/prepub
Author information
Authors and Affiliations
Corresponding author
Additional information
Competing interests
The authors declare that they have no competing interests.
Authors' contributions
JD, FDT were responsible for the study design and they assume overall responsibility. The data acquisition was performed by KS. Literature research was performed by TV and JD. Data preprocessing was performed by JD and SVL. Development and configuration of the ESN and the ANN were done by SVL. DB and TV performed the statistical analysis. All authors were responsible for the interpretation of data. TV drafted the manuscript. All authors read and approved the final manuscript.
Authorsâ€™ original submitted files for images
Below are the links to the authorsâ€™ original submitted files for images.
Rights and permissions
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
About this article
Cite this article
Verplancke, T., Van Looy, S., Steurbaut, K. et al. A novel time series analysis approach for prediction of dialysis in critically ill patients using echostate networks. BMC Med Inform Decis Mak 10, 4 (2010). https://doi.org/10.1186/14726947104
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/14726947104