Comparing bottom-up and top-down steering methods on in-context learning tasksComparing Bottom-Up and Top-Down Steering Approaches on In-Context Learning Tasks
Translation in progress — untranslated text is omitted.
A case study compares two types of vector steering methods in LLM interpretability: bottom-up function vectors (FV) and top-down in-context vectors (ICV). Both attempt to capture compact representations of in-context learning tasks, but are only effective on specific task types: ICV outperforms FV on behavior shifts, while FV performs better on tasks requiring higher precision. The paper discusses implications for evaluating steering methods and future research.
- Vector steering aims to control LLMs at inference time, but bottom-up and top-down methods originally had different tasks, making comparison difficult. The authors compare whether FV and ICV can replace in-context examples on unified ICL tasks.
- FV finds attention heads with high causal indirect effect on 10-shot demonstrations and adds them at about layer L/3. ICV is obtained from the activation difference of positive and negative demonstrations, added to all layers, with strength and number of demonstrations scanned. Functional tasks look at exact transformations, and behavioral tasks look at detoxification and sentiment transfer.
- The authors state that FV outperforms ICV on functional tasks, ICV is better on behavioral tasks, and FV deviates from the target on sentiment transfer. After switching to natural text, both decline, and ICV is more likely to harm fluency. In Table 1, capitalization, Llama-2-7b-chat, FV accuracy is 97.1%.
- The authors state that only a small task set and two methods were compared, which may not generalize, and they believe a unified evaluation benchmark is needed. Main experiments are on Llama 2-Chat (7B); behavioral tasks are zero-shot only; per-task percentages and seed counts for Figures 2/3 are not given in the main text.