Enhancing Vision-Language Compositional Understanding with Multimodal Synthetic Data

Haoxin Li, Boyang Li

Introduction

Vision-Language Models (VLMs) like CLIP have revolutionized multimodal tasks by learning from massive web-scale datasets. However, these models often behave like "bags of words," excelling at object recognition but failing to grasp the subtle compositional relationships between objects and their attributes. For instance, a model might correctly identify a "man" and a "surfboard" in an image but struggle to distinguish between "a man carrying a surfboard" and "a man carrying a shovel." This paper introduces SPARCL (Synthetic Perturbations for Advancing Robust Compositional Learning), a framework designed to bridge this gap using high-fidelity synthetic data.

The Compositional Challenge

The primary hurdle in training VLMs for compositional understanding is the lack of "minimal pairs" in natural datasets—images that are nearly identical except for a specific semantic change. Existing generative methods to create such data often face a trilemma: they are either inefficient, fail to align precisely with text prompts, or lose the visual fidelity (background, lighting, style) of the original image. Without this fidelity, models may learn to distinguish pairs based on irrelevant background noise rather than the intended semantic difference.

A real image of people with surfboards on a beach, used as a seed for synthetic generation.

The SPARCL Framework

SPARCL addresses these issues through a two-phase approach: precise multimodal generation and noise-robust training.

1. Precise Multimodal Generation

To ensure high alignment and fidelity, SPARCL utilizes several key techniques:

  • LLM Captioning: An LLM generates "synthetic positive" (semantically similar) and "synthetic negative" (subtle attribute/relation changes) captions from a real image-text pair.
  • Image Feature Injection: Rather than relying solely on text prompts, SPARCL injects the global feature vector (the [CLS] token) of the original real image into the padding embeddings of the Text-to-Image (T2I) model's text encoder. This forces the generator to maintain the original image's style and context while the text tokens drive specific object changes.
  • Style Transfer: Adaptive Instance Normalization (AdaIN) is applied as a post-processing step to further align the synthetic image's texture with the real source image, minimizing the domain gap.
A synthetic negative generated by SPARCL, replacing surfboards with shovels while maintaining the original scene's context and style.

2. Training with Adaptive Margin Loss

Synthetic data is inherently noisy; generators occasionally hallucinate or fail to implement requested changes. To mitigate this, the authors introduce an Adaptive Margin Loss. This loss dynamically adjusts the margin based on the similarity difference between pairs, effectively filtering out "wrong generations" where the positive and negative are indistinguishable, and prioritizing "hard samples" that provide the most information for learning.

Key Results and Insights

SPARCL demonstrates significant improvements across major compositional benchmarks, including ARO, VL-CheckList, and SugarCrepe. Key findings include:

  • Performance Gains: SPARCL improves the average accuracy of a base CLIP model by over 8% across all benchmarks.
  • State-of-the-Art Efficiency: It outperforms previous SOTA methods by 2% on three out of four benchmarks, even when those competitors use significantly larger datasets like CC3M.
  • Data Efficiency: The framework remains effective even with limited data; SPARCL trained on only 50% of the COCO-2014 dataset still outperforms most baselines trained on the full set.

Conclusion

SPARCL highlights that for compositional learning, visual fidelity is as crucial as text alignment. By combining precise multimodal generation with a quality-aware training strategy, SPARCL enables VLMs to move beyond simple object recognition toward a more nuanced, relational understanding of the visual world. Future work will look toward scaling this framework to larger foundation models and more complex scene compositions.

Summary updated

BibTeX
@inproceedings{li2025enhancing,
  author = {Haoxin Li and Boyang Li},
  title = {{Enhancing Vision-Language Compositional Understanding with Multimodal Synthetic Data}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.02314},
}
Figure