cs.CVNov 21, 2026

UNIFY: Unified Learning with One Model via Batch Norm Switching

Authors: Shaharyar Ahmed Khan Tareen, Xiaojing Yuan

Organizations: University of Houston, Houston, TX, USA

Abstract

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.

Figures & tables

Explore similar work

Mar 16, 2026

Flash-Unified: A Training-Free and Task-Aware Acceleration Framework for Native Unified Models

Native unified multimodal models, which integrate both generative and understanding capabilities, face substantial computational overhead that hinders their real-world deployment. Existing acceleration techniques typically employ a static, monolithic strategy, ignoring the fundamental divergence in computational profiles between iterative generation tasks (e.g., image generation) and single-pass understanding tasks (e.g., VQA). In this work, we present the first systematic analysis of unified models, revealing pronounced parameter specialization, where distinct neuron sets are critical for each task. This implies that, at the parameter level, unified models have implicitly internalized separate inference pathways for generation and understanding within a single architecture. Based on these insights, we introduce a training-free and task-aware acceleration framework, FlashU, that tailors optimization to each task's demands. Across both tasks, we introduce Task-Specific Network Pruning and Dynamic Layer Skipping, aiming to eliminate inter-layer and task-specific redundancy. For visual generation, we implement a time-varying control signal for the guidance scale and a temporal approximation for the diffusion head via Diffusion Head Cache. For multimodal understanding, building upon the pruned model, we introduce Dynamic Token Pruning via a V-Norm Proxy to exploit the spatial redundancy of visual inputs. Extensive experiments on Show-o2 demonstrate that FlashU achieves 1.78×\times to 2.01×\times inference acceleration across both understanding and generation tasks while maintaining SOTA performance, outperforming competing unified models and validating our task-aware acceleration paradigm. Our code is publicly available at https://github.com/Rirayh/FlashU.
May 29, 2026

SUPREME: A Multi-GPU Framework for Reproducible Image Unlearning Method Evaluation

Machine unlearning removes the influence of specific training data from a trained model without retraining it from scratch. Evaluating an unlearning method requires repeating training, unlearning, and evaluation across multiple seeds, which is computationally expensive. To our knowledge, existing image classification unlearning frameworks run on a single GPU, which limits how many seeds can be evaluated in reasonable time. We introduce SUPREME, an open-source framework that distributes these stages across multiple GPUs. SUPREME makes three contributions: a registry-based design for adding new methods, metrics, models, and scenarios; a multi-GPU architecture supporting multiple accelerators and precision modes; and a demonstration on Pins Face Recognition using ResNet18 and ViT under full-class and random-sample unlearning across ten seeds. The framework is available at https://github.com/pedroandreou/supreme-unlearning.
May 21, 2026

Slimmable ConvNeXt: Width-Adaptive Inference for Efficient Multi-Device Deployment

Deploying vision models across devices with varying resource constraints, or even on a single device where available compute fluctuates due to battery state, thermal throttling, or latency deadlines, typically requires training and maintaining separate models. Width-adaptive inference addresses this by training a single set of shared weights containing multiple nested subnetworks of increasing capacity, but prior CNN-based approaches required switchable batch normalization, while recent scalable methods have focused on Vision Transformers. We present Slimmable ConvNeXt, which shows that ConvNeXt's modern design, specifically LayerNorm and inverted bottlenecks, makes it particularly suited for channel-width slimming, eliminating the normalization overhead of classical slimmable networks and producing a simpler training pipeline than both prior CNN and ViT approaches. On ImageNet-1k, Slimmable ConvNeXt-T with 3 subnetworks achieves 80.8% top-1 accuracy at 4.5 GMACs and 77.4% at 1.2 GMACs, trained from scratch for 600 epochs. At comparable compute, this exceeds HydraViT's 6-head subnetwork (78.4% at 4.6 GMACs) by 2.4 percentage points and its 3-head configuration (73.0% at 1.3 GMACs) by 4.4 percentage points, while also outperforming MatFormer-S (78.6%) and SortedNet-S (78.2%) at the same GMACs. Scaling to Slimmable ConvNeXt-B further improves maximum accuracy to 82.8% at 15.35 GMACs.