Abstract
Fine-tuning pre-trained large language models (LLMs) on a diverse array of tasks has become a common approach for building models that can solve various natural language processing (NLP) tasks. However, where and to what extent these models retain task-specific knowledge remains largely unexplored. This study investigates the task-specific information encoded in pre-trained LLMs and the effects of instruction tuning on their representations across a diverse set of over 60 NLP tasks. We use a set of matrix analysis tools to examine the differences between the way pre-trained and instruction-tuned LLMs store task-specific information. Our findings reveal that while some tasks are already encoded within the pre-trained LLMs, others greatly benefit from instruction tuning. Additionally, we pinpointed the layers in which the model transitions from high-level general representations to more task-oriented representations. This finding extends our understanding of the governing mechanisms of LLMs and facilitates future research in the fields of parameter-efficient transfer learning and multi-task learning. Our code is available at: https://github.com/zsquaredz/layerbylayer/
| Original language | English |
|---|---|
| Title of host publication | Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing |
| Editors | Yaser Al-Onaizan, Mohit Bansal, Yun-Nung Chen |
| Place of Publication | Kerrville, TX, USA |
| Publisher | Association for Computational Linguistics |
| Pages | 15195-15214 |
| Number of pages | 20 |
| ISBN (Electronic) | 9798891761643 |
| DOIs | |
| Publication status | Published - 1 Nov 2024 |
| Event | 2024 Conference on Empirical Methods in Natural Language Processing - Hyatt Regency Miami Hotel, Miami, United States Duration: 12 Nov 2024 → 16 Nov 2024 https://2024.emnlp.org/ |
Conference
| Conference | 2024 Conference on Empirical Methods in Natural Language Processing |
|---|---|
| Abbreviated title | EMNLP 2024 |
| Country/Territory | United States |
| City | Miami |
| Period | 12/11/24 → 16/11/24 |
| Internet address |
Fingerprint
Dive into the research topics of 'Layer by layer: Uncovering where multi-task learning happens in instruction-tuned large language models'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver