Salvato in:
Dettagli Bibliografici
Autori principali: Postmus, Joris, Abreu, Steven
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:https://arxiv.org/abs/2410.16314
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866908358495174656
author Postmus, Joris
Abreu, Steven
author_facet Postmus, Joris
Abreu, Steven
contents Large language models have transformed AI, yet reliably controlling their outputs remains a challenge. This paper explores activation engineering, where outputs of pre-trained LLMs are controlled by manipulating their activations at inference time. Unlike traditional methods using a single steering vector, we introduce conceptors - mathematical constructs that represent sets of activation vectors as ellipsoidal regions. Conceptors act as soft projection matrices and offer more precise control over complex activation patterns. Our experiments demonstrate that conceptors outperform traditional methods across multiple steering tasks. We further use Boolean operations on conceptors for combined steering goals that empirically outperform additively combining steering vectors on a set of tasks. These results highlight conceptors as a promising tool for more effective steering of LLMs. Our code is available on github.com/jorispos/conceptorsteering.
format Preprint
id arxiv_https___arxiv_org_abs_2410_16314
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Steering Large Language Models using Conceptors: Improving Addition-Based Activation Engineering
Postmus, Joris
Abreu, Steven
Neural and Evolutionary Computing
Machine Learning
Large language models have transformed AI, yet reliably controlling their outputs remains a challenge. This paper explores activation engineering, where outputs of pre-trained LLMs are controlled by manipulating their activations at inference time. Unlike traditional methods using a single steering vector, we introduce conceptors - mathematical constructs that represent sets of activation vectors as ellipsoidal regions. Conceptors act as soft projection matrices and offer more precise control over complex activation patterns. Our experiments demonstrate that conceptors outperform traditional methods across multiple steering tasks. We further use Boolean operations on conceptors for combined steering goals that empirically outperform additively combining steering vectors on a set of tasks. These results highlight conceptors as a promising tool for more effective steering of LLMs. Our code is available on github.com/jorispos/conceptorsteering.
title Steering Large Language Models using Conceptors: Improving Addition-Based Activation Engineering
topic Neural and Evolutionary Computing
Machine Learning
url https://arxiv.org/abs/2410.16314