Training-free layer selection for partial fine-tuning of language models

Read full text
Authors: Aldrin Kabya Biswas, Md Fahim, Md. Tahmid Hasan Fuad, Akm Moshiur Rahman Mazumder, Amin Ahsan Ali, AKM Mahbubur Rahman
Cited by: 0
References: 4

Abstract

The growing scale of pre-trained language models poses a challenge in fine-tuning for downstream tasks, especially in resource-constrained settings. Recent studies highlight that not all layers in Transformer-based language models contribute equally to downstream task performance, giving rise to various partial fine-tuning strategies. We propose a training-free approach for layer-wise partial fine-tuning that leverages the cosine similarity between representative tokens across layers to identify inter-layer relationships. Our method comprises two stages: (i) scoring layers based on their relevance to the task via a single forward pass, and (ii) fine-tuning a subset of layers, either highest-scoring, lowest-scoring, or block-wise, while keeping others frozen. We conduct experiments on 16 diverse NLP datasets, including single-sentence and sentence-pair classification tasks, as well as generation tasks. Our method achieves competitive performance compared to full fine-tuning, with an average training speedup of 1.5 and a reduction of trainable parameters by 75%, and outperforms all comparative baselines in 14 out of 16 evaluated datasets. Additionally, our approach does not cause any notable drop in performance when the domain is changed for the evaluation tasks, demonstrating a robust cross-domain performance. • Efficient training-free layer selection uses token cosine similarity. • Inter-layer token relationships identify optimal layers for fine-tuning. • Reduces trainable parameters by 75% with a 1.5x training speedup. • Our paper yields better accuracy on 16 diverse datasets compared to the SOTA works. • Layer selection strategy preserves robust cross-domain generalization.

Fields of Study & Subjects

Topic Modeling Domain Adaptation and Few-Shot Learning Natural Language Processing Techniques

Publication details

Journal / source
Information Sciences
Volume
740
Pages
123204–123204
Publication date
6 February 2026
Language
EN