Style Vectors for Steering Generative Large Language Model
Konen, Kai, Jentzsch, Sophie, Diallo, Diaoulé, Schütt, Peer, Bensch, Oliver, Baff, Roxanne El, Opitz, Dominik, Hecking, Tobias
–arXiv.org Artificial Intelligence
This research explores strategies for steering the output of large language models (LLMs) towards specific styles, such as sentiment, emotion, or writing style, by adding style vectors to the activations of hidden layers during text generation. We show that style vectors can be simply computed from recorded layer activations for input texts in a specific style in contrast to more complex training-based approaches. Through a series of experiments, we demonstrate the effectiveness of activation engineering using such style vectors to influence the style of generated text in a nuanced and parameterisable way, distinguishing it from prompt engineering. The presented research constitutes a significant step towards developing more adaptive and effective AI-empowered interactive systems.
arXiv.org Artificial Intelligence
Feb-2-2024
- Country:
- Asia
- China > Hong Kong (0.04)
- Myanmar > Tanintharyi Region
- Dawei (0.04)
- Taiwan > Taiwan Province
- Taipei (0.04)
- Europe
- Denmark > Capital Region
- Copenhagen (0.04)
- France (0.04)
- Germany > Berlin (0.04)
- Ireland (0.04)
- Romania > Sud - Muntenia Development Region
- Giurgiu County > Giurgiu (0.04)
- Denmark > Capital Region
- North America > United States
- Washington > King County > Seattle (0.04)
- Asia
- Genre:
- Research Report (0.64)
- Technology: