Two-Stage Peer-Regularized Feature Recombination for Arbitrary Image Style Transfer

Jan Svoboda, Asha Anoosheh, Christian Osendorfer, Jonathan Masci

Introduction

Neural Style Transfer (NST) has evolved significantly since its inception, yet many state-of-the-art models remain tethered to pre-trained classification networks like VGG19. While effective for capturing textures, these networks often exhibit a "classification bias" that prioritizes local patterns over global geometric structures. This paper presents a novel approach: a Two-Stage Peer-Regularized Feature Recombination (TPFR) model that learns style and content representations from scratch, enabling high-quality arbitrary style transfer with unprecedented geometric flexibility.

The Challenge of Geometric Adaptation

Traditional NST methods often struggle with styles that require more than just a texture swap. For instance, transferring the style of a Cubist painting requires distorting the underlying content's geometry, not just applying a color palette. Furthermore, the dependency on VGG-based perceptual losses limits a model's ability to generalize to "zero-shot" styles—artistic movements it hasn't encountered during training.

Methodology: TPFR and PeerNets

The proposed architecture centers on the Two-Stage Peer-Regularized Feature Recombination (TPFR) module. Unlike methods that rely on global statistics (e.g., AdaIN), TPFR utilizes PeerNets—graph convolutional layers that operate on a k-Nearest Neighbors (k-NN) basis in latent space.

Two-Stage Recombination

The process is divided into two distinct phases:

  1. Style Recombination: The model first integrates the target style's local and global features into the content representation.
  2. Content Recombination: In the second stage, the model adjusts the content's geometry to align with the stylistic cues, allowing for the abstract deformations seen in avant-garde art.
Figure 5: A demonstration of the model's ability to handle complex geometric transformations, applying the fragmented style of Picasso to a natural scene.

Training Without VGG

To eliminate the need for pre-trained networks, the authors employ an Auxiliary Decoder alongside a suite of cyclic losses. These include Latent Cycle Losses, which ensure the consistency of content and style representations during the transformation, and an Adversarial Loss to maintain the visual authenticity of the generated paintings.

Results and Discussion

The TPFR model demonstrates exceptional performance in arbitrary and zero-shot style transfer. By training on a diverse dataset of ~624,000 photos and ~4,430 paintings, the model learns to generalize to entirely new artists like Salvador Dalí or Camille Pissarro.

Figure 2: Arbitrary style transfer results. The central content image is stylized using four distinct artistic styles (left), showcasing the model's versatility across different palettes and geometric complexities.

Qualitative comparisons against established methods like CycleGAN and WCT reveal that TPFR produces fewer artifacts and more convincing artistic textures. The two-stage process effectively bridges the gap between simple texture mapping and true artistic reinterpretation.

Conclusion

By moving away from pre-trained classification networks and embracing a graph-based, two-stage recombination strategy, this research opens new doors for neural image generation. The TPFR model not only achieves superior visual quality but also provides a framework for more abstract and geometrically diverse artistic synthesis.

Summary updated

BibTeX
@inproceedings{svoboda2020two,
  author = {Jan Svoboda and Asha Anoosheh and Christian Osendorfer and Jonathan Masci},
  title = {{Two-Stage Peer-Regularized Feature Recombination for Arbitrary Image Style Transfer}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.01383},
}
Figure