Exact Feature Distribution Matching for Arbitrary Style Transfer and Domain Generalization

被引:129
作者
Zhang, Yabin [1 ]
Li, Minghan [1 ]
Li, Ruihuang [1 ]
Jia, Kui [2 ]
Zhang, Lei [1 ]
机构
[1] Hong Kong Polytech Univ, Hong Kong, Peoples R China
[2] South China Univ Technol, Guangzhou, Peoples R China
来源
2022 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR) | 2022年
关键词
D O I
10.1109/CVPR52688.2022.00787
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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.
引用
收藏
页码:8025 / 8035
页数:11
相关论文
共 72 条
[1]  
[Anonymous], 2019, CVPR, DOI DOI 10.1109/CVPR.2019.00258
[2]  
Balaji Y, 2018, ADV NEUR IN, V31
[3]  
Bogart KP., 1989, Introductory combinatorics
[4]   Domain Generalization by Solving Jigsaw Puzzles [J].
Carlucci, Fabio M. ;
D'Innocente, Antonio ;
Bucci, Silvia ;
Caputo, Barbara ;
Tommasi, Tatiana .
2019 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2019), 2019, :2224-2233
[5]  
Chen C., 2022, P IEEE CVF C COMP VI, p18 103
[6]   Progressive Feature Alignment for Unsupervised Domain Adaptation [J].
Chen, Chaoqi ;
Xie, Weiping ;
Huang, Wenbing ;
Rong, Yu ;
Ding, Xinghao ;
Huang, Yue ;
Xu, Tingyang ;
Huang, Junzhou .
2019 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2019), 2019, :627-636
[7]   Exploring Simple Siamese Representation Learning [J].
Chen, Xinlei ;
He, Kaiming .
2021 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, CVPR 2021, 2021, :15745-15753
[8]   Exact histogram specification [J].
Coltuc, D ;
Bolon, P ;
Chassery, JM .
IEEE TRANSACTIONS ON IMAGE PROCESSING, 2006, 15 (05) :1143-1152
[9]  
DeVries T., 2017, arXiv
[10]   Learning to Learn with Variational Information Bottleneck for Domain Generalization [J].
Du, Yingjun ;
Xu, Jun ;
Xiong, Huan ;
Qiu, Qiang ;
Zhen, Xiantong ;
Snoek, Cees G. M. ;
Shao, Ling .
COMPUTER VISION - ECCV 2020, PT X, 2020, 12355 :200-216