Our new X account is live! Follow @wizwand_team for updates
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 ClassificationEuroSAT
Accuracy97.1
497
Image ClassificationStanford Cars
Accuracy93.7
477
Image ClassificationDTD
Accuracy82.9
419
Image ClassificationGTSRB
Accuracy87.2
291
Image ClassificationSUN397
Accuracy76.7
246
Natural Language InferenceSNLI
Accuracy76.3
174
Image ClassificationCIFAR100
Average Accuracy86.7
121
Image ClassificationMNIST
Accuracy99.03
48
Image ClassificationSVHN
Accuracy66.7
30
Intent DetectionATIS
ID Accuracy95.5
27
Showing 10 of 21 rows

Other info

Follow for update