arXiv:2508.02829cs.CV2025-08

改用动态双曲正切激活可提升自监督图像模型性能

Elucidating the Role of Feature Normalization in IJEPA

  • 用动态双曲正切替代层归一化,更好保留视觉特征能量差异
  • 修复了原模型的棋盘状损失伪影,损失分布更长尾
  • 在ImageNet线性探测上准确率提升至42.7%,适合自监督学习研究者

在标准图像联合嵌入预测架构(IJEPA)中,教师编码器输出的特征在作为学生编码器和预测器的蒸馏目标前会进行层归一化(LN)。我们发现,这种归一化破坏了视觉标记的自然能量层级——高能量标记(具有较大L2范数)通常包含语义重要区域。LN强制所有特征具有相同的L2范数,等效于均等化其能量,使模型无法优先关注语义丰富的区域。我们观察到,使用特征LN训练的IJEPA模型会产生显著的棋盘状伪影。为此,我们提出以动态双曲正切(DynTanh)激活替代特征归一化,后者能更好地保持标记能量,使高能量标记对预测损失贡献更大。实验表明,采用特征DynTanh的IJEPA模型具有更长尾的损失分布,并消除棋盘状伪影。在ImageNet线性探测任务中,ViT-Small模型准确率从38%提升至42.7%;在NYU Depth V2单目深度估计任务上,RMSE降低0.08。结果表明,保持自然标记能量对有效的自监督视觉表征学习至关重要。

原文摘要 · Abstract (English)

In the standard image joint embedding predictive architecture (IJEPA), features at the output of the teacher encoder are layer normalized (LN) before serving as a distillation target for the student encoder and predictor. We propose that this feature normalization disrupts the natural energy hierarchy of visual tokens, where high-energy tokens (those with larger L2 norms) encode semantically important image regions. LN forces all features to have identical L2 norms, effectively equalizing their energies and preventing the model from prioritizing semantically rich regions. We find that IJEPA models trained with feature LN exhibit loss maps with significant checkerboard-like artifacts. We propose that feature LN be replaced with a DynTanh activation as the latter better preserves token energies and allows high-energy tokens to greater contribute to the prediction loss. We show that IJEPA trained with feature DynTanh exhibits a longer-tailed loss distribution and fixes the checkerboard artifacts in the loss map. Our empirical results show that our simple modification improves ImageNet linear probe accuracy from 38% to 42.7% for ViT-Small and reduces RMSE by 0.08 on NYU Depth V2 monocular depth estimation. These results suggest that preserving natural token energies is crucial for effective self-supervised visual representation learning.

自监督学习特征归一化视觉表征深度估计

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。