# Fine-Tuning Language Models with Just Forward Passes

- **ID:** 744
- **Kind:** paper
- **URL:** https://x.com/_emliu/status/2104590978443280483?s=20
- **Authors:** Sadhika Malladi, Tianyu Gao, Eshaan Nichani, Alex Damian, Jason D. Lee, Danqi Chen, Sanjeev Arora
- **Venue:** NeurIPS 2023
- **Published:** 2023
- **Source:** x
- **Language:** en
- **Access:** public
- **Tags:** zeroth-order, fine-tuning, memory-efficient, lora, neurips
- **Topics:** zeroth-order, fine-tuning, memory-efficient, lora, neurips
- **Added:** 2026-09-29
- **Verified:** 2026-09-29
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/744

## Summary

MeZO adapts zeroth-order (gradient-free) SGD to fine-tune language models using only forward passes, operating in-place with inference-level memory. Supports full-parameter and parameter-efficient tuning (LoRA, prefix tuning) and non-differentiable objectives.

## Research notes

- Discovery: NOTE: source_url duplicated from the hallucination-benchmark item above by assignment; the intended discovery source for this record is the 'Fine-Tuning Language Models with Just Forward Passes' (MeZO) discussion posted in #random-papers on 2026-09-28. Canonical paper located via arXiv search: 2305.17333v3; code: https://github.com/rxia0716/mezo.
- Method: Memory-efficient zeroth-order SGD: estimates gradients via forward-pass perturbations (simultaneous perturbation stochastic approximation style) applied in-place, avoiding activation storage for backprop.
- Key findings: Reported tuning a 30B model on a single A100 80GB (vs 2.7B with backprop), up to 12x lower memory, up to 2x lower GPU-hours than backprop-based tuning, and compatibility with LoRA/prefix tuning.
- Limitations: Zeroth-order methods typically need more steps / careful hyperparameters vs. backprop; reported gains are from the paper's own experiments. Latest arXiv revision 2024-01-11 (v3).
- The zeroth-order theme of this batch: MeZO (2023, fine-tuning) vs. EGGROLL (pretraining-scale ES) vs. the unverified @industriaalist pretraining claim.

## Related entries

- Related: [New hallucination benchmark accepted to NeurIPS 2026 Evaluations & Datasets track (X thread by @_emliu)](https://papers.projxon.ai/entries/743) (thread, #743)

## Similar entries

- [How to train your own Jev for $17 (Together Tev1 tutorial)](https://papers.projxon.ai/entries/1028) (post, #1028)
- [PiSSA: Principal Singular Values and Singular Vectors Adaptation of Large Language Models](https://papers.projxon.ai/entries/722) (paper, #722)
- [Kev 1.0: Open-Weight Family of Decision Models (Kev-27B, Kev-9B, Kev-4B, Kev-0.8B)](https://papers.projxon.ai/entries/854) (model, #854)
- [tev1 — Together open recipe to fine-tune a Jev-inspired decision model](https://papers.projxon.ai/entries/1030) (code, #1030)
- [Homebrew: an open agent that brews AI models with you](https://papers.projxon.ai/entries/1248) (code, #1248)
- [OpenBMB/MiniCPM](https://papers.projxon.ai/entries/705) (code, #705)
