ResMaster: Mastering High-Resolution Image Generation via Structural and Fine-Grained Guidance

Shuwei Shi, Wenbo Li, Yuechen Zhang, Jingwen He, Biao Gong, Yinqiang Zheng

Abstract

Standard diffusion models, such as SDXL, are typically constrained by the resolution of their training data, leading to structural distortions and repetitive patterns when generating high-resolution (e.g., 4K) images. We present ResMaster, a training-free framework designed to overcome these limitations. ResMaster employs a dual-guidance strategy: Structural Guidance (SG) using 2D Fast Fourier Transform (2D-FFT) to maintain global coherence, and Fine-Grained Guidance using Vision-Language Models (VLMs) to provide patch-specific textual and visual context. Our results demonstrate that ResMaster achieves state-of-the-art performance in both quantitative metrics and qualitative visual quality, significantly outperforming existing training-free methods while maintaining computational efficiency.

Introduction

While large-scale diffusion models have revolutionized image synthesis, generating high-resolution images beyond the training distribution remains a significant challenge. Two primary issues plague high-resolution scaling: structural distortion, where the model's limited receptive field fails to maintain global object integrity (e.g., "multi-headed" artifacts), and repetitive patterns, where the use of a global prompt for local patches leads to redundant textures. Existing training-free approaches often struggle with blurriness or fail to resolve these structural inconsistencies.

Methodology

ResMaster introduces a patch-based denoising pipeline that integrates two distinct guidance mechanisms to ensure both global consistency and local detail.

Structural Guidance (SG)

To preserve global structure, ResMaster first generates a low-resolution reference image. During the high-resolution denoising process, the framework utilizes a 2D Fast Fourier Transform (2D-FFT) to align the low-frequency components—the "skeleton"—of high-resolution patches with the corresponding low-resolution reference. To allow for the emergence of fine details in later stages, a cosine decay coefficient is applied to the structural guidance, transitioning the model's focus from global layout to local texture.

Fine-Grained Guidance

To eliminate repetitive patterns, ResMaster moves beyond monolithic global prompts:

  1. Tailored Image Prompts (TIP): An Image Extractor (via IP-Adapter) provides local visual context from the low-resolution reference to each individual patch.
  2. Enriched Textual Prompts (ETP): A pre-trained VLM (Share-Captioner) is employed to generate unique descriptions for every patch of the low-resolution reference. By providing specific prompts (e.g., "intricate texture of orange fur") rather than a general one, the model naturally produces diverse and non-repeating textures.
Figure 1: ResMaster demonstrates high structural coherence and rich local details in 4K generated images. Red boxes highlight the absence of structural distortions (like multi-heads), while blue boxes showcase fine-grained textures.

Experimental Results

ResMaster was evaluated against state-of-the-art methods including ScaleCrafter, DemoFusion, HiDiffusion, and FouriScale using the Laion-5B dataset.

Quantitative Performance

At 4096×4096 resolution, ResMaster achieved superior performance across all key metrics:

  • FID Score: 65.43 (lowest among tested methods).
  • Inception Score (IS): 18.44 (highest).
  • CLIP Score: 30.95, indicating the highest semantic alignment between the generated image and the user prompt.

Efficiency and Qualitative Quality

ResMaster is computationally efficient, generating 4K images approximately 5 minutes faster than DemoFusion on an NVIDIA Tesla A100. Qualitatively, the model successfully avoids common artifacts such as the "double-head" issue in portraits and the "tiled" appearance in complex textures.

Figure 3: Qualitative comparison across diverse scenes generated at 4K resolution, illustrating the effectiveness of patch-specific VLM guidance in creating non-repetitive, detailed environments.

Conclusion

ResMaster provides a robust, training-free solution for high-resolution image generation. By combining frequency-domain structural alignment with VLM-driven local guidance, it produces globally coherent and locally rich 4K images. Future work will explore more sophisticated VLM integration and the extension of this framework to high-resolution video generation.

Summary updated

BibTeX
@inproceedings{shi2025resmaster,
  author = {Shuwei Shi and Wenbo Li and Yuechen Zhang and Jingwen He and Biao Gong and Yinqiang Zheng},
  title = {{ResMaster: Mastering High-Resolution Image Generation via Structural and Fine-Grained Guidance}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i7.32739},
}
Figure