Reproduce “A Hyperbolicity Atlas of Large Language Model Hidden States” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Zhichao Yang, Yuanze Hu, Gen Li, Qingchen Yu, Shiying Duan, Xinyu Wang, Ye Qiu, Zeming Liu and 2 more

An empirical atlas measures normalized Gromov Hyperbolicity across 10 open-weight language models, 4 input domains, and every network layer, showing that tree-like hidden-state geometry is governed more consistently by depth and model specialization than by parameter count. Representations typically reach a high-hyperbolicity middle-layer plateau before becoming more tree-like near the output, while coding-focused tuning notably lowers final-layer values on code prompts.

Key insights

  • Layer depth is the most consistent determinant: hidden states generally pass through a middle-layer plateau near normalized GH 0.995–0.996, followed by a marked reduction in final layers.
  • Parameter scaling from 1.5B to 7B has weak, non-monotonic effects; in the Qwen base track, the pooled shift is only −0.029, while the mathematics track shifts upward by +0.035.
  • Geometric organization reflects model specialization and domain jointly: coding instruction makes code representations more tree-like, whereas mathematics specialization does not uniformly produce lower GH on mathematical prompts.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.