# Geometry-Aware Zeroth-Order Optimization for Fine-Tuning Quantized LLMs

*Shaocong Ma, Weidong Cai, Heng Huang*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/155279) · [Open on the map](../papers.html#p155279)

Category: [Efficient LLM Inference & Training](../pcat/14.md) › [Zeroth-Order Fine-Tuning](../pgroup/149.md) · Type: new method · Keywords: zeroth-order optimization, Riemannian optimization, quantized LLMs, geometry-aware methods, memory-efficient fine-tuning

## Summary
HoZO is a geometry-aware zeroth-order optimization framework that fine-tunes quantized LLMs stably on a single GPU while achieving a 34× memory reduction.

## Explained to a 5-year-old
We want to make big computer programs that understand words work better on a small computer. The program uses a special way to learn that doesn't need lots of memory. It also makes sure the numbers used to make the program smaller stay positive, so it doesn't break. This helps the program learn new things without needing a huge amount of memory. As a result, we can train the program on a regular computer instead of a super big one.

## Explained to a 5-year-old, longer
Imagine you have a very big robot that can talk and understand words, but it needs a lot of memory to learn new things. Usually you need a huge computer with lots of memory to change it a little for a new task. This paper finds a way to do that learning using only a small amount of memory. It does this by using a special learning method that looks at the problem like a smooth surface, not like a straight line. The method also makes sure that the tiny numbers that control how small the robot is stay positive, which prevents them from becoming zero or negative. This keeps the robot stable while it learns. The new method can be run on a single regular computer with 48 gigabytes of memory, which is much less than before. It can even fine-tune a very large version of the robot that is 70 billion parameters and only 4 bits per parameter. The experiments show that the robot works better on many different tasks and uses far less memory than the old way. The authors also prove that their method is as good as the best possible method in theory. Overall, this makes it possible for more people to personalize big language models without needing super expensive hardware.

## For a technical reader
The paper presents a Riemannian zeroth-order optimizer that respects positivity constraints of quantized model parameters, enabling stable fine-tuning on a single GPU. It derives a geodesically complete metric and a closed-form exponential map to avoid biased projections. Empirical results show significant memory savings and performance gains across multiple tasks and model sizes, with a theoretical guarantee of optimal oracle complexity.

## Problem
Fine-tuning large language models with zeroth-order optimization on a single GPU requires aggressive quantization, which destabilizes training due to constraints on quantization scale parameters. Existing methods treat these positive parameters as Euclidean variables, causing boundary violations and optimization difficulties.

## Method
The approach formulates fine-tuning as Riemannian optimization on the positive orthant manifold, constructs a geodesically complete metric, and uses a closed-form exponential map to enforce positivity constraints without bias-inducing projections. It operates in a zeroth-order setting, estimating gradients via function evaluations only. This geometry-aware framework enables stable optimization of quantized models on a single GPU.

## Results
HoZO outperforms baselines across six downstream tasks and three model sizes, achieving a 34× memory reduction compared to first-order fine-tuning and enabling stable fine-tuning of a 4-bit quantized Llama-2-70b model on a single 48GB GPU.

## Contributions
The paper introduces a geometry-aware Riemannian formulation for zeroth-order optimization that respects positivity constraints, provides theoretical proof of optimal oracle complexity, and demonstrates substantial memory savings and stable training of heavily quantized LLMs on limited hardware.

## Practical relevance
The approach makes large language model fine-tuning feasible on modest GPUs, broadening access to advanced model personalization.

## Research questions this paper is counted under

- [How can zeroth-order optimization reduce variance while preserving model performance for fine-tuning large language models?](../q/414.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/155279)
