arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.14514cs.LGcs.CV
收藏

利用预训练自编码器嵌入改进SimCLR非线性投影头的实证研究

An Empirical Study on Improving SimCLR's Nonlinear Projection Head using Pretrained Autoencoder Embeddings

Faculty of Engineering(工程学院);Computer Science Osnabrück University of Applied Sciences(计算机科学奥斯纳布吕克应用科学大学);Semantic Information Systems Group Osnabrück University(奥斯纳布吕克大学语义信息系统组);German Research Center for AI (DFKI)(德国人工智能研究中心(DFKI))

Andreas Schliebitz, Heiko Tapken, Martin Atzmueller

AI总结:

本文针对SimCLR的标准MLP投影头,提出用冻结的预训练自编码器嵌入替换其输入层并调整架构,实验证明该方法可提升分类准确率、降低投影维度,且sigmoid、tanh激活效果优于ReLU。

摘要:

本文聚焦于通过预训练自编码器嵌入提升SimCLR框架中标准两层MLP投影头的有效性。针对使用大规模无标注图像分类数据集的对比学习任务,我们首先训练一个浅层自编码器架构,提取编码器嵌入层包含的压缩表征。在冻结该预训练层的权重后,我们将其作为直接替代模块替换SimCLR默认投影器的输入层。此外,我们还对投影器做了进一步架构调整:缩减其宽度并更换激活函数。随后我们遵循SimCLR协议,使用不同投影头对比训练并评估特征提取器。实验表明,在投影器中使用预训练自编码器嵌入不仅能将分类准确率最高提升2.9%、平均提升1.7%,还能显著降低投影空间的维度。结果还显示,投影器中使用sigmoid和tanh激活函数时,峰值与平均分类准确率均优于ReLU。所有涉及预训练投影器的实验均采用冻结嵌入的设置,因为测试结果表明该设置相比使用非冻结对应模块更具优势。

英文摘要:

This paper focuses on improving the effectiveness of the standard 2-layer MLP projection head featured in the SimCLR framework through the use of pretrained autoencoder embeddings. Given a contrastive learning task with a largely unlabeled image classification dataset, we first train a shallow autoencoder architecture and extract its compressed representations contained in the encoder's embedding layer. After freezing the weights within this pretrained layer, we use it as a drop-in replacement for the input layer of SimCLR's default projector. Additionally, we also apply further architectural changes to the projector by decreasing its width and changing its activation function. The different projection heads are then used to contrastively train and evaluate a feature extractor following the SimCLR protocol. Our experiments indicate that using a pretrained autoencoder embedding in the projector can not only increase classification accuracy by up to 2.9% or 1.7% on average, but can also significantly decrease the dimensionality of the projection space. Our results also suggest, that using the sigmoid and tanh activation functions within the projector can outperform ReLU in terms of peak and average classification accuracy. All experiments involving our pretrained projectors are conducted with frozen embeddings, since our test results indicate an advantage compared to using their non-frozen counterparts.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