Unsupervised models are the default for industrial anomaly detection because labeled failure data is rare; semi-supervised (one-class) models are usually the practical starting point since they train only on the abundant "normal" data. Supervised models work well only when a plant already has a meaningful log of labeled failures. The harder part isn't picking a model — it's fixing fragmented sensor data and legacy SCADA/MES integration before training even starts.
Most plants already run threshold alarms on their SCADA or HMI screens, and most plants already know they aren't enough. A fixed threshold either fires constantly as load, speed, and ambient temperature shift through a normal shift, or it stays silent through a slow drift that would have told a trained technician something was wrong weeks before the failure. Neither failure mode is rare — it's the default behavior of a rule that can't see context.
That gap is exactly where a team that builds custom anomaly-detection models trained on your own plant's sensor data earns its keep: instead of a generic threshold, the model learns what normal actually looks like for a specific line, across the load and seasonal swings a one-size-fits-all rule can't account for.
This guide compares the three ML approaches to anomaly detection, where each pays off first on a production floor, the infrastructure gaps teams typically underestimate before they start, and a simple frame for deciding whether to build a model in-house or buy a managed platform.
Why Threshold Alarms Miss the Anomalies That Matter
A static threshold alarm compares one reading against one fixed limit, and that's exactly why it misses so much. It has no idea that a vibration spike is normal during startup, that a compressor's energy draw should rise on a hot afternoon, or that two sensors drifting together — temperature up, pressure down — means something a single-sensor rule will never catch.
Equipment behavior isn't static: load, speed, ambient conditions, and the equipment's own age all shift what "normal" looks like over time. A rule built for day-one conditions becomes either a nuisance or a blind spot within a few months.
The result on most floors is one of two failure patterns: alert fatigue, where operators start ignoring an alarm that fires too often to be useful, or a missed anomaly, where a real deviation never crosses the fixed line until it's already a failure. Machine learning models address this by learning the relationships between variables and how they normally move together, rather than checking a single number against a single limit.
Three Machine Learning Approaches to Anomaly Detection
Nearly every industrial anomaly detection system falls into one of three categories, and the right choice depends almost entirely on what kind of historical data the plant actually has.
Supervised Models: When You Have Labeled Failures
Supervised models train on historical data where failures are already labeled: this sensor reading pattern preceded a bearing failure, that one preceded a quality reject. When enough labeled examples exist, supervised models can be the most accurate option, because they learn the specific signature of a known failure mode rather than inferring it indirectly. The catch is availability. Most plants simply haven't logged enough labeled failure events to train one reliably, and manually labeling historical data after the fact is slow and error-prone.
Unsupervised Models: When You Don't
Unsupervised models — clustering methods, autoencoders, isolation forests — train only on the plant's normal operating data and flag anything that doesn't fit the learned pattern. No failure labels are required, which is why this is the default approach for most industrial cases: normal operating data is abundant, labeled failure data almost never is. The tradeoff is that an unsupervised model doesn't know why something is anomalous, only that it diverges from normal, so flagged events still need a human or a downstream system to interpret.
Semi-Supervised / One-Class Models: The Practical Middle Ground
Semi-supervised, or one-class, models sit between the two: they train exclusively on normal data (which there's plenty of) but are structured specifically to draw a tight boundary around it, rather than just clustering it generically. For most real industrial rollouts, this is the practical starting point. It doesn't demand labeled failures, but it's purpose-built for the anomaly-detection task rather than borrowed from general-purpose clustering.
Where It Pays Off First: High-Value Use Cases
A handful of use cases consistently deliver the fastest return once a model is trained and tuned:
- Bearing and rotating-equipment wear — catching a vibration signature shift weeks before it becomes an unplanned stop.
- Energy consumption drift — flagging a compressor or motor drawing more power than its normal load profile predicts, often the earliest sign of mechanical inefficiency.
- Process stability — detecting when a correlated set of process variables (temperature, pressure, flow) starts moving outside their normal joint range, even if no single reading crosses a threshold.
- Quality and defect patterns — identifying a shift's output drifting toward spec limits before rejects actually spike, closely related to the inspection work covered in our AI quality control with computer vision guide.
- Asset reliability — feeding anomaly scores into a broader predictive maintenance program rather than treating detection as a standalone alert.
What Teams Underestimate Before They Start
The model is rarely the hardest part of an anomaly-detection rollout. The infrastructure around it usually is:
- Fragmented data. Sensor readings, MES events, and historian logs often live in separate systems that were never designed to be joined, and a model trained on an incomplete slice of that data will miss the correlations that matter most. A proper manufacturing data lake is usually the prerequisite, not an optional add-on.
- Alert fatigue, round two. A poorly tuned ML model can generate just as many false positives as a bad threshold rule — the fix isn't the algorithm, it's retraining on a wide enough window of normal variation and routing uncertain flags to review instead of an automatic page.
- Legacy SCADA/MES integration. A model's output is only useful if it reaches the system operators already watch; bolting on a separate dashboard nobody opens defeats the purpose.
- Skills gap. Someone on the team needs to own retraining as operating conditions change — a model trained once on last year's data quietly degrades as the plant's equipment, products, or load profile shift.
Build Custom or Buy a Managed Platform?
The decision usually comes down to three practical questions:
- How unique are the plant's failure patterns? A generic managed platform fits well when the equipment and process are common across the industry. Custom-trained models earn their cost when a plant's failure signatures are genuinely specific to its own equipment and conditions.
- How deep is the required integration with existing MES and SCADA systems? The tighter that integration needs to be, the more a custom build pays off over a platform built for broad compatibility.
- How much budget and timeline flexibility exists? A managed cloud platform gets a pilot running faster. A custom model takes longer up front but avoids a recurring per-sensor or per-line license as the rollout scales across a plant.
Frequently Asked Questions
- What's the difference between supervised and unsupervised anomaly detection?
- Supervised anomaly detection trains on historical data where failures are already labeled, so the model learns what a known-bad pattern looks like. Unsupervised anomaly detection trains only on normal operating data and flags anything that deviates from it, which is why it's the more common starting point in manufacturing, where labeled failure data is scarce.
- How much historical data do you need before training a model?
- For unsupervised and semi-supervised approaches, what matters most is capturing enough normal operating cycles to cover seasonal and load variation — often several weeks to a few months of continuous sensor data, rather than a fixed number of records. Supervised models need something harder to get: a meaningful number of labeled failure events, which most plants simply haven't logged at scale.
- Why do anomaly detection models produce false positives, and how do you reduce them?
- False positives usually come from a model trained on too narrow a slice of normal behavior — a different product run, a seasonal load change, or a maintenance cycle it never saw during training gets flagged as anomalous. Reducing them means retraining on a wider window of normal data, tuning the sensitivity threshold, and routing low-confidence alerts to a review step instead of an automatic alarm.
- Can anomaly detection models run at the edge, or do they need the cloud?
- Many unsupervised and semi-supervised models are lightweight enough to run inference at the edge, close to the sensor, which cuts the latency between a reading and an alert. Training usually still happens centrally, where there's enough compute and historical data in one place, and the trained model is then pushed back out to the edge node — the same tradeoff covered in our edge computing in manufacturing guide.
- How does anomaly detection fit with existing SCADA/MES alarm systems?
- Anomaly detection doesn't replace SCADA/MES alarms — it sits upstream of them, catching subtler deviations that a fixed threshold would miss. The practical integration point is routing the model's flagged events into the same alarm or work-order system operators already use, instead of standing up a separate dashboard nobody checks.
None of this works without clean, joined sensor data flowing from the floor into wherever the model actually trains — which is the same architecture question covered in our IIoT architecture guide, one layer below the model itself.