Exact Feature Distribution Matching for Arbitrary Style Transfer and Domain Generalization
Yabin Zhang, Minghan Li, Ruihuang Li, Kui Jia, Lei Zhang
Abstract
Arbitrary style transfer (AST) and domain generalization (DG) are important yet challenging visual learning tasks, which can be cast as a feature distribution matching problem. With the assumption of Gaussian feature distribution, conventional feature distribution matching methods usually match the mean and standard deviation of features. However, the feature distributions of real-world data are usually much more complicated than Gaussian, which cannot be accurately matched by using only the first-order and second-order statistics, while it is computationally prohibitive to use high-order statistics for distribution matching. In this work, we, for the first time to our best knowledge, propose to perform Exact Feature Distribution Matching (EFDM) by exactly matching the empirical Cumulative Distribution Functions (eCDFs) of image features, which could be implemented by applying the Exact Histogram Matching (EHM) in the image feature space. Particularly, a fast EHM algorithm, named Sort-Matching, is employed to perform EFDM in a plug-and-play manner with minimal cost. The effectiveness of our proposed EFDM method is verified on a variety of AST and DG tasks, demonstrating new state-of-the-art results. Codes are available at https://github.com/YBZh/EFDM .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext c1fcdcf3-22bb-47cc-8d1e-67b09c7e528cCited by top-tier papers53
- StyleDiffusion: Controllable Disentangled Style Transfer via Diffusion ModelsZhizhong Wang, Lei Zhao, Wei XingICCV 2023 · 219 citations
- MicroAST: Towards Super-fast Ultra-Resolution Arbitrary Style TransferZhizhong Wang, Lei Zhao, Zhiwen Zuo, Ailin Li et al.AAAI 2023 · 68 citations
- Compound Domain Generalization via Meta-Knowledge EncodingChaoqi Chen, Jiongcheng Li, Xiaoguang Han, Xiaoqing Liu et al.CVPR 2022 · 59 citations
- Anomaly Detection under Distribution ShiftTri Cao, Jiawen Zhu, Guansong PangICCV 2023 · 54 citations
- DomainDrop: Suppressing Domain-Sensitive Channels for Domain GeneralizationJintao Guo, Lei Qi, Yinghuan ShiICCV 2023 · 47 citations
Builds on16
- CutMix: Regularization Strategy to Train Strong Classifiers With Localizable FeaturesSangdoo Yun, Dongyoon Han, Sanghyuk Chun, Seong Joon Oh et al.ICCV 2019 · 5,843 citations
- In Search of Lost Domain GeneralizationIshaan Gulrajani, David Lopez-PazICLR 2021 · 1,416 citations
- Omni-Scale Feature Learning for Person Re-IdentificationKaiyang Zhou, Yongxin Yang, Andrea Cavallaro, Tao XiangICCV 2019 · 997 citations
- Domain Generalization with MixStyleKaiyang Zhou, Yongxin Yang, Yu Qiao, Tao XiangICLR 2021 · 986 citations
- Episodic Training for Domain GeneralizationDa Li, Jianshu Zhang, Yongxin Yang, Cong Liu et al.ICCV 2019 · 488 citations
Related papers
- In the Light of Feature Distributions: Moment Matching for Neural Style TransferNikolai Kalischek, Jan D. Wegner, Konrad SchindlerCVPR 2021
- Exact Fusion via Feature Distribution Matching for Few-Shot Image GenerationYingbo Zhou, Yutong Ye, Pengyu Zhang, Xian Wei et al.CVPR 2024 · 8 citations
- Field Matching: an Electrostatic Paradigm to Generate and Transfer DataAlexander Kolesov, S. I. Manukhov, Vladimir Vladimirovich Palyulin, Alexander KorotinICML 2025
- Domain Enhanced Arbitrary Image Style Transfer via Contrastive LearningYuxin Zhang, Fan Tang, Weiming Dong, Haibin Huang et al.SIGGRAPH 2022 · 211 citations
- AdaAttN: Revisit Attention Mechanism in Arbitrary Neural Style TransferSonghua Liu, Tianwei Lin, Dongliang He, Fu Li et al.ICCV 2021 · 421 citations
