Skip to main navigation Skip to search Skip to main content

Bayesian Natural Gradient Fine-Tuning of CLIP Models via Kalman Filtering

Research output: Chapter in Book/Conference proceeding › Conference contribution › peer-review

Abstract

Vision-language pretrained models, such as CLIP, have established new benchmarks in multimodal data mining. In such models, few-shot fine-tuning is a major challenge to achieve optimal performance on both in-distribution (ID) and out-of-distribution (OOD) datasets, especially when labeled data is scarce. Most existing fine-tuning approaches rely on first-order gradient-based optimizers, which typically suffer from slow convergence, sensitivity to step-size hyperparameters, and poor generalization in OOD settings. In contrast, second-order methods utilize local curvature information of the loss landscape to adjust the update step size. This is particularly beneficial for CLIP models, whose non-convex loss functions often contain sharp critical points. In such cases, natural gradient direction can offer more substantial and efficient per-iteration updates when fine-tuning with limited data. Natural Gradient Descent (NGD) is obtained by preconditioning the standard gradient with the inverse Fisher Information Matrix (FIM), which is computationally expensive for large models. To address this, we propose a Bayesian approximation of NGD using a Kalman filter for CLIP models. Our method combines the benefits of second-order optimization with Bayesian inference, which enhances generalization while providing uncertainty quantification. Extensive experiments conducted on diverse image classification datasets demonstrate that our algorithm consistently achieves superior-or comparable-ID performance and improved OOD robustness compared to state-of-the-art baselines. To the best of our knowledge, this work represents the first successful application of Kalman filtering to fine-tuning CLIP-based models, which enables more robust and efficient learning in vision-language tasks.

Original languageEnglish
Title of host publicationProceedings - 25th IEEE International Conference on Data Mining, ICDM 2025
EditorsWei Ding, Jilles Vreeken, Chang-Tien Lu, Dimitrios Gunopulos, Xindong Wu
PublisherIEEE
Pages1-10
Number of pages10
ISBN (Electronic)9798331595999
DOIs
Publication statusPublished - 2025
Event25th IEEE International Conference on Data Mining, ICDM 2025 - Washington, United States
Duration: 12 Nov 2025 → 15 Nov 2025

Publication series

NameProceedings - IEEE International Conference on Data Mining, ICDM
ISSN (Print)1550-4786

Conference

Conference25th IEEE International Conference on Data Mining, ICDM 2025
Country/TerritoryUnited States
CityWashington
Period12/11/25 → 15/11/25

Keywords

  • Bayesian Approach
  • CLIP model
  • Kalman Filter
  • Multimodal Data Mining
  • Out-of-Distribution

Fingerprint

Dive into the research topics of 'Bayesian Natural Gradient Fine-Tuning of CLIP Models via Kalman Filtering'. Together they form a unique fingerprint.
  • MCAIF: Centre for AI Fundamentals

    Kaski, S. (PI), Alvarez, M. (Researcher), Pan, W. (Researcher), Mu, T. (Researcher), Rivasplata, O. (PI), Sun, M. (PI), Mukherjee, A. (PI), Caprio, M. (PI), Sonee, A. (Researcher), Leroy, A. (Researcher), Wang, J. (Researcher), Lee, J. (Researcher), Parakkal Unni, M. (Researcher), Sloman, S. (Researcher), Menary, S. (Researcher), Quilter, T. (Researcher), Hosseinzadeh, A. (PGR student), Mousa, A. (PGR student), Glover, E. (PGR student), Das, A. (PGR student), Dursun, F. (PGR student), Zhu, H. (PGR student), Abdi, H. (PGR student), Dandago, K. (PGR student), Piriyajitakonkij, M. (PGR student), Rachman, R. (PGR student), Shi, X. (PGR student), Keany, T. (PGR student), Liu, X. (PGR student), Jiang, Y. (PGR student), Wan, Z. (PGR student), Harrison, M. (Support team), Hartford, J. (PI), Kangin, D. (Researcher), Harikumar, H. (PI), Dubey, M. (PI), Parakkal Unni, M. (PI), Dash, S. P. (PGR student), Mi, X. (PGR student), Barlas, Y. (PGR student), Osho, T. (Support team), Tariq, M. (Support team), Zhang, X. (Researcher), Nzoyem, R. D. (Researcher), Hudson, T. (Researcher) & Casado Tellechea, I. (Researcher)

    1/10/21 → 30/09/26

    Project: Research

Cite this