{"value":"In December, at the NeurIPS Machine Learning in Public Health Workshop, we and our colleagues at Amazon and the University of California, San Diego, won a best-paper award for a new approach to modeling the spread of COVID-19 infections.\n\n![image.png](https://dev-media.amazoncloud.cn/aa7a639d3ac0462cae159430fbfbdfc3_image.png)\n\nThe U.S. will record its 500,000th death from COVID-19 today, and yesterday, Anthony Fauci, the U.S. president's chief medical advisor, said Americans could be wearing masks into 2022, depending on the level of virus that remains in communities nationwide.\n\nPIXELFIT/GETTY IMAGES\n\nIn the past, researchers have used two different approaches to predicting COVID spread. One is “compartment” models, which use differential equations to compute a population’s transitions between different classes of exposure (or compartments), such as susceptibility, exposure, and infection.\n\nThe other is deep-learning models, which analyze large volumes of training data to identify factors that predict future spread. Compartment models tend to do a better job of predicting infection and recovery, but deep-learning models do a better job of predicting fatalities.\n\nIn our paper — “++[AutoODE: Bridging physics-based and data-driven modeling for COVID-19 forecasting](https://www.amazon.science/publications/autoode-bridging-physics-based-and-data-driven-modeling-for-covid-19-forecasting)++” — we propose a hybrid approach that uses both ordinary differential equations (ODEs) and a simple, linear machine learning model. In experiments, we found that our approach improves on both earlier compartment models — a mean absolute error reduction of 36.5% — and deep-learning models — a mean absolute error reduction of 57.4%.\n\nA typical compartment model sorts populations into a handful of categories. Our hybrid model is a variation of the SEIR model, in which the categories are susceptible, exposed, infected, and removed, a category that includes both recovery and death. We vary this schema slightly by adding deaths as a separate category.\n\nCompartment models describe transitions between these categories using ODEs, whose parameters are fixed values for transmission, incubation, discovery, and recovery rates. The chief innovation of our model is to learn those parameters from data, rather than basing them on statistical analyses. We call our model AutoODE, since it automatically learns ODEs.\n\n\n#### **Fine-grained transmission rates**\n\n\nAutoODE’s approach to estimating transmission rate is more nuanced than existing compartment models’. First, we assume that transmission rate varies by U.S. state, as different states have enacted different policies for dealing with COVID.\n\nTo learn transmission rates, we start with a 50-by-50 adjacency matrix, which maps all 50 U.S. states against all 50 U.S. states. The entries in the matrix’s cells are simply binary indicators of whether two states are adjacent. \n\nAutoODE then learns a correlation matrix, which is multiplied by the adjacency matrix to produce a matrix of specific transmission rates, both within states and across state lines. To improve computational efficiency, we use low-rank approximation in the computation of the correlation matrix.\n\nWe also assume that transmission rates change over time, as state policies change. So we train our model to identify inflection points in the data, which introduce new rates. The learning algorithm weights training data according to distance in time, with more recent measurements receiving greater weight than older ones.\n\nWhere deep-learning models are computationally intensive, our simple linear model is very efficient to train, so it can be updated regularly as new data arrives.\n\nIn our experiments, we compared AutoODE to six different deep-learning models and one state-of-the-art compartment model. The models were evaluated on their predictions of new infections, removals (either recoveries or fatalities), and deaths over three different seven-day periods.\n\n![image.png](https://dev-media.amazoncloud.cn/aacdabf4d0ca45069f79f031ded52ab9_image.png)\n\nError counts for AutoODE and seven baseline models on three forecasting tasks (infections, removals, and deaths) over three different seven-day periods.\n\nOn the task of predicting deaths, deep-learning models were slightly more accurate than AutoODE. But the margins were small, and AutoODE’s performance was better than the compartment model’s. On the other two tasks — predicting infections and recoveries — AutoODE outperformed all seven baselines for all three seven-day periods.\n\nABOUT THE AUTHOR\n\n#### **[Danielle Robinson](https://www.amazon.science/author/danielle-robinson)**\n\nDanielle Maddix Robinson is a senior applied scientist with Amazon Web Services.\n\n#### **[Yuyang (Bernie) Wang](https://www.amazon.science/author/yuyang-wang)**\n\nYuyang (Bernie) Wang is a principal machine learning scientist with Amazon Web Services.\n","render":"<p>In December, at the NeurIPS Machine Learning in Public Health Workshop, we and our colleagues at Amazon and the University of California, San Diego, won a best-paper award for a new approach to modeling the spread of COVID-19 infections.</p>\n<p><img src=\\"https://dev-media.amazoncloud.cn/aa7a639d3ac0462cae159430fbfbdfc3_image.png\\" alt=\\"image.png\\" /></p>\n<p>The U.S. will record its 500,000th death from COVID-19 today, and yesterday, Anthony Fauci, the U.S. president’s chief medical advisor, said Americans could be wearing masks into 2022, depending on the level of virus that remains in communities nationwide.</p>\n<p>PIXELFIT/GETTY IMAGES</p>\n<p>In the past, researchers have used two different approaches to predicting COVID spread. One is “compartment” models, which use differential equations to compute a population’s transitions between different classes of exposure (or compartments), such as susceptibility, exposure, and infection.</p>\n<p>The other is deep-learning models, which analyze large volumes of training data to identify factors that predict future spread. Compartment models tend to do a better job of predicting infection and recovery, but deep-learning models do a better job of predicting fatalities.</p>\n<p>In our paper — “<ins><a href=\\"https://www.amazon.science/publications/autoode-bridging-physics-based-and-data-driven-modeling-for-covid-19-forecasting\\" target=\\"_blank\\">AutoODE: Bridging physics-based and data-driven modeling for COVID-19 forecasting</a></ins>” — we propose a hybrid approach that uses both ordinary differential equations (ODEs) and a simple, linear machine learning model. In experiments, we found that our approach improves on both earlier compartment models — a mean absolute error reduction of 36.5% — and deep-learning models — a mean absolute error reduction of 57.4%.</p>\n<p>A typical compartment model sorts populations into a handful of categories. Our hybrid model is a variation of the SEIR model, in which the categories are susceptible, exposed, infected, and removed, a category that includes both recovery and death. We vary this schema slightly by adding deaths as a separate category.</p>\n<p>Compartment models describe transitions between these categories using ODEs, whose parameters are fixed values for transmission, incubation, discovery, and recovery rates. The chief innovation of our model is to learn those parameters from data, rather than basing them on statistical analyses. We call our model AutoODE, since it automatically learns ODEs.</p>\n<h4><a id=\\"Finegrained_transmission_rates_19\\"></a><strong>Fine-grained transmission rates</strong></h4>\\n<p>AutoODE’s approach to estimating transmission rate is more nuanced than existing compartment models’. First, we assume that transmission rate varies by U.S. state, as different states have enacted different policies for dealing with COVID.</p>\n<p>To learn transmission rates, we start with a 50-by-50 adjacency matrix, which maps all 50 U.S. states against all 50 U.S. states. The entries in the matrix’s cells are simply binary indicators of whether two states are adjacent.</p>\n<p>AutoODE then learns a correlation matrix, which is multiplied by the adjacency matrix to produce a matrix of specific transmission rates, both within states and across state lines. To improve computational efficiency, we use low-rank approximation in the computation of the correlation matrix.</p>\n<p>We also assume that transmission rates change over time, as state policies change. So we train our model to identify inflection points in the data, which introduce new rates. The learning algorithm weights training data according to distance in time, with more recent measurements receiving greater weight than older ones.</p>\n<p>Where deep-learning models are computationally intensive, our simple linear model is very efficient to train, so it can be updated regularly as new data arrives.</p>\n<p>In our experiments, we compared AutoODE to six different deep-learning models and one state-of-the-art compartment model. The models were evaluated on their predictions of new infections, removals (either recoveries or fatalities), and deaths over three different seven-day periods.</p>\n<p><img src=\\"https://dev-media.amazoncloud.cn/aacdabf4d0ca45069f79f031ded52ab9_image.png\\" alt=\\"image.png\\" /></p>\n<p>Error counts for AutoODE and seven baseline models on three forecasting tasks (infections, removals, and deaths) over three different seven-day periods.</p>\n<p>On the task of predicting deaths, deep-learning models were slightly more accurate than AutoODE. But the margins were small, and AutoODE’s performance was better than the compartment model’s. On the other two tasks — predicting infections and recoveries — AutoODE outperformed all seven baselines for all three seven-day periods.</p>\n<p>ABOUT THE AUTHOR</p>\n<h4><a id=\\"Danielle_Robinsonhttpswwwamazonscienceauthordaniellerobinson_42\\"></a><strong><a href=\\"https://www.amazon.science/author/danielle-robinson\\" target=\\"_blank\\">Danielle Robinson</a></strong></h4>\n<p>Danielle Maddix Robinson is a senior applied scientist with Amazon Web Services.</p>\n<h4><a id=\\"Yuyang_Bernie_Wanghttpswwwamazonscienceauthoryuyangwang_46\\"></a><strong><a href=\\"https://www.amazon.science/author/yuyang-wang\\" target=\\"_blank\\">Yuyang (Bernie) Wang</a></strong></h4>\n<p>Yuyang (Bernie) Wang is a principal machine learning scientist with Amazon Web Services.</p>\n"}