Skip to main content
QUICK REVIEW

[Paper Review] Consistent Style Transfer

Xuan Luo, Zhen Han|arXiv (Cornell University)|Jan 6, 2022
Generative Adversarial Networks and Image SynthesisComputer Science14 citations
TL;DR

This paper proposes Progressive Attentional Manifold Alignment (PAMA), a novel framework for consistent arbitrary style transfer that iteratively aligns content and style feature manifolds using attention mechanisms and space-aware interpolation. By progressively refining correspondence between semantic regions and reducing visual artifacts, PAMA achieves state-of-the-art stylization quality at 101 FPS on 512px images.

ABSTRACT

Recently, attentional arbitrary style transfer methods have been proposed to achieve fine-grained results, which manipulates the point-wise similarity between content and style features for stylization. However, the attention mechanism based on feature points ignores the feature multi-manifold distribution, where each feature manifold corresponds to a semantic region in the image. Consequently, a uniform content semantic region is rendered by highly different patterns from various style semantic regions, producing inconsistent stylization results with visual artifacts. We proposed the progressive attentional manifold alignment (PAMA) to alleviate this problem, which repeatedly applies attention operations and space-aware interpolations. The attention operation rearranges style features dynamically according to the spatial distribution of content features. This makes the content and style manifolds correspond on the feature map. Then the space-aware interpolation adaptively interpolates between the corresponding content and style manifolds to increase their similarity. By gradually aligning the content manifolds to style manifolds, the proposed PAMA achieves state-of-the-art performance while avoiding the inconsistency of semantic regions. Codes are available at https://github.com/computer-vision2022/PAMA.

Motivation & Objective

  • Address inconsistent stylization in attention-based arbitrary style transfer methods, where uniform semantic regions are distorted by mismatched style patterns from different regions.
  • Overcome the limitation of point-wise attention mechanisms that fail to capture multi-manifold feature distributions across semantic regions.
  • Improve structural consistency in stylized outputs by aligning content and style feature manifolds across semantic regions.
  • Enable real-time, fine-grained stylization while preserving content structure and minimizing visual artifacts.
  • Design a multistage training framework that progressively strengthens manifold correspondence through adaptive loss functions.

Proposed method

  • Apply iterative attention operations to dynamically rearrange style features based on the spatial distribution of content features, aligning related content and style manifolds.
  • Introduce space-aware interpolation that adaptively fuses corresponding content and style manifolds using spatial context, preserving structural details.
  • Perform multiple stages of manifold alignment, with each stage refining the correspondence between content and style feature manifolds.
  • Use a multistage loss function combining self-similarity loss, color histogram loss, REMD loss, and moment loss to guide progressive alignment.
  • Maintain a shared feature space via image reconstruction loss to stabilize training and improve alignment fidelity.
  • Leverage learnable attention kernels to compute per-point similarity maps that guide feature transformation while respecting manifold structure.

Experimental results

Research questions

  • RQ1Can iterative manifold alignment improve consistency in arbitrary style transfer by better aligning semantic regions between content and style features?
  • RQ2Does space-aware interpolation enhance structural preservation during stylization, especially around edges and uniform regions?
  • RQ3How does progressive multi-stage alignment compare to single-stage or global alignment in reducing visual artifacts?
  • RQ4To what extent do self-similarity and color histogram losses balance consistency and color fidelity in stylized outputs?
  • RQ5Can the proposed framework achieve real-time inference while maintaining state-of-the-art stylization quality?

Key findings

  • PAMA achieves 101 FPS inference speed on 512px images using a Tesla V100 GPU, demonstrating real-time performance.
  • The multistage manifold alignment strategy significantly improves regional consistency, with three-stage alignment producing visibly more uniform results than single- or two-stage variants.
  • Space-aware interpolation effectively preserves edge structures and reduces local distortions, particularly in salient and uniform content regions.
  • Balancing self-similarity and color histogram losses is critical: high self-similarity loss improves structural consistency, while high color histogram loss increases color fidelity but risks introducing color block artifacts.
  • The ablation study confirms that PAMA outperforms single-stage alignment and global transformation methods in maintaining both semantic consistency and stylization quality.
  • The proposed method reduces chaotic stylization patterns in uniform regions—such as the sky—by ensuring consistent feature mapping across related manifolds.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.