ARMADA: Attribute-Based Multimodal Data Augmentation

Xiaomeng Jin, Jeonghwan Kim, Yu Zhou, Kuan-Hao Huang, Te-Lin Wu, Nanyun Peng, Heng Ji

Abstract

In Multimodal Language Models (MLMs), the cost of manually annotating high-quality image-text pair data for fine-tuning and alignment is extremely high. While existing multimodal data augmentation frameworks propose ways to augment image-text pairs, they either suffer from semantic inconsistency between texts and images, or generate unrealistic images, causing knowledge gap with real world examples. To address these issues, we propose Attribute-based Multimodal Data Augmentation (ARMADA), a novel multimodal data augmentation method via knowledge-guided manipulation of visual attributes of the mentioned entities. Specifically, we extract entities and their visual attributes from the original text data, then search for alternative values for the visual attributes under the guidance of knowledge bases (KBs) and large language models (LLMs). We then utilize an image-editing model to edit the images with the extracted attributes. ARMADA is a novel multimodal data generation framework that: (i) extracts knowledge-grounded attributes from symbolic KBs for semantically consistent yet distinctive image-text pair generation, (ii) generates visually similar images of disparate categories using neighboring entities in the KB hierarchy, and (iii) uses the commonsense knowledge of LLMs to modulate auxiliary visual attributes such as backgrounds for more robust representation of original entities. Our empirical results over four downstream tasks demonstrate the efficacy of our framework to produce high-quality data and enhance the model performance. This also highlights the need to leverage external knowledge proxies for enhanced interpretability and real-world grounding.

Introduction: The Challenge of Multimodal Data Augmentation

Training state-of-the-art Multimodal Language Models (MLMs), such as CLIP or LLaVA, necessitates vast quantities of aligned image-text data. However, the manual annotation of such pairs is both prohibitively expensive and time-consuming. While automated data augmentation offers a potential solution, existing methodologies frequently encounter a "semantic consistency" problem. Traditional "surface-level" techniques, such as random cropping or color jittering, may inadvertently remove the primary subject or introduce unrealistic artifacts. Conversely, "latent-space" methods lack the interpretability and control required for fine-grained learning. These "noisy" augmentations often fail to help models learn the precise relationships between specific linguistic tokens and visual features.

Methodology: Knowledge-Guided Manipulation

To address these limitations, we introduce ARMADA (Attribute-Based Multimodal Data Augmentation). Unlike previous methods that rely on random perturbations, ARMADA employs knowledge-guided manipulation to surgically modify visual attributes within image-text pairs. The pipeline consists of four primary stages:

  1. Extraction: A Large Language Model (LLM) parses the source text to identify entities (e.g., "dog"), their visual attributes ("brown"), and their environmental context ("white fence").
  2. Knowledge Grounding: Entities are linked to structured Knowledge Bases (KBs) like Wikidata, allowing the system to understand the object's taxonomy.
  3. Attribute Substitution:
    • Intra-Entity: Valid alternative attributes for the same object are identified (e.g., changing "brown" to "black and white").
  4. Inter-Entity (Sibling Swap): The system identifies "sibling" entities—visually similar objects from different categories—to create challenging training examples.
  5. LLM-based Backgrounding: For attributes not typically found in a KB, such as backgrounds, an LLM suggests plausible alternatives.
  6. Image Editing: The original image and a specific instruction (e.g., "Change the fence color to blue") are processed by InstructPix2Pix, a generative model that modifies the image to match the updated text.
Example of MixGen augmentation creating a noisy, blended image by overlaying two disparate scenes.

Key Insights: Precision and Grounding

A core innovation of ARMADA is the use of KB hierarchies to identify "hard negatives" through sibling swaps. By replacing an entity with a visually similar sibling, the model is forced to distinguish between subtle, fine-grained attributes rather than relying on general shapes.

Furthermore, ARMADA balances factual accuracy with contextual variety by combining symbolic KBs for grounding and LLMs for general context. This "surgical precision" ensures that the scene structure remains intact, changing only specific, interpretable attributes. This contrasts sharply with baseline methods like MixGen, which often produce unrealistic, blended overlays.

Example of ARMADA's surgical background modification, maintaining scene structure while changing the fence color to blue.

Experimental Results

We evaluated ARMADA across four downstream tasks using datasets including iNaturalist 2021, VQA v2.0, and Flickr30k. ARMADA consistently outperformed state-of-the-art baselines:

  • Image Classification: On the fine-grained iNaturalist dataset, ARMADA improved CLIP's F1 score from 0.339 to 0.389.
  • Visual Question Answering (VQA): Performance on VQA v2.0 surpassed the MixGen baseline by 1.1% on the USE metric.
  • Image Captioning: ARMADA achieved a 4.0% improvement in text similarity (USE score) over the "No Augmentation" baseline.

Our analysis of data scaling suggests an optimal augmentation ratio of 100% to 200% of the original dataset size; exceeding this threshold can introduce noise that marginally degrades performance.

Conclusion

ARMADA demonstrates the efficacy of leveraging external knowledge proxies for multimodal data generation. By grounding augmentations in real-world facts and maintaining semantic consistency, ARMADA provides high-quality data that significantly enhances MLM performance and interpretability. Future work will explore expanding this framework to video and audio modalities and refining attribute selection strategies.

Summary updated

BibTeX
@misc{jin2024armada,
  author = {Xiaomeng Jin and Jeonghwan Kim and Yu Zhou and Kuan-Hao Huang and Te-Lin Wu and Nanyun Peng and Heng Ji},
  title = {{ARMADA: Attribute-Based Multimodal Data Augmentation}},
  year = {2024},
  eprint = {2408.10086},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.10086},
}
Figure