Enhancing Multiple Dimensions of Trustworthiness in LLMs via Sparse Activation Control

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Xiao, Yuxin, Wan, Chaoqun, Zhang, Yonggang, Wang, Wenxiao, Lin, Binbin, He, Xiaofei, Shen, Xu, Ye, Jieping
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912105293152256
author Xiao, Yuxin
Wan, Chaoqun
Zhang, Yonggang
Wang, Wenxiao
Lin, Binbin
He, Xiaofei
Shen, Xu
Ye, Jieping
author_facet Xiao, Yuxin
Wan, Chaoqun
Zhang, Yonggang
Wang, Wenxiao
Lin, Binbin
He, Xiaofei
Shen, Xu
Ye, Jieping
contents As the development and application of Large Language Models (LLMs) continue to advance rapidly, enhancing their trustworthiness and aligning them with human preferences has become a critical area of research. Traditional methods rely heavily on extensive data for Reinforcement Learning from Human Feedback (RLHF), but representation engineering offers a new, training-free approach. This technique leverages semantic features to control the representation of LLM's intermediate hidden states, enabling the model to meet specific requirements such as increased honesty or heightened safety awareness. However, a significant challenge arises when attempting to fulfill multiple requirements simultaneously. It proves difficult to encode various semantic contents, like honesty and safety, into a singular semantic feature, restricting its practicality. In this work, we address this issue through ``Sparse Activation Control''. By delving into the intrinsic mechanisms of LLMs, we manage to identify and pinpoint components that are closely related to specific tasks within the model, i.e., attention heads. These heads display sparse characteristics that allow for near-independent control over different tasks. Our experiments, conducted on the open-source Llama series models, have yielded encouraging results. The models were able to align with human preferences on issues of safety, factuality, and bias concurrently.
format Preprint
id arxiv_https___arxiv_org_abs_2411_02461
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Enhancing Multiple Dimensions of Trustworthiness in LLMs via Sparse Activation Control
Xiao, Yuxin
Wan, Chaoqun
Zhang, Yonggang
Wang, Wenxiao
Lin, Binbin
He, Xiaofei
Shen, Xu
Ye, Jieping
Computation and Language
Artificial Intelligence
As the development and application of Large Language Models (LLMs) continue to advance rapidly, enhancing their trustworthiness and aligning them with human preferences has become a critical area of research. Traditional methods rely heavily on extensive data for Reinforcement Learning from Human Feedback (RLHF), but representation engineering offers a new, training-free approach. This technique leverages semantic features to control the representation of LLM's intermediate hidden states, enabling the model to meet specific requirements such as increased honesty or heightened safety awareness. However, a significant challenge arises when attempting to fulfill multiple requirements simultaneously. It proves difficult to encode various semantic contents, like honesty and safety, into a singular semantic feature, restricting its practicality. In this work, we address this issue through ``Sparse Activation Control''. By delving into the intrinsic mechanisms of LLMs, we manage to identify and pinpoint components that are closely related to specific tasks within the model, i.e., attention heads. These heads display sparse characteristics that allow for near-independent control over different tasks. Our experiments, conducted on the open-source Llama series models, have yielded encouraging results. The models were able to align with human preferences on issues of safety, factuality, and bias concurrently.
title Enhancing Multiple Dimensions of Trustworthiness in LLMs via Sparse Activation Control
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2411.02461