Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

QT-DoG: Quantization-aware Training for Domain Generalization

About

A key challenge in Domain Generalization (DG) is preventing overfitting to source domains, which can be mitigated by finding flatter minima in the loss landscape. In this work, we propose Quantization-aware Training for Domain Generalization (QT-DoG) and demonstrate that weight quantization effectively leads to flatter minima in the loss landscape, thereby enhancing domain generalization. Unlike traditional quantization methods focused on model compression, QT-DoG exploits quantization as an implicit regularizer by inducing noise in model weights, guiding the optimization process toward flatter minima that are less sensitive to perturbations and overfitting. We provide both an analytical perspective and empirical evidence demonstrating that quantization inherently encourages flatter minima, leading to better generalization across domains. Moreover, with the benefit of reducing the model size through quantization, we demonstrate that an ensemble of multiple quantized models further yields superior accuracy than the state-of-the-art DG approaches with no computational or memory overheads. Code is released at: https://saqibjaved1.github.io/QT_DoG/.

Saqib Javed, Hieu Le, Mathieu Salzmann• 2024

Related benchmarks

TaskDatasetResultRank
Domain GeneralizationDomainBed
Average Accuracy68.4
127
Domain GeneralizationDomainBed v1.0 (test)
Average Accuracy72.9
71
Domain GeneralizationDomainNet, TerraIncognita, Office (test)
DomainNet Accuracy0.631
3
Showing 3 of 3 rows

Other info

Follow for update