paper-with-me

Papers

Gradient constrained sharpness-aware prompt learning for vision-language models

2023-09-14 · Liangchen Liu, Nannan Wang, Dawei Zhou, Xinbo Gao, Decheng Liu, Xi Yang, Tongliang Liu

This paper targets a novel trade-off problem in generalizable prompt learning for vision-language models (VLM), i.e., improving the performance on unseen classes while maintaining the performance on seen classes. Comparing with existing generalizable methods that neglect the seen classes degradation, the setting of this problem is more strict and fits more closely with practical applications. To solve this problem, we start from the optimization perspective, and leverage the relationship between loss landscape geometry and model generalization ability. By analyzing the loss landscapes of the state-of-the-art method and vanilla Sharpness-aware Minimization (SAM) based method, we conclude that the trade-off performance correlates to both loss value and loss sharpness, while each of them is indispensable. However, we find the optimizing gradient of existing methods cannot maintain high relevance to both loss value and loss sharpness during optimization, which severely affects their trade-off performance. To this end, we propose a novel SAM-based method for prompt learning, denoted as Gradient Constrained Sharpness-aware Context Optimization (GCSCoOp), to dynamically constrain the optimizing gradient, thus achieving above two-fold optimization objective simultaneously. Extensive experiments verify the effectiveness of GCSCoOp in the trade-off problem.

📄 PDF Abstract BibTeX arXiv:2309.07866

Code (0)

등록된 구현이 없습니다.

Tasks

Prompt Learning

Methods 이 논문이 사용한 방법론

Sharpness-Aware Minimization Sharpness-Aware Minimization, or SAM, is a procedure that improves model generalization by simultaneously minimizing loss value and loss sharpness. SAM functions by…

Similar Papers 제목 키워드 기반

SharpZO: Hybrid Sharpness-Aware Vision Language Model Prompt Tuning via Forward-Only Passes

2025-06-26 · Yifan Yang, Zhen Zhang, Rupak Vignesh Swaminathan, Jing Liu 외

Fine-tuning vision language models (VLMs) has achieved remarkable performance across various downstream tasks; yet, it requires access to model gradients through backpropagation (BP), making them unsuitable for memory-co…

Language ModelingLanguage Modelling

SAMPLe: SAM-based Optimizer for Prompt Learning in VLMs

2026-07-07 · Hossein Rajoli, Fatemeh Lotfi, Niloufar Alipour Talemi, Hossein Kashiani 외 arxiv

Pre-trained Vision-Language Models (VLMs) like CLIP have proven highly effective as foundation models for various downstream applications. However, prompt learning in VLMs encounters a performance-generalization dilemma:…

Beyond Magic Words: Sharpness-Aware Prompt Evolving for Robust Large Language Models with TARE

2025-09-28 · Guancheng Wan, Lucheng Fu, Haoxin Liu, Yiqiao Jin 외 arxiv

The performance of Large Language Models (LLMs) hinges on carefully engineered prompts. However, prevailing prompt optimization methods, ranging from heuristic edits and reinforcement learning to evolutionary search, pri…

Reinforcement Learning

Sharpness-Aware Minimization with Z-Score Gradient Filtering for Neural Networks

2025-05-05 · Juyoung Yun

Sharpness-Aware Minimization (SAM) improves neural network generalization by optimizing the worst-case loss within a neighborhood of parameters, yet it perturbs parameters using the entire gradient vector, including comp…

Beyond Sharpness: A Flatness Decomposition Framework for Efficient Continual Learning

2026-01-12 · Yanan Chen, Tieliang Gong, Yunjiao Zhang, Wen Wen arxiv

Continual Learning (CL) aims to enable models to sequentially learn multiple tasks without forgetting previous knowledge. Recent studies have shown that optimizing towards flatter loss minima can improve model generaliza…

Continual Learning