NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

U-StyDiT: Ultra-high Quality Artistic Style Transfer Using Diffusion Transformers

Zhanjie Zhang, Ao Ma, Ke Cao, Jing Wang, Shanyuan Liu, Yuhang Ma, Bo Cheng, Dawei Leng, Yuhui YinarXiv 2025

Abstract

Ultra-high quality artistic style transfer refers to repainting an ultra-high quality content image using the style information learned from the style image. Existing artistic style transfer methods can be categorized into style reconstruction-based and content-style disentanglement-based style transfer approaches. Although these methods can generate some artistic stylized images, they still exhibit obvious artifacts and disharmonious patterns, which hinder their ability to produce ultra-high quality artistic stylized images. To address these issues, we propose a novel artistic image style transfer method, U-StyDiT, which is built on transformer-based diffusion (DiT) and learns content-style disentanglement, generating ultra-high quality artistic stylized images. Specifically, we first design a Multi-view Style Modulator (MSM) to learn style information from a style image from local and global perspectives, conditioning U-StyDiT to generate stylized images with the learned style information. Then, we introduce a StyDiT Block to learn content and style conditions simultaneously from a style image. Additionally, we propose an ultra-high quality artistic image dataset, Aes4M, comprising 10 categories, each containing 400,000 style images. This dataset effectively solves the problem that the existing style transfer methods cannot produce high-quality artistic stylized images due to the size of the dataset and the quality of the images in the dataset. Finally, the extensive qualitative and quantitative experiments validate that our U-StyDiT can create higher quality stylized images compared to state-of-the-art artistic style transfer methods. To our knowledge, our proposed method is the first to address the generation of ultra-high quality stylized images using transformer-based diffusion.

Introduction

Artistic style transfer—the process of "repainting" a content image in the style of another—has long struggled with a "quality ceiling." Traditional methods, predominantly based on U-Net architectures, often produce "disharmonious patterns" or obvious artifacts that detract from the aesthetic value of the output. U-StyDiT addresses these architectural and data-driven bottlenecks by leveraging Diffusion Transformers (DiT) and a massive new dataset to achieve state-of-the-art results that significantly reduce artifacts while maintaining high structural fidelity.

High-fidelity portrait content image demonstrating the level of detail preserved and enhanced by the U-StyDiT framework.

Methodology

U-StyDiT is built upon the FLUX.1-dev model, a state-of-the-art Diffusion Transformer. The framework introduces two primary technical innovations to handle the complexities of artistic textures:

Multi-view Style Modulator (MSM)

Traditional models typically treat a style image as a single global entity, which can miss fine-grained details. The MSM extracts style information from both global and local perspectives. By processing 10 random 512x512 patches alongside the full image, the model learns to capture both the overall "vibe" and the specific, fine-grained brushstrokes or textures characteristic of the artist.

StyDiT Block

Standard DiT blocks are replaced with custom StyDiT blocks designed for content-style disentanglement. These blocks simultaneously inject Canny edge tokens (representing content structure) and MSM style tokens into the multi-modal attention mechanism. This allows the model to balance structural preservation with artistic expression during the diffusion process. Furthermore, the model offers controllability, allowing users to adjust a coefficient ($\lambda$) to tune the strength of the content condition.

The Aes4M Dataset

A significant contribution of this work is Aes4M, a massive new benchmark for the style transfer community. It contains 4 million ultra-high-quality artistic images at 1024x1024 resolution across 10 categories, including Oil, Cartoon, Gufeng, Pixel, and 3D. The dataset was created using GPT-4o for prompt generation and various LoRA weights on models like SD3.5 and FLUX, followed by rigorous aesthetic and consistency filtering to ensure a "clean" signal for model training.

Results and Discussion

U-StyDiT was compared against seven state-of-the-art methods, including InstantX, CSGO, and StyleID. Quantitatively, it achieved the highest scores across almost all metrics, including SSIM (0.421) for content preservation, CLIP Score (0.623) for style similarity, and an Aesthetic Score of 6.974.

Qualitative comparison and overview of U-StyDiT results across various artistic styles and content types.

In a user study of 2,000 votes, U-StyDiT was preferred over competitors nearly 60% of the time. Furthermore, 78% of participants believed the images generated by U-StyDiT were human-created—the highest "deception rate" among all tested models. These results underscore the effectiveness of the Transformer-based backbone in handling complex, non-local relationships in artistic textures.

Conclusion

U-StyDiT demonstrates that the shift to Transformer-based backbones and the use of high-quality, large-scale datasets are key to overcoming the quality ceiling in artistic style transfer. While the model currently faces challenges regarding computational cost (requiring 32 NVIDIA A100 GPUs for training) and inference speed (~23 seconds per image), it sets a new standard for aesthetic quality and structural fidelity in the field. Future work will focus on expanding the diversity of the dataset to support truly open-world, arbitrary style transfer.

Summary updated

BibTeX
@misc{zhang2025u,
  author = {Zhanjie Zhang and Ao Ma and Ke Cao and Jing Wang and Shanyuan Liu and Yuhang Ma and Bo Cheng and Dawei Leng and Yuhui Yin},
  title = {{U-StyDiT: Ultra-high Quality Artistic Style Transfer Using Diffusion Transformers}},
  year = {2025},
  eprint = {2503.08157},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.08157},
}
Figure