SFP:面向分布外泛化的虚假特征定向剪枝
SFP: Spurious Feature-targeted Pruning for Out-of-Distribution Generalization
AI总结:
本文提出SFP框架,通过任务损失识别ID数据中的虚假特征并剪除强依赖分支,从而学习不变子结构以提升OOD泛化,性能显著超过现有SOTA。
摘要:
模型子结构学习旨在寻找一个不变的网络子结构,使其能够比原始完整结构具有更好的分布外(OOD)泛化能力。现有工作通常使用完全暴露域外数据的模块风险最小化(MRM)来搜索不变子结构,这可能带来两个缺点:1)不公平性,原因在于依赖域外数据的完全暴露;2)次优的OOD泛化,原因在于对整个数据分布进行同等的、不针对特征的剪枝。基于带有虚假特征的分布内(ID)数据可能具有较低经验风险这一思想,本文提出了一种新颖的虚假特征定向模型剪枝框架,称为SFP,以自动探索不变子结构,同时避免上述缺点。具体而言,SFP在训练过程中使用经理论验证的任务损失识别ID实例中的虚假特征,在此基础上,SFP衰减模型空间中相应的特征投影,以实现所谓的虚假特征定向剪枝。这通常通过移除对所识别虚假特征具有强依赖性的网络分支来完成,因此SFP可以推动模型学习向不变特征发展,并使其脱离虚假特征,从而设计出最优的OOD泛化。此外,我们还进行了详细的理论分析,通过模型稀疏性为OOD结构提供合理性保证和证明框架,并首次揭示高度偏倚的数据分布如何影响模型的OOD泛化。在多个OOD数据集上的实验表明,SFP可以显著优于基于结构和非基于结构的OOD泛化SOTA方法,准确率分别提升高达4.72%和23.35%。
英文摘要:
Model substructure learning aims to find an invariant network substructure that can have better out-of-distribution (OOD) generalization than the original full structure. Existing works usually search the invariant substructure using modular risk minimization (MRM) with fully exposed out-domain data, which may bring about two drawbacks: 1) Unfairness, due to the dependence of the full exposure of out-domain data; and 2) Sub-optimal OOD generalization, due to the equally feature-untargeted pruning on the whole data distribution. Based on the idea that in-distribution (ID) data with spurious features may have a lower experience risk, in this paper, we propose a novel Spurious Feature-targeted model Pruning framework, dubbed SFP, to automatically explore invariant substructures without referring to the above drawbacks. Specifically, SFP identifies spurious features within ID instances during training using our theoretically verified task loss, upon which, SFP attenuates the corresponding feature projections in model space to achieve the so-called spurious feature-targeted pruning. This is typically done by removing network branches with strong dependencies on identified spurious features, thus SFP can push the model learning toward invariant features and pull that out of spurious features and devise optimal OOD generalization. Moreover, we also conduct detailed theoretical analysis to provide the rationality guarantee and a proof framework for OOD structures via model sparsity, and for the first time, reveal how a highly biased data distribution affects the model's OOD generalization. Experiments on various OOD datasets show that SFP can significantly outperform both structure-based and non-structure-based OOD generalization SOTAs, with accuracy improvement up to 4.72% and 23.35%, respectively
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。