[Paper Review] Learning Linear Transformations for Fast Arbitrary Style Transfer
The paper learns a linear transformation matrix T via lightweight CNNs to perform fast arbitrary style transfer, modeling second-order statistics and preserving content affinity, applicable to artistic, photo-realistic, video, and domain adaptation tasks.
Given a random pair of images, an arbitrary style transfer method extracts the feel from the reference image to synthesize an output based on the look of the other content image. Recent arbitrary style transfer methods transfer second order statistics from reference image onto content image via a multiplication between content image features and a transformation matrix, which is computed from features with a pre-determined algorithm. These algorithms either require computationally expensive operations, or fail to model the feature covariance and produce artifacts in synthesized images. Generalized from these methods, in this work, we derive the form of transformation matrix theoretically and present an arbitrary style transfer approach that learns the transformation matrix with a feed-forward network. Our algorithm is highly efficient yet allows a flexible combination of multi-level styles while preserving content affinity during style transfer process. We demonstrate the effectiveness of our approach on four tasks: artistic style transfer, video and photo-realistic style transfer as well as domain adaptation, including comparisons with the state-of-the-art methods.
Motivation & Objective
- Motivate arbitrary style transfer and reduce computational cost of second-order statistic transformations.
- Derive a theoretical form for the transformation matrix linking content and style statistics.
- Propose a learning-based, efficient method to predict T using small CNNs.
- Demonstrate applicability across artistic, video, photo-realistic style transfer, and domain adaptation.
Proposed method
- Formulate style transfer as learning a linear transform T that aligns covariances between content and style features.
- Use two small CNNs that take covariance matrices of content/style features and output intermediate matrices to form T.
- Factorize T computation to avoid costly matrix decompositions; use a compressed feature pathway (CONVs) and a final fully-connected layer.
- Train with a loss that combines content loss and multi-level style losses computed via a fixed VGG-19 loss network.
- Allow combining multiple style levels by enforcing losses at relu1_1, relu2_1, relu3_1, relu4_1 within a single T.
Experimental results
Research questions
- RQ1Can a learned linear transformation matrix T capture the second-order statistics required for arbitrary style transfer?
- RQ2Does a two-CNN design (one for content, one for style) produce a stable and efficient T compared to joint-input networks?
- RQ3How does guiding T with multi-level style losses affect quality and flexibility across tasks (artistic, video, photo-realistic, domain adaptation)?
Key findings
- The method yields a fast, end-to-end feed-forward pipeline (~140 fps) for arbitrary style transfer.
- A single learned T can express multi-level styles without cascading multiple encoders, by using different style-loss configurations.
- Covariance-based inputs to the transformation module improve generalization over using raw images or features.
- The approach preserves content affinity, enabling stable video stylization and un-distorted photo-realistic stylization.
- Applications include artistic, video, photo-realistic style transfer, and domain adaptation (e.g., game-to-real) with competitive results.
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.