arXiv:cs.AI· Xuanlin Yang, Jia Li, Zhouchen Lin·· 1 天前
StructZO:面向内存高效 LLM 微调的结构化零阶优化
StructZO: Structured Zeroth-Order Optimization for Memory-Efficient LLM Fine-Tuning
AI 导读
StructZO 是一个面向内存高效 LLM 微调的结构化零阶(ZO)优化框架,在激活诱导的信息子空间内做大规模查询的 ZO 估计,并对降维后的更新施加谱控制再映射回原参数。
正文
Abstract:Fine-tuning large language models at scale is increasingly limited by the memory cost of backpropagation. Zeroth-Order (ZO) optimizers reduce this burden by relying only on forward function evaluations, but they still exhibit a substantial performance gap to first-order (FO) optimizers such as Adam. We argue that this gap does not arise solely from the absence of explicit gradients: FO fine-tuning also benefits from informative low-rank optimization geometry, large-scale signal aggregation, and well-conditioned update directions. Motivated by this, we introduce StructZO, a structured Zeroth-Order optimization framework for memory-efficient LLM fine-tuning. StructZO performs large-query ZO estimation within an activation-induced informative subspace and applies spectral control to the resulting reduced-space update before mapping it back to the original parameters. This lets ZO aggregate useful directional signals in a compact, geometry-aware space while avoiding the activation and optimizer-state memory costs of backpropagation. We show theoretically that, when the induced subspace captures concentrated optimization-relevant directions, StructZO reduces the effective ZO estimation dimension from $mn$ to $mr$, with the remaining projection error governed by the spectral tail of the activation Gram matrix. Empirically, across OPT-series and Llama3.1-8B on diverse downstreamtasks, StructZO improves over the strongest existing ZO baselines by up to $8.7%$ relative on average and up to $26.9%$ relative on individual tasks, while remaining within $1.5%$ of FO-Adam on average. These results suggest that structured and spectrally controlled ZO updates can substantially narrow the gap between ZO and FO optimization.
| Comments: | 20 pages |
| Subjects: | Machine Learning (cs.LG); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2610.16451 [cs.LG] |
| (or arXiv:2610.16451v1 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2610.16451 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Xuanlin Yang [view email]
[v1]
Mon, 12 Oct 2026 09:16:30 UTC (223 KB)
来源:arXiv:cs.AI · arxiv.org