Structural Self-Teaching for Compositional Generation in Unified Multimodal Models

Jaeyoo Park, Bohyung Han

TL;DR

Structural Self-Teaching (SST) fixes a common flaw in Unified Multimodal Models (UMMs): they are often better at "understanding" a complex scene than "generating" one. By extracting internal grounding signals from the model's own understanding path, SST provides structural supervision that eliminates missing objects and attribute binding errors without requiring external labels or adding any inference-time overhead.

What Problem Does This Paper Address?

Unified Multimodal Models (UMMs) like BLIP-3o or Show-o2 are designed to handle both image understanding and generation within a single architecture. However, they suffer from a persistent "asymmetry." While these models can reliably localize a "checkered car" in an existing image, they often struggle to generate one correctly when given a dense, compositional prompt (e.g., "a checkered car next to three flowers and a chair").

As prompts become "compositionally dense"—meaning they contain more objects, attributes, and spatial relations—generation quality tends to fall off a cliff. Models might drop objects entirely, swap colors between items (attribute leakage), or fail to count correctly. The authors identify that the internal "understanding" path of the model remains robust even when the "generation" path fails. SST aims to bridge this gap by letting the model's perception guide its creation.

Figure 1: Unified multimodal models can localize phrases they fail to generate. Given an image-text pair that satisfies a compositional prompt, the understanding path produces phrase-wise attention maps that localize the requested concepts. However, generation from the same prompt can omit objects or entangle attributes, as shown by the base UMM. Structural self-teaching transfers these internal supports during training, improving phrase coverage and compositional fidelity.

Methods

The SST framework introduces a training-time pipeline that turns the model into its own teacher through two primary mechanisms:

  1. Phrase-Conditioned Mask Extraction: The system extracts "soft" spatial support masks from the model's internal cross-attention maps. Unlike previous methods that use hard bounding boxes, these masks provide a probabilistic "heat map" of where specific phrases (like "red dog") are grounded in the image. They use techniques like "sink suppression" to filter out uninformative tokens that often hog attention.
  2. Phrase-Local Contrastive Alignment: Using these masks as pooling regions, the model aligns the generated visual features for a specific phrase with the corresponding features in the ground-truth image. This "pulls" the generated "red dog" toward the actual "red dog" representation while "pushing" it away from other phrases in the same prompt, preventing semantic collapse or attribute bleeding.
  3. Structural Scaffold: During training, a phrase-level layout (the "scaffold") is built from the masks and injected into the intermediate layers of the generation path. This acts as a spatial "cheat sheet" for the model. To ensure the model doesn't become dependent on this extra info, the scaffold is gradually phased out using a decay schedule (dropout) and is removed entirely during inference.
Overview of the SST framework, showing how masks from the frozen understanding path supervise the LoRA-tuned generation path.

Datasets

  • Training: The authors used the Echo-4o dataset (Instruction-Following subset), which contains roughly 70,000 synthetic image-caption pairs designed for complex compositional tasks.
  • Evaluation: Performance was measured using GenEval2 (800 prompts stratified by "atomicity" or complexity) and GenEval++ (280 prompts across seven task types).
  • Diagnostic: To prove the "asymmetry" theory, the authors curated an Oracle Image Set—images that perfectly match complex prompts—to test how well the understanding path performs in isolation.

Key Insights and Ideas

  • The Asymmetry is Real: A key "aha" moment comes from Figure 2, which shows that as prompt complexity (atomicity) increases, generation performance (Gen) crashes toward zero, while the understanding path (Und) remains remarkably stable. This confirms that the knowledge is in the model; it just isn't being used effectively during generation.
  • Self-Supervision via Internal Grounding: By using the model's own attention maps, SST eliminates the need for expensive, human-annotated bounding boxes or segmentation masks.
  • Soft Masks > Hard Boxes: The paper argues that soft, temperature-controlled masks are superior to rigid bounding boxes for training-time supervision because they better capture the "fuzzy" nature of how a model perceives objects in a scene.
Figure 2: Diagnostic of the understanding-path supervision source across four UMM backbones. Top row. Prompt-only generation scores (Gen) decrease sharply with atomicity, while understanding-path scores on oracle images (Und) remain comparatively stable. Bottom row. Activation-inside ratio (AIR) and center-of-mass pointing accuracy (Pt) of extracted phrase supports against Grounded- SAM pseudo-references remain within narrow bands across atomicity. The top row is not a direct comparison between Und and Gen, see Section 3.

Key Results

SST was tested across four major UMM backbones: BLIP-3o (4B/8B), Show-o2 (7B), and BAGEL (14B).

  • Compositional Fidelity: SST consistently outperformed standard LoRA fine-tuning. On BLIP-3o 4B, SST improved the Geometric Mean (GM) score—a metric that heavily penalizes missing any single element of a prompt—from 11.78% to 16.13%.
  • Qualitative Fixes: Qualitative results (Figure 4) show SST successfully resolving "hybrid" objects (e.g., cows fused with penguins) and restoring missing objects that base models and standard fine-tuning ignored.
  • Zero Inference Cost: Because the structural scaffold is removed at test time, the improved performance comes with exactly zero increase in latency or memory usage during actual use.

Limitations and Future Work

  • LoRA Constraints: SST currently tunes parameters via LoRA. The authors note that the gains are ultimately bounded by the base generative quality of the backbone.
  • Autoregressive Models: The current scaffold design modulates continuous intermediate states, which works well for diffusion-based models but would require a different approach for purely autoregressive, token-based UMMs.
  • High Atomicity: While SST significantly improves performance, generating images for prompts with 8+ "atoms" (objects/relations) remains a massive challenge for all current models. Future work may need to address the scarcity of such dense prompts in training data.

Summary updated

Abstract

We propose Structural Self-Teaching (SST), a novel framework that enhances compositional image generation in diffusion-based unified multimodal models (UMMs) by leveraging their internal understanding path as a source of structural supervision. The generation path of UMMs often struggles with dense compositional prompts, leading to missing objects, attribute binding failures, and spatial errors. In contrast, their understanding path localizes the same phrases in images that satisfy these prompts. SST converts this phrase-level grounding into training-time structural signals for the generation path. Specifically, we extract phrase-conditioned support masks from internal attention maps derived from the understanding path and employ them through two mechanisms. Phrase-local contrastive alignment uses these masks as pooling regions and aligns each generated phrase region with the same region of the target image. A structural scaffold builds a phrase-level layout from the same masks and modulates an intermediate spatial state of the generation path during training. The scaffold is phased out during training and removed at inference. SST requires no external structural annotations for training and no additional input at test time. Extensive experiments across multiple UMMs demonstrate that SST improves compositional fidelity over LoRA fine-tuning on the same data, with no inference-time cost. Project page is available at https://bellos1203.github.io/sst
BibTeX
@inproceedings{park2026structural,
  author = {Jaeyoo Park and Bohyung Han},
  title = {{Structural Self-Teaching for Compositional Generation in Unified Multimodal Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=7dwd2Ok9fy},
}
Figure