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

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. In these scenarios, it is critical to preserve scene attributes in generated images consistent with a multimodal context—a reference image paired with text guidance. We introduce Hummingbird, the first diffusion-based image generator that produces highly diverse images relative to a reference while ensuring high fidelity to scene attributes like object interactions and spatial relationships. Hummingbird employs a novel Multimodal Context Evaluator that optimizes Global Semantic and Fine-grained Consistency Rewards. Experiments on MME Perception and Bongard HOI datasets demonstrate that Hummingbird outperforms existing methods, validating its potential as a robust generator for complex visual tasks.

The Challenge of Scene-Aware Generation

State-of-the-art diffusion models, such as Stable Diffusion XL (SDXL), excel at creating visually stunning and diverse images. However, they often falter when tasked with "scene-aware" generation. For instance, if a model is given a reference image and asked to "generate a similar image but ensure there are exactly six people," most existing systems face a binary failure: they either produce a near-identical copy of the original (low diversity) or a completely new scene that ignores the specific numerical constraint (low fidelity).

This lack of fidelity—the ability to truthfully preserve specific attributes from a reference image in relation to a text query—limits the utility of synthetic data for training models on complex reasoning tasks like VQA or HOI. Existing techniques like Image Variation or Textual Inversion often lose fine-grained details because their underlying embeddings lack precise control over which scene elements to prioritize.

Hummingbird: Aligning Multimodal Context

Hummingbird addresses this trade-off through a specialized three-step pipeline designed to bridge the gap between reference images and textual constraints:

  1. Context Extraction: Using a Multimodal Large Language Model (MLLM) like LLaVA, Hummingbird translates the reference image and text query into a detailed "Context Description." This summary focuses specifically on the attributes relevant to the user's query, effectively telling the generator which parts of the image are "load-bearing."
  2. Fine-tuning with LoRA: The system fine-tunes the SDXL UNet using Low-Rank Adaptation (LoRA). This allows the model to adapt to the specific scene requirements without losing its general ability to generate high-quality images.
  3. Multimodal Context Evaluator: This component provides differentiable rewards during training using a pre-trained BLIP-2 QFormer. It optimizes for two distinct signals:
  4. Global Semantic Reward: Ensures the overall theme and subjects of the generated image match the context description.
  5. Fine-grained Consistency Reward: Employs an Image-Text Matching (ITM) classifier to ensure the generated image respects detailed attributes, such as specific spatial relationships (e.g., "the dog is under the pool").
Hummingbird demonstrates superior fidelity across various scene-aware tasks including numerical attributes, spatial relationships, and human-object interactions compared to standard diffusion baselines.

Benchmarking Fidelity and Diversity

The researchers evaluated Hummingbird against several challenging benchmarks, including MME Perception (covering existence, count, position, and color) and Bongard-HOI (focused on sophisticated interaction reasoning).

Key results include:

  • Superior Fidelity: In VQA tasks, Hummingbird significantly outperformed SDXL and Textual Inversion. Using InternVL 2.0 as an evaluator, it boosted "Count" accuracy by over 23% compared to the baseline.
  • HOI Reasoning: On the Bongard-HOI dataset, Hummingbird achieved an average accuracy of 68.73%, proving its capability in handling complex interactions like distinguishing between a person "swinging" versus "holding" a tennis racket.
  • User Preference: A study with 70 participants confirmed that users preferred Hummingbird’s generations for fidelity across all tested categories by a wide margin.
  • Diversity/Fidelity Balance: Unlike previous methods that sacrifice one for the other, Hummingbird's images remain visually distinct from the reference while strictly adhering to the textual guidance.

Insights and Future Directions

Hummingbird demonstrates that MLLMs can serve as an effective bridge for diffusion models by translating multimodal contexts into targeted descriptions. By using reward-driven alignment, the model optimizes for fidelity directly rather than relying on generic image-caption pairs.

However, limitations remain. The model still struggles with symbolic logic (such as mathematical reasoning within an image) and is dependent on the accuracy of the initial MLLM description. Future work will focus on "compositional" reasoning—handling multiple complex attributes simultaneously—and establishing stronger ethical guardrails for tasks involving sensitive visual data.

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 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.
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