Machine learning is applied in manufacturing to predict machine failures from sensor data, improve product quality through inspection, and optimise process parameters from real-time machine data. This article focuses on two blockers: the data feeding it and the work of keeping it running on the line. A 2026 research roadmap on AI and ML for smart manufacturing names the same obstacles: messy industrial data, integration with mixed sensing and control systems, and the need for reliable, explainable operation where mistakes are expensive.
Machine Learning Is a Narrower Claim than “AI in manufacturing”
“AI in manufacturing” covers more than machine learning, which sits alongside symbolic or knowledge-based AI. The OECD’s explanatory memorandum on its updated AI-system definition describes machine learning as techniques that let a system improve its performance by being exposed to training data, rather than by following explicit human instructions. The same memorandum separates this from symbolic or knowledge-based AI, which works through explicit logical or probabilistic representations (its example is a system reasoning about factories, goods, workers and machines as defined variables). It also notes that the two overlap, since decision-tree learning, for example, learns symbolic rules from data.
A rules engine for scheduling and a learned defect classifier are both “AI”, but only the classifier is built from training data rather than explicit instructions. So when someone proposes “AI for the plant”, the first useful question is whether the idea needs training data. If it does, the data questions below decide whether it is feasible.
Where Machine Learning Pays on the Factory Floor
Predictive Maintenance
Predictive maintenance schedules work around predicted failures, using observed signals such as temperature, noise and vibration. Reactive maintenance runs a machine until it breaks, and preventive maintenance services it on fixed run-time or cycle counts. That is how NIST’s report on the costs and benefits of advanced maintenance (AMS 100-18) separates the three. A survey of predictive maintenance systems describes the aim as finding the best trade-off between repair cost and prevention cost: servicing as rarely as possible without letting unplanned breakdowns happen. A typical workflow compares sensor data with information about the machine and the workpiece it is processing, then looks for patterns that come before failures so that maintenance can be planned around them.
Visual Inspection
Automated visual inspection is aimed at quality checks that would otherwise be done by hand. In the Philips Consumer Lifestyle study of shaver logo printing, every product was handled and inspected manually, and defective prints were removed from the line. In that study, a pre-trained ResNet-18 served as a feature extractor, turning each image into a 512-value embedding before classification. Our article on applying machine learning in computer vision systems covers the modelling choices in more detail.
Process Optimisation
Process optimisation uses production data to adjust how the process runs, rather than to watch one asset or one part. NIST describes a CNC digital twin, fed with real-time data from sensors on the machine and cutting tools, being used to optimise toolpath, machining parameters and tool selection for quality and efficiency. It describes a quality variant too: tool position, spindle speed, feed rate and cutting forces, along with camera images, are compared against the part’s digital twin to catch dimensional and surface-finish deviations early. Where the optimisation is really a scheduling or allocation problem, classical operations research is worth weighing against a learned model, a point developed in AI meets operations research in data analytics. Other manufacturing uses are covered in AI for advanced manufacturing.
How Much Do Predictive Maintenance and Inspection Actually Save?
The published figures cover a wide range of metrics and values, and they come from various countries. Here is how firm each one is:
| Claim | Who says it | What it is |
|---|---|---|
| Availability can rise by more than 20%, inspection costs fall up to 25%, annual maintenance costs fall up to 10% | A McKinsey report, as cited in a 2018 Industry 4.0 knowledge-graph paper | Consultancy estimate, “depending on the starting point” |
| Deep-learning defect detection could improve up to 90% over human inspection | The same McKinsey report, as cited there | Consultancy projection of what AI-based quality assurance promises |
| Visual inspection sped up by up to 40% | Experts estimating for the Philips shaver use case | An estimate for “this particular use case” |
| Maintenance cost reduction of 15% to 98% | Firm-level studies collected by NIST AMS 100-18 | A wide range across metrics and countries |
NIST AMS 100-18 says the effect of predictive maintenance on maintenance costs “is not well documented at the national level”, and that firm-level estimates vary widely both in what they measure and in the values they report. The same report gives one reason: many plants have no reliable downtime data, and a survey from Sweden that it cites estimates that 83% have no model for quantifying the cost of downtime. Note that the 40% inspection figure is an experts’ estimate for this particular use case, not a measured throughput gain.
The practical consequence is that the business case has to be built from the plant’s own numbers. If downtime is not costed today, it is hard to document a return from a predictive maintenance pilot, however accurate the model is.
What Data Has to Exist Before a Model Is Worth Training
Sensors for Predictive Maintenance
Predictive maintenance models run on condition signals. The predictive maintenance survey lists vibration data, thermal images, ultrasonic data and operational availability among the usual inputs. The survey reports SVMs, autoencoders and CNNs applied to vibration signals for bearing and gearbox diagnosis and prognosis. When several sensors are mounted at different positions, their statistics differ, which makes hand-picked features harder to choose and adds uncertainty. Fusing those signals is still described as an open problem.
Failure history is a further constraint. Failures are rare in a production system because running machines under fault conditions has serious consequences and degradation takes time, so the data is imbalanced. The survey covers GAN-based augmentation and transfer learning from laboratory machines to production machines as ways around this. It also says plainly that satisfactory performance on imbalanced datasets is still hard to reach in many scenarios.
Labelled Defects for Inspection
Inspection data is imbalanced too. The Philips active learning study notes that as process quality improves, most images show good parts and only a small share show defects of any kind. The MVTec AD authors make a similar point: optical inspection tasks often lack defective samples. Their dataset trains only on defect-free images and tests on defect-free images plus images covering 73 defect types. The dataset is built for evaluating unsupervised anomaly detection. Their benchmark also found that no single method performed well across all object and texture categories.
The Philips study found active learning reduced labelling effort without hurting model performance. In the streaming version of the work, the best-balanced algorithm cut manual labelling by 35% on average. For scale, that study’s labelled dataset was 3,518 images across good prints and two defect classes.
Getting Machine Data off the Shop Floor
Standards-based integration gives access to field and plant data, so the connectivity standards matter early. MTConnect is a semantic vocabulary for manufacturing equipment. It gives structured, contextualised data from machine tools, robots, coordinate measuring machines and sensor packages, with no proprietary format. OPC UA, from the OPC Foundation, is a platform-independent machine-to-machine protocol that provides secure, reliable communication between machines, supervisory systems and other applications. The Asset Administration Shell describes an asset’s properties, states, parameters and measurement data as submodels, supporting interoperability between digital twins. NIST’s 2016 standards landscape still listed data analytics and factory-floor-to-enterprise data transfer among the areas where existing standards were insufficient.
A Data Readiness Checklist
Before committing to a manufacturing ML pilot, we would check each of these:
- The failure or defect you want to predict has a cost you can put a number on, including downtime.
- The relevant signals (vibration, temperature, current, images) are captured at the asset at a usable sampling rate, not just logged as alarms.
- Those signals can be read through a standard interface such as OPC UA or MTConnect, or there is a plan to retrofit one.
- Readings can be joined to the machine state, the workpiece and the maintenance record at the time they were taken.
- You know roughly how many failure events or labelled defects exist, and you have a plan for the imbalance (anomaly detection, active learning, augmentation or transfer).
- Someone owns the labels and will keep producing them after the pilot ends.
How Does a Pilot Get from the Lab Bench to the Production Line?
A pilot reaches the line when its output feeds into a maintenance or quality decision that someone acts on, and when the model can be retrained and redeployed without a project team standing by. That second condition is what MLOps covers. Faubel and Schmid’s 2024 multiple case study of MLOps in Industry 4.0 defines it as the processes, tools and organisational structures used to develop, test, deploy and manage ML models reliably. Their study draws on three large companies with dedicated MLOps teams and established deployment processes.
The predictive maintenance survey sets out the full chain: data acquisition, preprocessing (cleaning, integration, transformation, feature extraction), analysis with machine or deep learning, decision support that produces a maintenance schedule, and maintenance implementation in the physical world. The survey also notes that little research combines AI-based diagnosis and prognosis with maintenance scheduling into one automated method. Connecting the two is integration work, not modelling work.
Plants also start from different places. The survey describes four maintenance maturity levels, from periodic visual inspection up to continuous monitoring with predictive alerts. It cites an industry survey finding that two thirds of respondents were below level 3 (real-time condition monitoring) and only around 11% had reached level 4. A plant still on scheduled inspections needs monitoring infrastructure before it needs a prognostic model.
In the Philips streaming study, all five streaming algorithms improved over time as new samples arrived, with or without active learning. Updating continuously from line data, with a person labelling only the samples that matter, is one realistic way to keep a model current as print setups or materials change. Another route is scheduled retraining with versioned models and controlled rollouts. The artefacts that keep that route safe (reference sets, drift monitors, rollback plans) are covered in our piece on industrial CV inspection production reliability.
Integration with existing systems is a further challenge. The acatech Industrie 4.0 working group wrote in 2013 that manufacturing business processes often run on inflexible software that cannot be replaced overnight, so old systems have to be upgraded with real-time capability instead. NIST’s standards landscape adds that much machine performance data can be presented to people through dashboards that also enable direct control.
TechnoLynx works on this stage through its Production AI Monitoring Harness for regression and drift checks and computer vision R&D for line-side inspection models. If your organisation has never run a model in production, MLOps for organisations that have never operationalised a model sets out the minimum operating setup. MLOps as an operating model explains how it differs from ordinary DevOps.
Is It Industry 4.0 or 5.0 Now?
Industry 5.0 complements Industry 4.0 rather than replacing it. Industrie 4.0 comes from the acatech working group’s 2013 report, which described a fourth industrial revolution driven by bringing the Internet of Things and Services into manufacturing, with machines, storage systems and production facilities connected as cyber-physical systems. The Industry 5.0 policy text says Industry 5.0 “complements the existing Industry 4.0 paradigm”. It shifts the emphasis towards sustainability, resilience and placing worker wellbeing at the centre of production.
For ML project planning, 4.0 supplies the plumbing: sensors, connectivity and integration from the actuator up to ERP. The 5.0 framing changes what counts as a good outcome. A human-centric target favours models whose output an operator can interpret and override, which fits the roadmap’s emphasis on explainable, trustworthy operation. A sustainability target makes energy a target to optimise alongside throughput. The acatech report gives an example: on a laser-welding body assembly line, 12% of total energy use happened during production breaks, and measures to address it brought weekly consumption from 45,000 kWh to about 40,000 kWh. Neither framing changes the data prerequisites above.
What Changes on a Regulated Site
The pharma-specific picture, including which use cases are proven and how deployments are structured for GxP, is covered in AI in pharmaceutical manufacturing and the wider survey of AI use cases in pharma. For inspection specifically, automated visual inspection systems in pharma covers the regulated version of the problem.
The Question to Settle Before Any Model Is Chosen
The evidence supports a measured position. Machine learning has been applied to failure prediction and defect detection, and the published savings are too varied to rely on for your own plant. The question to settle first is not which architecture to pick. It is whether you can cost the downtime or the escaped defect today, and read the signal that comes before it through a standard interface. If you can, a pilot has something to prove. If you cannot, that is the first project.
FAQ
Is Machine Learning Still Relevant in 2026?
Yes. A 2026 roadmap on AI and machine learning for smart manufacturing describes it as reshaping the field, and lists physics-informed AI, generative AI, digital twins and foundation models as emerging directions.
What Is the Machine Learning Process Flow for Predictive Maintenance?
The predictive maintenance survey’s architecture runs from data acquisition, through preprocessing and feature extraction, to analysis with machine or deep learning, then decision support that produces a maintenance schedule, and finally carrying out the maintenance.