Tracking Universal Features Through Fine-Tuning and Model Merging
Abstract
We study how features emerge, disappear, and persist across models fine-tuned on different domains of text. More specifically, we start from a base one-layer Transformer language model that is trained on a combination of the BabyLM corpus, and a collection of Python code from The Stack. This base model is adapted to two new domains of text: TinyStories, and the Lua programming language, respectively; and then these two models are merged using these two models using spherical linear interpolation. Our exploration aims to provide deeper insights into the stability and transformation of features across typical transfer-learning scenarios using small-scale models and sparse auto-encoders.
Community
Tracking Universal Features Through Fine-Tuning and Model Merging
Does a Python exception detection feature survive being adapted through Lua fine-tuning and diluted through slerp merging?
We extract language model features and track them across model adaptations, then explore high-level feature evolution dynamics and case studies.
Abstract
We study how features emerge, disappear, and persist across models fine-tuned on different domains of text. More specifically, we start from a base one-layer Transformer language model that is trained on a combination of the BabyLM corpus, and a collection of Python code from The Stack. This base model is adapted to two new domains of text: TinyStories, and the Lua programming language, respectively; and then these two models are merged using these two models using spherical linear interpolation. Our exploration aims to provide deeper insights into the stability and transformation of features across typical transfer-learning scenarios using small-scale models and sparse auto-encoders.
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- Residual Stream Analysis with Multi-Layer SAEs (2024)
- You can remove GPT2's LayerNorm by fine-tuning (2024)
- OCC-MLLM:Empowering Multimodal Large Language Model For the Understanding of Occluded Objects (2024)
- Adaptive Large Language Models By Layerwise Attention Shortcuts (2024)
- Layer Swapping for Zero-Shot Cross-Lingual Transfer in Large Language Models (2024)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment:
@librarian-bot
recommend
Models citing this paper 4
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper