GRZO: Group-Relative Zeroth-Order Optimization for Large Language Model Fine-Tuning

Liyan Tan, Yequan Zhao, Yifan Yang, Ruijie Zhang, Xinling Yu, Zheng Zhang


Abstract
Zeroth-order (ZO) optimization is a memory-efficient alternative to backpropagation for fine-tuning large language models, but its deployment is limited by the high variance of gradient estimation. We propose **GRZO**, a **G**roup-**R**elative **Z**eroth-**O**rder optimizer that draws one pseudo-independent perturbation per mini-batch example and aggregates the per-example losses through group-relative normalization, raising the effective gradient-direction count from one to the batch size at no additional forward cost while preserving inference-level memory. We prove that GRZO is directionally unbiased with variance shrinking proportionally to the batch size, yielding a tighter nonconvex convergence bound than MeZO. Across RoBERTa-large, Llama3-8B, and OPT-13B over multiple tasks, GRZO improves average accuracy on Llama3-8B by +3.0 over MeZO while staying within 0.5% of the forward-only inference memory floor; as a drop-in replacement for the MeZO core, it lifts sparse, low-rank, and quantized ZO variants by +4.9 on average.
Anthology ID:
2026.findings-emnlp.1711
Volume:
Findings of the Association for Computational Linguistics: EMNLP 2026
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Hung-Yi Lee, Sunipa Dev, Jessy Li, Desmond Elliott
Venue:
Findings
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
36551–36581
Language:
URL:
https://aclanthology.org/2026.findings-emnlp.1711/
DOI:
Bibkey:
Cite (ACL):
Liyan Tan, Yequan Zhao, Yifan Yang, Ruijie Zhang, Xinling Yu, and Zheng Zhang. 2026. GRZO: Group-Relative Zeroth-Order Optimization for Large Language Model Fine-Tuning. In Findings of the Association for Computational Linguistics: EMNLP 2026, pages 36551–36581, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
GRZO: Group-Relative Zeroth-Order Optimization for Large Language Model Fine-Tuning (Tan et al., Findings 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.findings-emnlp.1711.pdf