Causality $\neq$ Invariance: Function and Concept Vectors in LLMs
Abstract
Do large language models (LLMs) represent concepts abstractly, i.e., independent of input format? We revisit Function Vectors (FVs), compact representations of in-context learning (ICL) tasks that causally drive task performance. Across multiple LLMs, we show that FVs are not fully invariant: FVs are nearly orthogonal when extracted from different input formats (e.g., open-ended vs. multiple-choice), even if both target the same concept. We identify Concept Vectors (CVs), which carry more stable concept representations. Like FVs, CVs are composed of attention head outputs; however, unlike FVs, the constituent heads are selected using Representational Similarity Analysis (RSA) based on whether they encode concepts consistently across input formats. While these heads emerge in similar layers to FV-related heads, the two sets are largely distinct, suggesting different underlying mechanisms. Steering experiments reveal that FVs excel in-distribution, when extraction and application formats match (e.g., both open-ended in English), while CVs generalize better out-of-distribution across both question types (open-ended vs. multiple-choice) and languages. Our results show that LLMs do contain abstract concept representations, but these differ from those that drive ICL performance.
Empirical ResultsBrowse all benchmarks →
| Benchmark | Method | Metric | Score | Protocol / Evidence |
|---|---|---|---|---|
| Cross-format activation patching, Llama 3.1 70B; OE-ENG → OE-FR | Cross-format activation patching; FV-head overlap | Overlap w/ FV (top-5) | 4 heads | Activation Patching · params=70B · backbone=Llama 3.1 70B · source-format=OE-ENG · target-format=OE-FRSource quoteL505: OE-ENG │ OE-FR │ 0.22 │ 4 │ 0 |
| Cross-format activation patching, Llama 3.1 70B; OE-ENG → OE-FR | Cross-format activation patching; CV-head overlap | Overlap w/ CV (top-5) | 0 heads | Activation Patching · params=70B · backbone=Llama 3.1 70B · source-format=OE-ENG · target-format=OE-FRSource quoteL505: OE-ENG │ OE-FR │ 0.22 │ 4 │ 0 |
| Cross-format activation patching, Llama 3.1 70B; OE-ENG → MC | Cross-format activation patching; FV-head overlap | Overlap w/ FV (top-5) | 2 heads | Activation Patching · params=70B · backbone=Llama 3.1 70B · source-format=OE-ENG · target-format=MCSource quoteL506: OE-ENG │ MC │ 0.02 │ 2 │ 0 |
| Cross-format activation patching, Llama 3.1 70B; OE-ENG → MC | Cross-format activation patching; CV-head overlap | Overlap w/ CV (top-5) | 0 heads | Activation Patching · params=70B · backbone=Llama 3.1 70B · source-format=OE-ENG · target-format=MCSource quoteL506: OE-ENG │ MC │ 0.02 │ 2 │ 0 |
| Cross-format activation patching, Llama 3.1 70B; OE-FR → MC | Cross-format activation patching; FV-head overlap | Overlap w/ FV (top-5) | 1 heads | Activation Patching · params=70B · backbone=Llama 3.1 70B · source-format=OE-FR · target-format=MCSource quoteL507: OE-FR │ MC │ 0.01 │ 1 │ 0 |
| Cross-format activation patching, Llama 3.1 70B; OE-FR → MC | Cross-format activation patching; CV-head overlap | Overlap w/ CV (top-5) | 0 heads | Activation Patching · params=70B · backbone=Llama 3.1 70B · source-format=OE-FR · target-format=MCSource quoteL507: OE-FR │ MC │ 0.01 │ 1 │ 0 |
BibTeX
@inproceedings{opieka2026causality,
author = {Gustaw Opiełka and Hannes Rosenbusch and Claire E. Stevenson},
title = {{Causality $\textbackslash\{\}neq$ Invariance: Function and Concept Vectors in LLMs}},
booktitle = {International Conference on Learning Representations},
year = {2026},
url = {https://openreview.net/forum?id=LmLmhb6GEL},
}Ask Althea to put this paper to the test.