Analogical Reasoning Inside Large Language Models: Concept Vectors and the Limits of Abstraction

Analogical reasoning relies on conceptual abstractions, but it is unclear whether Large Language Models (LLMs) harbor such internal representations. We explore distilled representations from LLM activations and find that function vectors (FVs; Todd et al., 2024) - compact representations for in-context learning (ICL) tasks - are not invariant to simple input changes (e.g., open-ended vs. multiple-choice), suggesting they capture more than pure concepts. Using representational similarity analysis (RSA), we localize a small set of attention heads that encode invariant concept vectors (CVs) for verbal concepts like"antonym". These CVs function as feature detectors that operate independently of the final output - meaning that a model may form a correct internal representation yet still produce an incorrect output. Furthermore, CVs can be used to causally guide model behaviour. However, for more abstract concepts like"previous"and"next", we do not observe invariant linear representations, a finding we link to generalizability issues LLMs display within these domains.

Paper

References (16)

09A mathematical framework for transformer circuits2021 · Transformer Circuits Thread
10Representational similarity analysis – connecting the branches of systems neuroscience2008 · Frontiers in Systems Neuroscience
122024. The Linear Representation Hypothesis and the Geometry of Large Language ModelsPreprint

Scroll for more · 4 remaining

Similar papers

© 2026 NYSGPT2525 LLC