Settings

Theme

Steering Characters with Interpretability

dmodel.ai

23 points by atondwal 2 years ago · 3 comments

Reader

muzakthings 2 years ago

very cool. how are you creating the control vectors? curious since the word "cold" can be both a conversational disposition and a temperature (same word)

  • atondwalOP 2 years ago

    thanks! we asked the model to generate some synonyms and antonyms (in this case, we have "cold" and "impassive" vs "affectionate" and "sensitive")

    Then, we ask the model to behave that way (with a prompt), and store the difference in activations for each pair. Then, a PCA can be used to extract the principal component, giving use the steering vector. We do most of this using the repeng library, and the author goes into a bit more detail on how it's done on her [blog](https://vgel.me/posts/representation-engineering/#How_do_we_...?)

ivanchan 2 years ago

This is incredible, I had no idea this was possible!

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection