Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Task Matrices: Linear Maps for Cross-Model Finetuning Transfer

About

Results in interpretability suggest that large vision and language models learn implicit linear encodings when models are biased by in-context prompting. However, the existence of similar linear representations in more general adaptation regimes has not yet been demonstrated. In this work, we develop the concept of a task matrix, a linear transformation from a base to finetuned embedding state. We demonstrate that for vision and text models and ten different datasets, a base model augmented with a task matrix achieves results surpassing linear probes, sometimes approaching finetuned levels. Our results validate the existence of cross-layer linear encodings between pretrained and finetuned architectures. Moreover, we show that a data-based approximation for such encodings is both efficient and generalizable to multiple domains. We make our implementation publicly available.

Darrin O' Brien, Dhikshith Gajulapalli, Eric Xia• 2025

Related benchmarks

TaskDatasetResultRank
Image ClassificationStanford Cars
Accuracy93.7
660
Image ClassificationEuroSAT
Accuracy97.1
569
Image ClassificationDTD
Accuracy82.9
487
Image ClassificationSUN397
Accuracy76.7
450
Image ClassificationGTSRB
Accuracy87.2
291
Intent ClassificationBanking77
Accuracy88.3
260
Natural Language InferenceSNLI
Accuracy76.3
196
Image ClassificationCIFAR100
Average Accuracy86.7
150
Image ClassificationMNIST
Accuracy99.03
70
Image ClassificationiNaturalist 2021
Top-1 Accuracy59.1
70
Showing 10 of 21 rows

Other info

Follow for update