DGMamba:基于广义状态空间模型的领域泛化
DGMamba: Domain Generalization via Generalized State Space Model
AI总结:
提出DGMamba框架,通过隐藏状态抑制和语义感知补丁精炼解决状态空间模型在领域泛化中的隐藏状态与扫描机制问题,在五个基准上取得最优泛化性能。
摘要:
领域泛化(DG)旨在解决各种场景中的分布偏移问题。现有方法基于卷积神经网络(CNNs)或视觉Transformer(ViTs),存在感受野受限或二次复杂度问题。Mamba作为一种新兴的状态空间模型(SSM),具有卓越的线性复杂度和全局感受野。尽管如此,由于隐藏状态问题和不适当的扫描机制,它很难应用于DG来解决分布偏移。在本文中,我们提出了一种新的DG框架,名为DGMamba,它在对未见领域具有强泛化能力的同时,具有全局感受野和高效线性复杂度的优势。我们的DGMamba包含两个核心组件:隐藏状态抑制(HSS)和语义感知补丁精炼(SPR)。特别是,引入HSS以减轻输出预测期间与领域特定特征相关的隐藏状态的影响。SPR努力鼓励模型更多地关注对象而非上下文,由两个设计组成:无先验扫描(PFS)和领域上下文交换(DCI)。具体而言,PFS旨在打乱图像内的非语义补丁,从图像创建更灵活有效的序列,而DCI旨在通过融合领域间的补丁,结合不匹配的非语义和语义信息来正则化Mamba。在五个常用DG基准上的广泛实验表明,所提出的DGMamba取得了显著优于最先进模型的结果。代码将在https://github.com/longshaocong/DGMamba公开。
英文摘要:
Domain generalization~(DG) aims at solving distribution shift problems in various scenes. Existing approaches are based on Convolution Neural Networks (CNNs) or Vision Transformers (ViTs), which suffer from limited receptive fields or quadratic complexities issues. Mamba, as an emerging state space model (SSM), possesses superior linear complexity and global receptive fields. Despite this, it can hardly be applied to DG to address distribution shifts, due to the hidden state issues and inappropriate scan mechanisms. In this paper, we propose a novel framework for DG, named DGMamba, that excels in strong generalizability toward unseen domains and meanwhile has the advantages of global receptive fields, and efficient linear complexity. Our DGMamba compromises two core components: Hidden State Suppressing~(HSS) and Semantic-aware Patch refining~(SPR). In particular, HSS is introduced to mitigate the influence of hidden states associated with domain-specific features during output prediction. SPR strives to encourage the model to concentrate more on objects rather than context, consisting of two designs: Prior-Free Scanning~(PFS), and Domain Context Interchange~(DCI). Concretely, PFS aims to shuffle the non-semantic patches within images, creating more flexible and effective sequences from images, and DCI is designed to regularize Mamba with the combination of mismatched non-semantic and semantic information by fusing patches among domains. Extensive experiments on five commonly used DG benchmarks demonstrate that the proposed DGMamba achieves remarkably superior results to state-of-the-art models. The code will be made publicly available at https://github.com/longshaocong/DGMamba.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。