NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

TileGAN: Synthesis of Large-Scale Non-Homogeneous Textures

Anna Frühstück, Ibraheem Alhashim, Peter Wonka

Abstract

TileGAN is a novel framework designed to synthesize massive, high-resolution textures—reaching gigapixel scales—by integrating the generative capabilities of Generative Adversarial Networks (GANs) with a Markov Random Field (MRF) tiling approach. Unlike traditional methods that struggle with non-homogeneous structures like coastlines or complex paintings, TileGAN optimizes transitions within the intermediate latent space of a generator. This "latent merging" technique ensures global coherence and local detail, effectively eliminating boundary artifacts and enabling the creation of virtually infinite, high-quality textures.

Introduction

Texture synthesis has historically faced a trade-off between scale and structural complexity. While standard synthesis excels at repetitive patterns (e.g., grass), it often fails on "non-homogeneous" textures containing large-scale features. GANs are adept at capturing these features but are constrained by hardware memory, preventing the direct generation of extremely high-resolution images. Naive tiling of GAN outputs results in visible seams and a lack of global structure. TileGAN addresses these challenges by performing synthesis in a latent field, allowing for seamless, large-scale texture generation.

Methodology

The TileGAN framework is built upon the Progressive Growing of GANs (ProGAN) architecture, utilizing a "split-and-stitch" strategy:

  1. Latent Field Synthesis: The generator is partitioned to produce a "latent field"—a grid of intermediate feature maps—rather than a single pixel-space image.
  2. MRF-based Tiling: To ensure compatibility between adjacent tiles, a Markov Random Field (MRF) approach is employed. An optimization algorithm selects "latent tiles" from a pre-sampled library that are visually and mathematically consistent with their neighbors.
  3. Latent Merging: Transitions are smoothed at an intermediate layer of the GAN. This allows the subsequent layers to act as a "neural blender," creating natural-looking boundaries specific to the learned texture distribution.
Comparison of tiling methods: (a) naive tiling with visible seams, (b) intermediate blending, and (c) TileGAN's seamless latent merging.
  1. Two-Step Optimization: The process involves a fast initialization phase guided by a low-resolution map, followed by an iterative refinement step to minimize dissimilarity between tiles.

Datasets

The model was trained on several high-resolution datasets, each consisting of $512 \times 512$ pixel tiles:

  • Terrain Map: 18,000 tiles of Google Maps terrain data.
  • Satellite Imagery: 65,000 Landsat samples.
  • Oil Canvas: 30,000 tiles from Van Gogh’s The Starry Night.
  • Night Sky: 19,000 tiles from astronomical surveys.

Results and Discussion

TileGAN demonstrates the ability to generate images up to 1.6 Gigapixels, far exceeding standard GAN limits. Qualitative evaluations show that TileGAN outperforms both non-neural and other neural synthesis methods, particularly in maintaining multi-scale features in aerial and artistic data.

Large-scale non-homogeneous texture synthesis of satellite and terrain data.

Key Insights

  • Latent Space Blending: Merging in latent space avoids the "ghosting" effects of pixel-level cross-fading by leveraging the GAN's learned understanding of the texture.
  • Padding Mitigation: To avoid artifacts caused by zero-padding in convolutional layers, latent tiles are slightly cropped before merging to ensure only the stable interior parts are used.

Limitations

Despite its success, TileGAN is limited by system memory (capping output at ~1.6 GP). Occasionally, the system may produce "salient boundaries" if it attempts to merge incompatible features not present in the training data (e.g., disparate climates). Future work may involve multi-layer "stacked" GANs for improved global coherence and applications in 3D data synthesis.

Summary updated

BibTeX
@article{fruhstuck2019tilegan,
  author = {Anna Frühstück and Ibraheem Alhashim and Peter Wonka},
  title = {{TileGAN: Synthesis of Large-Scale Non-Homogeneous Textures}},
  journal = {ACM Trans. Graphics},
  year = {2019},
  doi = {10.1145/3306346.3322993},
}
Figure