[Paper Review] Optimal Textures: Fast and Robust Texture Synthesis and Style Transfer through Optimal Transport
This paper proposes a fast, robust texture synthesis and style transfer method using optimal transport to match first-order statistics of deep neural activation features in an autoencoder's bottleneck layer. By iteratively aligning N-dimensional probability density functions through sliced histogram matching, it achieves high-quality results without back-propagation, enabling interactive performance and unified handling of style transfer, texture mixing, and user-guided synthesis.
This paper presents a light-weight, high-quality texture synthesis algorithm that easily generalizes to other applications such as style transfer and texture mixing. We represent texture features through the deep neural activation vectors within the bottleneck layer of an auto-encoder and frame the texture synthesis problem as optimal transport between the activation values of the image being synthesized and those of an exemplar texture. To find this optimal transport mapping, we utilize an N-dimensional probability density function (PDF) transfer process that iterates over multiple random rotations of the PDF basis and matches the 1D marginal distributions across each dimension. This achieves quality and flexibility on par with expensive back-propagation based neural texture synthesis methods, but with the potential of achieving interactive rates. We demonstrate that first order statistics offer a more robust representation for texture than the second order statistics that are used today. We propose an extension of this algorithm that reduces the dimensionality of the neural feature space. We utilize a multi-scale coarse-to-fine synthesis pyramid to capture and preserve larger image features; unify color and style transfer under one framework; and further augment this system with a novel masking scheme that re-samples and re-weights the feature distribution for user-guided texture painting and targeted style transfer.
Motivation & Objective
- Address the limitations of back-propagation-based neural texture synthesis, which are slow and impractical for real-time use.
- Overcome the reliance on second-order statistics (e.g., Gram matrices) in existing methods, which are less robust and fail to preserve structured texture features.
- Develop a unified framework that generalizes to multiple texture synthesis tasks, including style transfer, texture mixing, and inverse texture synthesis.
- Enable user-guided texture synthesis through a novel masking and re-weighting scheme that modifies feature distributions directly.
- Achieve high visual quality with minimal computational cost by operating directly in feature space using optimal transport.
Proposed method
- Represent texture features as deep activation vectors in the bottleneck layer of a pre-trained autoencoder, avoiding the need for custom training.
- Frame texture synthesis as an optimal transport problem between the feature distribution of a noise image and the exemplar texture’s distribution.
- Implement an N-dimensional probability density function (PDF) transformation via iterative, random rotation-based slicing, matching 1D marginal distributions across dimensions.
- Accelerate the process using principal component analysis (PCA) to reduce feature dimensionality while preserving essential texture statistics.
- Construct a multi-scale coarse-to-fine synthesis pyramid to preserve large-scale image structures and improve perceptual quality.
- Introduce a masking scheme that re-samples and re-weights feature distributions based on user-drawn masks, enabling guided texture painting and targeted style transfer.
Experimental results
Research questions
- RQ1Can first-order statistics of deep neural features provide a more robust and effective representation for texture synthesis than second-order statistics like Gram matrices?
- RQ2Can optimal transport between feature distributions enable high-quality texture synthesis without requiring back-propagation or fine-tuning?
- RQ3Can a single, unified framework based on optimal transport generalize across multiple texture synthesis tasks, including style transfer, texture mixing, and inverse synthesis?
- RQ4How can user control be effectively integrated into the synthesis process through feature distribution manipulation?
- RQ5Can the proposed method achieve interactive performance while maintaining visual quality comparable to expensive optimization-based approaches?
Key findings
- The proposed method achieves high-quality texture synthesis in 23 seconds for a 1024×1024 image using PCA, compared to tens of minutes for back-propagation-based methods.
- First-order statistics outperform second-order statistics in preserving structured texture features and reducing blending artifacts, as shown in comparisons with WCT and other Gram matrix-based methods.
- The optimal transport framework unifies style and color transfer under a single algorithm, eliminating the need for separate handling of color and style components.
- Texture mixing via optimal transport produces more homogeneous and perceptually convincing interpolations than existing methods.
- User-guided synthesis through feature re-sampling and re-weighting enables precise control over texture placement and style application with minimal algorithmic changes.
- The method reduces feature smearing and blending artifacts common in WCT by capturing a more detailed view of the feature distribution through multiple slices.
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.