paper-with-me

Papers

The Geometry of Categorical and Hierarchical Concepts in Large Language Models

2024-06-03 · Kiho Park, Yo Joong Choe, Yibo Jiang, Victor Veitch

The linear representation hypothesis is the informal idea that semantic concepts are encoded as linear directions in the representation spaces of large language models (LLMs). Previous work has shown how to make this notion precise for representing binary concepts that have natural contrasts (e.g., {male, female}) as directions in representation space. However, many natural concepts do not have natural contrasts (e.g., whether the output is about an animal). In this work, we show how to extend the formalization of the linear representation hypothesis to represent features (e.g., is_animal) as vectors. This allows us to immediately formalize the representation of categorical concepts as polytopes in the representation space. Further, we use the formalization to prove a relationship between the hierarchical structure of concepts and the geometry of their representations. We validate these theoretical results on the Gemma and LLaMA-3 large language models, estimating representations for 900+ hierarchically related concepts using data from WordNet.

📄 PDF Abstract BibTeX arXiv:2406.01506

Code (2)

kihopark/llm_categorical_hierarchical_representations 공식 구현 pytorch
carmilea/carmilea pytorch

Tasks

Language ModellingLarge Language Model

Similar Papers 제목 키워드 기반

Towers of Babel: Combining Images, Language, and 3D Geometry for Learning Multimodal Vision

2021-08-12 · ICCV 2021 10 · Xiaoshi Wu, Hadar Averbuch-Elor, Jin Sun, Noah Snavely

The abundance and richness of Internet photos of landmarks and cities has led to significant progress in 3D vision over the past two decades, including automated 3D reconstructions of the world's landmarks from tourist p…

3D geometryDescriptiveImage CaptioningMultimodal Reasoning

Hierarchical Concept Geometry in Language Models Emerges from Word Co-occurrence

2026-05-22 · Andres Nava, Matthieu Wyart arxiv

We propose a distributional theory of how hypernymy -- the ``is-a'' relation between general and specific concepts -- is encoded geometrically in language representations. Starting from the empirically verified assumptio…

Linear Representations of Hierarchical Concepts in Language Models

2026-04-09 · Masaki Sakata, Benjamin Heinzerling, Takumi Ito, Sho Yokoi 외 arxiv

We investigate how and to what extent hierarchical relations (e.g., Japan $\subset$ Eastern Asia $\subset$ Asia) are encoded in the internal representations of language models. Building on Linear Relational Concepts, we …

Domain Generalization

Categorical Perception in Large Language Model Hidden States: Structural Warping at Digit-Count Boundaries

2026-03-30 · Jon-Paul Cacioli arxiv

Categorical perception (CP) -- enhanced discriminability at category boundaries -- is among the most studied phenomena in perceptual psychology. This paper reports that analogous geometric warping occurs in the hidden-st…

How Do Artificial Intelligences Think? The Three Mathematico-Cognitive Factors of Categorical Segmentation Operated by Synthetic Neurons

2024-12-26 · Michael Pichat, William Pogrund, Armanush Gasparian, Paloma Pichat 외

How do the synthetic neurons in language models create "thought categories" to segment and analyze their informational environment? What are the cognitive characteristics, at the very level of formal neurons, of this art…