ConTrans: Weak-to-Strong Alignment Engineering via Concept Transplantation

Weilong Dong, Xinwei Wu, Renren Jin, Shaoyang Xu, Deyi Xiong
5/22/2024
cs.CL

No official code found. Best implementation: willowdong/ConTrans (0 stars, last commit 2024-08-06).

Abstract

Ensuring large language models (LLM) behave consistently with human goals, values, and intentions is crucial for their safety but yet computationally expensive. To reduce the computational cost of alignment training of LLMs, especially for those with a huge number of parameters, and to reutilize learned value alignment, we propose ConTrans, a novel framework that enables weak-to-strong alignment transfer via concept transplantation. From the perspective of representation engineering, ConTrans refines concept vectors in value alignment from a source LLM (usually a weak yet aligned LLM). The refined concept vectors are then reformulated to adapt to the target LLM (usually a strong yet unaligned base LLM) via affine transformation. In the third step, ConTrans transplants the reformulated concept vectors into the residual stream of the target LLM. Experiments demonstrate the successful transplantation of a wide range of aligned concepts from 7B models to 13B and 70B models across multiple LLMs and LLM families. Remarkably, ConTrans even surpasses instruction-tuned models in terms of truthfulness. Experiment results validate the effectiveness of both inter-LLM-family and intra-LLM-family concept transplantation. Our work successfully demonstrates an alternative way to achieve weak-to-strong alignment generalization and control.

View on arXivView PDF

Code Implementations(1)

willowdong/ConTransCommunity100%
00Shell, PythonMay 24, 20242 years ago

Similar Papers

Cite this paper

@article{dong2024contrans,
  title  = {ConTrans: Weak-to-Strong Alignment Engineering via Concept Transplantation},
  author = {Weilong Dong and Xinwei Wu and Renren Jin and Shaoyang Xu and Deyi Xiong},
  year   = {2024},
  eprint = {2405.13578},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.13578v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.13578.svg)](https://codeofpaper.com/paper/2405.13578)

Discussion