atlas

Research map / Optimization / Optimizers

Domain-Inspired Sharpness-Aware Minimization Under Domain Shifts

ICLR 2024 · Optimization › Optimizers · approach: Differentiating through embedded optimization · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes DISAM, a SAM variant that adds a domain-loss variance term to the sharpness-estimation objective so perturbations are calibrated by per-domain convergence, improving domain generalization on DomainBed and CLIP-based PEFT.

Problem

SAM's sharpness estimation assumes i.i.d. data; under domain shifts, inconsistent convergence across domains biases the perturbation toward less-converged domains, degrading generalization (e.g., SAM worse than ERM on TerraInc).

Approach

Add a variance-of-domain-losses regularizer to the loss used for perturbation generation, so gradient perturbations are automatically weakened toward domains with above-average loss and strengthened toward well-optimized domains; plugs into SAM, GSAM, SAGM, and other methods with negligible overhead.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add DISAM to SAMSAM with ResNet50 · DomainBed five-dataset average, out-of-domainaccuracy: 64.5 -> 66.4; average improvements of 1.9%Helped
Add DISAM to GSAMGSAM with ResNet50 · DomainBed five-dataset average, out-of-domainaccuracy: 65.1 -> 66.8; average improvements of 1.7%Helped
Add DISAM to SAGMSAGM with ResNet50 · DomainBed five-dataset average, out-of-domainaccuracy: 66.1 -> 67.0; average improvements of 1.9%Helped
Add DISAM to CoOpCoOp with CLIP ViT-B/16 · DomainBed five-dataset average, out-of-domainaccuracy: 74.2 -> 74.8Helped
Replace SAM with DISAM on CLIPOOD*CLIPOOD* with CLIP ViT-B/16 · DomainBed five-dataset average, out-of-domainaccuracy: 76.9 -> 78.8Helped
Add DISAM to CoOp*CoOp* with CLIP · OfficeHome and DomainNet, open classes, Totalaccuracy: 71.5 -> 72.2Helped
Replace SAM with DISAM on CLIPOOD*CLIPOOD* with CLIP · OfficeHome and DomainNet, open classes, Totalaccuracy: 71.8 -> 72.6Helped
Add DISAM to V-RExV-REx · PACSaccuracy: 84.9 -> 85.8Helped
Add DISAM to FishrFishr · PACSaccuracy: 86.9 -> 87.5Helped
Use too large or too small perturbation amplitude rho (ablation)DISAM · PACS and OfficeHomeaccuracyHurt
Increase variance constraint weight lambda beyond the stable range (ablation)DISAM · PACS and OfficeHomeaccuracyHurt
Add domain-inspired perturbation adjustment (ablation)SAM · PACS, unseen test domaingradient varianceHelped

Surprising findings

Limitations

Experimental setup

Datasets: PACS VLCS OfficeHome TerraIncognita DomainNet ImageNet

Benchmarks: PACS VLCS OfficeHome TerraIncognita DomainNet

Metrics: accuracy

Baselines: ERM SAM GSAM SAGM CORAL CoOp CLIPOOD V-REx Fishr

Builds on: Sharpness-Aware Minimization GSAM SAGM V-REx Fishr

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy