[Paper Review] QuantArt: Quantizing Image Style Transfer Towards High Visual Fidelity
QuantArt proposes a novel image style transfer framework that enhances visual fidelity by using vector quantization to align generated artwork latent features with cluster centers of real artwork distributions. By fusing continuous and discrete latent representations through a Style-Guided Attention module, QuantArt achieves state-of-the-art visual fidelity while maintaining strong content and style preservation.
The mechanism of existing style transfer algorithms is by minimizing a hybrid loss function to push the generated image toward high similarities in both content and style. However, this type of approach cannot guarantee visual fidelity, i.e., the generated artworks should be indistinguishable from real ones. In this paper, we devise a new style transfer framework called QuantArt for high visual-fidelity stylization. QuantArt pushes the latent representation of the generated artwork toward the centroids of the real artwork distribution with vector quantization. By fusing the quantized and continuous latent representations, QuantArt allows flexible control over the generated artworks in terms of content preservation, style similarity, and visual fidelity. Experiments on various style transfer settings show that our QuantArt framework achieves significantly higher visual fidelity compared with the existing style transfer methods.
Motivation & Objective
- To address the lack of visual fidelity in existing style transfer methods, which often fail to produce images indistinguishable from real artworks.
- To define and quantify visual fidelity as a new evaluation dimension orthogonal to style similarity and content preservation.
- To develop a framework that enables flexible trade-offs between content preservation, style similarity, and visual fidelity in stylized images.
- To leverage vector quantization to push generated features toward real artwork distribution centroids, improving realism.
- To design a dual-branch architecture (continuous and quantized) that allows controllable stylization without sacrificing perceptual quality.
Proposed method
- Learn a global artwork codebook via vector quantization to represent discrete cluster centers of real artwork features.
- Apply vector quantization to both content and style features using separate encoders, generating discrete codes from continuous features.
- Use a Style-Guided Attention (SGA) module to transfer style codes to the stylized feature map while preserving content structure.
- Re-quantize the stylized feature with the artwork codebook before decoding to ensure alignment with real artwork distributions.
- Fuse the continuous and quantized stylized features with content features before the decoder to enable flexible control over output quality.
- Train the model using a hybrid loss combining LPIPS, Gram loss, and FID-based supervision to optimize for perceptual quality and distributional alignment.
Experimental results
Research questions
- RQ1Can vector quantization of latent features improve the visual fidelity of generated stylized images compared to existing style transfer methods?
- RQ2How does fusing continuous and discrete latent representations affect the balance between content preservation, style similarity, and visual realism?
- RQ3What is the optimal codebook size and quantization strategy for achieving high visual fidelity in image style transfer?
- RQ4Does the proposed QuantArt framework maintain strong style similarity while significantly improving visual fidelity?
- RQ5Can the model generate stylized images that are indistinguishable from real artworks in human perception tests?
Key findings
- QuantArt achieves a Fréchet Inception Distance (FID) of 17.787 on the test set, significantly outperforming baseline methods and indicating high visual fidelity.
- In a human perception test, participants correctly identified real artworks only 10.31 times on average out of 20 questions, close to random chance, demonstrating that generated images are nearly indistinguishable from real ones.
- Ablation studies show that removing quantization in the Style-Guided Attention module increases FID from 17.787 to 18.757, confirming the importance of quantization for visual fidelity.
- Using a code size of 16×16 yields the best FID (17.787), while smaller (8×8) or larger (32×32) patches degrade performance, indicating optimal patch size for stylization.
- Replacing the SGA module with the StyTR2 decoder layer increases FID to 26.299, showing that the proposed SGA design is critical for maintaining high-quality outputs.
- Sharing encoders between continuous and quantized branches drastically increases FID to 35.830, proving that separate encoders are essential for preserving representation quality.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.