本文已被:浏览 140次 下载 145次
Received:September 09, 2025 Revised:October 09, 2025
Received:September 09, 2025 Revised:October 09, 2025
中文摘要: 针对深度学习模型在分布偏移场景中泛化能力不足的问题, 在Mamba状态空间模型的基础上, 提出一种融合反事实语义增强和因果注意力机制的领域泛化方法, 通过设计反事实语义增强模块, 实现前景-背景解耦与重组生成反事实特征, 显式构建“前景保持、背景干预”的因果情境, 有效削弱背景-标签的伪相关性, 强化模型对因果语义前景的挖掘能力, 引导其关注稳定可靠的语义关联; 进一步提出因果注意力机制, 将上述模块提取到的因果语义信息显式嵌入Mamba状态更新过程, 以提高特征的因果一致性. 整体模型结构实现了对前景与背景信息的动态区分与融合. 在标准领域泛化基准上的实验结果表明, 本文方法在PACS、OfficeHome、VLCS和TerraIncognita数据集上平均准确率分别达到91.9%、77.0%、81.1%和54.9%, 均优于现有SOTA方法, 证实本文方法显著提高了模型对前景语义区域的关注一致性, 展现出优越的可解释性与泛化性能.
Abstract:To address the limited generalization capability of deep learning models under distribution shifts, this study proposes a domain generalization method based on the Mamba state-space model that integrates counterfactual semantic enhancement with a causal attention mechanism. By designing a counterfactual semantic enhancement module, foreground-background decoupling and recombination are achieved to generate counterfactual features, explicitly constructing a causal scenario of “foreground preservation and background intervention”. This effectively mitigates spurious background-label correlations, enhances the model’s ability to extract causal semantic foreground representations, and guides it to focus on stable and reliable semantic associations. Furthermore, a causal attention mechanism is introduced to explicitly embed the causal semantic information extracted by the module into the Mamba state update process, improving the causal consistency of features. The overall architecture enables dynamic discrimination and integration of foreground and background information. Experimental results on standard domain generalization benchmarks demonstrate that the proposed method achieves average accuracy of 91.9%, 77.0%, 81.1%, and 54.9% on the PACS, OfficeHome, VLCS, and TerraIncognita datasets, respectively, outperforming existing state-of-the-art methods. These results confirm that the proposed method significantly improves the consistency of the model’s focus on foreground semantic regions, thus demonstrating superior interpretability and generalization performance.
keywords: domain generalization (DG) counterfactual semantic enhancement causal attention mechanism state space model (SSM) Mamba interpretability
文章编号: 中图分类号: 文献标志码:
基金项目:宁夏自然科学基金 (2025AAC030154)
引用文本:
魏成亮,刘进锋.融合反事实语义增强与因果注意力的领域泛化.计算机系统应用,2026,35(4):95-105
WEI Cheng-Liang,LIU Jin-Feng.Domain Generalization via Counterfactual Semantic Enhancement and Causal Attention.COMPUTER SYSTEMS APPLICATIONS,2026,35(4):95-105
魏成亮,刘进锋.融合反事实语义增强与因果注意力的领域泛化.计算机系统应用,2026,35(4):95-105
WEI Cheng-Liang,LIU Jin-Feng.Domain Generalization via Counterfactual Semantic Enhancement and Causal Attention.COMPUTER SYSTEMS APPLICATIONS,2026,35(4):95-105

