# UNIFY: Unified Learning with One Model via Batch Norm Switching

arXiv: https://arxiv.org/abs/2611.28746 · HTML: https://mlsanity.com/paper/2611.28746/

## Key facts

- No citing papers in the map yet (data through 24 Nov 2026).
- Builds on 24 of its 34 references that are in the map.
- Submitted 21 Nov 2026, announced 24 Nov 2026.

## Builds on (most cited first, 24 of 24)

- [Distilling the Knowledge in a Neural Network](https://mlsanity.com/paper/1503.02531/) (2015)
- [Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift](https://mlsanity.com/paper/1502.03167/) (2015)
- [Intriguing properties of neural networks](https://mlsanity.com/paper/1312.6199/) (2013)
- [FiLM: Visual Reasoning with a General Conditioning Layer](https://mlsanity.com/paper/1709.07871/) (2017)
- [Knowledge Distillation: A Survey](https://mlsanity.com/paper/2006.05525/) (2020)
- [Multi-Task Learning Using Uncertainty to Weigh Losses for Scene Geometry and Semantics](https://mlsanity.com/paper/1705.07115/) (2017)
- [GradNorm: Gradient Normalization for Adaptive Loss Balancing in Deep Multitask Networks](https://mlsanity.com/paper/1711.02257/) (2017)
- [Multi-Task Learning as Multi-Objective Optimization](https://mlsanity.com/paper/1810.04650/) (2018)
- [Do Better ImageNet Models Transfer Better?](https://mlsanity.com/paper/1805.08974/) (2018)
- [Which Tasks Should Be Learned Together in Multi-task Learning?](https://mlsanity.com/paper/1905.07553/) (2019)
- [Multi-Task Learning with Deep Neural Networks: A Survey](https://mlsanity.com/paper/2009.09796/) (2020)
- [Rethinking ImageNet Pre-training](https://mlsanity.com/paper/1811.08883/) (2018)
- [Revisiting Batch Normalization For Practical Domain Adaptation](https://mlsanity.com/paper/1603.04779/) (2016)
- [Domain-Specific Batch Normalization for Unsupervised Domain Adaptation](https://mlsanity.com/paper/1906.03950/) (2019)
- [One Model To Learn Them All](https://mlsanity.com/paper/1706.05137/) (2017)
- [You Only Learn One Representation: Unified Network for Multiple Tasks](https://mlsanity.com/paper/2105.04206/) (2021)
- [Reinforced Multi-Teacher Selection for Knowledge Distillation](https://mlsanity.com/paper/2012.06048/) (2020)
- [Once-for-All Adversarial Training: In-Situ Tradeoff between Robustness and Accuracy for Free](https://mlsanity.com/paper/2010.11828/) (2020)
- [Differentiable Learning-to-Normalize via Switchable Normalization](https://mlsanity.com/paper/1806.10779/) (2018)
- [Batch Normalization is a Cause of Adversarial Vulnerability](https://mlsanity.com/paper/1905.02161/) (2019)
- [Removing Batch Normalization Boosts Adversarial Training](https://mlsanity.com/paper/2207.01156/) (2022)
- [On the Sensitivity of Adversarial Robustness to Input Data Distributions](https://mlsanity.com/paper/1902.08336/) (2019)
- [Task-Specific Normalization for Continual Learning of Blind Image Quality Models](https://mlsanity.com/paper/2107.13429/) (2021)
- [SOLAR: Switchable Output Layer for Accuracy and Robustness in Once-for-All Training](https://mlsanity.com/paper/2509.16833/) (2025)

## Abstract (arXiv)

Neural networks are typically trained separately for individual datasets or tasks, resulting in many task-specific models. This redundancy increases memory footprint, deployment costs, and energy consumption limiting their scalability. We propose UNIFY, a unified learning framework that enables a single model to jointly learn and perform inference across multiple datasets via Batch Normalization Switching (BNS). Instead of maintaining separate models for each dataset, UNIFY shares the parameter-intensive backbone while maintaining dataset-specific BN statistics and parameters, along with dataset-specific classification heads. We validate our framework using five datasets (MNIST, Fashion-MNIST, CIFAR-10, CIFAR-100, Tiny-ImageNet) across six Convolutional Neural Networks (CNNs) of different sizes (SqueezeNet 1.1, WideResNet-40-2, WideResNet-16-8, ResNet-18, ResNet-34, ResNet-50). Notably, a single UNIFIED ResNet-34 trained on these datasets achieves accuracies of 99.53%, 94.84%, 96.12%, 80.32%, and 67.67%, respectively, outperforming the average performance of the corresponding independently trained task-specific models while reducing the memory footprint by approximately 4.94x, from 428.30 MB (five separate models) to 86.71 MB (one unified model). UNIFY aims not only to consolidate (K) models into a single model but also to enhance model-effectiveness by leveraging complementary knowledge across datasets. It paves the way for scalable, efficient, and unified learning capable of handling diverse image classification tasks. Code is available at: https://github.com/saktx/UNIFY.
