Forget Sharpness: Perturbed Forgetting of Model Biases Within SAM Dynamics

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Vani, Ankit, Tung, Frederick, Oliveira, Gabriel L., Sharifi-Noghabi, Hossein
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866913385018294272
author Vani, Ankit
Tung, Frederick
Oliveira, Gabriel L.
Sharifi-Noghabi, Hossein
author_facet Vani, Ankit
Tung, Frederick
Oliveira, Gabriel L.
Sharifi-Noghabi, Hossein
contents Despite attaining high empirical generalization, the sharpness of models trained with sharpness-aware minimization (SAM) do not always correlate with generalization error. Instead of viewing SAM as minimizing sharpness to improve generalization, our paper considers a new perspective based on SAM's training dynamics. We propose that perturbations in SAM perform perturbed forgetting, where they discard undesirable model biases to exhibit learning signals that generalize better. We relate our notion of forgetting to the information bottleneck principle, use it to explain observations like the better generalization of smaller perturbation batches, and show that perturbed forgetting can exhibit a stronger correlation with generalization than flatness. While standard SAM targets model biases exposed by the steepest ascent directions, we propose a new perturbation that targets biases exposed through the model's outputs. Our output bias forgetting perturbations outperform standard SAM, GSAM, and ASAM on ImageNet, robustness benchmarks, and transfer to CIFAR-{10,100}, while sometimes converging to sharper regions. Our results suggest that the benefits of SAM can be explained by alternative mechanistic principles that do not require flatness of the loss surface.
format Preprint
id arxiv_https___arxiv_org_abs_2406_06700
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Forget Sharpness: Perturbed Forgetting of Model Biases Within SAM Dynamics
Vani, Ankit
Tung, Frederick
Oliveira, Gabriel L.
Sharifi-Noghabi, Hossein
Machine Learning
Artificial Intelligence
Despite attaining high empirical generalization, the sharpness of models trained with sharpness-aware minimization (SAM) do not always correlate with generalization error. Instead of viewing SAM as minimizing sharpness to improve generalization, our paper considers a new perspective based on SAM's training dynamics. We propose that perturbations in SAM perform perturbed forgetting, where they discard undesirable model biases to exhibit learning signals that generalize better. We relate our notion of forgetting to the information bottleneck principle, use it to explain observations like the better generalization of smaller perturbation batches, and show that perturbed forgetting can exhibit a stronger correlation with generalization than flatness. While standard SAM targets model biases exposed by the steepest ascent directions, we propose a new perturbation that targets biases exposed through the model's outputs. Our output bias forgetting perturbations outperform standard SAM, GSAM, and ASAM on ImageNet, robustness benchmarks, and transfer to CIFAR-{10,100}, while sometimes converging to sharper regions. Our results suggest that the benefits of SAM can be explained by alternative mechanistic principles that do not require flatness of the loss surface.
title Forget Sharpness: Perturbed Forgetting of Model Biases Within SAM Dynamics
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2406.06700