While transferring a pretrained language model, common approaches conventionally attach their task-specific classifiers to the top layer and adapt all the pretrained layers. We investigate whether one could make a task-specific selection on which subset of the layers to adapt and where to place the classifier. The goal is to reduce the computation cost of transfer learning methods (e.g. fine-tuning or adapter-tuning) without sacrificing its performance.
We propose to select layers based on the variability of their hidden states given a task-specific corpus. We say a layer is already "well-specialized" in a task if the within-class variability of its hidden states is low relative to the between-class variability. Our variability metric is cheap to compute and doesn't need any training or hyperparameter tuning. It is robust to data imbalance and data scarcity. Extensive experiments on the GLUE benchmark demonstrate that selecting layers based on our metric can yield significantly stronger performance than using the same number of top layers and often match the performance of fine-tuning or adapter-tuning the entire language model.
GraSAME: Injecting Token-Level Structural Information to Pretrained Language Models via Graph-guided Self-Attention Mechanism
Karlsruhe Institute of Technology(卡尔斯鲁厄理工学院);Center for Scalable Data Analytics and Artificial Intelligence (ScaDS.AI)(可扩展数据分析与人工智能中心(ScaDS.AI));TU Dresden(德累斯顿工业大学)
To Tune or Not to Tune? Adapting Pretrained Representations to Diverse Tasks
Allen Institute for Artificial Intelligence(艾伦人工智能研究所);National University of Ireland, Galway(爱尔兰国立大学戈尔韦分校);Aylien Ltd.(Aylien有限公司);University of Washington(华盛顿大学)
Where Should Diffusion Enter a Language Model? Geometry-Guided Hidden-State Replacement
Graduate School of Data Science, Seoul National University(首尔国立大学数据科学研究生院);Department of Biosystems & Biomaterials Science and Engineering, Seoul National University(首尔国立大学生物系统与生物材料科学与工程系)
Prompt as Free Lunch: Enhancing Diversity in Source-Free Cross-domain Few-shot Learning through Semantic-Guided Prompting
College of Computer and Data Science, Fuzhou University(福州大学计算机与数据科学学院);Zhejiang University of Technology(浙江工业大学);Hangzhou International Innovation Institute, Beihang University(北京航空航天大学杭州国际创新研究院);INSAIT, Sofia University(保加利亚索菲亚大学INSAIT研究院)
uChecker: Masked Pretrained Language Models as Unsupervised Chinese Spelling Checkers
College of Computer Science and Technology(计算机科学与技术学院);Nanjing University of Aeronautics and Astronautics(南京航空航天大学);MIIT Key Laboratory of Pattern Analysis and Machine Intelligence(工业和信息化部模式分析与机器智能重点实验室)
GIFT: Guided Fine-Tuning and Transfer for Enhancing Instruction-Tuned Language Models
Southern University of Science and Technology(南方科技大学);Alibaba Group(阿里巴巴集团);Shanghai University of Finance and Economics(上海财经大学);Tsinghua University(清华大学);Xiamen University(厦门大学)
Vesper: A Compact and Effective Pretrained Model for Speech Emotion Recognition
School of Electronic and Information Engineering, South China University of Technology(华南理工大学电子与信息学院);School of Software Engineering, South China University of Technology(华南理工大学软件学院);School of Future Technology, South China University of Technology(华南理工大学未来技术学院);Pazhou Laboratory(琶洲实验室)