Reproduce “OAT-Rephrase: Optimization-Aware Training Data Rephrasing for Zeroth-Order LLM Fine-Tuning” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Jikai Long, Zijian Hu, Xiaodong Yu, Jianwen Xie, Zhaozhuo Xu

OAT-Rephrase is a data-centric framework that uses an LLM-based rewriter to generate "optimization-aware" training data, specifically designed to improve the performance and stability of zeroth-order (ZO) fine-tuning methods like MeZO for large language models. It consistently yields average accuracy gains of 0.60% to 2.32% across various models and tasks, often narrowing or reversing the performance gap between MeZO and first-order optimization methods.

Key insights

  • Intelligently adapting training data, informed by the target optimization process, can substantially enhance the performance of zeroth-order methods beyond algorithmic tweaks.
  • Leveraging LLMs for optimization-aware data rephrasing can create a "smoother" loss landscape, stabilizing directional estimates for ZO and improving convergence.
  • The generated optimization-aware data is reusable and generalizable across different LLM architectures, providing a low-overhead, one-time preprocessing cost.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.