Inferensys

Glossary

Federated Normalization Aggregation (FedBN)

Federated Normalization Aggregation (FedBN) is an aggregation strategy that excludes batch normalization layers from the global averaging process, allowing local batch norm statistics to capture site-specific data characteristics and combat feature shift.
Data engineer managing feature store on laptop, feature definitions visible, casual data engineering session.

What is Federated Normalization Aggregation (FedBN)?

Federated Normalization Aggregation (FedBN) is a federated learning strategy that excludes batch normalization layers from the global model averaging process, preserving local batch norm statistics to combat feature shift across heterogeneous client datasets.

Federated Normalization Aggregation (FedBN) is a specialized aggregation algorithm designed to address feature shift in federated learning—a form of data heterogeneity where the marginal distributions of input features differ across clients, but the conditional label distributions remain similar. Unlike standard Federated Averaging (FedAvg), which naively averages all model parameters including batch normalization statistics, FedBN explicitly excludes batch normalization layers from the global aggregation step. This allows each client to retain its own locally learned running means and variances, effectively capturing site-specific data characteristics such as variations in medical imaging equipment, scanner protocols, or patient demographics without forcing a global consensus on feature normalization.

The core mechanism of FedBN operates by partitioning the model architecture during the aggregation phase: convolutional and fully connected layer weights are averaged across clients to learn shared feature representations, while batch normalization parameters remain local and are never transmitted to the central server. This approach is particularly effective in healthcare federated learning scenarios where different hospitals may use MRI machines from different manufacturers or apply distinct preprocessing pipelines, resulting in systematic distributional shifts. By preserving local normalization statistics, FedBN enables faster convergence and higher model accuracy compared to standard FedAvg in non-IID settings, without introducing additional communication overhead or requiring complex personalized federated learning modifications.

FEDERATED NORMALIZATION AGGREGATION

Key Features of FedBN

FedBN addresses the critical challenge of feature shift in federated learning by recognizing that batch normalization layers capture domain-specific statistics. By excluding these layers from global aggregation, FedBN allows each client to maintain its own local data characteristics while still benefiting from shared feature extraction knowledge.

01

Local Batch Normalization Preservation

The core innovation of FedBN is the exclusion of batch normalization (BN) layers from the global aggregation process. While convolutional and fully connected layers are averaged across clients to learn shared feature representations, BN layers remain locally private and are never shared with the server. This allows each participating institution to maintain its own running mean and variance statistics that capture site-specific data characteristics, such as differences in scanner vendors, imaging protocols, or patient demographics. The result is a model that learns globally shared feature extractors while preserving locally adaptive normalization.

02

Combating Feature Shift in Non-IID Data

FedBN is specifically designed to address feature shift, a form of statistical heterogeneity where the marginal distribution of input features P(x) differs across clients, even if the conditional label distribution P(y|x) remains similar. In medical imaging, this manifests as:

  • Scanner variability: Different MRI machines produce images with varying intensity distributions
  • Protocol differences: Institutions use different acquisition parameters or contrast agents
  • Population demographics: Patient age, ethnicity, or comorbidity profiles shift the input distribution By keeping BN statistics local, FedBN prevents the global model from averaging away these meaningful domain-specific variations, allowing each site's model to normalize inputs according to its own data distribution.
03

Convergence Acceleration in Heterogeneous Environments

Empirical studies demonstrate that FedBN achieves significantly faster convergence compared to standard FedAvg when training across domains with feature shift. The mechanism behind this acceleration is straightforward: when BN statistics are forcibly averaged across clients with different data distributions, the global model receives conflicting normalization signals that create optimization turbulence. By isolating BN layers, FedBN eliminates this source of gradient interference, allowing the shared layers to focus on learning domain-invariant features while local BN layers handle domain-specific scaling. This decoupling reduces the number of communication rounds required to reach target accuracy by 30-50% in typical cross-silo medical imaging scenarios.

04

Privacy-Preserving Domain Adaptation

FedBN provides an implicit form of unsupervised domain adaptation without requiring any data sharing between institutions. Since BN statistics encode the first and second moments of each client's data distribution, keeping them local means that no distributional information about a site's patient population is ever transmitted to the server or other participants. This is particularly valuable in healthcare settings where:

  • The statistical properties of a dataset can reveal demographic information about the patient cohort
  • Institutions may consider their data distribution characteristics as proprietary or sensitive
  • Regulatory frameworks like GDPR may classify distributional metadata as protected information FedBN achieves domain adaptation as a natural byproduct of its architecture rather than through explicit privacy mechanisms.
05

Implementation Simplicity and Compatibility

FedBN requires minimal modification to existing federated learning pipelines and is compatible with most modern neural network architectures that use batch normalization. The implementation involves:

  • Identifying BN layers in the model architecture before training begins
  • Partitioning model parameters into shared parameters (weights and biases of conv/linear layers) and local parameters (BN running means, variances, scales, and shifts)
  • Modifying the aggregation step to only average shared parameters while skipping BN parameters This approach is orthogonal to other federated optimization improvements such as FedProx, SCAFFOLD, or differential privacy mechanisms, meaning FedBN can be combined with these techniques for compounded benefits without architectural conflicts.
06

Cross-Silo Medical Imaging Performance

FedBN has shown particular efficacy in cross-silo healthcare deployments where multiple hospitals collaborate on computer vision tasks. In benchmark evaluations using multi-site medical imaging datasets:

  • Brain MRI segmentation across different scanner vendors showed 8-12% improvement in Dice coefficient compared to FedAvg
  • Chest X-ray classification across hospitals with different imaging equipment demonstrated reduced performance variance across sites
  • Histopathology analysis with different staining protocols benefited from local BN statistics capturing color distribution differences The technique is especially valuable when the number of participating institutions is small (3-10), which is typical in healthcare consortia, as each site's domain characteristics have outsized influence on the global model.
FEDERATED NORMALIZATION AGGREGATION

Frequently Asked Questions

Clear, technically precise answers to the most common questions about Federated Normalization Aggregation (FedBN), an algorithm designed to handle feature shift in heterogeneous clinical data environments.

Federated Normalization Aggregation (FedBN) is a federated learning strategy that excludes batch normalization (BN) layers from the global model averaging process, allowing each client to retain locally computed batch norm statistics. During standard federated averaging, all model parameters—including the running mean and variance of BN layers—are averaged across clients. FedBN diverges from this by aggregating only the convolutional and linear layer weights on the central server, while each participating clinical site maintains its own distinct BN statistics. This mechanism directly addresses feature shift, a form of data heterogeneity where the input feature distributions differ across institutions due to varying scanner vendors, acquisition protocols, or patient demographics. By preserving local normalization parameters, FedBN enables the global model to learn domain-invariant features in the shared layers while accommodating site-specific data characteristics in the normalization layers, leading to faster convergence and higher accuracy in non-IID medical imaging scenarios.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.