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

利用张量增强从离线基础特征中学习

Learning from Offline Foundation Features with Tensor Augmentations

KTH Royal Institute of Technology(瑞典皇家理工学院);Science for Life Laboratory(生命科学实验室)

Emir Konuk, Christos Matsoukas, Moein Sorkhei, Phitchapha Lertsiravaramet, Kevin Smith

AI总结:

本文提出 LOFF-TA 方法,通过在冻结基础模型的缓存特征嵌入上训练紧凑分类器并应用张量增强,在资源受限环境中高效利用基础模型,实现显著加速和降显存,且无需增加计算即可处理高分辨率图像。

摘要:

我们提出了利用张量增强从离线基础特征中学习(LOFF-TA),这是一种高效的训练方案,旨在资源受限的环境中发挥基础模型的能力,而在这些环境中直接开发基础模型并不可行。LOFF-TA 通过在冻结基础模型的缓存特征嵌入上训练一个紧凑分类器,使训练速度最高提升 37 倍,GPU 内存占用最高降低 26 倍。由于增强图像的嵌入数量过多而难以存储,但增强过程对训练又至关重要,因此我们提出对原始未增强图像的缓存嵌入应用张量增强。LOFF-TA 使得在计算能力有限的环境中利用基础模型的强大能力成为可能,无论其规模大小。此外,LOFF-TA 还可用于将基础模型应用于高分辨率图像,而无需增加计算量。在某些场景下,我们发现使用 LOFF-TA 进行训练比直接微调基础模型能取得更好的结果。

英文摘要:

We introduce Learning from Offline Foundation Features with Tensor Augmentations (LOFF-TA), an efficient training scheme designed to harness the capabilities of foundation models in limited resource settings where their direct development is not feasible. LOFF-TA involves training a compact classifier on cached feature embeddings from a frozen foundation model, resulting in up to $37\times$ faster training and up to $26\times$ reduced GPU memory usage. Because the embeddings of augmented images would be too numerous to store, yet the augmentation process is essential for training, we propose to apply tensor augmentations to the cached embeddings of the original non-augmented images. LOFF-TA makes it possible to leverage the power of foundation models, regardless of their size, in settings with limited computational capacity. Moreover, LOFF-TA can be used to apply foundation models to high-resolution images without increasing compute. In certain scenarios, we find that training with LOFF-TA yields better results than directly fine-tuning the foundation model.

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

↑