Federated Predictive Maintenance: Several Factories, One Model, No Data Shared
Predicting a failure requires examples of failures, and a failure is rare. A site that operates only its own machines therefore hits a ceiling, not for lack of method but for lack of events. Federated learning lets several sites, or several companies, train one shared detection model while each keeps its production data behind its own firewall. Measured on the public AI4I 2020 dataset: +8.2 AUC points against the average of the sites trained alone.
Why a single site hits a ceiling
The problem in predictive maintenance is not the volume of data, it is the rarity of the event. A workshop produces millions of sensor readings and a handful of failures. On the public AI4I 2020 dataset, which describes a fleet of real machine tools, the count is 339 failures in 10,000 observations, or 3.4%. And that is for the whole fleet.
Split that same fleet across five sites, as we did in order to measure, and the imbalance turns brutal. In our partition, one site carries a single failure event among the 90 rows allocated to it. The direct, quantifiable consequence: the standard error of the AUC computed on its own data alone is 27.8 points, against 1.84 points on the central test set. A model trained there does not predict, it guesses with conviction.
This is the real situation of a great many industrial sites, and no choice of algorithm corrects it. What is missing is not a method, it is failures they have not had. Those failures exist; they simply happened to someone else.
What federating changes, measured
We took the public AI4I 2020 dataset, split it across five sites with different stress regimes, then compared four situations. Every reference is an exact optimum, computed by Newton's method on the engine's exact objective: a standalone site is therefore compared against the best it can reach with its own data, not against a badly tuned training run.
| Situation | AUC | Gap to federated |
|---|---|---|
| Average of the five sites trained alone | 0.8135 | +8.2 pt for federated |
| The best of the five sites, alone | 0.8824 | +1.3 pt for federated |
| All data pooled in one warehouse | 0.8941 | +0.1 pt for federated |
| Federated model, no data moved | 0.8951 |
Three readings, and the third is the surprising one.
The collective gain is large. +8.2 AUC points against a standard error of 1.84 points: the gap is more than four times the measurement uncertainty, and its sign is the same on all seven experiment seeds.
Even the best site gains by joining. This is the question the best-equipped site always asks, and the answer here is +1.3 points, obtained on seven seeds out of seven. It contributes to the collective, and the collective returns more than it had.
Not centralising costs nothing measurable. The federated model is within 0.1 points of the model you would get by pooling everything, which is one fifteenth of the standard error. The argument that "sooner or later you will have to repatriate everything into a warehouse to get performance" does not hold on this dataset.
Sensors do not have to match
The objection that stops the most industrial projects is not confidentiality, it is heterogeneity: "our sites do not measure the same things, we would have to harmonise first". That is precisely what federating avoids.
A site that does not measure a quantity declares it unobserved. Its learning stays at zero on that dimension, its local model draws no conclusion from it, and it still benefits from what the others learned there. What is pooled is a dictionary of variables, not a dataset: each site keeps its tables, its column names and its history.
The practical consequence is that a collective does not wait two years for a harmonisation programme before starting. It starts with the sensors already in place, and heterogeneity becomes what it really is: the reason each party has something to offer the others.
What leaves the factory, and what does not
One training cycle, as implemented:
- The coordinator sends the current model to each site, inside an encrypted envelope only the recipient can open (RSA-OAEP 2048-bit, AES-GCM 256-bit).
- Each site trains that model on its own readings, on its own infrastructure, and computes the difference between the model received and the model obtained.
- It returns that difference and nothing else: numbers, the model parameters. No row of readings is ever serialised or transmitted.
- The coordinator combines the differences and sends back an improved model for the next cycle.
At no point, therefore, does a place exist holding the production data of several sites. That is the point an IT department cares about: if there is a compromise, the exposed surface is that of one actor, because the central copy does not exist. → the breach comes from the copy.
If the threat model includes the coordinator itself, two reinforcements exist and are offered as options: secure aggregation, where even the party doing the addition reads no term, and the aggregation enclave. → the four reinforcements, and what each one costs.
The three configurations that work
- Multiple sites of one group. The easiest to launch, because the decision is internal. It makes sense when data cannot cross a border, when volumes make repatriation unrealistic, or when each site wants to keep control of its readings.
- An equipment maker and its customers. The manufacturer knows the machine, the operator knows its real use. Neither shows its data to the other, and the model learns from both. Model ownership is settled in the contract. → who owns the model.
- A sector collective between competitors. The configuration with the highest gain, since production regimes differ the most. It is also the one that needs the most explicit framework, and that is what The Collective covers.
In all three cases the starting point is the same: an estimate of what your sites see, and of what they do not. → how a project works, and how return on investment is computed.
FAQ: federated predictive maintenance
Why can a single site not predict its own failures?
Because a failure is rare. On the public AI4I 2020 dataset there are 339 failures in 10,000 observations, or 3.4%. A site that operates only its own machines therefore accumulates very few examples of the very thing it wants to predict, and a model trained on a few dozen failures is unstable whatever method is used.
What does federating several factories gain?
On the public AI4I 2020 dataset split across five sites, the federated model reaches 0.8951 AUC against 0.8135 for the average of the five sites trained alone, which is +8.2 points. Against the best of the five it still gains 1.3 points, and it does so on all seven experiment seeds. The standard error of an AUC on this test set is 1.84 points.
Must every factory have the same sensors?
No, and this is often what unblocks the project. A site that does not measure a quantity declares it unobserved: its learning stays at zero on that dimension, and it benefits from what the others learned there. Aligning sensor fleets is not a prerequisite for federating.
Does production data leave the factory?
No. Each site trains the model on its own readings, behind its own firewall, and returns only the learned parameters, encrypted end to end. No row of production data is serialised or transmitted, and there is no central warehouse to secure.
Can competitors use this together?
That is the case the arrangement suits best. Two competitors operating the same equipment have similar failures and no way to show each other their data. Federating gives them the shared model without either exposing its production regime, which is often the most sensitive information in the file.
How many sites make this worthwhile?
Our measurements use five actors. The gain comes from the diversity of regimes rather than from the count: two sites with markedly different operating conditions contribute more than five identical ones. That is the first thing to look at on a concrete case.
Let us look at what your sites see, and what they do not
An interactive demonstration is available on request, and we give you access to it.