TL;DR
This paper addresses the "spurious correlation" trap in flu tracking, where search queries like "high school basketball" appear to predict flu simply because both happen in winter. By modeling seasonal baselines and selecting queries that correlate with the residual (the unexpected outbreaks), the authors significantly improve the semantic relevance of features and the accuracy of influenza-like illness (ILI) estimations.
What Problem Does This Paper Address?
Estimating the prevalence of influenza-like illness (ILI) using web search data is a cornerstone of digital epidemiology. The logic is simple: when people get sick, they search for symptoms. However, this approach is plagued by spurious correlations.
Because the flu is highly seasonal, any search query that also follows a seasonal pattern—such as "high school basketball," "spring break," or "tax return"—will show a high statistical correlation with flu rates, even if they have zero medical relevance. These "noise" queries degrade model performance, especially during irregular outbreaks (like an off-season pandemic) where the seasonal pattern breaks down. The authors aim to find a way to filter out this seasonal noise and identify queries that truly track the underlying disease activity.
Methods
The authors propose a two-step approach to query selection:
- Modeling Seasonality: They use two different models to define the "normal" seasonal variation of the flu:
- Serfling Model: A standard analytical model using sine and cosine terms to capture cycles, plus a linear term for long-term trends.
- Yearly Average (YA) Model: An empirical model that calculates the expected ILI value based on the average of previous years.
- Query Selection via Residuals: Instead of just correlating search queries with raw ILI data, they correlate queries with the residual—the difference between the actual observed flu rates and the seasonal model's prediction.
The idea is that a query correlating with the residual is likely capturing the "extra" flu activity (outbreaks) rather than just the change of seasons. They compare four variations: Seasonal (Serfling), Seasonal (YA), Residual (Serfling), and Residual (YA).
Datasets
- ILI Activity Data: Weekly weighted ILI data from the US Centers for Disease Control and Prevention (CDC) spanning 2004 to 2015.
- Search Query Data: The top 100 queries retrieved from Google Correlate that were most strongly correlated with US ILI activity between 2004 and 2009. Interestingly, only 21 of these top 100 queries were actually flu-related (e.g., "flu symptoms"); the rest were seasonal noise like "wrestling tournaments."
Key Insights and Ideas
- Google Correlate is Noisy: Standard correlation methods are surprisingly bad at finding relevant features. Roughly 80% of the top queries for "flu" are semantically unrelated.
- Residuals Reveal Relevance: Re-ranking queries based on the Residual (YA) model was incredibly effective at identifying semantically relevant queries. In their tests, 19 of the top 21 queries selected by this method were actually ILI-related.
- Semantic Relevance vs. Predictive Power: A surprising finding was that the queries that were most semantically relevant (found via the Residual YA method) were not always the ones that produced the best predictions in autoregressive models.
- The Power of Autoregression: When combined with autoregressive terms (using past flu rates to predict future ones), the Seasonal (Serfling) query selection performed best, achieving high accuracy with very few queries (as few as 5).
Key Results
The authors evaluated their methods using Root Mean Squared Error (RMSE) and Pearson Correlation.
- Linear Models: The Residual (YA) method performed best, achieving an RMSE of 0.390, outperforming the "Not Seasonal" baseline (0.413).
- Autoregressive Models: The Seasonal (Serfling) model achieved the best overall performance with an RMSE of 0.280 and a correlation of 0.974.
As shown in Figure 2, the Residual (YA) method (green line) is far superior at ranking ILI-related queries at the very top of the list compared to the original Google Correlate ranking (purple line).
Limitations and Future Work
The authors note that their current success relies on the fact that the test period had a strong, regular seasonal signal with little deviation. They hypothesize that if a major deviation occurred (like a mid-summer pandemic), the autoregressive models might struggle, and the residual-based query selection would become even more critical.
Future work is needed to understand why the most semantically relevant queries (from Residual YA) didn't yield the absolute best predictive performance in autoregressive setups, suggesting a complex interplay between search behavior and time-series forecasting.
Summary updated