Representation Geometry

87 beliefs (87 IN, 0 OUT)

The topic "Representation Geometry" covers the mathematical structure of how concepts are encoded in the vector spaces of large language models, and why the choice of inner product is not a notational detail but a semantically load-bearing one. At its center is the causal inner product, defined as the inverse covariance of unembedding vectors (M = Cov(γ)⁻¹) (causal-inner-product-defined-as-inverse-covariance, park-2023-causal-inner-product-closed-form), which enforces orthogality between concepts that can be varied independently—such as gender versus language direction—where the naive Euclidean dot product either produces false positives or fails entirely (causal-inner-product-enforces-orthogality-of-independent-concepts, causal-inner-product-strictly-superior-to-euclidean). The reason Euclidean geometry partially works in LLaMA-2 is not deep but accidental: approximately isotropic covariance from initialization or implicit regularization makes unrelated directions roughly orthogonal by chance (euclidean-orthogonality-in-llama2-is-accidental, isotropic-covariance-explains-euclidean-partial-success-in-llama2). In Gemma-2B, where unembedding weights are tied to input embeddings, the origin of the unembedding space carries semantic weight and Euclidean similarity breaks down outright, while the causal inner product still correctly separates concept directions (gemma-2b-tied-embeddings-invalidate-euclidean-inner-product, gemma-2b-tied-weights-break-euclidean-geometry). More fundamentally, the softmax training objective is invariant under an invertible affine transformation of the unembedding matrix, meaning training alone never selects a canonical inner product and no raw Euclidean geometry is semantically privileged (park-2023-softmax-affine-gauge-invariance, training-identifies-representations-only-up-to-affine-transform). The causal inner product resolves this by providing a structure-respecting metric, and the Riesz isomorphism under that metric maps each unembedding representation exactly to its embedding counterpart, collapsing the two separate spaces (embedding Λ and unembedding Γ) into a single unified geometric object (riesz-isomorphism-unifies-embedding-and-unembedding-spaces, park-2023-riesz-map-unifies-embedding-unembedding).

Building on this inner-product foundation, the topic encompasses a rich set of geometric theorems about how categorical and hierarchical concepts are laid out in LLM representation space. Park et al. (ICLR 2025) prove that natural categorical concepts—where the model can freely manipulate any output marginal—are represented as (k−1)-simplices, while more general categorical concepts form polytopes as convex hulls of vertex vectors (park-2025-natural-concepts-simplices, park-2025-iclr-categorical-polytope-geometry, park-2025-proposition-9-simplices). For taxonomic hierarchies drawn from WordNet, Theorem 8 establishes that a parent vector is orthogonal to the child-minus-parent residual, sibling contrast vectors are mutually orthogonal, and three-level chains obey norm-additivity, all validated on Gemma-2B and LLaMA-3-8B (park-2025-hierarchical-orthogonality-theorem-8, park-2024-llama3-hierarchy-orthogonality, park-2025-norm-additivity-orthogonality-proof, park-2025-validation-models-wordnet). The full representation space thereby decomposes as a direct sum of orthogonal subspaces, one per hierarchy level (park-2025-direct-sum-space-decomposition). Cross-lingual translation concepts exhibit the same structure: pairs sharing a pivot language (English→French and French→German) have high causal inner product, while non-overlapping pairs (English→French vs. German→Spanish) are nearly orthogonal, confirming that geometric relations mirror linguistic compositional relations (cross-lingual-pivot-language-structure, shared-language-causal-entanglement-structure, causal-inner-product-captures-shared-linguistic-subconcept). Importantly, the paper reports a negative result: no hyperbolic geometric structure was detected despite prior work mapping semantic hierarchy to hyperbolic embeddings (park-2025-no-hyperbolic-geometry-found).

Several beliefs mark the empirical boundaries and methodological assumptions underlying these claims. The Linear Representation Hypothesis—that concepts correspond to linear directions in representation space—has three distinct formal interpretations (subspace, measurement, intervention), and while 26 of 27 tested concepts in LLaMA-2 satisfy it, the relation "thing→part" is a named counterexample absent from the unembedding space entirely, showing the hypothesis has real limits (lrh-three-interpretations-subspace-measurement-intervention, park-2023-27-concepts-thing-part-not-encoded, thing-to-part-failed-linear-representation-test). Empirical controls including shuffled unembeddings, random parent assignments, and independent training splits rule out spurious orthogonality arising from set inclusion or high-dimensional geometry alone (park-2025-empirical-controls-shuffle-random, park-2024-shuffled-baseline-collapses-orthogonality, park-2025-set-inclusion-spurious-orthogonality). The whitening transformation required for the causal inner product applies only to the final-layer unembedding matrix, leaving internal-layer geometry an open problem (park-2025-whitening-final-layer-only, park-2025-final-layer-final-token). Broader interpretability work—sparse autoencoder features, ROME-style edits, residual-stream analysis—converges on the same covariance-geometry approach as a practical framework for feature manipulation in over-complete representation spaces, and the Riesz map has been proposed as a unifying algebraic account connecting semantic measurement, parametric editing, and cross-model geometric convergence into a single structural premise (riesz-map-as-unified-operational-framework-v2, riesz-map-unifies-full-logical-structure-v2, superposition-necessitates-covariance-whitening-v2, sae-functional-abstraction-extends-geometric-scope-v2). On the question of compositionality, the topic includes the definitional lineage from Frege's context principle and Carnap's 1947 formulation through Partee's 1984 statement and Montague's homomorphism formalization, noting the strong-versus-weak distinction and the challenge posed by logical metonymy (compositionality-carnap-1947-first-explicit, compositionality-frege-context-principle, compositionality-partee-1984-definition, compositionality-montague-homomorphism, compositionality-strong-vs-weak, compositionality-logical-metonymy-example). All beliefs in this topic are currently IN (affirmed); none have been retracted, so the knowledge base presents a consistent, if nuanced, picture of LLM representation geometry grounded in the causal-inner-product framework and validated across multiple model architectures.