# A Generative Model for Texture Synthesis based on Optimal Transport between Feature Distributions

arXiv: https://arxiv.org/abs/2007.03408 · HTML: https://mlsanity.com/paper/2007.03408/

## Key facts

- Cited by 12 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 19 Jun 2020.

## Built on by (most cited first, 12 of 12)

- [μNCA: Texture Generation with Ultra-Compact Neural Cellular Automata](https://mlsanity.com/paper/2111.13545/) (2021)
- [WPPNets and WPPFlows: The Power of Wasserstein Patch Priors for Superresolution](https://mlsanity.com/paper/2201.08157/) (2022)
- [Learning from small data sets: Patch-based regularizers in inverse problems for image reconstruction](https://mlsanity.com/paper/2312.16611/) (2023)
- [Wasserstein Distortion: Unifying Fidelity and Realism](https://mlsanity.com/paper/2310.03629/) (2023)
- [Slicing Wasserstein Over Wasserstein Via Functional Optimal Transport](https://mlsanity.com/paper/2509.22138/) (2025)
- [Optimal Transport on the Lie Group of Roto-translations](https://mlsanity.com/paper/2402.15322/) (2024)
- [Multi-Texture Synthesis through Signal Responsive Neural Cellular Automata](https://mlsanity.com/paper/2407.05991/) (2024)
- [Approximative Algorithms for Multi-Marginal Optimal Transport and Free-Support Wasserstein Barycenters](https://mlsanity.com/paper/2202.00954/) (2022)
- [Sum-of-Squares Programming for Ma-Trudinger-Wang Regularity of Optimal Transport Maps](https://mlsanity.com/paper/2412.13372/) (2024)
- [Differentiable Expectation-Maximisation and Applications to Gaussian Mixture Model Optimal Transport](https://mlsanity.com/paper/2509.02109/) (2025)
- [Control Laguerre Tessellation: Semi-discrete Optimal Transport Over Control Systems](https://mlsanity.com/paper/2607.09139/) (2026)
- [Texture Interpolation as Texton Matching](https://mlsanity.com/paper/2610.18655/) (2026)

## Abstract (arXiv)

We propose GOTEX, a general framework for texture synthesis by optimization that constrains the statistical distribution of local features. While our model encompasses several existing texture models, we focus on the case where the comparison between feature distributions relies on optimal transport distances. We show that the semi-dual formulation of optimal transport allows to control the distribution of various possible features, even if these features live in a high-dimensional space. We then study the resulting minimax optimization problem, which corresponds to a Wasserstein generative model, for which the inner concave maximization problem can be solved with standard stochastic gradient methods. The alternate optimization algorithm is shown to be versatile in terms of applications, features and architecture; in particular it allows to produce high-quality synthesized textures with different sets of features. We analyze the results obtained by constraining the distribution of patches or the distribution of responses to a pre-learned VGG neural network. We show that the patch representation can retrieve the desired textural aspect in a more precise manner. We also provide a detailed comparison with state-of-the-art texture synthesis methods. The GOTEX model based on patch features is also adapted to texture inpainting and texture interpolation. Finally, we show how to use our framework to learn a feed-forward neural network that can synthesize on-the-fly new textures of arbitrary size in a very fast manner. Experimental results and comparisons with the mainstream methods from the literature illustrate the relevance of the generative models learned with GOTEX.
