Interview Series · Behind the Systems

Rethinking how digital services run

Smarter together, without sharing your secrets.
Ana Kovacevic Research & Development Engineer | Zentrix Lab, Serbia
Ana Kovacevic, R&D Engineer, Zentrix Lab
About the interviewee

Ana Kovacevic is a Research and Development Engineer at Zentrix Lab, where she works on distributed systems and privacy-preserving technologies. Her work includes research, design and development of systems for federated learning and distributed data processing. Within ELASTIC, she has worked on a federated learning-based protocol, including the integration of WebAssembly, and contributed to the development of the cross-factory energy optimisation scenario.

01
Why federated learning

Manufacturing companies often have access to vast amounts of operational data, but sharing it across facilities or with competitors is simply not an option. What made federated learning the right approach for the cross-factory collaboration scenario, and what does it make possible that was not feasible before?

Operational data in industrial environments is often distributed across different sites, systems and devices, and there are many situations where bringing all of that data into one central location is not practical or desirable. The data may be commercially sensitive, subject to regulatory or governance requirements, or generated directly at the edge, close to the machines where it is used.

Federated learning provides a way for these sites to collaborate without first centralising their raw data. Each factory trains locally on its own data and sends a model update back to the coordinator, while the underlying data remains at the site where it was generated. For our cross-factory scenario, this means that several factories can contribute to the same model without creating a shared central dataset.

The idea in one line

Each factory trains locally on its own data and sends a model update back to the coordinator, while the underlying data remains at the site where it was generated.

02
WebAssembly in the toolbox

The Federated Learning Toolbox ZEN came to ELASTIC with existing federated learning infrastructure. What did the project add or change, and what does integrating WebAssembly into the training pipeline mean for how the toolbox can be deployed?

One of the main changes in ELASTIC was moving towards a WebAssembly-based federated learning setup. Federated learning is distributed by design, which means that training may need to run across devices and environments with very different hardware and software configurations. This makes portability an important practical issue.

WebAssembly gives us a way to package the training workload in a portable format that can be executed through a compatible runtime, with fewer assumptions about the underlying system. It also provides a controlled execution environment, which is useful when code needs to run on infrastructure managed by different participants. In the context of federated learning, this can make deployment more flexible across edge and cloud environments and reduce the need to adapt the training logic separately for every platform.

03
Developing the scenario

You were not only building a component, you were also core in developing Scenario 2 of Demonstrator 1. What does it take to turn a research tool into a scenario that reflects a real industrial challenge, and what did that process teach you?

Developing the scenario was mainly about connecting the technical work to a realistic problem. The energy-optimisation use case gave us a concrete reason for several factories to collaborate, but it also forced us to think about how the complete workflow would operate. We had to consider what data stays at each factory, what is exchanged, how the training rounds are coordinated and how the individual components fit together.

A component can work well in isolation, but putting it into a complete scenario quickly exposes assumptions about deployment, interfaces and interaction with other parts of the system. That was probably the most useful part of developing the scenario.

04
The Component Model

You are also exploring the WebAssembly Component Model in ELASTIC. What does it add beyond simply running training code in WebAssembly, and why could this be useful for federated learning?

With WebAssembly, we can already package the training logic so that it can run in different environments. The Component Model is interesting because it also gives us a structured way to define how that code interacts with the rest of the system. In a federated learning use case, we are exploring how parts of the workflow can be separated through well-defined WIT interfaces.

For example, a training component can receive a training task and model, access the local dataset through the host, and return an updated model and training metrics. This means that the orchestration layer does not need to depend on the internal implementation of the trainer. A different training implementation could potentially be used as long as it follows the same interface.

The same idea can be extended to other parts of the workflow. Instead of treating the FL client as one tightly coupled application, the longer-term goal is to separate responsibilities into components that can be replaced or adapted independently.

05
For the general public

Factories across Europe are under pressure to reduce energy consumption while remaining competitive. Your work allows them to collectively learn from each other's data, building shared models that improve energy efficiency, without any factory ever seeing another's operational data. What does that mean for the people who work in those factories, and for Europe's industrial future?

Different factories learn different things from their machines. One factory may see energy-consumption patterns or operating conditions that another factory rarely encounters. Combining that experience could help build better models for predicting energy use and identifying inefficiencies. The problem is that companies usually cannot simply exchange detailed production data, because it may contain commercially sensitive information.

Federated learning offers another way to cooperate. Each factory keeps its own data and uses it locally to contribute to a shared model. The underlying production records do not need to be exchanged. For people working in those factories, this could mean better tools for understanding energy use and making production more efficient.

More broadly, it allows companies to benefit from each other's experience while keeping control over their own data. That kind of collaboration can be useful for European industry, particularly where organisations face similar problems but cannot simply pool all of their information.

06
Looking ahead

Federated learning is gaining traction across many sectors beyond manufacturing. Where do you see the most important opportunities, and what needs to improve before it becomes a standard tool for industrial collaboration?

I see the strongest opportunities in areas where useful data is naturally distributed, such as manufacturing, healthcare, energy, telecommunications and edge infrastructures. A large part of the remaining challenge is systems engineering. Real deployments involve different hardware, software environments, ML frameworks, network conditions and organisational policies. We still need better interoperability, simpler deployment, good observability and reliable coordination between participants.

WebAssembly can help with some of these challenges by providing a portable execution layer that can run across heterogeneous environments. Together with the Component Model, it can also help define clearer boundaries and interfaces between different parts of the federated learning workflow, making the system easier to adapt and deploy.

At the same time, privacy and security still require additional attention. Federated learning keeps raw data local, but this alone does not address all privacy and security risks. Depending on the use case and threat model, additional mechanisms such as secure aggregation, trusted execution environments or homomorphic encryption may be needed to protect model updates or computation during training.

Key takeaways

Each factory trains locally and shares only model updates, so raw data stays where it was generated.

WebAssembly makes the training workload portable across very different edge and cloud environments.

The Component Model separates the workflow into parts that can be replaced or adapted independently.

Keeping data local is not enough on its own. Secure aggregation, trusted execution environments or homomorphic encryption may be needed.

Behind the Systems

Explore more from the ELASTIC interview series