SSL视觉编码器中记忆效应的定位研究
Localizing Memorization in SSL Vision Encoders
AI总结:
该研究提出layermem和unitmem两种无监督指标,定位SSL视觉编码器的记忆位置,发现记忆随深度增加但高记忆单元遍布全网络、离群点更易引发记忆、视觉Transformer中记忆多发生在全连接层,可为微调和剪枝提供参考。
摘要:
关于自监督学习(SSL)中记忆效应的最新研究表明,尽管SSL编码器在数百万张图像上训练,它们仍然会记忆单个数据点。虽然已有研究致力于表征被记忆的数据,并将编码器记忆效应与下游任务效用相关联,但人们对SSL编码器内部记忆发生的位置知之甚少。为填补这一空白,我们提出两种用于定位SSL编码器中记忆效应的指标,分别基于逐层(layermem)和逐单元(unitmem)维度。我们的定位方法独立于下游任务,不需要任何标签信息,且可通过单次前向传播完成。通过在对比式和非对比式SSL框架下、在不同数据集上训练的多种编码器架构(卷积架构和基于transformer的架构)中定位记忆效应,我们发现:(1)尽管SSL记忆效应随网络深度增加而增强,但高记忆单元分布在整个编码器中;(2)SSL编码器中有相当比例的单元对单个数据点的记忆程度高得惊人,这与监督训练的模型形成对比;(3)非典型(或离群)数据点引发的层记忆和单元记忆远高于标准数据点;(4)在视觉transformer中,大部分记忆发生在全连接层。最后,我们证明定位SSL中的记忆效应有望改善微调效果,并为剪枝策略提供参考。
英文摘要:
Recent work on studying memorization in self-supervised learning (SSL) suggests that even though SSL encoders are trained on millions of images, they still memorize individual data points. While effort has been put into characterizing the memorized data and linking encoder memorization to downstream utility, little is known about where the memorization happens inside SSL encoders. To close this gap, we propose two metrics for localizing memorization in SSL encoders on a per-layer (layermem) and per-unit basis (unitmem). Our localization methods are independent of the downstream task, do not require any label information, and can be performed in a forward pass. By localizing memorization in various encoder architectures (convolutional and transformer-based) trained on diverse datasets with contrastive and non-contrastive SSL frameworks, we find that (1) while SSL memorization increases with layer depth, highly memorizing units are distributed across the entire encoder, (2) a significant fraction of units in SSL encoders experiences surprisingly high memorization of individual data points, which is in contrast to models trained under supervision, (3) atypical (or outlier) data points cause much higher layer and unit memorization than standard data points, and (4) in vision transformers, most memorization happens in the fully-connected layers. Finally, we show that localizing memorization in SSL has the potential to improve fine-tuning and to inform pruning strategies.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。