atlas

Research map / Architectures and efficiency / Pruning and efficient tuning

Second-Order Fine-Tuning without Pain for LLMs: A Hessian Informed Zeroth-Order Optimizer

ICLR 2025 · Architectures and efficiency › Pruning and efficient tuning · approach: Adapter-based parameter-efficient tuning

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 HiZOO, a zeroth-order optimizer that estimates a diagonal Hessian with one extra forward pass per step to precondition SPSA-style updates for LLM fine-tuning, plus a low-rank memory-saving variant HiZOO-L.

Problem

Zeroth-order fine-tuning of LLMs (e.g., MeZO) converges slowly or unstably when parameters have heterogeneous curvatures, while first-order and classical second-order methods require prohibitive memory.

Approach

Estimate the diagonal Hessian from zeroth-order function evaluations (one extra forward pass per step) and use it as a preconditioner Σ^{1/2} in the SPSA-style update; compress the diagonal Hessian to rank-1 row/column factors (HiZOO-L, Adafactor-style) to cut memory.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace MeZO with diagonal-Hessian-informed HiZOORoBERTa-large · RoBERTa-large tasks, k=16average accuracy: 67.4 -> 70.9Helped
Replace MeZO with diagonal-Hessian-informed HiZOOOPT-30B · OPT-30B tasksaverage accuracy: 69.9 -> 71.0Helped
Replace MeZO(prefix) with HiZOO(prefix)OPT-66B · OPT-66B tasksaverage accuracy: 69.0 -> 71.7Helped
Use low-rank Hessian storage (HiZOO-L) instead of full diagonal-Hessian storage (ablation)HiZOO · Phi-2, Llama3, OPT-13B, and OPT-30Baverage accuracy: 74.3 -> 74.2; 75.5 -> 75.3; 72.1 -> 71.9; 71.0 -> 70.8Hurt
Use low-rank Hessian storage instead of full diagonal-Hessian storage (ablation)HiZOO · SST2 across models and tuning settingsmemory: 2.04x -> 1.12xHelped
Use low-rank Hessian storage instead of ZO-AdamHiZOO-L · SST2 across models and tuning settingsaccuracy: 86.1 -> 90.4Helped
Use low-rank Hessian storage instead of ZO-AdamHiZOO-L · SST2 across models and tuning settingsmemory: 2.47x -> 1.12xHelped
Increase Hessian estimation times per step (HiZOO-multi) (ablation)HiZOO · Test functions and training experimentsfinal accuracyNo clear effect
Increase Hessian estimation times per step (HiZOO-multi) (ablation)HiZOO · Training convergencetraining stepsHelped
Increase the EMA smooth scale α (ablation)HiZOO · RoBERTa-large, SNLItraining lossMixed
Replace MeZO with HiZOORoBERTa-large · SST2speedup: 8×Helped
Replace MeZO with HiZOORoBERTa-large · MNLIspeedup: 4×Helped

Surprising findings

Limitations

Experimental setup

Datasets: SST-2 SST-5 SNLI MNLI RTE TREC CB WSC WIC COPA MultiRC SQuAD

Benchmarks: SST-2 SST-5 SNLI MNLI RTE TREC CB WSC WIC COPA MultiRC SQuAD

Metrics: accuracy F1 training steps to convergence GPU memory wall-clock time per step

Baselines: MeZO ZO-SGD-MMT ZO-SGD-Cons ZO-SGD-Sign ZO-Adam Adam FT LoRA prefix tuning

Builds on: MeZO SPSA Adafactor MiNES

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