Abstract
HiCAST (Highly Controllable Arbitrary Style Transfer) introduces a novel framework for stylization using Latent Diffusion Models (LDMs). By decoupling structure from style through a modular Style Adapter, HiCAST enables precise control over artistic output using semantic maps such as edges, depth, and segmentation. Furthermore, it addresses temporal instability in video through a Harmonious Consistency loss. Experimental results demonstrate that HiCAST achieves superior visual quality and temporal stability compared to existing state-of-the-art methods.
Introduction
Arbitrary Style Transfer (AST) seeks to synthesize images that preserve the content of a source image while adopting the artistic style of a reference. Traditional methods often struggle with limited customization—typically restricted to a single "style strength" parameter—and produce results that lack the vividness of true artistic creation. Moreover, applying these methods to video frequently results in distracting temporal flickering.
HiCAST addresses these challenges by leveraging the generative priors of Stable Diffusion. By treating style transfer as a conditional generation task, the model produces more visually plausible and creative reinterpretations than standard VGG-based decoders.
Methodology
The HiCAST architecture is built upon the Stable Diffusion 1.5 backbone and incorporates three key components:
Dual Encoders
The system utilizes a content encoder with a style-removal network and a style encoder based on VGG-16 features. These encoders provide the necessary conditions to the LDM to guide the generation process.
The Style Adapter
The core innovation is the Style Adapter, a lightweight, plug-and-play module. It extracts control maps—such as HED edges, depth maps, or semantic segmentation—from the content image. These maps are injected into the U-Net, allowing users to anchor specific structural elements. This decoupling allows for granular control, where the structure is dictated by the control maps and the artistic flair by the style reference.
Video Consistency and Harmonious Consistency Loss
To extend the model to video, 1D temporal layers are added to the U-Net. A novel Harmonious Consistency loss ($L_h$) is introduced, consisting of a global component for noise estimation alignment and a local component using patch-level contrastive learning. This ensures that stylistic elements remain consistent across adjacent frames, significantly reducing flickering.
Experimental Results
HiCAST was evaluated against several state-of-the-art methods, including AdaIN, CCPL, and ArtFusion.
Quantitative and Qualitative Performance
In user studies, HiCAST achieved a Quality Score (QS) of 3.369, outperforming the next best method, CCPL (2.776). While some models might match style statistics more closely (lower Gram loss), they often do so at the expense of content structure. HiCAST maintains a superior balance, as evidenced by its competitive LPIPS scores.
Video Stability
The model achieved the lowest temporal loss (0.222 for 10 frames), surpassing specialized video AST models like ReReVST. The use of patch-level contrastive learning proved essential for maintaining local stylistic identity across frames.
Conclusion
HiCAST represents a significant step forward in controllable style transfer. By integrating generative diffusion priors with modular adapters, it provides creators with unprecedented control over the stylization process. Future work will focus on improving inference speed for real-time applications and expanding the library of available adapters.
Summary updated