The hidden challenge of keeping AI reliable in the real world
A model can get worse without a single line of code changing. What drift is, why monitoring is hard and what to decide before deployment.

An AI model can perform well during testing and start to make poorer predictions months later. The code may be exactly the same. The inputs, the environment or the task may have changed.
Imagine a model trained to analyse images from a camera. It is tested with one sensor, in familiar lighting and across a particular set of environments. Later, the camera is replaced, the lighting changes or the system is used in a new location. The images may still look broadly familiar to a person, but they could differ in ways that matter to the model.
There is another possibility: the inputs look much the same, but the relationship between those inputs and the right answer has changed. For example, a model may have learned to recognise a pattern that used to be a reliable indicator of an event. Over time, that pattern may become less useful. In both cases, the model can become less reliable without anyone changing its code.
This kind of change is often called model drift. It is one reason that deploying an AI system is not the end of the engineering work. A model's performance needs to be monitored in the context where it is actually used, because real conditions may differ from the controlled environment in which it was evaluated.
That sounds straightforward, but monitoring has its own challenges. A team may not immediately know the correct answer for every prediction made in the field, so measuring accuracy can be difficult. A model may also behave differently across different operating conditions. A single average score could hide a serious drop in performance in one particular setting.
Engineers therefore need to think about what to monitor before the system is deployed. This might include changes in the data the model receives, the rate of uncertain predictions, errors reported by users or the performance of a simpler reference system. They also need to decide what should happen when a warning appears. Should the system request human review? Should it switch to a more conservative mode? Should the model be rolled back or assessed before it is used again?
Retraining is one possible response, but it is not always the right one. A model that has been updated with new data still needs to be checked. New training data can introduce different problems, and an update that improves one part of the system may make another part less reliable. In some situations, the best response may be to collect more data, adjust the system's operating limits or ask a person to review the results.
This is where software engineering and machine learning meet operational engineering. Teams need ways to track versions, examine past decisions, manage updates and understand how a model behaves over time. They also need a clear plan for what to do when the system behaves unexpectedly.
The useful question for an engineering team is not only, "Does the model work today?" It is also: "What could change around it, how would we notice, and what would we do next?"
















