Training shared AI models without sharing data: Zentrix Lab’s federated learning work in ELASTIC

ELASTIC partner Zentrix Lab combines federated learning with WebAssembly so that factories can build a common machine learning model while their operational data stays on site.

Industrial AI needs data, but the most useful data is often the hardest to move. Within ELASTIC, project partner Zentrix Lab has built a federated learning system that lets several organisations train one shared model without ever pooling their raw data. Packaging the training logic in WebAssembly makes the system run on the mixed hardware and software found in real factories. The work is now being validated in ELASTIC’s cross-factory energy optimisation demonstrator.

Why industrial data stays where it is

In manufacturing, operational data is spread across factories, systems and edge devices. Centralising it is often impractical or unwanted. The data may be commercially sensitive, bound by governance rules, or produced at the edge in volumes that are costly to move.

Federated learning turns the usual approach around. Instead of sending data to the model, each site trains the model locally and shares only the resulting model updates. Partners get the benefit of a stronger common model while each keeps full control of what it owns.

How the system works

Zentrix Lab’s architecture for ELASTIC has three building blocks:

  • FL Coordinator: runs the global training process and aggregates the model updates sent by all participants.
  • FL Clients: run at each site, train on local data and return an updated model without exposing the data behind it.
  • WebAssembly training module: holds the training logic in a portable format that runs on any compatible runtime.

Portable by design. Federated learning only works if training runs on every participant’s machines, and those machines rarely look alike. Zentrix Lab separates the client host, which handles orchestration and access to the local environment, from the WebAssembly module, which does the training. The same training code can then run across edge and cloud without being rewritten for each platform. This directly supports ELASTIC’s goal of portable, secure and efficient service orchestration across edge and cloud.

Modular through the Component Model. Zentrix Lab is also exploring the WebAssembly Component Model and WIT interfaces to set clear boundaries between parts of the workflow. A training component receives a model and its training configuration, reads local data through the host, and returns an updated model with training metrics. Because orchestration no longer depends on how a trainer is built, different implementations that respect the same interface could be swapped in. The longer-term aim is an FL client made of components that can be replaced or adapted independently.

Caption: Each factory trains inside a portable WebAssembly module on its own data; only model updates travel to the coordinator.

Put to the test in a cross-factory scenario

The system is being evaluated in ELASTIC’s cross-factory energy optimisation demonstrator. Several factories contribute to a shared model while their operational data stays local. The scenario tests the full workflow end to end: what data remains at each site, what is exchanged, how training rounds are coordinated, and how components interact across different execution environments.

This integration step has been one of the most valuable parts of the work. A component can perform well in isolation, but a full scenario quickly surfaces hidden assumptions about interfaces, deployment and system interaction.

“Federated learning lets data stay where it belongs, but in practice every site runs on different hardware and software. By packaging the training logic in WebAssembly, we can run the same trainer across edge and cloud environments without rewriting it for each one. Testing it in the cross-factory demonstrator showed us what it really takes to make the whole workflow hold together.”

Ana Kovačević, R&D Engineer, Zentrix Lab

What this means for ELASTIC and beyond

Zentrix Lab’s contribution shows how three technologies fit together inside ELASTIC. Federated learning keeps raw data local, WebAssembly provides a portable execution layer, and the Component Model adds clear, replaceable boundaries between parts of the workflow. Together they point to machine learning systems that are easier to deploy across heterogeneous infrastructure, in manufacturing and also in energy, healthcare, telecommunications and other data-intensive sectors.

Read Zentrix Lab’s full press release: https://zentrixlab.com/zentrix-lab-brings-portable-federated-learning-to-european-industry-through-the-elastic-project/

Learn more about Zentrix Lab at zentrixlab.com.