atlas

Research map / Large language models / Instruction and fine-tuning

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

NeurIPS 2025 · Large language models › Instruction and fine-tuning · approach: Efficient LLM fine-tuning systems · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Bilevel-ZOFO, which runs FO-PEFT (inner, lower-level) and ZO full-backbone updates (outer) under a penalized bilevel/minimax formulation, to get faster and prompt-robust LLM fine-tuning plus a meta-learning variant.

Problem

Full fine-tuning of LLMs with first-order optimizers is memory-heavy, PEFT often underperforms full fine-tuning, and zeroth-order (MeZO) full fine-tuning converges slowly and is highly sensitive to prompt choice.

Approach

Treat PEFT parameters as the solution of an inner (lower-level) problem updated with first-order gradients, and update the full backbone at the outer level with SPSA zeroth-order gradients, using a penalty-based minimax reformulation of the bilevel problem with convergence guarantees.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use Bilevel-ZOFO with LoRA rather than FO LoRAOPT-1.3B single-task fine-tuning · OPT-1.3B single-task averageaccuracy/F1: 0.7330 -> 0.7410Helped
use Bilevel-ZOFO rather than MeZOOPT-1.3B single-task fine-tuning · OPT-1.3B single-task averageaccuracy/F1: 0.6529 -> 0.7158Helped
use Bilevel-ZOFO rather than FO PEFTLlama2-7B single-task fine-tuning · Llama2-7B single-task averageaccuracy/F1: 0.8356 -> 0.8394Helped
remove the task promptBilevel-ZOFO on SST-2 · SST-2accuracy: 93.3 -> 92.9; -0.4No clear effect
remove the task promptMeZO on SST-2 · SST-2accuracy: 89.6 -> 51.9; -38.6Hurt
replace exact first-order PEFT gradients with zeroth-order updates (ablation)Bilevel-ZOFO · BoolQ, CB, COPA, SST-2accuracy: BoolQ 0.6280 vs 0.7367; CB 0.6092 vs 0.7679; COPA 0.7146 vs 0.7633; SST2 0.7633 vs 0.8335Hurt
replace bilevel optimization with a two-stage FO-then-ZO pipeline (ablation)Bilevel-ZOFO · BoolQaccuracy: 0.7060 vs 0.7367Hurt
jointly optimize backbone and PEFT parameters instead of using the bilevel structure (ablation)Bilevel-ZOFO · BoolQaccuracy: 0.7209 vs 0.7367Hurt
vary the regularization parameter λ (ablation)Bilevel-ZOFO · single-task experimentsaccuracyMixed
reduce the number of upper-level updates (ablation)Bilevel-ZOFO · single-task experimentsaccuracyHurt
vary the lower-level/upper-level data split (ablation)Bilevel-ZOFO · single-task experimentsaccuracyMixed
LoRA-tune the meta-trained model for 10 additional iterationsBilevel-ZOFO meta-learning · GPT2-Large meta-learning tasksMacro-averaged F1: class → class 34.5 -> 47.1; non_class → class 34.3 -> 42.4; qa → qa 41.8 -> 43.5 (1.3); non_qa → qa 40.4 -> 41.9Helped

Surprising findings

Limitations

Experimental setup

Datasets: SST-2 BoolQ CB COPA ReCoRD RTE WIC WinoGrande WSC SQuAD CrossFit UnifiedQA

Benchmarks: SST-2 BoolQ CB COPA ReCoRD RTE WIC WinoGrande WSC SQuAD

Metrics: accuracy F1 macro-averaged F1 peak memory step duration

Baselines: MeZO FO PEFT (LoRA, prefix, prompt tuning) Bilevel-ZOZO Two-Stage Pipeline MetaICL ICL

Builds on: MeZO penalty-based bilevel optimization LoRA prefix tuning MetaICL

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy