---
title: "How we knew COVID was over (and what our models had to unlearn)"
description: "Airbnb's forecasting team splits \"retrain\" into three distinct decisions: refit (same model, new data), respecify (change structure, features or priors), and hold (leave the model alone)."
url: "https://swe.quest/articles/how-we-knew-covid-was-over-and-what-our-models-had-to-unlearn-992c8d2471a4eed4"
canonical: "https://medium.com/airbnb-engineering/how-we-knew-covid-was-over-and-what-our-models-had-to-unlearn-c606b9bdb0ab"
source: "Airbnb Engineering"
published: "2026-08-19"
difficulty: "medium"
kind: "Case study"
reading_minutes: 14
tags: ["machine-learning","ml-platform"]
---

# How we knew COVID was over (and what our models had to unlearn)

A post on [Airbnb Engineering](https://swe.quest/sources/airbnb.md), published 2026-08-19, 14 min read, Case study. Original: [https://medium.com/airbnb-engineering/how-we-knew-covid-was-over-and-what-our-models-had-to-unlearn-c606b9bdb0ab](https://medium.com/airbnb-engineering/how-we-knew-covid-was-over-and-what-our-models-had-to-unlearn-c606b9bdb0ab)

## Summary

Airbnb's forecasting team splits "retrain" into three distinct decisions: refit (same model, new data), respecify (change structure, features or priors), and hold (leave the model alone). Each one has a matching failure: refitting on one-off spikes, carrying stale COVID-era assumptions through routine refits, and rebuilding in panic after temporary shocks such as FX swings. The triage rule is to hold if the miss sits inside the model's normal range, respecify if errors are one-sided and persistent or refits go unstable, and otherwise refit. In the COVID recovery, refitting a hierarchical pooled model left error about 3x the pre-shock baseline. Respecifying it to borrow strength by geographic adjacency and shared recovery dynamics cut error by over half.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Machine learning](https://swe.quest/tags/machine-learning.md) (AI & ML)
- [ML platforms](https://swe.quest/tags/ml-platform.md) (AI & ML)

## Prerequisites

- time-series forecasting
- Bayesian priors
- hierarchical models

## Keywords

Airbnb, COVID, hierarchical forecasting, model retraining

## Related posts

- [Unlocking Earth AI’s planetary geospatial foundation models for global public health](https://swe.quest/articles/unlocking-earth-ai-s-planetary-geospatial-foundation-models-for-global-public-4e4a054bea859c89.md): Google Research · 2026-10-06 · Easy · 9 min read · Maps & geospatial, Machine learning, Evaluation
  Google's Population Dynamics Foundation Model (PDFM) produces monthly location embeddings from aggregated search trends, mobility, built-environment density and environmental data, which can be dropped into existing epidemiological models without task-specific fine-tuning.
- [TimesFM-3: A zero-shot foundation model for multivariate forecasting](https://swe.quest/articles/timesfm-3-a-zero-shot-foundation-model-for-multivariate-forecasting-c2421e383bcd85af.md): Google Research · 2026-08-31 · Hard · 6 min read · Machine learning, Model training, Inference & serving
  TimesFM-3 is a 330M-parameter decoder-only transformer pre-trained on over 1 trillion real and synthetic time points that does zero-shot multivariate forecasting, supporting multiple targets, past-only covariates and known-future covariates.
- [Shopify's Playbook for Scaling Machine Learning](https://swe.quest/articles/shopify-s-playbook-for-scaling-machine-learning-01ef31091481dd96.md): Shopify Engineering · 2022-02-11 · Easy · 12 min read · ML platforms, Machine learning, Threat detection, E-commerce
  Shopify's approach to scaling machine learning grew out of its first ML product, an order fraud detector that replaced a rule-based system with a high false-positive rate.
- [AI Changed How Spotify Builds. What We Learned (and Fixed) About Quality at Higher Velocity](https://swe.quest/articles/ai-changed-how-spotify-builds-what-we-learned-and-fixed-about-quality-at-higher-f3371ab51bf64587.md): Spotify Engineering · 2026-09-16 · Easy · 7 min read · SRE, AI for coding, Resilience, Capacity planning, Deployment
  Spotify's quality regressions during its AI ramp-up came not from AI-authored code but from change volume outpacing verification, plus AI-driven compute scarcity that made regional failovers visible to users.
- [Degrade gracefully: designing AI features that keep working when the model doesn't](https://swe.quest/articles/degrade-gracefully-designing-ai-features-that-keep-working-when-the-model-doesn-6b9424afccbe7e08.md): incident.io · 2026-10-29 · Easy · 11 min read · Resilience, LLMs, AI agents, Observability, SRE
  AI features that have quietly become part of engineers' workflows need designed fallbacks for both outright model outages and silent quality regressions.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
