arXiv Machine Learning
Nov 2

Bilevel ZOFO: Efficient LLM Fine-Tuning and Meta-Training

Bilevel-ZOFO is a bilevel optimization framework that combines fast, low‑memory first‑order (FO) parameter‑efficient fine‑tuning (PEFT) in the inner loop with stable, memory‑efficient zeroth‑order (ZO) updates of the full model in the outer loop. This design reduces the variance of ZO gradient estimates, stabilizes training, and mitigates prompt sensitivity while preserving the full model’s capacity. Empirical results show Bilevel-ZOFO achieves 2–4× faster training than existing ZO and FO‑PEFT methods while maintaining similar memory efficiency, and it functions as an efficient meta‑learning algorithm for rapid few‑shot adaptation.

By Reza Shirkavand, Peiran Yu, Qi He, Heng Huang