mlsanityData to 14 Oct 2026

KerZOO: Kernel Function Informed Zeroth-Order Optimization for Accurate and Accelerated LLM Fine-Tuning

arXiv 2505.18886 ↗First posted 24 May 2025cs.LGcited by 5

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) have demonstrated impressive capabilities across numerous NLP tasks. Nevertheless, conventional first-order fine-tuning techniques impose heavy memory demands, creating practical obstacles to real-world applications. Zeroth-order (ZO) optimization has recently emerged as a promising memory-efficient alternative, as it circumvents the need for backpropagation by estimating gradients solely through forward passes--making it particularly suitable for resource-limited environments. Despite its efficiency, ZO optimization suffers from gradient estimation bias, which significantly hinders convergence speed. To address this, we analytically identify and characterize the lower-order bias introduced during ZO-based gradient estimation in LLM fine-tuning. Motivated by tools in mathematical physics, we introduce a kernel-function-based ZO framework aimed at mitigating this bias and improving optimization stability. KerZOO achieves comparable or superior performance to existing ZO baselines in both full-parameter and parameter-efficient fine-tuning settings of LLMs, while significantly reducing the number of iterations required to reach convergence. For example, KerZOO reduces total GPU training hours by as much as 74% and 44% on WSC and MultiRC datasets in fine-tuning OPT-2.7B model and can exceed the MeZO baseline by 2.9% and 2.6% in accuracy. We show that the kernel function is an effective avenue for reducing estimation bias in ZO methods.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 39 of its 61 references that are in the map. First posted on arXiv 24 May 2025.

Builds on

39 of 61 references.

References · 39

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  6. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  7. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  8. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
  9. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
  10. 2015A large annotated corpus for learning natural language inferencecited by 1,847
  11. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
  12. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
27 more
  1. 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 903
  2. 2024DoRA: Weight-Decomposed Low-Rank Adaptationcited by 758
  3. 2013Stochastic First- and Zeroth-order Methods for Nonconvex Stochastic Programmingcited by 724
  4. 2017ZOO: Zeroth Order Optimization based Black-box Attacks to Deep Neural Networks without Training Substitute Modelscited by 666
  5. 2024GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projectioncited by 463
  6. 2018WiC: the Word-in-Context Dataset for Evaluating Context-Sensitive Meaning Representationscited by 372
  7. 2023Fine-Tuning Language Models with Just Forward Passescited by 345
  8. 2019An Investigation into Neural Net Optimization via Hessian Eigenvalue Densitycited by 292
  9. 2021VisualGPT: Data-efficient Adaptation of Pretrained Language Models for Image Captioningcited by 191
  10. 2016Eigenvalues of the Hessian in Deep Learning: Singularity and Beyondcited by 159
  11. 2022Revisiting Weakly Supervised Pre-Training of Visual Perception Modelscited by 116
  12. 2024Revisiting Zeroth-Order Optimization for Memory-Efficient LLM Fine-Tuning: A Benchmarkcited by 114
  13. 2018Zeroth-Order Stochastic Variance Reduction for Nonconvex Optimizationcited by 111
  14. 2023DeepZero: Scaling up Zeroth-Order Optimization for Deep Model Trainingcited by 76
  15. 2024Sparse MeZO: Less Parameters for Better Performance in Zeroth-Order LLM Fine-Tuningcited by 54
  16. 2024Variance-reduced Zeroth-Order Methods for Fine-Tuning Language Modelscited by 54
  17. 2024Second-Order Fine-Tuning without Pain for LLMs:A Hessian Informed Zeroth-Order Optimizercited by 53
  18. 2024Private Fine-tuning of Large Language Models with Zeroth-order Optimizationcited by 41
  19. 2020Efficient On-Chip Learning for Optical Neural Networks Through Power-Aware Sparse Zeroth-Order Optimizationcited by 24
  20. 2016Highly-Smooth Zero-th Order Online Optimization Vianney Perchetcited by 23
  21. 2025Harmony in Divergence: Towards Fast, Accurate, and Memory-efficient Zeroth-order LLM Fine-tuningcited by 18
  22. 2024Pretrained Optimization Model for Zero-Shot Black Box Optimizationcited by 13
  23. 2023Gradient-free optimization of highly smooth functions: improved analysis and a new algorithmcited by 12
  24. 2023Certified Zeroth-order Black-Box Defense with Robust UNet Denoisercited by 11
  25. 2021An Even More Optimal Stochastic Optimization Algorithm: Minibatching and Interpolation Learningcited by 10
  26. 2023Accelerated Zero-Order SGD Method for Solving the Black Box Optimization Problem under "Overparametrization" Conditioncited by 4
  27. 2024Accelerated zero-order SGD under high-order smoothness and overparameterized regimecited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 2.

5 papers.