TL;DR
RAG4DMC is a novel framework that uses Retrieval-Augmented Generation (RAG) to "complete" missing parts of multi-modal datasets—such as generating a missing caption for an image or a missing image for a text description. By combining a dual-knowledge base (internal and external data) with sophisticated feature alignment and candidate selection, it produces high-fidelity, semantically consistent data that significantly boosts the performance of downstream AI models.
What Problem Does This Paper Address?
Multi-modal datasets (containing images, text, audio, etc.) are the backbone of modern AI, but they are rarely perfect. In the real world, datasets often suffer from Missing Modality Completion (MMC) issues due to sensor failures, high annotation costs, or data corruption.
While we have powerful generative models like Stable Diffusion or LLaVA, they struggle with MMC in two primary ways:
- Domain Gap: Pre-trained models often fail on niche or domain-specific data (like satellite imagery or medical scans) because they were not trained on it.
- Fine-tuning Hurdles: Fine-tuning these massive models on the small "complete" portion of a dataset often leads to overfitting or is simply too computationally expensive.
The authors propose moving beyond "latent-feature imputation" (filling in abstract numbers) to data-level completion—actually generating the missing raw data so the entire dataset can be reused by any model.
Methods
RAG4DMC introduces a multi-stage pipeline to ground the generation process in real-world examples, ensuring the outputs are both accurate and contextually appropriate.
- Dual Knowledge Base (KB): The system builds a KB from two sources: the "internal" complete samples from the target dataset and "external" public datasets (like CC3M).
- Knowledge Processing (Filtering & Alignment): To prevent "garbage in, garbage out," the authors use K-means clustering to filter out irrelevant external samples. They then apply Orthogonal Procrustes alignment to bridge the "domain shift" between the internal and external data, ensuring all embeddings live in a unified semantic space.
- Multi-Modal Fusion Retrieval: Instead of a simple search, they use a two-stage process. First, they perform intra-modal retrieval (finding similar items to what is available). Then, they use a lightweight MLP to create a "pseudo-embedding" of the missing modality to perform cross-modal re-ranking.
- Generation & Candidate Selection: The system doesn't just generate one result; it produces multiple candidates. A selection mechanism then scores these based on semantic alignment (how well it matches the input) and perceptual quality (using metrics like BLEU for text or NIQE for images) to pick the best "completion."
Datasets
The authors evaluated the framework on three primary datasets to test both general and niche capabilities:
- General Domain: MSCOCO and Flickr30K.
- Specific Domain: RSICD (Remote Sensing Image Captioning Dataset), which tests the model's ability to handle niche, non-natural imagery.
- External Knowledge: CC3M (for general tasks) and NWPU-Caption (for remote sensing).
Key Insights and Ideas
- Data-Level vs. Feature-Level: By generating actual pixels and words rather than just latent vectors, RAG4DMC creates a "completed" dataset that is model-agnostic. You can train any future model on this augmented data.
- The "Pseudo-Embedding" Bridge: One of the cleverest parts of the paper is using a simple MLP to "guess" the embedding of the missing modality. This "pseudo-embedding" makes the retrieval process much more accurate than searching with the available modality alone.
- Filtering is Non-Negotiable: The paper demonstrates that naively adding external data can actually hurt performance due to noise. The clustering-based filtering is essential for making RAG work in a multi-modal context.
- RAG Beats Pure Generation for Rare Samples: Generative models tend to "hallucinate" or revert to generic outputs for rare cases. Retrieval provides a "factual" anchor that keeps the generation grounded in reality.
Key Results
The authors measured success by training downstream models (CLIP for retrieval and LLaVA for captioning) on the completed datasets.
- MSCOCO: As shown in the results, RAG4DMC improved Image Captioning by +5.0 CIDEr points (jumping from 112.2 to 117.2) compared to direct generative completion. It also saw notable gains in Image-Text Retrieval.
- Robustness to Scarcity: Even when 70% of the data was missing, RAG4DMC significantly outperformed baselines, showing it can "rescue" highly corrupted datasets.
- Qualitative Superiority: Visual comparisons show that RAG4DMC generates captions that are far more descriptive and contextually accurate than standard generative models, which often produce brief, generic descriptions (e.g., "a group of trees" vs. "a giraffe standing on grass by some big rocks").
Limitations and Future Work
- Computational Overhead: While the retrieval phase is fast, the initial setup (clustering, Procrustes alignment, and training the mapping MLPs) adds complexity to the data preprocessing pipeline.
- Encoder Dependency: The system relies heavily on the quality of the initial encoders (like CLIP). If the encoder has a blind spot for a specific domain, the retrieval will suffer.
- Scaling Modalities: The current work focuses on Image-Text pairs. The authors suggest that future work could extend this to video, audio, or 3D data, where the "missing modality" problem is even more prevalent.
Summary updated