Introduction
Arbitrary style transfer aims to render a content image in the aesthetic of a style image. While early methods were slow, modern feed-forward networks like AdaIN or WCT offer speed but struggle with a fundamental trade-off: global statistics matching often fails to transfer local textures, while local patch matching (e.g., SANet) frequently distorts the underlying content structure. This paper introduces the Multi-Adaptation Network to bridge this gap, preserving structural integrity while applying rich artistic styles.
Methodology
The proposed architecture utilizes a VGG19-based encoder-decoder framework, centered around a novel Multi-Adaptation Module. This module is designed to disentangle and then merge content and style features through three specialized components:
- Content Self-Adaptation (SA): Employs position-wise self-attention on whitened features to capture long-range spatial dependencies, reinforcing the semantic layout.
- Style Self-Adaptation (SA): Uses channel-wise self-attention to isolate textural patterns and brushstrokes, which are typically encoded in feature channel correlations.
- Co-Adaptation (CA): Maps the disentangled style distribution onto the content's spatial structure by calculating cross-domain correlations.
A critical component of the training process is the Disentanglement Loss. This loss ensures that content representations remain invariant to style changes and vice versa, preventing the "washed out" or distorted appearances common in previous methods. The network is trained using MS-COCO for content and WikiArt for style images.
Experimental Results
Qualitative evaluations demonstrate that the Multi-Adaptation Network excels at maintaining sharp outlines and recognizable features (e.g., faces and architecture) while applying vivid, localized textures. Unlike competing methods that either shift colors globally or mangle local structures, this approach maintains a high degree of semantic clarity.
In a user study involving 1,500 votes, the proposed method was preferred over baselines like AdaIN, WCT, and SANet for both visual quality and content preservation. Quantitatively, the method achieved a superior balance between style and content classification accuracy (62.9% and 34.6% respectively), outperforming SANet in content recognition while remaining competitive in style fidelity. The architecture also supports flexible real-time adjustments, such as style interpolation and content-style trade-off weighting.
Conclusion
The Multi-Adaptation Network effectively addresses the structure-vs-texture trade-off in arbitrary style transfer. By leveraging specialized self-attention modules and a novel disentanglement loss, the model achieves high-quality results that respect the semantic integrity of the input. Future work will explore style recommendation systems to automatically pair content images with aesthetically compatible styles, ensuring visually pleasing results for practical applications.
Summary updated