Google Flu Trends

From Wikipedia, the free encyclopedia
Google Flu Trends data, South Africa

Google Flu Trends (GFT) was a web service operated by Google. It provided estimates of influenza activity for more than 25 countries. By aggregating Google Search queries, it attempted to make accurate predictions about flu activity. This project was first launched in 2008 by to help predict outbreaks of flu.[1]

Google Flu Trends stopped publishing current estimates on 9 August 2015. Historical estimates are still available for download, and current data are offered for declared research purposes.[2]


The idea behind Google Flu Trends was that, by monitoring millions of users’ health tracking behaviors online, the large number of Google search queries gathered can be analyzed to reveal if there is the presence of flu-like illness in a population. Google Flu Trends compared these findings to a historic baseline level of influenza activity for its corresponding region and then reports the activity level as either minimal, low, moderate, high, or intense. These estimates have been generally consistent with conventional surveillance data collected by health agencies, both nationally and regionally.

Roni Zeiger helped develop Google Flu Trends.[3]


Google Flu Trends was described as using the following method to gather information about flu trends.[4][5]

First, a time series is computed for about 50 million common queries entered weekly within the United States from 2003 to 2008. A query's time series is computed separately for each state and normalized into a fraction by dividing the number of each query by the number of all queries in that state. By identifying the IP address associated with each search, the state in which this query was entered can be determined.

A linear model is used to compute the log-odds of Influenza-like illness (ILI) physician visit and the log-odds of ILI-related search query:

P is the percentage of ILI physician visit and Q is the ILI-related query fraction computed in previous steps. β0 is the intercept and β1 is the coefficient, while ε is the error term.[citation needed]

Each of the 50 million queries is tested as Q to see if the result computed from a single query could match the actual history ILI data obtained from the U.S. Centers for Disease Control and Prevention (CDC). This process produces a list of top queries which gives the most accurate predictions of CDC ILI data when using the linear model. Then the top 45 queries are chosen because, when aggregated together, these queries fit the history data the most accurately. Using the sum of top 45 ILI-related queries, the linear model is fitted to the weekly ILI data between 2003 and 2007 so that the coefficient can be gained. Finally, the trained model is used to predict flu outbreak across all regions in the United States.

This algorithm has been subsequently revised by Google, partially in response to concerns about accuracy, and attempts to replicate its results have suggested that the algorithm developers "felt an unarticulated need to cloak the actual search terms identified".[6]

Privacy concerns[edit]

Google Flu Trends tries to avoid privacy violations by only aggregating millions of anonymous search queries, without identifying individuals that performed the search.[1][7] Their search log contains the IP address of the user, which could be used to trace back to the region where the search query is originally submitted. Google runs programs on computers to access and calculate the data, so no human is involved in the process. Google also implemented the policy to anonymize IP address in their search logs after 9 months.[8]

However, Google Flu Trends has raised privacy concerns among some privacy groups. Electronic Privacy Information Center and Patient Privacy Rights sent a letter to Eric Schmidt in 2008, then the CEO of Google.[9] They conceded that the use of user-generated data could support public health effort in significant ways, but expressed their worries that "user-specific investigations could be compelled, even over Google's objection, by court order or Presidential authority".


An initial motivation for GFT was that being able to identify disease activity early and respond quickly could reduce the impact of seasonal and pandemic influenza. One report was that Google Flu Trends was able to predict regional outbreaks of flu up to 10 days before they were reported by the CDC (Centers for Disease Control and Prevention).[10]

In the 2009 flu pandemic Google Flu Trends tracked information about flu in the United States.[11] In February 2010, the CDC identified influenza cases spiking in the mid-Atlantic region of the United States. However, Google's data of search queries about flu symptoms was able to show that same spike two weeks prior to the CDC report being released.[citation needed]

“The earlier the warning, the earlier prevention and control measures can be put in place, and this could prevent cases of influenza,” said Dr. Lyn Finelli, lead for surveillance at the influenza division of the CDC. “From 5 to 20 percent of the nation's population contract the flu each year, leading to roughly 36,000 deaths on average.” [10]

