LGCLOct 5, 2023

TRAM: Bridging Trust Regions and Sharpness Aware Minimization

CMUHarvard
arXiv:2310.03646v26 citationsh-index: 23
Originality Highly original
AI Analysis

This work addresses domain generalization for fine-tuning models in vision and text, offering a novel optimization approach with minimal computational overhead.

The paper tackled the problem of improving out-of-domain generalization during fine-tuning by unifying sharpness-aware minimization and trust-region methods to reduce curvature in both parameter and function spaces. It proposed TRAM, which outperformed existing methods across vision and text tasks, notably in hard transfer between anticorrelated domains.

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 transferability of representations in the function space. Trust-region methods (TR) target this goal by regularizing representation curvature to reduce catastrophic forgetting of pre-trained task-agnostic information while adopting task-specific skills. We consider unifying these strategies for low curvature in both parameter space and function space to improve out-of-domain (OOD) generalization. We propose Trust Region Aware Minimization (TRAM), a SAM algorithm fine-tuning for low parameter sharpness and smooth, informative representations preserving pre-trained structure. TRAM uses a trust region bound to inform the SAM adversarial neighborhood, introducing an awareness of function curvature within optimization for flatter minima. We empirically validate TRAM in vision (cross-dataset adaptation) and text (OOD language modeling, zero-shot cross-lingual transfer) tasks where robust domain transfer and representation generality are critical. TRAM outperforms SAM- and TR-based optimization across all tasks, notably surpassing competing methods for hard transfer between anticorrelated domains. TRAM establishes a novel standard in fine-tuning for domain-generalizable models with minimal additional computation over previous sharpness-aware methods.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes