paper-with-me

Papers

Sandwich Batch Normalization: A Drop-In Replacement for Feature Distribution Heterogeneity

2021-02-22 · Xinyu Gong, Wuyang Chen, Tianlong Chen, Zhangyang Wang

We present Sandwich Batch Normalization (SaBN), a frustratingly easy improvement of Batch Normalization (BN) with only a few lines of code changes. SaBN is motivated by addressing the inherent feature distribution heterogeneity that one can be identified in many tasks, which can arise from data heterogeneity (multiple input domains) or model heterogeneity (dynamic architectures, model conditioning, etc.). Our SaBN factorizes the BN affine layer into one shared sandwich affine layer, cascaded by several parallel independent affine layers. Concrete analysis reveals that, during optimization, SaBN promotes balanced gradient norms while still preserving diverse gradient directions -- a property that many application tasks seem to favor. We demonstrate the prevailing effectiveness of SaBN as a drop-in replacement in four tasks: conditional image generation, neural architecture search (NAS), adversarial training, and arbitrary style transfer. Leveraging SaBN immediately achieves better Inception Score and FID on CIFAR-10 and ImageNet conditional image generation with three state-of-the-art GANs; boosts the performance of a state-of-the-art weight-sharing NAS algorithm significantly on NAS-Bench-201; substantially improves the robust and standard accuracies for adversarial defense; and produces superior arbitrary stylized results. We also provide visualizations and analysis to help understand why SaBN works. Codes are available at: https://github.com/VITA-Group/Sandwich-Batch-Normalization.

📄 PDF Abstract BibTeX arXiv:2102.11382

Code (1)

VITA-Group/Sandwich-Batch-Normalization 공식 구현 pytorch

Tasks

Adversarial DefenseConditional Image GenerationImage GenerationNeural Architecture SearchStyle Transfer

Methods 이 논문이 사용한 방법론

SaBN 설명 없음
Batch Normalization 설명 없음

Similar Papers 제목 키워드 기반

Scale Calibrated Training: Improving Generalization of Deep Networks via Scale-Specific Normalization

2019-08-31 · Zhuoran Yu, Aojun Zhou, Yukun Ma, Yudian Li 외

Standard convolutional neural networks(CNNs) require consistent image resolutions in both training and testing phase. However, in practice, testing with smaller image sizes is necessary for fast inference. We show that t…

Data AugmentationImage ClassificationMachine Translation

Adjusting for Dropout Variance in Batch Normalization and Weight Initialization

2016-07-08 · Dan Hendrycks, Kevin Gimpel

We show how to adjust for the variance introduced by dropout with corrections to weight initialization and Batch Normalization, yielding higher accuracy. Though dropout can preserve the expected input to a neuron between…

Data Augmentation

FastFLUX: Pruning FLUX with Block-wise Replacement and Sandwich Training

2025-06-10 · Fuhan Cai, Yong Guo, Jie Li, Wenbo Li 외

Recent advancements in text-to-image (T2I) generation have led to the emergence of highly expressive models such as diffusion transformers (DiTs), exemplified by FLUX. However, their massive parameter sizes lead to slow …

How to Use Dropout Correctly on Residual Networks with Batch Normalization

2023-02-13 · Bum Jun Kim, Hyeyeon Choi, Hyeonah Jang, Donggeon Lee 외

For the stable optimization of deep neural networks, regularization methods such as dropout and batch normalization have been used in various tasks. Nevertheless, the correct position to apply dropout has rarely been dis…

ClassificationFine-Grained Image ClassificationImage ClassificationPosition

Filter Response Normalization Layer: Eliminating Batch Dependence in the Training of Deep Neural Networks

2019-11-21 · CVPR 2020 6 · Saurabh Singh, Shankar Krishnan

Batch Normalization (BN) uses mini-batch statistics to normalize the activations during training, introducing dependence between mini-batch elements. This dependency can hurt the performance if the mini-batch size is too…

Image Classificationobject-detectionObject Detection