SEGA: Spectral-Energy Guided Attention for Resolution Extrapolation in Diffusion Transformers

· Source: Computer Vision and Pattern Recognition · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Computer Vision · Depth: Expert, quick

Summary

SEGA, or Spectral-Energy Guided Attention, is a new training-free method designed to enhance Diffusion Transformers (DiTs) for text-to-image generation at resolutions exceeding their original training range. DiTs typically experience performance degradation when generating higher-resolution images. Current training-free approaches, such as Rotary Position Embeddings (RoPE) extrapolation combined with attention scaling, apply uniform, content-agnostic scaling across RoPE components. This often leads to a compromise between maintaining global image structure and preserving fine details. SEGA addresses this by dynamically scaling attention across RoPE components, adapting to the latent's spatial-frequency structure during each denoising step. This adaptive scaling significantly improves both structural coherence and fine-detail fidelity, demonstrating superior high-resolution synthesis compared to existing state-of-the-art training-free baselines.

Key takeaway

For Machine Learning Engineers developing text-to-image models, if you are struggling with Diffusion Transformers (DiTs) performing poorly at resolutions beyond their training data, consider integrating SEGA. This training-free method dynamically adjusts attention scaling based on spatial-frequency, directly improving both structural coherence and fine-detail fidelity in your high-resolution outputs. You can achieve superior image synthesis without retraining, mitigating common trade-offs in existing extrapolation techniques.

Key insights

SEGA dynamically scales DiT attention based on latent spatial-frequency, improving high-resolution image generation beyond training data.

Principles

Method

SEGA dynamically scales attention across Rotary Position Embeddings (RoPE) components. It adapts scaling based on the latent's spatial-frequency structure at each denoising step during inference.

In practice

Topics

Best for: Research Scientist, AI Scientist, Machine Learning Engineer, Computer Vision Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Computer Vision and Pattern Recognition.