Abstract
The COVID-19 pandemic fundamentally altered the landscape of the restaurant industry. This paper analyzes 3.1 million Yelp reviews from New York City and Los Angeles to quantify these shifts in consumer behavior and expectations. By employing NLP classifiers and time-series forecasting, the authors demonstrate how customer priorities pivoted toward hygiene and takeout-friendly cuisines. These shifts correlate strongly with real-world pandemic infection rates, offering a unique lens into the socio-economic impact of the global health crisis on local businesses.
Introduction
The onset of the COVID-19 pandemic brought unprecedented challenges to the restaurant sector, including mandatory closures, social distancing requirements, and a total shift toward takeout and delivery. While existing research has explored pandemic sentiment on general social media platforms, there has been limited investigation into consumer-specific platforms like Yelp. This study addresses this gap by examining how the pandemic influenced review content, star ratings, and food preferences.
Methodology
The researchers utilized a multi-stage approach to analyze the dataset:
- Aspect Classification: To identify specific COVID-19 themes, the authors compared supervised models (BERT) against a weakly-supervised co-training approach. The latter used a "teacher" model to label data based on keywords, which then trained a "student" BERT model, facilitating scalable analysis.
- Time-Series Correlation: The study measured the correlation between the frequency of specific review aspects (e.g., hygiene) and actual COVID-19 case counts using Spearman and Pearson coefficients.
- Intervention Analysis: Using a Prophet forecasting model trained on pre-pandemic data (Jan 2019 – Feb 2020), the authors identified deviations from historical trends throughout 2020.
Datasets and General Trends
The analysis is based on 3.1 million Yelp reviews from New York City and Los Angeles County spanning 2019 and 2020. Additionally, the authors created a manually annotated benchmark of 600 reviews for fine-grained aspect detection.
As shown in Figure 6, the volume of reviews plummeted in March 2020 as lockdowns were implemented. While review volume eventually began to recover, the nature of the reviews had changed significantly.
Key Insights
- Rating Polarization: Average ratings initially dropped, but the distribution became increasingly polarized, with users favoring 1-star or 5-star reviews over moderate ratings.
- Shift in Cuisine Preferences: Intervention analysis revealed a significant spike in reviews for "Fast Food" and "Pizza," while "Seafood" and "American" dine-in categories saw substantial declines, reflecting the logistical pivot to delivery.
- Hygiene Vigilance: Mentions of hygiene practices peaked in July 2020 as indoor dining began to reopen, indicating a shift from early-pandemic sympathy for businesses to a focus on safety protocols.
- Societal Reflections: The data also captured an increase in reviews mentioning racist or xenophobic experiences, particularly targeting the Asian American community.
Quantitative Results
The supervised BERT model achieved an F1 score of 0.786 for binary classification of COVID-related aspects. A critical finding was the high correlation between review content and public health data.
As illustrated in Figure 3, mentions of "Hygiene" reached a Spearman correlation of $\rho = 0.822$ with new US COVID-19 cases. The Prophet model further confirmed that post-March 2020 data represented a massive outlier; for example, 96% of "Fast Food" review data points in NYC fell outside the 95% uncertainty interval of pre-pandemic forecasts.
Conclusion
This research highlights the profound and measurable impact of COVID-19 on consumer expectations. While the study is limited to two major US cities, it provides a framework for integrating hygiene and social distancing aspects into future sentiment analysis. Future work may expand this analysis to broader geographic regions to capture a more diverse range of pandemic responses.
Summary updated