Hyperdimensional Probe: Decoding LLM Representations via Vector Symbolic Architectures
Abstract
Despite their capabilities, Large Language Models (LLMs) remain opaque with limited understanding of their internal representations. Current interpretability methods either focus on input-oriented feature extraction, such as supervised probes and Sparse Autoencoders (SAEs), or on output distribution inspection, such as logit-oriented approaches. A full understanding of LLM vector spaces, however, requires integrating both perspectives, something existing approaches struggle with due to constraints on latent feature definitions. We introduce the Hyperdimensional Probe, a hybrid supervised probe that combines symbolic representations with neural probing. Leveraging Vector Symbolic Architectures (VSAs) and hypervector algebra, it unifies prior methods: the top-down interpretability of supervised probes, SAE's sparsity-driven proxy space, and output-oriented logit investigation. By combining the supervised learning paradigm of traditional probes with the dictionary-based representation principle of SAEs, our approach enables deeper input-focused feature extraction while supporting output-oriented analysis. Our experiments demonstrate that our approach consistently extracts meaningful semantic information across different LLMs, embedding sizes, and configurations, uncovering concept-oriented insights into LLM inference across two distinct scenarios: input-completion tasks and QA-focused text generation. VSA-based probing overcomes the limitations of logit-based analyses, which are constrained by the model's token vocabulary, while also mitigating the noisier interpretability outcomes often produced by SAEs in settings with a bounded conceptual feature space. By supporting a joint investigation of input-output features, this work advances the semantic understanding of neural representations while unifying the complementary perspectives of prior methods.
Figures & tables
| Extracted Concepts (%) | GPT-2 | Pythia | Llama 3.1 | Phi-4 | OLMo-2 | Llama4, Scout | AVERAGE |
| Key Target | 60.0 | 66.9 | 85.4 | 84.8 | 80.1 | 79.0 | 76.0 9.4 |
| NONE | 21.9 | 16.7 | 6.9 | 7.6 | 8.5 | 11.5 | 12.2 5.4 |
| Key | 4.5 | 6.1 | 0.6 | 1.0 | 1.8 | 3.4 | 2.9 2.0 |
| Example | 5.8 | 2.4 | 1.5 | 1.3 | 2.0 | 0.8 | 2.3 1.6 |
| Context Target | 1.1 | 1.9 | 1.5 | 1.2 | 4.4 | 2.4 | 2.1 1.1 |
| Key Key Values | 1.3 | 1.4 | 1.8 | 1.5 | 1.1 | 0.8 | 1.3 0.3 |
| Area | Llama 4 (docs, %) | OLMo2 (docs, %) | AVG | Sample | Domain |
| Mathematics | 87.8 | 91.1 | 89.5 | 80 is to 160 as 98 is to | math double |
| Semantic Hierarchies | 38.8 | 30.8 | 34.8 | limousine is to car as monorail is to | hyponyms |
| Semantic Relations | 10.0 | 3.9 | 7.0 | Croatia is to Croatian as Switzerland is to | nationality adjective |
| Factual Knowledge | 5.5 | 5.1 | 5.3 | euclid is to Greek as galilei is to | name nationality |
| Verbal & Grammatical Forms | 1.4 | 2.1 | 1.9 | seeing is to saw as describing is to | past tense |
| Morphological Modifiers | 1.1 | 0.8 | 1.0 | agree is to agreement as excite is to | verb+ment |
| GPT-2 | Pythia | Llama 3.1 | Phi-4 | OLMo-2 | Llama 4, Scout | AVERAGE | |
| NONE : no concepts from DLA (%; ) | 33.9 | 32.8 | 47.4 | 33.1 | 14.6 | 15.4 | 29.5 11.4 |
| Concepts extracted from by VSA (%) | |||||||
| Key Target | 53.5 | 56.5 | 76.6 | 70.5 | 44.5 | 42.6 | 57.4 12.5 |
| NONE | 26.8 | 24.3 | 13.7 | 18.6 | 41.0 | 43.2 | 27.9 10.9 |
| Example | 6.8 | 3.0 | 2.1 | 2.1 | 3.4 | 2.0 | 3.2 1.7 |
| Key | 5.2 | 7.3 | 0.7 | 0.9 | 1.6 | 3.0 | 3.1 2.4 |
| Extracted Concepts (%) | GPT-2 | Pythia | Llama 3.1 | Phi-4 | OLMo-2 | Llama 4, Scout | AVERAGE |
| Out-Of-Context | 83.9 | 61.5 | 31.3 | 14.6 | 39.2 | 29.3 | 43.3 |
| Key | Target | Out-Of-Context | 2.6 | 11.7 | 45.4 | 54.1 | 37.5 | 42.3 | 32.3 |
| Target | Out-Of-Context | 2.9 | 4.5 | 7.2 | 8.7 | 4.9 | 9.0 | 6.2 |
| Key | Out-Of-Context | 2.6 | 4.4 | 5.3 | 6.2 | 4.2 | 5.4 | 4.7 |
| Context | Target | Out-Of-Context | 0.0 | 1.7 | 0.0 | 3.5 | 4.8 | 3.6 | 2.3 |
| Example | Out-Of-Context | 2.2 | 7.1 | 1.0 | 0.8 | 1.4 | 1.3 | 2.3 |
Appendix figures & tables24 assets
Supplementary material from the paper’s appendix.
Appendix
| Component | Input Dim | Output Dim | Note |
| Input Layer | |||
| Linear Layer | 4096 | - | |
| Normalization | - | - | LayerNorm ) |
| Activation | - | - | GELU |
| Residual Block 1 | |||
| Linear Layer | 4096 | 4096 | GELU activation |
| Large Language Model | Cosine similarity | Binary accuracy | |||
| Name | Parameters | Embedding dimension | Layers from residual stream | ||
| BASELINE | - | 5120 | - | 0.500 | 0.750 |
| Llama 4, Scout, 17B-16E | 109 B | 5120 | 24 th to 48 th | 0.890 | 0.934 |
| OLMo-2 | 32 B | 5120 | 32 nd to 64 th | 0.878 | 0.926 |
| Phi 4 | 14 B | 5120 | 20 th to 40 th | 0.881 | 0.930 |
| Llama 3.1-8B | 8 B | 4096 | 16 th to 32 nd | 0.892 | 0.937 |
| Concept for unbinding (%) | GPT-2 | Pythia | Llama 4, Scout | OLMo-2 | Phi-4 | Llama 3.1 | AVERAGE |
| Key | 65.9 | 74.4 | 83.2 | 83.2 | 87.4 | 87.9 | 80.3 ± 7.8 |
| NONE | 22.0 | 16.9 | 11.6 | 8.6 | 7.7 | 7.0 | 12.3 ± 5.4 |
| Example Key | 6.0 | 2.6 | 1.0 | 2.1 | 1.5 | 1.7 | 2.5 ± 1.7 |
| Context | 1.2 | 2.0 | 2.6 | 4.5 | 1.3 | 1.5 | 2.2 ± 1.2 |
| Greedy | 2.1 | 1.9 | 1.3 | 0.9 | 1.2 | 0.9 | 1.4 ± 0.5 |
| Example Value | 1.6 | 1.5 | 1.0 | 0.4 | 0.7 | 0.5 | 0.9 ± 0.5 |
| MODEL | LLM’s Next Token | DLA-based Probing | SAE-based Probing | VSA-based Probing | |||
| Precision@1 | Precision@5 | Precision@1 | Precision@10 | Precision@100 | Precision@1 | Precision@5 | |
| Permuted baseline | - | - | - | - | - | 0.080 (079-082) | 0.103 (101-104) |
| Unrelated baseline | - | - | - | - | - | 0.099 (097-101) | 0.105 (103-107) |
| Llama 4 Scout, 17B-16E | 0.081 (079-082) | 0.501 (498-504) | 0.773 (771-775) | 0.604 (601-607) | 0.923 (921-924) | 0.866 (864-868) | 0.875 (873-877) |
| GPT-2, medium | 0.267 (265-270) | 0.548 (545-551) | 0.300 (298-303) | 0.063 (062-064) | 0.402 (399-404) | 0.692 (689-695) | 0.702 (699-704) |
| Pythia-1.4b | 0.369 (366-372) | 0.654 (651-657) | 0.413 (410-416) | 0.205 (203-208) | 0.863 (861-865) | 0.778 (776-781) | 0.790 (788-792) |
| Extracted Concepts (docs, %) | GPT-2 | Pythia | Llama4, Scout | OLMo-2 | Phi-4 | Llama 3.1 | AVERAGE | VSA |
| NONE | 33.9 | 32.8 | 15.4 | 14.6 | 33.1 | 47.4 | 29.5 11.4 | +17.3 |
| Target | 15.0 | 18.0 | 36.7 | 29.0 | 34.4 | 22.5 | 25.9 8.1 | +25.8 |
| Key Target | 12.6 | 19.3 | 38.4 | 38.5 | 22.7 | 22.1 | 25.6 9.7 | - 50.4 |
| Key | 9.7 | 10.4 | 6.3 | 10.4 | 6.0 | 4.5 | 7.9 2.4 | +5.0 |
| Example Value | 12.8 | 5.7 | 0.3 | 0.7 | 0.9 | 0.5 | 3.5 4.6 | +3.5 |
| Example | 9.0 | 5.3 | 0.3 | 1.7 | 1.0 | 0.5 | 3.0 3.2 | +0.7 |
| Extracted concepts (docs, %) | Morphological Modifiers | Verbal & Grammatical Forms | Factual Knowledge | Semantic Relations | Mathematics | Semantic Hierarchies | AVERAGE |
| Key Target | 90.3 | 83.4 | 70.1 | 79.4 | 0.0 | 41.5 | 60.8 ± 30.3 |
| NONE | 1.6 | 2.7 | 14.3 | 1.7 | 91.1 | 21.1 | 22.1 ± 31.1 |
| Example | 0.7 | 0.7 | 4.7 | 8.5 | 0.0 | 15.0 | 4.9 ± 5.1 |
| Key | 1.6 | 2.7 | 3.8 | 1.4 | 0.0 | 5.1 | 2.4 ± 1.7 |
| Key Pair Values | 1.3 | 0.9 | 0.0 | 5.1 | 0.0 | 11.6 | 3.2 ± 4.2 |
| Context Target | 4.4 | 7.4 | 0.8 | 1.6 | 0.0 | 0.6 | 2.5 ± 2.6 |
| Extracted concepts (docs,%) | GPT-2 | Pythia | Llama3 | Phi-4 | OLMo-2 | Llama4 | AVERAGE |
| None | 40.9 | 46.5 | 83.1 | 72.7 | 55.9 | 53.9 | |
| Target | 8.1 | 9.0 | 5.3 | 15.7 | 14.3 | 23.3 | |
| Key | 7.5 | 11.7 | 3.4 | 4.3 | 13.2 | 9.1 | |
| Key Target | 6.9 | 8.7 | 5.7 | 3.6 | 11.8 | 11.9 | |
| Example Value | 17.9 | 11.1 | 1.3 | 1.0 | 1.3 | 0.6 | |
| Example | 12.1 | 6.6 | 0.4 | 2.2 | 1.7 | 0.1 |
| Large Language Model | Sparse Autoencoder (SAEs) | Cosine similarity | |||
| Name | Layers from residual stream | Embedding dimension | Latent dimension | Top-k | |
| BASELINE | - | 5120 | 20480 | 410 | 0.584 |
| Llama 4, Scout, 17B-16E | 24 th to 48 th | 5120 | 20480 | 410 | 0.979 |
| OLMo-2 | 32 nd to 64 th | 5120 | 20480 | 410 | 0.976 |
| Phi 4 | 20 th to 40 th | 5120 | 20480 | 410 | 0.985 |
| Llama 3.1-8B | 16 th to 32 nd | 4096 | 16384 | 328 | 0.979 |
| DE | EN | ES | FR | IT | JA | RU | ZH | |
| DE | 1.00 | 0.61 | 0.39 | 0.40 | 0.70 | 0.38 | 0.47 | 0.70 |
| EN | 0.88 | 1.00 | 0.64 | 0.75 | 0.85 | 0.69 | 0.74 | 0.80 |
| ES | 0.85 | 0.84 | 1.00 | 0.84 | 0.88 | 0.49 | 0.74 | 0.78 |
| FR | 0.77 | 0.63 | 0.50 | 1.00 | 0.80 | 0.45 | 0.56 | 0.67 |
| IT | 0.38 | 0.71 | 0.20 | 0.33 | 1.00 | 0.24 | 0.37 | 0.56 |
| JA | 0.96 | 0.96 | 0.84 | 0.93 | 0.93 | 1.00 | 0.88 | 0.85 |
| Dataset | Domains | Sample example | ||
| Google Analogy Test Set | 12 | capital world, currency, plural, | 33,812 | Denmark : krone = Mexico : peso |
| Bigger Analogy Test Set | 33 | verb+ment, occupation, gender, | 73,471 | queen : king = mother : father |
| Mathematics | 7 | double, square, division2, | 6,816 | 4 : 16 = 5 : 25 |
| 52 | 114,099 | |||
| Category | Domains | Docs | |
| Morphological Modifiers | 14 | noun+less, adj+ness, | 34,308 (30%) |
| Verbal & Grammatical Forms | 13 | past tense, plural, | 31,219 (27%) |
| Factual Knowledge | 7 | country capital, occupation, | 18,800 (17%) |
| Semantic Relations | 8 | family, genders, | 16,831 (15%) |
| Mathematics | 7 | math double, math division5, | 6,816 (6%) |
| Semantic Hierarchies | 3 | hypernyms, hyponyms, | 6,125 (5%) |
| Domain | Examples | Domain | Examples | Domain | Examples |
| country_capital | 21801 | capital_world | 18561 | country_language | 12299 |
| antonyms_gradable | 11268 | adj_superlative | 10942 | un+adj_reg | 10614 |
| adj+ly_reg | 10576 | adj_comparative | 10519 | male_female | 10236 |
| noun_plural_reg | 10216 | noun_plural_irreg | 10206 | verb_Ving_Ved | 10164 |
| verb_inf_3pSg | 10112 | animal_sound | 10083 | verb_inf_Ving | 10008 |
| name_nationality | 9998 | verb+er_irreg | 9865 | verb_Ving_3pSg | 9861 |
| Comp. | EV (mean std) | Norm. EV |
| 0 | 58084 5293 | 0.650 |
| 1 | 15450 2056 | 0.170 |
| 2 | 5972 608 | 0.070 |
| 3 | 2539 330 | 0.030 |
| 4 | 2057 220 | 0.020 |
| 5 | 1187 166 | 0.010 |
LLM Interpretability
Large language model (LLM) interpretability studies how internal representations and computations produce outputs, and how they can be explained or controlled.
See all 778 papers