Domain Generalization via Discrete Codebook Learning

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Long, Shaocong, Zhou, Qianyu, Jiang, Xikun, Ying, Chenhao, Ma, Lizhuang, Luo, Yuan
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866908308733952000
author Long, Shaocong
Zhou, Qianyu
Jiang, Xikun
Ying, Chenhao
Ma, Lizhuang
Luo, Yuan
author_facet Long, Shaocong
Zhou, Qianyu
Jiang, Xikun
Ying, Chenhao
Ma, Lizhuang
Luo, Yuan
contents Domain generalization (DG) strives to address distribution shifts across diverse environments to enhance model's generalizability. Current DG approaches are confined to acquiring robust representations with continuous features, specifically training at the pixel level. However, this DG paradigm may struggle to mitigate distribution gaps in dealing with a large space of continuous features, rendering it susceptible to pixel details that exhibit spurious correlations or noise. In this paper, we first theoretically demonstrate that the domain gaps in continuous representation learning can be reduced by the discretization process. Based on this inspiring finding, we introduce a novel learning paradigm for DG, termed Discrete Domain Generalization (DDG). DDG proposes to use a codebook to quantize the feature map into discrete codewords, aligning semantic-equivalent information in a shared discrete representation space that prioritizes semantic-level information over pixel-level intricacies. By learning at the semantic level, DDG diminishes the number of latent features, optimizing the utilization of the representation space and alleviating the risks associated with the wide-ranging space of continuous features. Extensive experiments across widely employed benchmarks in DG demonstrate DDG's superior performance compared to state-of-the-art approaches, underscoring its potential to reduce the distribution gaps and enhance the model's generalizability.
format Preprint
id arxiv_https___arxiv_org_abs_2504_06572
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Domain Generalization via Discrete Codebook Learning
Long, Shaocong
Zhou, Qianyu
Jiang, Xikun
Ying, Chenhao
Ma, Lizhuang
Luo, Yuan
Computer Vision and Pattern Recognition
Domain generalization (DG) strives to address distribution shifts across diverse environments to enhance model's generalizability. Current DG approaches are confined to acquiring robust representations with continuous features, specifically training at the pixel level. However, this DG paradigm may struggle to mitigate distribution gaps in dealing with a large space of continuous features, rendering it susceptible to pixel details that exhibit spurious correlations or noise. In this paper, we first theoretically demonstrate that the domain gaps in continuous representation learning can be reduced by the discretization process. Based on this inspiring finding, we introduce a novel learning paradigm for DG, termed Discrete Domain Generalization (DDG). DDG proposes to use a codebook to quantize the feature map into discrete codewords, aligning semantic-equivalent information in a shared discrete representation space that prioritizes semantic-level information over pixel-level intricacies. By learning at the semantic level, DDG diminishes the number of latent features, optimizing the utilization of the representation space and alleviating the risks associated with the wide-ranging space of continuous features. Extensive experiments across widely employed benchmarks in DG demonstrate DDG's superior performance compared to state-of-the-art approaches, underscoring its potential to reduce the distribution gaps and enhance the model's generalizability.
title Domain Generalization via Discrete Codebook Learning
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2504.06572