Manuscript Offprint

arXiv:2610.02199

TACO: Ternary Absolute-max Column-wise One-sparse Optimizer for LLM Fine-Tuning

Jichao Jiang, Cristian McGee, El Houcine Bergou, Hanqin Cai, Aritra Dutta

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Full-parameter fine-tuning of large language models (LLMs) incurs substantial optimizer state memory overhead, limiting the model sizes that fit on modern GPUs. Existing approaches either compress optimizer state, abandon first-order gradients, or change the update geometry while retaining dense state. The recently introduced Muon optimizer reduces optimizer memory through matrix-valued updates. Still, its geometry differs from AdamW and can lead to performance degradation when fine-tuning AdamW-pretrained models. To reduce optimizer memory without sacrificing accuracy or computational efficiency in LLM fine-tuning, we propose Ternary Absolute-max Column-wise One-sparse optimizer, or TACO, which follows Muon's operator-norm steepest-descent view but takes the geometric route further. TACO computes the exact steepest-descent direction under a dimension-normalized 1→11 \rightarrow 1 operator norm by selecting the sign of the largest magnitude entry in each column of two-dimensional weight matrices. This retains first-order gradients while making optimizer state memory nearly negligible. Our practical TACO optimizer maintains only a small set of low precision gradient components per column, reducing persistent optimizer state by 174×174 \times relative to AdamW8bit (from 27.7 GB to 0.16 GB) and peak training memory by 2.9×2.9 \times (from 80.6 GB to 27.5 GB) on OPT-13B, while achieving comparable accuracy and runtime. TACO further enables full-parameter fine-tuning of 30-32B-parameter models on a single 80 GB H100 GPU across multiple model families and tasks. Our code is available at: github.com/Jichao2357/TACO_optimizer.

1 INTRODUCTION

Full-parameter fine-tuning adapts all model weights and remains a strong baseline for transferring large language models (LLMs) to downstream tasks (Houlsby et al., 2019; Hu et al., 2021); however, it often suffers from memory overhead. For instance, a 13B-parameter model occupies roughly 26 GB of memory in BF16 before allocating any training state. During AdamW (Loshchilov & Hutter, 2019) fine-tuning, the two FP32 moment buffers add another ∼\sim 104 GB of memory. At the same time, gradients contribute ∼\sim 26 GB, yielding roughly 156 GB before accounting for activations, temporary workspaces, or an optional FP32 master copy; see the Pareto frontier memory-accuracy trade-off graph in Figure 1. Thus, at this scale, AdamW's persistent optimizer states alone require roughly 4×4 \times the BF16 parameter memory.

Several memory-efficient first-order optimizers reduce this overhead while retaining backpropagation, including state-quantizers (AdamW8bit quantizes optimizer states (Dettmers et al., 2021); FlashAdamW combines 8-bit optimizer states with a compact master-weight representation (Gonzalez Ortiz et al., 2026)), factorized second moment methods (Adafactor uses factorized second-moment estimates (Shazeer & Stern, 2018)), and low-rank gradient methods (GaLore projects gradients and optimizer states into a low-rank subspace (Zhao et al., 2024), and APOLLO-Mini uses a rank-1 subspace to estimate adaptive scaling factors (Zhu et al., 2025)). In contrast, zeroth-order (ZO) methods avoid backpropagation and approach inference-level memory by estimating updates from forward evaluations (Bergou et al., 2020; Bibi et al., 2020; Gorbunov et al., 2020; Cai et al., 2021; Malladi et al., 2023; Boucherouite et al., 2024). Recent variants incorporate low-rank subspaces or curvature information to improve query efficiency (Yu et al., 2025; Zhao et al., 2025; Kim et al., 2025), but still require additional forward queries.

Figure

OPT-30B peak memory decomposition

Figure 1: Performance–memory overview of TACO and other optimizers. Left: Pareto frontier memory-accuracy trade-off for fine-tuning OPT-13B on the SST-2 dataset on an 80 GB H100 GPU. TACO lies at the low-memory end of the Pareto frontier, achieving 94.22% accuracy with 27.54 GB of peak training memory. The dashed line connects the Pareto-optimal methods. The vertical line marks the 80 GB H100 memory limit. Adam achieves 95.3% accuracy with 254.8 GB of peak memory. Right: Peak GPU memory decomposition of TACO on OPT-30B across 8 downstream tasks. The bars show model state, optimizer state, and other transient memory across all eight downstream tasks. TACO's optimizer state occupies only 0.267 GB, less than 0.5% of peak memory on each task, while the transient memory accounts for the variation across tasks.

