Abstract
Texture synthesis has traditionally faced a trade-off between the high quality of slow iterative optimization and the speed of limited feed-forward networks. This paper introduces the Pseudo Optimizer (PO), a novel framework that "learns to optimize" by mapping gradient information directly to image updates. By unfolding the optimization loop into a learnable network, we achieve high-quality, diverse texture synthesis in real-time. Our Progressive Pseudo Optimizer (ProPO) further enhances detail and diversity through multi-stage refinement, generalizing effectively to unseen textures.
Introduction: The Speed-Quality-Scalability Trilemma
Texture synthesis—the process of creating large, seamless images from small samples—is a cornerstone of computer graphics and vision. However, existing methods typically struggle with a "trilemma":
- Iterative Optimization: Methods like Gatys et al. produce high-quality, diverse results but are computationally expensive, requiring hundreds of backpropagation steps.
- Feed-forward Networks: These offer millisecond speeds but are often restricted to a single texture or produce repetitive, low-quality outputs.
- Scalability: Many fast methods fail to generalize to new, unseen textures without extensive retraining.
The Pseudo Optimizer aims to bridge this gap by providing a method as fast as a feed-forward network, as high-quality as iterative optimization, and adaptive enough for arbitrary textures.
Methods: Learning to Optimize
The core innovation is the replacement of standard optimizers (like Adam or L-BFGS) with a learnable Pseudo Optimizer (PO). Instead of performing hundreds of iterations, the PO predicts the necessary image update in a single step.
Gradient-as-Input and AdaPO
The PO takes per-layer gradients of the texture loss (derived from a VGG-19 network) as its primary input. These gradients serve as universal descriptors, representing the statistical discrepancy between the current image and the target. The Adaptive Pseudo Optimizer (AdaPO) is trained on diverse datasets to learn a general strategy for matching any texture's statistics.
Progressive Refinement (ProPO)
To capture both global structure and fine details, the authors introduce the Progressive Pseudo Optimizer (ProPO). This multi-stage process starts with low-level features (colors) and progressively adds structural details across five stages. This coarse-to-fine approach prevents artifacts and maintains the stochastic nature of the initial noise, ensuring high output diversity.
Results and Evaluation
The model was evaluated on the Describable Texture Dataset (DTD), containing over 5,000 images, and a specialized floral dataset.
Performance and Quality
- Speed: PO synthesizes a 256x256 image in under 0.1 seconds (>13 FPS), whereas iterative methods take minutes.
- Fidelity: Quantitative tests show PO achieves significantly lower texture loss than other real-time methods like WCT.
- Generalization: The model successfully synthesizes textures not seen during training, demonstrating it has learned a general optimization logic.
Conclusion and Future Work
The Pseudo Optimizer successfully reconciles speed and quality in texture synthesis. While it excels at stochastic textures, highly structured or non-stationary patterns remain a challenge. Future research may explore self-supervised learning on larger datasets or alternative objective functions to better capture complex spatial relationships.
Summary updated