Paying U-Attention to Textures: Multi-Stage Hourglass Vision Transformer for Universal Texture Synthesis
Shouchang Guo, Valentin Deschaintre, Douglas Noll, Arthur Roullier
TL;DR
This work introduces U-Attention, a vision Transformer framework with a hierarchical hourglass backbone for universal texture synthesis that scales patches across multiple levels of detail. By combining an encoder, multi-stage Transformer blocks with down/up convolutions, and skip connections, it enables coarse-to-fine-to-coarse patch mapping and efficient single-pass synthesis that generalizes to unseen textures. The model employs a composite loss including $\mathcal{L}_{l_1}$, perceptual, style, and temporal-patch GAN terms, and achieves practical inference times on large texture datasets. Overall, the approach demonstrates $2\times$ texture synthesis across diverse textures with strong structural and perceptual quality, and advances attention-based image-to-image mapping for texture generation.
Abstract
We present a novel U-Attention vision Transformer for universal texture synthesis. We exploit the natural long-range dependencies enabled by the attention mechanism to allow our approach to synthesize diverse textures while preserving their structures in a single inference. We propose a hierarchical hourglass backbone that attends to the global structure and performs patch mapping at varying scales in a coarse-to-fine-to-coarse stream. Completed by skip connection and convolution designs that propagate and fuse information at different scales, our hierarchical U-Attention architecture unifies attention to features from macro structures to micro details, and progressively refines synthesis results at successive stages. Our method achieves stronger 2$\times$ synthesis than previous work on both stochastic and structured textures while generalizing to unseen textures without fine-tuning. Ablation studies demonstrate the effectiveness of each component of our architecture.
