paper-with-me

Papers

Zero-Order Optimization for LLM Fine-Tuning via Learnable Direction Sampling

2026-02-14 · Valery Parfenov, Grigoriy Evseev, Andrey Veprikov, Nikolay Bushkov, Stanislav Moiseev, Aleksandr Beznosikov arxiv

Fine-tuning large pretrained language models (LLMs) is a cornerstone of modern NLP, yet its growing memory demands (driven by backpropagation and large optimizer States) limit deployment in resource-constrained settings. Zero-order (ZO) methods bypass backpropagation by estimating directional derivatives from forward evaluations, offering substantial memory savings. However, classical ZO estimators suffer from high variance and an adverse dependence on the parameter dimensionality $d$, which has constrained their use to low-dimensional problems. In this work, we propose a policy-driven ZO framework that treats the sampling distribution over perturbation directions as a learnable policy and updates it to reduce the variance of directional estimates. We develop a practical algorithm implementing this idea and provide a theoretical analysis, showing that learned sampling distributions improve the quality of gradient information and relax the explicit dependence on $d$ in convergence bounds. Empirically, we validate the approach on challenging LLM fine-tuning benchmarks, demonstrating substantially improved performance compared to standard ZO baselines. Our results suggest that adaptive direction sampling is a promising route to make ZO fine-tuning viable at scale. The source code is available at https://github.com/brain-lab-research/zo_ldsd

📄 PDF Abstract BibTeX arXiv:2602.13659

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Efficient Zero-Order Federated Finetuning of Language Models for Resource-Constrained Devices

2025-02-14 · Mohamed Aboelenien Ahmed, Kilian Pfeiffer, Ramin Khalili, Heba Khdr 외

Federated fine-tuning offers a promising approach for tuning Large Language Models (LLMs) on edge devices while preserving data privacy. However, fine-tuning these models on edge devices remains challenging due to high m…

Federated Learning

Zeroth-Order Optimization Finds Flat Minima

2025-06-05 · Liang Zhang, Bingcong Li, Kiran Koshy Thekumparampil, Sewoong Oh 외

Zeroth-order methods are extensively used in machine learning applications where gradients are infeasible or expensive to compute, such as black-box attacks, reinforcement learning, and language model fine-tuning. Existi…

Binary ClassificationLanguage ModelingLanguage Modelling

Towards Fast LLM Fine-tuning through Zeroth-Order Optimization with Projected Gradient-Aligned Perturbations

2025-10-21 · Zhendong Mi, Qitao Tan, Grace Li Zhang, Zhaozhuo Xu 외 arxiv

Fine-tuning large language models (LLMs) using zeroth-order (ZO) optimization has emerged as a promising alternative to traditional gradient-based methods due to its reduced memory footprint requirement. However, existin…

Zeroth-Order Fine-Tuning of LLMs in Random Subspaces

2024-10-11 · Ziming Yu, Pan Zhou, Sike Wang, Jia Li 외

Fine-tuning Large Language Models (LLMs) has proven effective for a variety of downstream tasks. However, as LLMs grow in size, the memory demands for backpropagation become increasingly prohibitive. Zeroth-order (ZO) op…

Language ModelingLanguage Modelling

ZorBA: Zeroth-order Federated Fine-tuning of LLMs with Heterogeneous Block Activation

2026-02-19 · Chuiyang Meng, Ming Tang, Vincent W. S. Wong arxiv

Federated fine-tuning of large language models (LLMs) enables collaborative tuning across distributed clients. However, due to the large size of LLMs, local updates in federated learning (FL) may incur substantial video …

Federated Learning