A Unified Arbitrary Style Transfer Framework via Adaptive Contrastive Learning. Zhang, Y., Tang, F., Dong, W., Huang, H., Ma, C., Lee, T., & Xu, C. ACM Transactions on Graphics, 42(5):169:1–169:16, 2023. 2 citations (Semantic Scholar/DOI) [2023-12-14]
A Unified Arbitrary Style Transfer Framework via Adaptive Contrastive Learning [link]Paper  doi  abstract   bibtex   
This work presents Unified Contrastive Arbitrary Style Transfer (UCAST), a novel style representation learning and transfer framework, that can fit in most existing arbitrary image style transfer models, such as CNN-based, ViT-based, and flow-based methods. As the key component in image style transfer tasks, a suitable style representation is essential to achieve satisfactory results. Existing approaches based on deep neural networks typically use second-order statistics to generate the output. However, these hand-crafted features computed from a single image cannot leverage style information sufficiently, which leads to artifacts such as local distortions and style inconsistency. To address these issues, we learn style representation directly from a large number of images based on contrastive learning by considering the relationships between specific styles and the holistic style distribution. Specifically, we present an adaptive contrastive learning scheme for style transfer by introducing an input-dependent temperature. Our framework consists of three key components: a parallel contrastive learning scheme for style representation and transfer, a domain enhancement (DE) module for effective learning of style distribution, and a generative network for style transfer. Qualitative and quantitative evaluations show the results of our approach are superior to those obtained via state-of-the-art methods. The code is available at https://github.com/zyxElsa/CAST_pytorch.
@article{zhang2023unified,
	title = {A {Unified} {Arbitrary} {Style} {Transfer} {Framework} via {Adaptive} {Contrastive} {Learning}},
	volume = {42},
	issn = {0730-0301},
	url = {https://dl.acm.org/doi/10.1145/3605548},
	doi = {10.1145/3605548},
	abstract = {This work presents Unified Contrastive Arbitrary Style Transfer (UCAST), a novel style representation learning and transfer framework, that can fit in most existing arbitrary image style transfer models, such as CNN-based, ViT-based, and flow-based methods. As the key component in image style transfer tasks, a suitable style representation is essential to achieve satisfactory results. Existing approaches based on deep neural networks typically use second-order statistics to generate the output. However, these hand-crafted features computed from a single image cannot leverage style information sufficiently, which leads to artifacts such as local distortions and style inconsistency. To address these issues, we learn style representation directly from a large number of images based on contrastive learning by considering the relationships between specific styles and the holistic style distribution. Specifically, we present an adaptive contrastive learning scheme for style transfer by introducing an input-dependent temperature. Our framework consists of three key components: a parallel contrastive learning scheme for style representation and transfer, a domain enhancement (DE) module for effective learning of style distribution, and a generative network for style transfer. Qualitative and quantitative evaluations show the results of our approach are superior to those obtained via state-of-the-art methods. The code is available at https://github.com/zyxElsa/CAST\_pytorch.},
	number = {5},
	urldate = {2023-12-14},
	journal = {ACM Transactions on Graphics},
	author = {Zhang, Yuxin and Tang, Fan and Dong, Weiming and Huang, Haibin and Ma, Chongyang and Lee, Tong-Yee and Xu, Changsheng},
	year = {2023},
	note = {2 citations (Semantic Scholar/DOI) [2023-12-14]},
	keywords = {Arbitrary style transfer, contrastive learning, style encoding},
	pages = {169:1--169:16},
}

Downloads: 0