NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Zeroth-Order Sharpness-Aware Learning with Exponential Tilting

Xuchen Gong, Tian Li

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: Efficient LLM Inference & Training › Zeroth-Order LLM Optimization · Type: new method · Keywords: zeroth-order optimization, sharpness-aware minimization, exponential tilting, gradient-free learning, generalization, soft SAM

Summary

The paper introduces a gradient-free zeroth-order algorithm that uses an exponential tilting objective to smoothly interpolate between average and max loss, providing a soft SAM objective for better generalization.

Explained to a 5-year-old

People want computers to learn without using complicated math. They look at many small changes to a model and try to keep the loss both low on average and not too high anywhere. This helps the computer do better on new tasks. It works even when you can't calculate gradients. It makes learning easier and uses less memory.

Explained to a 5-year-old, longer

Computers can learn by looking at lots of examples, but sometimes we don't know how to tell them exactly what to change. In this paper, the authors think about a way to help computers learn without using those exact math tricks. They imagine adding a little noise to the model and checking how the loss changes. The goal is to make the loss small on average, but also not too big in any single spot. This is like trying to make a game level that is easy overall but also has no really hard parts. The authors create a new method that smoothly balances these two ideas. They call it a soft version of sharpness-aware learning, which means it can switch between being gentle and being careful. The method works without needing gradients, which saves memory and time. It can be used to train many kinds of models, like those for images, text, and questions. This helps computers perform better on new tasks while using fewer resources.

For a technical reader

The work proposes a gradient-free training scheme that blends average and worst-case loss objectives. It formulates a smooth, parameterized loss that interpolates between these extremes and derives zeroth-order update rules to optimize it. Theoretical analysis confirms the sharpness properties of the new objective, and experiments show consistent gains over standard zeroth-order baselines across diverse tasks.

Problem

Zeroth-order optimization typically optimizes a smoothed (averaged) loss, while sharpness-aware minimization focuses on the worst-case loss in a neighborhood. Bridging these two objectives to achieve both smoothness and flatness is challenging.

Method

The approach proposes a parameterized objective that smoothly transitions between average-loss and max-loss formulations and introduces gradient-free zeroth-order algorithms to optimize it. It also provides theoretical analysis of the sharpness of this objective under perturbations.

Results

The approach shows improved generalization over vanilla zeroth-order baselines across classification, multiple-choice QA, and language generation tasks.

Contributions

The paper connects zeroth-order optimization with sharpness-aware minimization via a smooth objective, proposes gradient-free algorithms for its optimization, and provides theoretical analysis of its sharpness properties.

Practical relevance

It provides a memory-efficient, gradient-free training alternative for scenarios where gradients are unavailable or costly.

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