Zero-Order Sharpness-Aware Minimization

Yao Fu, Yihang Jin, Chun-Xia Zhang, Junmin Liu, Haishan YeOpenReview 2026 · Submission to ICLR 2026 · Desk rejected

Abstract

Prompt learning has become a key method for adapting large language models to specific tasks with limited data. However, traditional gradient-based optimization methods for tuning prompts are computationally intensive, posing challenges for efficiency. We introduce ZOSA (Zero-Order Sharpness-Aware Minimization), a novel optimization framework that integrates zero-order optimization with sharpness-aware minimization to enhance prompt tuning. ZOSA employs Rademacher perturbation vectors to estimate gradients without requiring backpropagation. By incorporating sharpness-aware principles, it targets flat minima in the loss landscape, improving generalization. An adaptive learning rate, guided by loss variability, further ensures stable convergence. Experiments on few-shot learning tasks, such as text classification and natural language inference, show that ZOSA significantly outperforms existing methods. With its theoretical foundation and computational efficiency, ZOSA offers a practical solution for prompt-based learning in resource-limited settings.
BibTeX
@misc{fu2026zero,
  author = {Yao Fu and Yihang Jin and Chun-Xia Zhang and Junmin Liu and Haishan Ye},
  title = {{Zero-Order Sharpness-Aware Minimization}},
  year = {2026},
  url = {https://openreview.net/forum?id=elFNG9Qr6p},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure