paper-with-me

홈 › Papers

Sharpness-Aware Minimization in Logit Space Efficiently Enhances Direct Preference Optimization

2026-03-18 · Haocheng Luo, Zehang Deng, Thanh-Toan Do, Mehrtash Harandi, Dinh Phung, Trung Le arxiv

Direct Preference Optimization (DPO) has emerged as a popular algorithm for aligning pretrained large language models with human preferences, owing to its simplicity and training stability. However, DPO suffers from the recently identified squeezing effect (also known as likelihood displacement), where the probability of preferred responses decreases unintentionally during training. To understand and mitigate this phenomenon, we develop a theoretical framework that models the coordinate-wise dynamics in logit space. Our analysis reveals that negative-gradient updates cause residuals to expand rapidly along high-curvature directions, which underlies the squeezing effect, whereas Sharpness-Aware Minimization (SAM) can suppress this behavior through its curvature-regularization effect. Building on this insight, we investigate logits-SAM, a computationally efficient variant that perturbs only the output layer with negligible overhead. Extensive experiments on Pythia-2.8B, Mistral-7B, and Gemma-2B-IT across multiple datasets and benchmarks demonstrate that logits-SAM consistently improves the effectiveness of DPO and integrates seamlessly with other DPO variants. Code is available at https://github.com/RitianLuo/logits-sam-dpo.

📄 PDF Abstract BibTeX arXiv:2603.18258

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Avoiding spurious sharpness minimization broadens applicability of SAM

2025-02-04 · Sidak Pal Singh, Hossein Mobahi, Atish Agarwala, Yann Dauphin

Curvature regularization techniques like Sharpness Aware Minimization (SAM) have shown great promise in improving generalization on vision tasks. However, we find that SAM performs poorly in domains like natural language…

Monge SAM: Robust Reparameterization-Invariant Sharpness-Aware Minimization Based on Loss Geometry

2025-02-12 · Albert Kjøller Jacobsen, Georgios Arvanitidis

Recent studies on deep neural networks show that flat minima of the loss landscape correlate with improved generalization. Sharpness-aware minimization (SAM) efficiently finds flat regions by updating the parameters acco…

δ-SAM: Sharpness-Aware Minimization with Dynamic Reweighting

2022-01-16 · ACL ARR January 2022 1 · Anonymous

Deep neural networks are often overparameterized and may not easily achieve model generalization. Adversarial training has shown effectiveness in improving generalization by regularizing the change of loss on top of adve…

Sharpness-Aware Minimization for Evolutionary Feature Construction in Regression

2024-05-11 · Hengzhe Zhang, Qi Chen, Bing Xue, Wolfgang Banzhaf 외

In recent years, genetic programming (GP)-based evolutionary feature construction has achieved significant success. However, a primary challenge with evolutionary feature construction is its tendency to overfit the train…

regressionSymbolic Regression

TRAM: Bridging Trust Regions and Sharpness Aware Minimization

2023-10-05 · Tom Sherborne, Naomi Saphra, Pradeep Dasigi, Hao Peng

Sharpness-aware minimization (SAM) reports improving domain generalization by reducing the loss surface curvature in the parameter space. However, generalization during fine-tuning is often more dependent on the transfer…

Cross-Lingual TransferDomain GeneralizationLanguage ModelingLanguage Modelling+1