Shape Happens: Automatic Feature Manifold Discovery in LLMs via Supervised Multi-Dimensional Scaling

Federico Tiblias, Irina Bigoulaeva, Jingcheng Niu, Simone Balloccu, Iryna Gurevych
10/1/2025
cs.AIcs.CL

No official code found. Best implementation: UKPLab/supervised-multidimensional-scaling (10 stars, Apache-2.0, last commit 2026-04-26).

Abstract

The linear representation hypothesis states that language models (LMs) encode concepts as directions in their latent space, forming organized, multidimensional manifolds. Prior efforts focus on discovering specific geometries for specific features, and thus lack generalization. We introduce Supervised Multi-Dimensional Scaling (SMDS), a model-agnostic method to automatically discover feature manifolds. We apply SMDS to temporal reasoning as a case study, finding that different features form various geometric structures such as circles, lines, and clusters. SMDS reveals many insights on these structures: they consistently reflect the properties of the concepts they represent; are stable across model families and sizes; actively support reasoning in models; and dynamically reshape in response to context changes. Together, our findings shed light on the functional role of feature manifolds, supporting a model of entity-based reasoning in which LMs encode and transform structured representations.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Plug-and-play implementation of Supervised Multi-Dimensional Scaling from the paper "Shape Happens: Automatic Feature Manifold Discovery in LLMs via Supervised Multi-Dimensional Scaling."

102Python, MakefileSep 30, 20255 months agoApache-2.0

Similar Papers

Cite this paper

@article{tiblias2025shape,
  title  = {Shape Happens: Automatic Feature Manifold Discovery in LLMs via Supervised Multi-Dimensional Scaling},
  author = {Federico Tiblias and Irina Bigoulaeva and Jingcheng Niu and Simone Balloccu and Iryna Gurevych},
  year   = {2025},
  eprint = {2510.01025},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.01025v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.01025.svg)](https://codeofpaper.com/paper/2510.01025)

Discussion