cs.CLFeb 25, 2026

Causality ≠\neq Invariance: Function and Concept Vectors in LLMs

Authors: Gustaw Opiełka, Hannes Rosenbusch, Claire E. Stevenson

Organizations: University of Amsterdam

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.

Figures & tables

Appendix figures & tables18 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Fast & Faithful Function Vectors

    Jun 3, 2026Minh An Pham, Anton Segeler, Thomas Wiegand +4Task VectorsLLM Interpretability

  2. Functional Subspace, where language models can use vector algebra to solve problems

    Feb 2, 2026Jung H. Lee, Sujith VijayanLLM InterpretabilityIn-Context Learning

  3. Exploring Language-Agnosticity in Function Vectors: A Case Study in Machine Translation

    Apr 21, 2026Nurkhan Laiyk, Gerard I. Gállego, Javier Ferrando +1Multilingual Language ModelsTask Vectors