Introduction
Vision-Language Models (VLMs), such as CLIP, have demonstrated remarkable zero-shot capabilities across diverse tasks. However, adapting these models to new information over time—a process known as Vision-Language Continual Learning (VLCL)—remains a significant challenge. Traditional approaches rely on First-Order (FO) optimization, or standard backpropagation. While precise, FO optimization often leads to "catastrophic forgetting," where the model overfits to new tasks and loses its grasp on previously learned knowledge. Furthermore, backpropagation is memory-intensive, requiring the storage of extensive activation chains and gradients, which limits the scalability of fine-tuning large-scale VLMs.
To address these hurdles, researchers have introduced MoZO (Modality-aware Zeroth-Order optimization). MoZO leverages Zeroth-Order (ZO) optimization—a gradient-free method that estimates the loss function's slope using random perturbations—to improve both the stability and efficiency of continual learning.
The MoZO Framework: Modality-Aware Optimization
Unlike naive applications of ZO optimization, which can be unstable in high-dimensional spaces, MoZO adopts a surgical, modality-aware strategy. The core innovation lies in recognizing that vision and language encoders respond differently to perturbations. The researchers explored various configurations to determine whether ZO should be applied at the branch level (Vision vs. Language) or the layer level.
Key Methodological Innovations
- Branch and Layer Exploration: The study systematically evaluated applying ZO to specific components. They tested "Dual ZO" (both branches), modality-specific ZO (Vision-only or Language-only), and layer-wise strategies like "Hop-odd" (applying ZO to odd-numbered layers) or "Prefix/Suffix" (applying ZO to the first or last six layers).
- Gradient Sign Normalization: To mitigate the high variance inherent in random perturbations, MoZO utilizes only the direction (the sign) of the estimated gradient, discarding potentially erratic magnitudes that could lead to training divergence.
- Modality-Specific Perturbation Control: The authors discovered a "modality gap" in optimization: the vision branch is significantly more sensitive to noise than the language branch. MoZO compensates by applying a smaller perturbation factor ((\epsilon)) to vision layers while allowing the language branch more room for exploration.
- Hybrid ZO-FO Strategy: The most effective configuration, "Hop-odd," interleaves ZO and FO layers. This allows traditional backpropagation to act as a stabilizing "anchor" while the ZO layers help the model escape sharp, suboptimal local minima.
Experimental Results and Insights
The MoZO framework was evaluated on standard Class-Incremental Learning (CIL) benchmarks, including CIFAR-100, Tiny-ImageNet, and ImageNet-R.
Stability and Loss Convergence
A critical finding was the impact of modality-specific optimization on training stability. As shown in the loss curves, naive "Dual ZO" or "Vision-only ZO" often results in higher loss and greater oscillation. By contrast, the "Language w/ ZO" and hybrid strategies provide much smoother convergence, demonstrating that the language branch is more robust to gradient-free updates.
Efficiency and Performance
MoZO achieved state-of-the-art accuracy across all benchmarks while providing massive gains in efficiency:
- Memory Reduction: Applying ZO to the entire trainable portion of the model resulted in an 89.1% reduction in GPU memory consumption compared to standard FO optimization. Even partial application to the vision branch reduced memory usage by over 65%.
- Accuracy: On the CIFAR-100 (Inc10) benchmark, MoZO outperformed existing baselines in both average accuracy and final task performance, proving that efficiency does not have to come at the cost of precision.
Conclusion
MoZO represents a significant step forward for Vision-Language Continual Learning. By moving away from a one-size-fits-all optimization approach and acknowledging the unique sensitivities of vision and language data, the researchers have created a framework that is both more stable and significantly more memory-efficient than traditional backpropagation. Future work will look to extend these insights to other multimodal architectures, such as those involving audio or video, and further refine the hyperparameter tuning required for different data distributions.
Summary updated