The recently introduced Muon optimizer (Jordan, 2024; Bernstein & Newhouse, 2024; Shah et al., 2025) asks a different question: what steepest-descent direction under a matrix geometry makes the update useful? Muon treats two-dimensional weights as matrices, retains a single momentum matrix, and orthogonalizes it to approximate a steepest-descent step under spectral geometry. This reduces optimizer memory relative to AdamW, although Muon's state remains dense. Additionally, switching an AdamW-pretrained model to Muon during fine-tuning can degrade performance, a phenomenon called optimizer mismatch that is attributed to the different update geometries and implicit biases of the two optimizers (Qu et al., 2026).

Zeroth-Order Muon (ZO-Muon) (Lang et al., 2026) improves query efficiency, but as a zeroth-order method, it requires additional forward evaluations. Sequential evaluation for ZO methods can keep memory close to inference, but the additional function evaluations can increase computational and communication overhead, especially in distributed training or with larger batches.

Thus, existing approaches, including Muon, expose a fundamental trade-off between the memory footprint of first-order training and the optimization efficiency of standard gradients, prompting a natural question:

Can full-parameter fine-tuning retain first-order information and competitive wall-clock efficiency while making persistent optimizer-state memory nearly negligible?

To answer this, we propose TACO, a Ternary Absolute-max Column-wise One-sparse optimizer. Using the same operator-norm steepest-descent viewpoint as Muon, TACO is not just another memory-efficient optimizer; TACO's conceptual centerpiece is an optimization geometry whose exact steepest-descent direction has extreme structural sparsity. Under a dimension-normalized 1→11 \rightarrow 1 operator norm, the corresponding dual geometry makes the steepest-descent direction separable across columns, and each column selects the sign of its largest-magnitude gradient coordinate. Thus, an m×nm \times n update contains at most nn nonzeros.

Although the TACO steepest-descent direction is one-sparse per column, minibatch gradients can make the selected coordinates unstable across training. A conventional dense gradient history can stabilize coordinate selection but erodes the memory advantage. TACO instead retains only a small, low-precision set of dynamic gradient heavy hitters per column. This sparse gradient history keeps persistent optimizer-state memory negligible even as model size grows. For example, TACO can fine-tune OPT-30B on a single 80 GB H100 GPU, with peak GPU memory of 62.5 GB on SST-2, 64.7 GB on RTE, and 68.1 GB on BoolQ; see Peak GPU memory decomposition in Figure 1. Adam does not fit this model on a single H100 80 GB GPU. Across our study, TACO enables full-parameter fine-tuning of models up to 32B parameters on a single 80 GB H100 and transfers across multiple model families and tasks.

Taken together, our main contributions are:

(i) Geometry-induced sparse optimization. We propose TACO, a new first-order optimizer for memory-efficient full-parameter LLM fine-tuning. TACO is derived from the exact steepest-descent solution under a dimension-normalized 1→11 \rightarrow 1 operator norm, whose geometry naturally yields a ternary, column-wise Top-1 update. Thus, TACO's sparsity is intrinsic to its optimization geometry rather than imposed by post-hoc gradient sparsification; see Section 3.

(ii) Convergence and fine-tuning theory. We prove that vanilla TACO reaches an ε\varepsilon-stationary point in O(ε−2)\mathcal{O}(\varepsilon^{-2}) iterations under standard smoothness assumptions. We further show that, in our theoretical setting, TACO shares the continuation geometry and limiting solution of an Adam proxy while differing from Muon, and satisfies standard μ\muP spectral scaling under balanced winner counts. These results connect TACO to optimizer mismatch and the learning rate transfer problem; see Sections 3 and 4.

(iii) TACO-specific memory-efficient design. TACO does not require an accurate dense model of the gradient history, but only enough information to recover the dominant coordinate in each column. Exploiting this structure, we develop a practical implementation based on dynamic FP8 sparse gradient histories and immediate gradient processing, reducing persistent state from O(mn)\mathcal{O}(mn) to O(n)\mathcal{O}(n) while retaining first-order gradients and the column-wise Top-1 update; see Section 5.

(iv) Empirical validation at scale. We evaluate TACO across model scales, architectures, and downstream tasks. TACO achieves competitive task performance with substantially reduced training memory, enables full-parameter fine-tuning of OPT-30B and Qwen3-32B on a single 80 GB H100 GPU, and transfers across OPT, Qwen3, Pythia, Llama, and Mistral model families. Ablations further characterize the roles of the gradient history EMA decay factor, heavy hitter threshold, update sparsity, and optimizer step budget; see Section 6.

References (49)