TL;DR
TACO is a new first-order optimizer that reduces LLM fine-tuning memory overhead by up to 174× compared to 8-bit AdamW. By leveraging a unique "one-sparse" update geometry, it enables full-parameter fine-tuning of 30B+ models on a single 80GB GPU while maintaining accuracy comparable to standard dense optimizers.
What Problem Does This Paper Address?
Fine-tuning Large Language Models (LLMs) is notoriously memory-intensive. While a 13B model might take 26 GB just to store its weights, a standard optimizer like AdamW requires two additional "moment" buffers in FP32, ballooning the total memory requirement to over 150 GB. This forces researchers to use expensive multi-GPU setups or settle for parameter-efficient methods like LoRA.
Existing solutions have drawbacks: 8-bit quantization helps but still leaves a significant footprint; low-rank methods like GaLore add projection overhead; and newer optimizers like Muon can suffer from "optimizer mismatch," where the fine-tuning geometry differs too much from the AdamW geometry used during pre-training, leading to performance drops. The authors of TACO asked: Can we keep first-order gradient information but make the optimizer state memory virtually disappear?
Methods
TACO (Ternary Absolute-max Column-wise One-sparse) is built on a specific mathematical foundation: steepest descent under a dimension-normalized $1 \to 1$ operator norm.
Key technical components include:
- Intrinsic Sparsity: Unlike methods that prune gradients after the fact, TACO’s math naturally dictates a sparse update. For every column in a weight matrix, TACO selects only the single entry with the largest magnitude and uses its sign (+1, 0, or -1). This results in an $m \times n$ update with at most $n$ non-zero entries.
- Dynamic Heavy Hitters: To stabilize training without storing a massive dense gradient history, TACO maintains a "sparse history." It keeps only the top $k=16$ largest gradient components per column, stored in low-precision FP8 E4M3 format with
int32indices. - Geometry-Derived Scaling: It uses a scaling factor ($m/n$) derived directly from the dimension normalization, ensuring the update magnitude remains consistent regardless of the layer's shape.
Datasets
The researchers evaluated TACO across a diverse range of benchmarks and model families:
- Models: OPT (1.3B to 30B), Qwen3 (8B to 32B), Pythia-12B, Llama-3.1-8B, and Mistral-24B.
- Tasks: Classification (SST-2, RTE, BoolQ, CB), multiple-choice reasoning (COPA, MultiRC), and question answering (SQuAD, DROP).
Key Insights and Ideas
- Solving the Mismatch: A major "aha" moment is the discovery that TACO’s update path (its "continuation geometry") is theoretically equivalent to a proxy of AdamW. This explains why it performs better than Muon when fine-tuning models that were originally pre-trained with AdamW.
- $\mu$P Scaling for Free: The authors prove that TACO satisfies standard Maximal Update Parameterization ($\mu$P) spectral scaling. In practice, this means the same learning rate ($3 \times 10^{-5}$) worked perfectly across models ranging from 1.3B to 30B parameters, eliminating the need for tedious hyperparameter tuning at scale.
- Memory Efficiency vs. Accuracy: TACO occupies a unique spot on the Pareto frontier. It uses significantly less memory than GaLore or Adafactor while achieving higher accuracy than zeroth-order methods like MeZO.
Key Results
- Massive Memory Savings: On OPT-13B, TACO reduced persistent optimizer state from 27.7 GB (AdamW8bit) to just 0.16 GB—a 174× reduction. Peak training memory dropped from 80.6 GB to 27.5 GB.
- Single-GPU Scaling: TACO successfully fine-tuned 30B and 32B parameter models on a single 80GB H100 GPU. For context, AdamW cannot fit these models on a single H100 even with 8-bit quantization.
- Competitive Performance: Across eight downstream tasks, TACO maintained accuracy within 1-2% of dense AdamW, often outperforming other memory-efficient baselines like APOLLO-Mini or Muon.
- Throughput: While slightly slower than FlashAdamW (which uses highly optimized fused kernels), TACO is significantly faster than low-rank methods like GaLore (276 tokens/s vs 31 tokens/s on OPT-13B).
Limitations and Future Work
- Task-Specific History: While a gradient history ($\mu=0.95$) helped most tasks, generation tasks like SQuAD and DROP actually performed better with a history-free ($\mu=0$) setting. The authors suggest a uniform default, but there is room to optimize this per task.
- Kernel Optimization: The current implementation uses standard PyTorch hooks. Developing custom fused kernels for the "heavy hitter" selection could further improve training throughput.
- Pre-training: This paper focuses exclusively on fine-tuning. Whether TACO’s extreme sparsity can support stable training from scratch (pre-training) remains an open and exciting question.
Summary updated