Chat Vector: A Simple Approach to Equip LLMs with Instruction Following and Model Alignment in New Languages
Shih-Cheng Huang, Pin-Zu Li, Yu-Chi Hsu, Kuang-Ming Chen, Yu Tung Lin,, Shih-Kai Hsiao, Richard Tzong-Han Tsai, Hung-yi Lee

TL;DR
This paper introduces the chat vector, a simple arithmetic method to enable open-source LLMs to follow instructions and align with human values in new languages without additional training.
Contribution
The authors propose the chat vector technique, allowing models to acquire chat capabilities through weight subtraction and addition, simplifying multilingual instruction following.
Findings
Chat vector improves instruction following across languages.
It reduces toxicity and enhances multi-turn dialogue performance.
The method is effective across various models and languages.
Abstract
Recently, the development of open-source large language models (LLMs) has advanced rapidly. Nevertheless, due to data constraints, the capabilities of most open-source LLMs are primarily focused on English. To address this issue, we introduce the concept of to equip pre-trained language models with instruction following and human value alignment via simple model arithmetic. The chat vector is derived by subtracting the weights of a pre-trained base model (e.g. LLaMA2) from those of its corresponding chat model (e.g. LLaMA2-chat). By simply adding the chat vector to a continual pre-trained model's weights, we can endow the model with chat capabilities in new languages without the need for further training. Our empirical studies demonstrate the superior efficacy of the chat vector from three different aspects: instruction following, toxicity mitigation, and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- 🤗beomi/Llama-3-Open-Ko-8Bmodel· 7.3k dl· ♡ 1607.3k dl♡ 160
- 🤗RichardErkhov/beomi_-_Llama-3-Open-Ko-8B-ggufmodel· 117 dl· ♡ 1117 dl♡ 1
- 🤗aqweteddy/xwin-7b_chatvec-tulu2model· 804 dl804 dl
- 🤗aqweteddy/mistral_tv-neural-marconronimodel· 678 dl· ♡ 1678 dl♡ 1
- 🤗kousw/stablelm-gamma-7b-chatvectormodel· 3 dl· ♡ 13 dl♡ 1
- 🤗jovyan/Swallow-MS-7b-v0.1-ChatVectormodel· 4 dl4 dl
- 🤗aixsatoshi/Swallow-MX-8x7b-NVE-chatvector-Mixtral-instructmodel· 11 dl· ♡ 511 dl♡ 5
- 🤗napopoa32/swallow-hermes-st-v1model· 13 dl· ♡ 1413 dl♡ 14
- 🤗HachiML/SkillTree-Code-llama2-7b-hfmodel· 16 dl· ♡ 116 dl♡ 1
- 🤗HachiML/SkillTree-Math-OpenMath-Mistral-7B-v0.1model· 5 dl· ♡ 25 dl♡ 2
Videos
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques
MethodsBalanced Selection · Shrink and Fine-Tune