Google Flu Trends is an example of collective intelligence that can be used to identify trends and calculate predictions. The data amassed by search engines is significantly insightful because the search queries represent people's unfiltered wants and needs. “This seems like a really clever way of using data that is created unintentionally by the users of Google to see patterns in the world that would otherwise be invisible,” said Thomas W. Malone, a professor at the Sloan School of Management at MIT. “I think we are just scratching the surface of what's possible with collective intelligence.” [10]


The initial Google paper stated that the Google Flu Trends predictions were 97% accurate comparing with CDC data.[4] However subsequent reports asserted that Google Flu Trends' predictions have been very inaccurate, especially in two high-profile cases. Google Flu Trends failed to predict the 2009 spring pandemic[12] and over the interval 2011–2013 it consistently overestimated relative flu incidence,[6] predicting twice as many doctors' visits over one interval in the 2012-2012 flu season as the CDC recorded.[6][13] A 2022 study published (with commentaries) in the International Journal of Forecasting[14] found that Google Flu Trends was outperformed by the recency heuristic, an instance of so-called "naive" forecasting, where the predicted flu incidence equals the most recently observed flu incidence. For all weeks from March 18, 2007, to August 9, 2015 (the horizon for which Google Flu Trends predictions are available), the mean absolute error of Google Flu Trends was 0.38 and of the recency heuristic 0.20 (both in percentage points; linear regression with a single predictor, the most recently observed flu incidence, had a mean absolute error of also 0.20, and the benchmark of random prediction had 1.80).

One source of problems is that people making flu-related Google searches may know very little about how to diagnose flu; searches for flu or flu symptoms may well be researching disease symptoms that are similar to flu, but are not actually flu.[15] Furthermore, analysis of search terms reportedly tracked by Google, such as "fever" and "cough", as well as effects of changes in their search algorithm over time, have raised concerns about the meaning of its predictions.[6] In fall 2013, Google began attempting to compensate for increases in searches due to prominence of flu in the news, which was found to have previously skewed results.[16] However, one analysis concluded that "by combining GFT and lagged CDC data, as well as dynamically recalibrating GFT, we can substantially improve on the performance of GFT or the CDC alone."[6] A later study also demonstrates that Google search data can indeed be used to improve estimates, reducing the errors seen in a model using CDC data alone by up to 52.7 per cent.[17]

By re-assessing the original GFT model, researchers uncovered that the model was aggregating queries about different health conditions, something that could lead to an over-prediction of ILI rates; in the same work, a series of more advanced linear and nonlinear better-performing approaches to ILI modelling have been proposed.[18]

However, followup work was able to substantially improve the accuracy of GFT through the use of a random forest regression model trained on both the incidence of influenza-like illness and the output of the original GFT model.[19]

Related systems[edit]

Similar projects such as the flu-prediction project[20] by the institute of Cognitive Science Osnabrück carry the basic idea forward, by combining social media data e.g. Twitter with CDC data, and structural models that infer the spatial and temporal spreading [21] of the disease.


  1. ^ a b "Google Flu Trends | How". Archived from the original on 22 October 2012. Retrieved 10 November 2012.
  2. ^ Fred O'Connor (20 August 2015). "Google Flu Trends calls out sick, indefinitely". PCWorld. Archived from the original on 23 August 2015. Retrieved 23 August 2015.
  3. ^ Zeiger, Roni (6 October 2009). "Google Flu Trends Overview". YouTube. Archived from the original on 6 June 2013. Retrieved 6 June 2013.
  4. ^ a b Ginsberg, Jeremy (2009). "Detecting influenza epidemics using search engine query data" (PDF). Nature. 457 (7232): 1012–1014. Bibcode:2009Natur.457.1012G. doi:10.1038/nature07634. PMID 19020500. S2CID 125775. Archived (PDF) from the original on 4 September 2012. Retrieved 10 November 2012.
  5. ^ Ginsberg, Jeremy; Mohebbi, Matthew H.; Patel, Rajan S.; Brammer, Lynnette; Smolinski, Mark S.; Brilliant, Larry (19 February 2009). "Detecting influenza epidemics using search engine query data". Nature. 457 (7232): 1012–1014. Bibcode:2009Natur.457.1012G. doi:10.1038/nature07634. PMID 19020500. S2CID 125775.
  6. ^ a b c d e Lazer, David; Kennedy, Ryan; King, Gary; Vespignani, Alessandro (14 March 2014). "The Parable of Google Flu: Traps in Big Data Analysis" (PDF). Science. 343 (6176): 1203–1205. Bibcode:2014Sci...343.1203L. doi:10.1126/science.1248506. PMID 24626916. S2CID 206553739. Archived (PDF) from the original on 19 November 2019. Retrieved 19 December 2019.
  7. ^ Helft, Miguel (13 November 2008). "Is There a Privacy Risk in Google Flu Trends?". The New York Times. Archived from the original on 6 November 2012. Retrieved 10 November 2012.
  8. ^ "Privacy Policy – Policies & Principles – Google". Archived from the original on 3 November 2012. Retrieved 10 November 2012.
  9. ^ Peel, Deborah. "EPIC's November 12, 2008 Letter to Google Concerning Google Flu Trends" (PDF). Archived (PDF) from the original on 15 November 2012. Retrieved 10 November 2012.
  10. ^ a b c "Google Uses Searches to Track Flu's Spread" (PDF). Archived (PDF) from the original on 15 November 2012. Retrieved 10 November 2012.
  11. ^ Cook, S.; Conrad, C.; Fowlkes, A. L.; Mohebbi, M. H. (2011). Cowling, Benjamin J (ed.). "Assessing Google Flu Trends Performance in the United States during the 2009 Influenza Virus A (H1N1) Pandemic". PLOS ONE. 6 (8): e23610. Bibcode:2011PLoSO...623610C. doi:10.1371/journal.pone.0023610. PMC 3158788. PMID 21886802.
  12. ^ Schmidt, Charles (2019-09-18). "Real-time flu tracking". Nature. 573 (7774): S58–S59. doi:10.1038/d41586-019-02755-6.
  13. ^ Butler, Declan (13 February 2013). "When Google got flu wrong". Nature. 494 (7436): 155–156. Bibcode:2013Natur.494..155B. doi:10.1038/494155a. PMID 23407515.
  14. ^ Katsikopoulos, Konstantinos V.; Şimşek, Özgür; Buckmann, Marcus; Gigerenzer, Gerd (2022-04-01). "Transparent modeling of influenza incidence: Big data or a single data point from psychological theory?". International Journal of Forecasting. 38 (2): 613–619. doi:10.1016/j.ijforecast.2020.12.006. hdl:21.11116/0000-0007-E16A-4. ISSN 0169-2070. S2CID 234053376.
  15. ^ "Google Flu Trends: A case of Big Data gone bad?". SiliconANGLE. 24 March 2014.
  16. ^ Richard Harris (2014-03-13). "Google's Flu Tracker Suffers From Sniffles". NPR. Archived from the original on 2019-03-19. Retrieved 2019-12-19.
  17. ^ Preis, Tobias; Moat, Helen Susannah (29 October 2014). "Adaptive nowcasting of influenza outbreaks using Google searches". Royal Society Open Science. 1 (2): 140095. Bibcode:2014RSOS....140095P. doi:10.1098/rsos.140095. PMC 4448892. PMID 26064532.
  18. ^ Lampos, Vasileios; Miller, Andrew C.; Crossan, Steve; Stefansen, Christian (3 Aug 2015). "Advances in nowcasting influenza-like illness rates using search query logs". Scientific Reports. 5 (12760): 12760. Bibcode:2015NatSR...512760L. doi:10.1038/srep12760. PMC 4522652. PMID 26234783.
  19. ^ Kandula, Sasikiran; Shaman, Jeffrey (2019-08-02). "Reappraising the utility of Google Flu Trends". PLOS Computational Biology. 15 (8): e1007258. Bibcode:2019PLSCB..15E7258K. doi:10.1371/journal.pcbi.1007258. PMC 6693776. PMID 31374088.
  20. ^ "Flu prediction project by the University Osnabrück and IBM WATSON". Archived from the original on 2019-05-27. Retrieved 2019-12-19.
  21. ^ Schumacher Johannes (2015). "A statistical framework to infer delay and direction of information flow from measurements of complex systems". Neural Computation. 27 (8): 1555–1608. doi:10.1162/NECO_a_00756. PMID 26079751. S2CID 25156368. Archived from the original on 2019-02-12. Retrieved 2016-03-20.

External links[edit]