paper-with-me

Papers

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

2025-11-03 · Hossein Abdi, Mingfei Sun, Wei Pan arxiv

Vision-language pre-trained 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.

📄 PDF Abstract BibTeX arXiv:2511.01694

Code (0)

등록된 구현이 없습니다.

Tasks

Image ClassificationBayesian Inference

Similar Papers 제목 키워드 기반

Training Restricted Boltzmann Machines with Binary Synapses using the Bayesian Learning Rule

2020-07-09 · Xiangming Meng

Restricted Boltzmann machines (RBMs) with low-precision synapses are much appealing with high energy efficiency. However, training RBMs with binary synapses is challenging due to the discrete nature of synapses. Recently…

Variational Inference

DC-SGD: Differentially Private SGD with Dynamic Clipping through Gradient Norm Distribution Estimation

2025-03-29 · Chengkun Wei, Weixian Li, Chen Gong, Wenzhi Chen

Differentially Private Stochastic Gradient Descent (DP-SGD) is a widely adopted technique for privacy-preserving deep learning. A critical challenge in DP-SGD is selecting the optimal clipping threshold C, which involves…

Deep Learningimage-classificationImage ClassificationPrivacy Preserving+1

Exploring the Limits of Differentially Private Deep Learning with Group-wise Clipping

2022-12-03 · Jiyan He, Xuechen Li, Da Yu, Huishuai Zhang 외

Differentially private deep learning has recently witnessed advances in computational efficiency and privacy-utility trade-off. We explore whether further improvements along the two axes are possible and provide affirmat…

Computational Efficiency

Robust Stochastic Gradient Posterior Sampling with Lattice Based Discretisation

2026-02-17 · Zier Mensch, Lars Holdijk, Samuel Duffield, Maxwell Aifer 외 arxiv

Stochastic-gradient MCMC methods enable scalable Bayesian posterior sampling but often suffer from sensitivity to minibatch size and gradient noise. To address this, we propose Stochastic Gradient Lattice Random Walk (SG…

MIP: CLIP-based Image Reconstruction from PEFT Gradients

2024-02-26 · Peiheng Zhou, Ming Hu, Xiaofei Xie, Yihao Huang 외

Contrastive Language-Image Pre-training (CLIP) model, as an effective pre-trained multimodal neural network, has been widely used in distributed machine learning tasks, especially Federated Learning (FL). Typically, CLIP…

Federated LearningImage Reconstructionparameter-efficient fine-tuningReconstruction Attack