How do you detect concept drift in a time series?

Quick Overview

Asks how to detect concept drift in a time series so a forecasting or prediction model can be retrained before it degrades. Tests knowledge of error-based detectors, window comparisons, change-point methods, and how seasonality and autocorrelation affect alarms.

How do you detect concept drift in a time series?

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Other

How do you detect concept drift in a time series? ```hint What you can observe List the signals you get every period (the inputs, the predictions and, a period later, the actual values) and ask which kinds of change each one can reveal. ``` ```hint Small but persistent A threshold on each day's error catches large jumps. Think about a statistic that builds up evidence when the error is slightly off for many days in a row. ``` ### What a Strong Answer Covers - A working definition of concept drift and the kinds that need different handling. - Detection from model error, including at least one sequential method and how it decides when to raise an alarm. - Detection from data distributions using a reference window and a recent window. - How time-series structure (seasonality, autocorrelation, many series at once) affects these tests and the false alarm rate. - What happens after an alarm, and how thresholds are tuned. ### Follow-up Questions - Why does a KS test on raw daily values raise false alarms in an autocorrelated series, and how would you fix it? - How would you choose the CUSUM parameters k and h for a forecast you check daily? - How would you tell a holiday spike apart from real drift? - You monitor 10,000 store-level series. How do you keep the number of false alarms manageable?

Overview: Asks how to detect concept drift in a time series so a forecasting or prediction model can be retrained before it degrades. Tests knowledge of error-based detectors, window comparisons, change-point methods, and how seasonality and autocorrelation affect alarms.

Nov 24, 2026
mediumData ScientistOtherStatistics & Math
0
0

How do you detect concept drift in a time series?

What a Strong Answer Covers Guidance

  • A working definition of concept drift and the kinds that need different handling.
  • Detection from model error, including at least one sequential method and how it decides when to raise an alarm.
  • Detection from data distributions using a reference window and a recent window.
  • How time-series structure (seasonality, autocorrelation, many series at once) affects these tests and the false alarm rate.
  • What happens after an alarm, and how thresholds are tuned.

Follow-up Questions Guidance

  • Why does a KS test on raw daily values raise false alarms in an autocorrelated series, and how would you fix it?
  • How would you choose the CUSUM parameters k and h for a forecast you check daily?
  • How would you tell a holiday spike apart from real drift?
  • You monitor 10,000 store-level series. How do you keep the number of false alarms manageable?