SHERL: Synthesizing High Accuracy and Efficient Memory for Resource-Limited Transfer Learning

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Diao, Haiwen, Wan, Bo, Jia, Xu, Zhuge, Yunzhi, Zhang, Ying, Lu, Huchuan, Chen, Long
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866916318641389568
author Diao, Haiwen
Wan, Bo
Jia, Xu
Zhuge, Yunzhi
Zhang, Ying
Lu, Huchuan
Chen, Long
author_facet Diao, Haiwen
Wan, Bo
Jia, Xu
Zhuge, Yunzhi
Zhang, Ying
Lu, Huchuan
Chen, Long
contents Parameter-efficient transfer learning (PETL) has emerged as a flourishing research field for adapting large pre-trained models to downstream tasks, greatly reducing trainable parameters while grappling with memory challenges during fine-tuning. To address it, memory-efficient series (METL) avoid backpropagating gradients through the large backbone. However, they compromise by exclusively relying on frozen intermediate outputs and limiting the exhaustive exploration of prior knowledge from pre-trained models. Moreover, the dependency and redundancy between cross-layer features are frequently overlooked, thereby submerging more discriminative representations and causing an inherent performance gap (vs. conventional PETL methods). Hence, we propose an innovative METL strategy called SHERL for resource-limited scenarios to decouple the entire adaptation into two successive and complementary processes. In the early route, intermediate outputs are consolidated via an anti-redundancy operation, enhancing their compatibility for subsequent interactions; thereby in the late route, utilizing minimal late pre-trained layers could alleviate the peak demand on memory overhead and regulate these fairly flexible features into more adaptive and powerful representations for new domains. Extensive ablations on vision-and-language and language-only tasks show that SHERL combines the strengths of both parameter and memory-efficient techniques, performing on-par or better across diverse architectures with lower memory during fine-tuning. Our code is publicly available at: https://github.com/Paranioar/SHERL.
format Preprint
id arxiv_https___arxiv_org_abs_2407_07523
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle SHERL: Synthesizing High Accuracy and Efficient Memory for Resource-Limited Transfer Learning
Diao, Haiwen
Wan, Bo
Jia, Xu
Zhuge, Yunzhi
Zhang, Ying
Lu, Huchuan
Chen, Long
Computer Vision and Pattern Recognition
Multimedia
Parameter-efficient transfer learning (PETL) has emerged as a flourishing research field for adapting large pre-trained models to downstream tasks, greatly reducing trainable parameters while grappling with memory challenges during fine-tuning. To address it, memory-efficient series (METL) avoid backpropagating gradients through the large backbone. However, they compromise by exclusively relying on frozen intermediate outputs and limiting the exhaustive exploration of prior knowledge from pre-trained models. Moreover, the dependency and redundancy between cross-layer features are frequently overlooked, thereby submerging more discriminative representations and causing an inherent performance gap (vs. conventional PETL methods). Hence, we propose an innovative METL strategy called SHERL for resource-limited scenarios to decouple the entire adaptation into two successive and complementary processes. In the early route, intermediate outputs are consolidated via an anti-redundancy operation, enhancing their compatibility for subsequent interactions; thereby in the late route, utilizing minimal late pre-trained layers could alleviate the peak demand on memory overhead and regulate these fairly flexible features into more adaptive and powerful representations for new domains. Extensive ablations on vision-and-language and language-only tasks show that SHERL combines the strengths of both parameter and memory-efficient techniques, performing on-par or better across diverse architectures with lower memory during fine-tuning. Our code is publicly available at: https://github.com/Paranioar/SHERL.
title SHERL: Synthesizing High Accuracy and Efficient Memory for Resource-Limited Transfer Learning
topic Computer Vision and Pattern Recognition
Multimedia
url https://arxiv.org/abs/2407.07523