Hummingbird: High Fidelity Image Generation via Multimodal Context Alignment

Minh-Quan Le, Gaurav Mittal, Tianjian Meng, A S M Iftekhar, Vishwas Suryanarayanan, Barun Patra, Dimitris Samaras, Mei Chen

TL;DR

Hummingbird is a novel diffusion-based image generator designed to break the trade-off between diversity and fidelity when generating synthetic data for scene-aware tasks like Visual Question Answering (VQA). By leveraging a Multimodal Large Language Model (MLLM) context descriptor and a dual-reward fine-tuning strategy, it generates visually distinct images that strictly preserve critical scene attributes like object counts, colors, and spatial relationships.

What Problem Does This Paper Address?

Generative AI excels at creating diverse synthetic data for object-centric tasks (e.g., classifying a bird or a car). However, it struggles significantly with scene-aware tasks like Visual Question Answering (VQA) and Human-Object Interaction (HOI) reasoning. For these tasks, synthetic images must maintain strict consistency with a "multimodal context"—a reference image paired with a text query.

Existing methods suffer from a frustrating trade-off:

  • Text-to-Image (T2I) and Image Variation methods generate highly diverse images but lose fine-grained scene details (poor fidelity).
  • Image Translation and Editing techniques preserve details but only make minor local modifications (poor diversity).

If a VQA question asks, "Are there six people in the room?", a synthetic image is useless for training if the generator randomly changes the person count to four while trying to make the image look different. Hummingbird addresses this gap by ensuring high visual diversity while faithfully preserving the exact scene attributes dictated by the text guidance.

Figure 1: Hummingbird aligns generated image with multimodal context input (reference image + text guidance) ensuring the synthetic image is diverse w.r.t. reference image while exhibiting high fidelity (i.e. preserves the scene attribute from reference image in relation to text guidance). (a-f) By doing so, for VQA and HOI Reasoning, Hummingbird enables the answer to the question in the text guidance to remain consistent between the reference and generated images. (g) Hummingbird is also able to preserve both diversity and fidelity without the trade-off exhibited by existing methods.

Methods

Hummingbird introduces a two-stage pipeline to guide a Stable Diffusion XL (SDXL) model during fine-tuning:

  1. Context Description Generation: Given a reference image and a text query (e.g., a question and its ground-truth answer), Hummingbird uses a prompt template to instruct an MLLM (like LLaVA or InternVL) to generate a detailed, text-based Context Description. This description explicitly highlights the key scene attributes the model must preserve.
  2. Multimodal Context Evaluator: To fine-tune the SDXL model via LoRA, the authors introduce a novel evaluator based on a pre-trained BLIP-2 QFormer. This evaluator optimizes two distinct rewards simultaneously:
  3. Global Semantic Reward ($R_{global}$): Maximizes the cosine similarity between the generated image's visual tokens and the text description's global embedding to align overall scene context.
  4. Fine-grained Consistency Reward ($R_{fine-grained}$): Utilizes the QFormer’s Image-Text Matching (ITM) classifier and bidirectional self-attention to ensure that specific, fine-grained details (like spatial positions or object counts) are not lost.
Overview of the Hummingbird architecture and training setup.

Datasets

The authors evaluated Hummingbird across both scene-aware and object-centric benchmarks:

  • VQA Benchmarks: Fine-tuned on VQAv2 and GQA, and evaluated using Test-Time Augmentation (TTA) on the MME Perception dataset (covering Existence, Count, Position, Color, and Scene tasks).
  • HOI Reasoning: Fine-tuned and evaluated on the Bongard-HOI dataset using Test-time Prompt Tuning (TPT).
  • Object-Centric Benchmarks: Evaluated on ImageNet along with four out-of-distribution variants: ImageNet-A, ImageNet-V2, ImageNet-R, and ImageNet-Sketch.

Key Insights and Ideas

  • Anchoring with Text Descriptions: Instead of trying to align raw images directly, translating the reference image's critical attributes into a targeted textual description provides a cleaner, more controllable optimization target for the diffusion model.
  • The Power of Dual Rewards: Relying solely on global semantic matching allows the diffusion model to omit key attributes. The inclusion of a token-level, fine-grained consistency reward via an ITM classifier is what actually forces the model to respect strict constraints like spatial relationships ("under", "left of") and exact counts.
  • Fidelity Doesn't Kill Diversity: The paper proves that you can heavily constrain a model's semantic fidelity without collapsing its visual diversity. Hummingbird achieves the highest fidelity scores while maintaining a feature-space diversity score nearly identical to unconstrained models.

Key Results

Hummingbird consistently outperformed state-of-the-art image generation and data augmentation techniques:

  • VQA Improvement: When used for Test-Time Augmentation with LLaVA v1.6, Hummingbird boosted the model's accuracy on spatial Position tasks by 5% (ACC) and 13.34% (ACC+). For InternVL 2.0, it improved Count joint correctness (ACC+) by 23.33%.
  • HOI Reasoning: On the Bongard-HOI dataset, Hummingbird achieved the highest average accuracy of 68.73%, outperforming standard data augmentations and alternative diffusion baselines.
  • Diversity Metrics: In Euclidean distance evaluations of image features, Hummingbird achieved the second-highest diversity score (36.94), sitting just behind unconstrained SDXL (37.22) but providing vastly superior fidelity.

Limitations and Future Work

Despite its strong performance, the authors note a few key limitations:

  • Foundation Model Dependencies: Hummingbird inherits the core limitations of its base models. For instance, because SDXL struggles with symbolic logic, Hummingbird fails at tasks requiring complex numerical calculations (e.g., drawing a triangle with an exact mathematical area).
  • MLLM Ambiguity: If the MLLM generates an initially incorrect or ambiguous context description during the first phase, the downstream fidelity of the generated image suffers.
  • Single-Attribute Focus: The current framework primarily optimizes for single attributes (e.g., just color or just count) at a time. The authors suggest that expanding the model to handle multiple compositional scene attributes simultaneously is a promising direction for future work.

Summary updated

Abstract

While diffusion models are powerful in generating high-quality, diverse synthetic data for object-centric tasks, existing methods struggle with scene-aware tasks such as Visual Question Answering (VQA) and Human-Object Interaction (HOI) Reasoning, where it is critical to preserve scene attributes in generated images consistent with a multimodal context, i.e. a reference image with accompanying text guidance query. To address this, we introduce $\textbf{Hummingbird}$, the first diffusion-based image generator which, given a multimodal context, generates highly diverse images w.r.t. the reference image while ensuring high fidelity by accurately preserving scene attributes, such as object interactions and spatial relationships from the text guidance. Hummingbird employs a novel Multimodal Context Evaluator that simultaneously optimizes our formulated Global Semantic and Fine-grained Consistency Rewards to ensure generated images preserve the scene attributes of reference images in relation to the text guidance while maintaining diversity. As the first model to address the task of maintaining both diversity and fidelity given a multimodal context, we introduce a new benchmark formulation incorporating MME Perception and Bongard HOI datasets. Benchmark experiments show Hummingbird outperforms all existing methods by achieving superior fidelity while maintaining diversity, validating Hummingbird's potential as a robust multimodal context-aligned image generator in complex visual tasks. Project page: https://roar-ai.github.io/hummingbird
BibTeX
@inproceedings{le2025hummingbird,
  author = {Minh-Quan Le and Gaurav Mittal and Tianjian Meng and A S M Iftekhar and Vishwas Suryanarayanan and Barun Patra and Dimitris Samaras and Mei Chen},
  title = {{Hummingbird: High Fidelity Image Generation via Multimodal Context Alignment}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=6kPBThI6ZJ},
}
Figure