key: cord-0528178-exe1yn5u authors: Hartono, Pitoyo title: Generating Similarity Map for COVID-19 Transmission Dynamics with Topological Autoencoder date: 2020-04-03 journal: nan DOI: nan sha: 2439614328da116439f51ad2113eff15d76cd842 doc_id: 528178 cord_uid: exe1yn5u At the beginning of 2020 the world has seen the initial outbreak of COVID-19, a disease caused by SARS-CoV2 virus in China. The World Health Organization (WHO) declared this disease as a pandemic on March 11 2020. As the disease spread globally, it becomes difficult to tract the transmission dynamics of this disease in all countries, as they may differ in geographical, demographic and strategical aspects. In this short note, the author proposes the utilization of a type of neural network to generate a global topological map for these dynamics, in which countries that share similar dynamics are mapped adjacently, while countries with significantly different dynamics are mapped far from each other. The author believes that this kind of topological map can be useful for further analyzing and comparing the correlation between the diseases dynamics with strategies to mitigate this global crisis in an intuitive manner. Some initial experiments with with time series of patients numbers in more than 240 countries are explained in this note. At the end of 2019 China reported some cases of pneumonia of unknown causes that rapidly became an outbreak [1] . On January 30 2020, The World Health Organization (WHO) declared the outbreak as a Public Health Emergency of International Concern, and on February 11 2020 the name for the coronavirus disease was announced as COVID-19. On March 11, COVID-19, the human respiratory disease caused by the SARS-CoV2 virus, has been declared as a pandemic by the WHO with more than 100000 cases, in 114 countries as of that day. Artificial Intelligence communities have been starting to work to tackle many aspects of COVID-19 crisis as nicely reviewed in [2] . Data from this outbreak have already been compiled and made available for research communities [3] . In this short note, the author proposes the utilization of a topological neural network to map the global dynamics of COVID-19 spread. With so many countries affected by this crisis, and each country has different geographical, demographic and strategic aspects, hence, it is very difficult to obtain clear global view on how those differences are correlated with the failure or success of mitigating this crisis. The objective of this study is to offer a visualization method based on the time series data for COVID-19 patients numbers in many countries. While this visualization method does not directly offer insights for the means of crisis mitigation, it will offer an intuitive information on the similarities and differences between many countries in the transmission dynamics of this pandemic that will * School of Engineering, Chukyo University, Nagoya, Japan pontentially be useful for further analysis and prediction. The outline of Topological Autoencoder (TA) is shown in Fig. 1 . TA is a hierarchical neural network having a low dimensional topological hidden layer that is a simplified version of Soft-supervised Topological Autoencoder (STA) proposed in [4] . Originally, STA can be trained in supervised manner, unsupervised manner or the mix of both, and produces a two-dimensional topological map that allows human user to visualize the concept of the data. TA is a simplified version of STA in that it is only trained as an autoencoder in a unsupervised manner and produces a visible map that captures the inherent characteristics of the training data. In this preliminary study, TA is trained with time series of the numbers of COVID-19 patients in more than 240 countries or regions in the world that have been daily compiled by Center for Systems Science and Engineering (CSSE) at Johns Hopkins University [5] and the data are made available in a GitHub repository [6] . The hidden layer of TA is a topological map similar to Kohonen's Self Organizing Maps (SOM) [7] , [8] , where hidden neurons are arranged in two-dimensional grid, and each neuron is associated with a reference vector that has the same dimensionality with the input. The dynamics of TA is briefly explained as follows. For a time series containing the daily numbers of COVID-19 cases in a certain country, X P R d , TA selects the best matching unit, win among all the reference vectors associated with the hidden units of STA as in Eq. 1, where W j P R d is the reference vector associated with the j-th hidden unit. Here, d is the number of the days from the beginning of data collection on January 22 2020. The output of the j-th hidden neuron, H j is shown in Eq. 2, where σpj, win, tq is the neighborhood function defined in Eq.3. Here, σ 0 ą σ 8 ą 0 are the initial and final values of the annealing term, t is the current epoch, while t 8 is the termination epoch. Here, V k denotes the weight vector leading from the hidden layer to the k-th output neuron, H " pH 1 , H 2 ,¨¨¨, H N hid q t is the hidden layer output vector in which N hid is the number of hidden neurons. The loss function is defined in Eq. 4. TA is then trained by minimizing the loss function with the standard stochastic gradient descent. The detail for the loss function derivations are explained in [4] , [9] . The modifications of the reference vectors in the hidden layer of TA cause the formation of two-dimensional topological map, in which countries with similar transmission dynamics are assigned adjacently, while countries with dissimilar dynamics are separated by large space on the map. Utilizing this similarity map, we can gain intuitive understanding on global trend in COVID-19 transmission. The insights gained from visually analyzing this map are potentially helpful in designing strategy for controlling and thus mitigating the spread of this disease. The following figures show a series of topological maps that reflect the dynamics of patients spread for around 240 countries or areas based on patients' numbers collected from January 22 2020 up to the date specified in the respective map. Each country is represented with a number according to the data numbering in John Hopkins University Repository. For visual clarity, the names of some countries or areas are shown on the map. Figure 2 shows the topological maps for patients spread up to February 20 2020, the early stage when COVID-19 patients were detected outside China. From this map, it can be observed that many countries occupy the upper left area on the map. The overlapping are due to the similar dynamics in the COVID-19 cases among many countries, in that most of them have identified very few patients at this time. At this time, Hubei, the epicenter for outbreak, was already an outlier on the map, as the number of patients in Hubei was in different magnitude compared to other areas. It can be also observed here that USA, France, South Korea, and Asian countries as Malaysia, South Korea, Singapore, Thailand, Taiwan and Hong Kong were positioned adjacently, due to their similar dynamics, while many China's provinces as Zhejiang, Shanghai, Liaoning and naturally Hubei were outliers due to their early outbreaks. Figure 3 shows the map up to March 6. The upper left of the map was still crowded, but many countries can be seen to breakout from this overlapping area. This is due to many countries were beginning to develop different strategies resulting in different patients transmission dynamics. It is notable that Italy and Iran moved considerably from the crowded cluster due to the beginning of outbreaks in these two countries, while USA still shared the space, and thus has similar dynamics with Macau and Taiwan. Figure 4 shows the map up to March 25, two weeks after World Health Organization (WHO) declared COVID-19 as a pandemic. The left corner became less crowded as more and more countries developed their unique spread dynamics. Noticeably, South Korea moved away, due to rapid surge of virus transmissions in this period. Outbreaks occurred in USA, Spain and Italy as reflected by topographical encoder decoder patients time series patients time series Korea kept their unique positions on the map because of their unique dynamics that saw early outbreak but than stabilized. Figure 5 shows the map up to March 30, that did not significantly change from the previous map. This is because no noticeable new outbreaks, and hence many countries have stabilized their policies that results in the stabilization of their spread dynamics. The noticeable change is the split of Germany and Spain that previously shared a same dynamics. Detailed analysis for this final map was executed to give better understandings on the topological characteristics of these maps. Figure 6 shows the actual time series up to March 30 for some countries divided based on the region they occupied on the map in Fig. 5 . From the left area, as shown in Fig. 6a , Beijing, Zhejiang and Vatican had dissimilar dynamics that were reflected by their large distances on the map. Beijing and Zhejiang have both contained the outbreaks but had different dynamics and cumulative patient numbers, while Vatican had very few patients up to March 30. In the middle of the map Japan, Netherlands and Switzerland can be observed each with considerably different dy-namics as shown in Fig. 6b . From the right side of the map, Hubei, USA and Italy as shown in Fig. 6c . It is obvious that Hubei had stabilized while patients numbers were growing steeply in USA and Italy. Figure 7 shows the internal representations, each one is the reference vector for the winning neuron associated with each country. Figure 7a shows the representation for Beijing's, Zhejiang's and Vatican's dynamics, Fig. 7b shows the representation for Japan's, Netherlands' and Switzerland's dynamics, while Fig. 6c shows those of Hubei, USA and Italy. Here, it is important to notice that TA represents different dynamics with different internal representations that are important to recreate the original dynamics in the output layer of TA. Here, it is important to notice that some similar, although different dynamics may be represented by a single representation. The representation captures important features of those dynamics, and thus becomes a building block for them. To further explain the internal representation characteristics, the dynamics of South Korea and UK are shown in Fig. 8b . These two countries are deliberately chosen because of their contrasting transmission dynamics that are reflected by their largest distance on the map. South Korea are known for their success in containing the spread of this disease after an early outbreak, while UK, on March Fig. 8b , which clearly show the difference between these two countries. Here a clear example for the reflection of the differences in dynamics into the internal representations is shown. Oppositely, Fig. 9a shows the similar dynamics for Belgium and Netherlands that naturally are placed closely on the map in Fig. 5 . The similarity in the disease spread dynamics is reflected in the similar representations in Fig. 9b and their positions on the map as well. Through these preliminary examples, it can be empirically shown that the hidden representation of TA is able to capture the topological relations in different countries dynamics and thus can be utilized as an analytical tool, for intuitively comparing the dynamics of many countries and potentially analyzing the correlation between those dynamics and strategies to mitigate this crisis. In this unrefereed note, the author proposes the utilization of topological neural network for visualizing the global trend for the COVID-19 transmission. The initial experiments indicate that we can gain intuitive insights on the similarities and differences in the disease transmission among many countries. By visualizing the maps in time, we can also learn the shifts in each countries situations, which mirror their strategies. At this moment, this topological map is not directly useful for evaluating the efficiency of strategies executed by many countries to mitigate the crisis. However, the author believes that the intuitive visual understanding gained from these topological maps will be useful in comparing strategies among many countries, and thus for designing optimal strategies for mitigating this crisis. The direct usage of this map, is to cluster countries having similar dynamics, and train a time series predictor, for example Long Short-term Memory (LSTM) [10] , for further predicting the future numbers of patients in those countries. A new coronavirus associated with human respiratory disease in china Mapping the landscape of artificial intelligence applications against covid-19 Epidemiological data from the covid-19 outbreak, real-time case information Mixing autoencoder with classifier: conceptual data visualization An interactive web-based dashboard to track covid-19 in real time 2019 novel coronavirus covid-19 (2019-ncov) data repository by johns hopkins csse Self-organized formation of topologically correct feature maps Essential of self-organizing map Learning-regulated context relevant topographical map Long shortterm memory