Concept drift

Concept drift is a change over time in the relationship between a model's inputs and the thing it predicts, so that patterns it learned stop holding and its predictions get worse.

A machine learning model learns a mapping from inputs to an answer: these features of an email mean spam, these sales figures mean next week's demand. Google's machine learning glossary defines concept drift as a shift in the relationship between features and the label. The inputs may look the same as before, but what they mean has changed, so the model's learned rule is now wrong.

Security gives clear examples. Spam and phishing filters trained on older emails learned to spot obvious keywords; attackers then moved to more polished messages, so the same signals no longer separate good mail from bad. Fraud detection, malware detection and intrusion detection all face opponents who change tactics precisely because the model has learned the old ones. Drift can be gradual, as new types of attack appear, or abrupt, after a sudden change. Ordinary business models drift too: a demand forecast can break when a competitor's price cuts change how shoppers behave.

Concept drift is different from data drift, where the mix of inputs changes but the underlying relationship holds. With concept drift, even a perfectly representative sample of today's inputs would be mislabelled by yesterday's model. That makes it harder to spot from inputs alone: the clearest signal is a fall in accuracy once true outcomes become known.

The problem has a long research history in machine learning on data streams, going back at least to the STAGGER system of 1986. A widely cited 2014 survey by Gama and colleagues in ACM Computing Surveys organised the methods for adapting to it. The remedies fall into a few groups: retrain when a detector such as DDM or ADWIN signals a change, retrain on a regular schedule using recent data, learn continuously from new examples, or add context such as the season so the model can account for predictable shifts.

In practice, any model deployed in a changing world needs monitoring and a plan to retrain. Concept drift is not a defect of a particular model; it is the world moving on.

Common questions

What is the difference between concept drift and data drift?

Data drift is a change in the distribution of the inputs, such as a different mix of customers. Concept drift is a change in what the inputs mean for the outcome, such as the same customer behaviour now predicting a different result. They often happen together, but a model can suffer from one without the other.

How do you detect concept drift?

The most direct way is to track the model's accuracy against true outcomes as they arrive and watch for a sustained drop. Change detection methods such as DDM and ADWIN automate this on data streams. When true outcomes arrive late, teams use proxies such as shifts in the model's predictions and confirm with labelled samples.

How do you deal with concept drift?

Retrain the model on recent data, either on a schedule or when a detector fires. Some systems learn continuously from new examples, and some use ensembles that replace their oldest members. Adding context such as time of year can reduce drift that follows predictable cycles.

Do large language models suffer from concept drift?

They face a related problem. A language model's knowledge is fixed at its training cutoff, so facts, prices, laws and products change after it is trained. Retrieval of current documents and periodic retraining are the usual responses.

Finding more

Search for "concept drift", "concept drift adaptation survey" and "drift detection ADWIN DDM". The 2014 survey by Gama and colleagues and later reviews in IEEE and ACM journals are the standard academic references. Documentation from model monitoring tools gives practical detection methods, but check that it distinguishes concept drift from data drift, as some sources blur the two.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.