License YOLO
Back to Ultralytics Glossary

Concept Drift

Concept drift changes how inputs relate to correct predictions over time. Labeled production data helps teams detect, measure, and respond to it.

Concept drift occurs when the relationship between a model's inputs and the outcome it predicts changes over time. In supervised learning, the same input can carry a different probability of a given label than it did during training. A model's weights can stay fixed while its predictions become less reliable because the pattern it learned no longer holds.

Jeffrey Schlimmer and Richard Granger introduced the term in their 1986 paper on incremental learning. Email filtering is a practical example: as spam tactics changed, the ECUE spam filter updated the examples it classified against and periodically reconsidered which email features it used.

Concept Drift vs. Data Drift#

Let X be the model's input and Y be its target. Concept drift changes P(Y given X), the probability of an outcome for a given input. Data drift changes P(X), the distribution of inputs the model receives. Pure covariate shift is data drift with a stable P(Y given X). Under label shift, some labels become more or less common while the distribution of inputs within each class remains stable. A change in those class proportions can also change P(Y given X).

In industrial visual inspection, the same physical parts can produce a different mix of images. A weld inspection experiment photographed the same weld seams under brighter lighting and with the camera out of focus. The blur affected model performance even though the experiment recaptured the same seams.

How Concept Drift Changes Over Time#

Drift patterns describe the transition between relationships. Abrupt drift switches from one relationship to another at a distinct point. With gradual drift, the old and new relationships coexist during a transition. With incremental drift, the relationship itself moves through intermediate states. Recurring drift means an earlier relationship returns.

The STAGGER stream in River isolates abrupt concept drift by switching the labeling rule while keeping the input distribution fixed. Install the package with pip install river to run this example.

from river.datasets import synth

# Matching seeds generate the same inputs under both labeling rules.
before = synth.STAGGER(classification_function=0, seed=42)
after = synth.STAGGER(classification_function=1, seed=42)

changed = 0
for (x_before, y_before), (x_after, y_after) in zip(before.take(1000), after.take(1000)):
    assert x_before == x_after
    changed += int(y_before != y_after)

print(f"Labels changed for {changed:,} of 1,000 identical inputs.")

The count is the number of paired inputs that receive a different label after the rule changes. Each pair has the same size, color, and shape.

How to Detect and Measure Concept Drift#

Model monitoring compares a reference period with a recent production window. With the model version and evaluation settings fixed, changes in prediction confidence, detection counts, or image statistics help prioritize examples for review. Reviewed ground truth supplies the actual outcomes. When labels arrive late, match them to the original prediction timestamp so that performance changes appear in the period they occurred.

To estimate how much the concept changed, compare observed outcome rates for inputs matched on relevant features. A camera or shift is a useful starting point, but the mix of images can still change within either group. Separating input mix from outcome changes also helps interpret performance metrics: defect recall or mean average precision can fall when more traffic comes from conditions the model already struggles with.

Adaptive Windowing (ADWIN) flags a change in a streaming statistic, such as average prediction error, by comparing older and newer portions of a window that adjusts its length. In Ultralytics Platform, the Monitoring tab on supported dedicated endpoints shows prediction trends and lets teams save temporary examples to a dataset for label review.

How Models Adapt to Concept Drift#

A change in the target definition starts with revising the annotation rules so older and newer examples can be labeled consistently before fine-tuning. When the target itself evolves continuously, online learning updates a model as verified labels arrive. A later, held-out test set measures how well the update handles unseen examples under the new relationship. With recurring drift, older labeled examples regain relevance when the relationship they represent returns.

Explore solutions

Computer vision in sports

Computer vision in sports

Discover how Ultralytics YOLO powers sports vision with player and ball tracking, performance analytics, coaching insights, and athlete rehabilitation.
Learn more
Computer vision for aerial imagery

Computer vision for aerial imagery

Turn drone and aerial imagery into real-time insights for agriculture, aquaculture, conservation, and geospatial analysis with Ultralytics YOLO.
Learn more
Computer vision in aerospace

Computer vision in aerospace

Apply computer vision in aerospace with Ultralytics YOLO for aircraft inspection, runway FOD detection, airport ground operations, and composite defect detection.
Learn more
Computer vision in security

Computer vision in security

Protect every site with Ultralytics YOLO models. Vision AI powers perimeter monitoring, threat detection, license-plate recognition, and workplace safety.
Learn more
Computer vision in robotics

Computer vision in robotics

Power smarter machines with Ultralytics YOLO models. Vision AI in robotics drives autonomous navigation, perception, object tracking, and real-time control.
Learn more
Computer vision in logistics

Computer vision in logistics

Streamline logistics with Ultralytics YOLO models. Vision AI enables package inspection, sorting, vehicle tracking, and real-time warehouse safety monitoring.
Learn more
Computer vision in retail

Computer vision in retail

Reimagine retail with Ultralytics YOLO models. Vision AI powers inventory tracking, shelf monitoring, queue management, and smarter customer insights.
Learn more
Computer vision in healthcare

Computer vision in healthcare

Build healthcare solutions with Ultralytics YOLO models. Vision AI in healthcare powers faster medical imaging, smarter diagnostics, and patient monitoring.
Learn more
Computer vision in manufacturing

Computer vision in manufacturing

Optimize manufacturing with Ultralytics YOLO models. Vision AI drives quality control, defect detection, PPE compliance, and assembly line automation.
Learn more
Computer vision in automotive

Computer vision in automotive

Apply computer vision in automotive with Ultralytics YOLO models. Vision AI elevates road safety, driver assistance, and vehicle automation for smarter roads.
Learn more
Computer vision in agriculture

Computer vision in agriculture

Bring vision AI to smart agriculture with Ultralytics YOLO models. Power crop monitoring, livestock tracking, and precision farming for higher, smarter yields.
Learn more

Let's build the future of AI together!

Begin your journey with the future of machine learning