Exploring the Effectiveness and Consistency of Task Selection in Intermediate-Task Transfer Learning

Pin-Jie Lin, Miaoran Zhang, Marius Mosbach, Dietrich Klakow
7/23/2024
cs.CL

No official code found. Best implementation: uds-lsv/intermediate-task-selection (1 star, MIT, last commit 2024-07-14).

Abstract

Identifying beneficial tasks to transfer from is a critical step toward successful intermediate-task transfer learning. In this work, we experiment with 130 source-target task combinations and demonstrate that the transfer performance exhibits severe variance across different source tasks and training seeds, highlighting the crucial role of intermediate-task selection in a broader context. We compare four representative task selection methods in a unified setup, focusing on their effectiveness and consistency. Compared to embedding-free methods and text embeddings, task embeddings constructed from fine-tuned weights can better estimate task transferability by improving task prediction scores from 2.59% to 3.96%. Despite their strong performance, we observe that the task embeddings do not consistently demonstrate superiority for tasks requiring reasoning abilities. Furthermore, we introduce a novel method that measures pairwise token similarity using maximum inner product search, leading to the highest performance in task prediction. Our findings suggest that token-wise similarity is better predictive for predicting transferability compared to averaging weights.

View on arXivView PDF

Code Implementations(1)

MIT

Official Code for "Exploring the Effectiveness and Consistency of Task Selection in Intermediate-Task Transfer Learning: A Systematic Study"

10C++, CudaJul 14, 20242 years agoMIT

Similar Papers

Cite this paper

@article{lin2024exploring,
  title  = {Exploring the Effectiveness and Consistency of Task Selection in Intermediate-Task Transfer Learning},
  author = {Pin-Jie Lin and Miaoran Zhang and Marius Mosbach and Dietrich Klakow},
  year   = {2024},
  eprint = {2407.16245},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.16245v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.16245.svg)](https://codeofpaper.com/paper/2407.16245)

Discussion