TL;DR
MultiMem is the first metric designed to quantify memorization in multi-modal contrastive learning models (like those combining audio, video, and text). By identifying and mitigating the retention of semantically misaligned data, the authors demonstrate significant boosts in model generalization, achieving up to a 10% improvement in zero-shot classification tasks.
What Problem Does This Paper Address?
In machine learning, "memorization" is a double-edged sword. While it helps models handle rare but valid data patterns, it often leads to the harmful retention of noise and outliers, which hurts a model's ability to generalize to new data.
While researchers have studied this extensively in vision-only or simple image-text models (like CLIP), the landscape changes when you add more modalities like audio and video. Multi-modal learning introduces unique headaches: modalities might not align perfectly, noise levels vary, and there's no explicit "ground truth" label to check against. Existing metrics are often limited to just two modalities, failing to capture how a model might memorize complex interactions across three or four different types of data.
Methods
The authors introduce MultiMem, a metric built on the "leave-one-out" framework. To measure how much a model memorizes a specific sample, they compare two models: one trained with the sample ($f$) and one trained without it ($g$).
The core of MultiMem is Cross-Modal Consistency (CMC). CMC acts as a proxy for representation quality by measuring how well the different modalities of a single sample align with each other compared to how they align with unrelated, "held-out" samples. MultiMem is simply the difference in CMC scores between model $f$ and model $g$.
Beyond measurement, the paper proposes two mitigation strategies:
- In-Training Mitigation: The model periodically identifies the top 5% most memorized samples and applies heavy noise-based augmentations to them in subsequent training steps.
- Post-Training Mitigation: After initial training, the most memorized samples are identified and removed, followed by a short fine-tuning phase on the remaining "clean" data.
Datasets
The researchers evaluated their framework using several standard and custom-built multi-modal setups:
- COCO: A standard image-text dataset.
- MSR-VTT: A large-scale video description dataset.
- UrbanSound8K: Used for audio-related experiments.
- AudioSet: Used to provide out-of-distribution (OoD) samples for robustness testing.
- Custom Models: They developed AVT-CLIP (Audio, Video, Text) and AVIT-CLIP (Audio, Video, Image, Text) to test MultiMem's performance in high-modality settings.
Key Insights and Ideas
- Pairwise is Not Enough: Measuring memorization between just two modalities (e.g., just image and text) misses the big picture. As shown in Figure 1, MultiMem captures a higher and more accurate level of global memorization by considering all modalities simultaneously.
- Text is the Dominant Driver: In multi-modal settings, the text modality has the strongest influence on memorization, followed by video, then image, and finally audio.
- Misalignment is the Culprit: The most memorized samples aren't just "noisy"; they are typically semantically misaligned across all modalities—for example, a video where the audio and the caption have nothing to do with the visual content.
- Pattern-Driven Behavior: Multi-modal models behave more like self-supervised learning (SSL) models than supervised ones. They memorize complex cross-modal patterns rather than just simple labels.
- Robustness: The MultiMem metric is remarkably stable. As shown in Figure 2, it remains consistent regardless of how the held-out comparison set ($H$) is composed or how large it is.
Key Results
The authors found a clear negative correlation: higher memorization leads to worse generalization. By applying their MultiMem-based mitigation strategies, they achieved:
- Performance Gains: Up to 8% improvement in retrieval tasks and 10% in zero-shot classification.
- Downstream Success: A 4% boost in traditional downstream classification tasks.
- Strategy Comparison: In-training mitigation generally performed better than post-training removal because it preserves the "modality gap," which is crucial for high-performing multi-modal models.
Limitations and Future Work
While MultiMem is effective, the "leave-one-out" approach is computationally demanding, as it requires training multiple model versions. Although the authors used a dataset-splitting proxy to reduce this overhead to less than 1%, scaling this to massive, billion-scale datasets remains a challenge.
Future work could explore more efficient ways to approximate these scores or investigate how memorization dynamics change in even larger models (like LLM-based multi-modal systems) where the "text" modality might become even more dominant.
Summary updated