Abstract
Recently, the ever-growing demand for privacy-oriented machine learning has motivated researchers to develop federated and decentralized learning techniques, allowing individual clients to train models collaboratively without disclosing their private datasets. However, widespread adoption has been limited in domains relying on high levels of user trust, where assessment of data compatibility is essential. In this work, we define and address low interoperability induced by underlying client data inconsistencies in federated learning for tabular data. The proposed method, iFedAvg, builds on federated averaging adding local element-wise affine layers to allow for a personalized and granular understanding of the collaborative learning process. Thus, enabling the detection of outlier datasets in the federation and also learning the compensation for local data distribution shifts without sharing any original data. We evaluate iFedAvg using several public benchmarks and a previously unstudied collection of real-world datasets from the 2014 - 2016 West African Ebola epidemic, jointly forming the largest such dataset in the world. In all evaluations, iFedAvg achieves competitive average performance with negligible overhead. It additionally shows substantial improvement on outlier clients, highlighting increased robustness to individual dataset shifts. Most importantly, our method provides valuable client-specific insights at a fine-grained level to guide interoperable federated learning.
Introduction
Federated Learning (FL) has emerged as a critical paradigm for training machine learning models on sensitive data, such as medical records, without centralizing the raw information. However, FL faces a significant challenge: data heterogeneity. When different clients (e.g., hospitals) utilize different measurement units or serve distinct demographics, a single global model often fails to generalize effectively. In high-stakes fields, stakeholders require "interoperability" — the ability to verify if data from different institutions is compatible. Current FL methods are often "black boxes" that offer no explanation when performance degrades due to distribution shifts.
The iFedAvg Framework
To address these challenges, we propose iFedAvg (Interpretable Federated Averaging). The framework augments a shared global model with two lightweight, client-specific personalization layers:
- Input Layer ($f_{in}$): An element-wise affine transformation applied to input features: $f_{in}(x) = (x + b_{in}) \odot w_{in}$. This learns a local normalization, shifting and scaling each feature to align with the global model.
- Output Layer ($f_{out}$): A similar transformation applied to predictions to account for local target shifts, such as class imbalance.
By restricting these layers to element-wise operations, the learned weights ($w_{in}, b_{in}$) become directly interpretable. A high bias weight for a specific feature serves as a clear diagnostic signal that the client's data for that feature is an outlier.
Experimental Evaluation
We evaluated iFedAvg on several tabular datasets, including a novel, real-world collection of clinical data from 16 treatment centers during the 2014-2016 West African Ebola epidemic. Other benchmarks included Vehicle Sensor Networks (VSN) and Human Activity Recognition (HAR).
iFedAvg achieved competitive average F1 scores, often outperforming standard FedAvg and state-of-the-art personalized methods. Notably, it significantly improved performance for the "tail" of the distribution — the worst-performing clients. In the Ebola Diagnosis task, the lowest client F1 score rose from 0.452 (FedAvg) to 0.790 (iFedAvg).
Interpretability and Bias Detection
Beyond performance gains, iFedAvg serves as a powerful diagnostic tool. By visualizing local layer weights in heatmaps, researchers can identify specific features causing interoperability issues. For example, in the Ebola Diagnosis task, iFedAvg flagged the "diarrhea" symptom at the Foya treatment center. Analysis revealed a systematic data collection bias (missingness) at that specific site, which the model was able to identify and partially compensate for through its local layers.
Conclusion
iFedAvg provides a transparent and efficient solution for federated learning on tabular data. By introducing interpretable personalization layers, it not only improves robustness to data shifts but also offers actionable insights into data quality and compatibility. Future research will explore extending these principles to unstructured data types like images and text.
Summary updated