Most state-of-the-art generative models share a hidden bias: they are obsessed with squares. From the early days of GANs to the current era of Diffusion Transformers (DiTs), models are typically trained on fixed-resolution crops, such as 512x512 or 1024x1024 pixels. While this simplifies computation, it creates a "compositional collapse" when these models are asked to generate images for the real world—a world of wide panoramas, vertical posters, and cinematic banners.
Recent research has pivoted toward breaking this square constraint, moving from models that merely "fit" images into boxes to architectures that understand spatial composition across any canvas.
The Problem of Compositional Collapse
When a model trained exclusively on square images is tasked with generating a wide 21:9 panorama, it often suffers from what researchers call the "Frankenstein effect" or duplicated patterns. Because the model’s internal understanding of "a cat" or "a mountain" is tied to a specific spatial scale, it attempts to solve the extra space by simply repeating the object.
As noted in Asymmetric Convolution-Attention Networks for Efficient Recognition and Generation by Anil Kag, these failure modes stem from a lack of diverse spatial dimensions in training. This results in poor spatial robustness; the model knows how to draw a subject in the center of a square, but it doesn't know how to balance a composition across an elongated frame. AIGIQA-20K by Chunyi Li et al. quantifies this, showing a sharp decline in perceptual quality and the introduction of unnatural artifacts when models deviate from their native training ratios.
Decoupling Global Structure from Local Detail
One intuitive way to solve this without retraining the entire model is to separate what is being drawn from where it is placed.
ElasticDiffusion, developed by Guha Balakrishnan, introduces a training-free decoding strategy that decouples local details from global content. By ensuring that the global structure is consistent across the entire canvas while allowing local diffusion processes to handle fine textures, the model avoids the repetitive tiling artifacts common in large-scale generation.
Similarly, SyncDiffusion addresses the "Frankenstein" effect by synchronizing multiple local diffusion processes. It uses a perceptual similarity loss to ensure that different parts of a wide image maintain a consistent style and content, effectively "stitching" the image together mathematically during the denoising process rather than after the fact.
Teaching Models to Read the Canvas
While inference-time tricks are powerful, the most robust solutions involve changing how models perceive coordinates. Standard Autoregressive (AR) models often struggle because they "read" images in a fixed raster scan (top-left to bottom-right).
To fix this, Dengsheng Chen and colleagues introduced Visual Rotary Positional Embedding (VoPE) in High-Resolution Image Synthesis via Next-Token Prediction. VoPE allows the model to understand the relative distance between pixels regardless of the total resolution, enabling next-token prediction to scale to 4K and arbitrary aspect ratios without distortion.
In the realm of controllable generation, ControlAR by Zongming Li et al. moves away from "prefilling" tokens and toward a "conditional decoding" approach. This allows AR models—which were historically the most rigid regarding resolution—to generate images at any size by dynamically adapting the decoding sequence to the target dimensions.
Toward Generalist Visual Assistants
The ultimate goal of this research direction is the "generalist" model: a single system that can edit, crop, and generate images of any shape or size.
PixWizard by Weifeng Lin and Xinyu Wei exemplifies this by training on massive instruction-tuning datasets that include diverse resolutions. By moving away from the "square-only" preprocessing pipeline, these models retain critical spatial information that is usually lost during cropping.
Similarly, Any-Size-Diffusion by Ying Li uses a multi-aspect ratio training strategy (often called "ratio buckling") combined with seamless tiling. This ensures the model has seen enough variety during training to maintain compositional integrity even when the user requests an extreme panorama.
By rethinking the relationship between the model and the canvas—moving from fixed grids to flexible, coordinate-aware architectures—researchers are finally enabling AI to master the art of composition in all its diverse formats.