atlas

Research map / Architectures and efficiency / RNNs and normalization

Persistent Topological Features in Large Language Models

ICML 2025 · Architectures and efficiency › RNNs and normalization · approach: Layer-wise analysis of language models · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Applies zigzag persistence from topological data analysis to last-token representations across LLM layers, yielding layer-wise topological descriptors used to define a layer-pruning criterion.

Problem

Existing analyses of LLM internal representations are static per layer and do not track how prompt representations evolve and rearrange across layers; a system-level view of layer dynamics is lacking.

Approach

Treat layers as time steps and build a kNN-based zigzag filtration over last-token embeddings across layers, then derive descriptors (births' relative frequency, inter-layer persistence) from the zigzag persistence diagram, identifying four processing phases and using a plateau-based criterion to prune layers.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use zigzag-based pruning instead of other-work similarity pruningLlama 2 · MMLU 5-shotaccuracy: 43.95 -> 37.38Hurt
Use zigzag-based pruning instead of other-work similarity pruningLlama 2 · HellaSwag 5-shotaccuracy: 42.78 -> 44.71Helped
Use zigzag-based pruning instead of other-work similarity pruningLlama 2 · WinoGrande 5-shotaccuracy: 67.72 -> 68.67Helped
Use zigzag-based pruning instead of other-work similarity pruningLlama 3 · MMLU 5-shotaccuracy: 53.44 -> 53.44No clear effect
Use zigzag-based pruning instead of other-work similarity pruningLlama 3 · HellaSwag 5-shotaccuracy: 41.60 -> 41.60No clear effect
Use zigzag-based pruning instead of other-work similarity pruningLlama 3 · WinoGrande 5-shotaccuracy: 70.00 -> 70.00No clear effect
Use zigzag-based pruning instead of other-work similarity pruningMistral 7B · MMLU 5-shotaccuracy: 38.20 -> 53.17Helped
Use zigzag-based pruning instead of other-work similarity pruningMistral 7B · HellaSwag 5-shotaccuracy: 34.45 -> 36.67Helped
Use zigzag-based pruning instead of other-work similarity pruningMistral 7B · WinoGrande 5-shotaccuracy: 63.76 -> 66.50Helped
Use zigzag-based pruning instead of other-work similarity pruningPythia 6.9B · HellaSwag 5-shotaccuracy: 34.96 -> 31.43Hurt
Use zigzag-based pruning instead of other-work similarity pruningPythia 6.9B · WinoGrande 5-shotaccuracy: 58.09 -> 55.71Hurt

Surprising findings

Limitations

Experimental setup

Datasets: Stanford Sentiment Treebank (SST) Pile (pile-10k subset) mathematical problems dataset GitHub code (codeparrot/github-code)

Benchmarks: MMLU HellaSwag WinoGrande CMMLU CommonsenseQA WSC

Metrics: accuracy births' relative frequency inter-layer persistence

Baselines: angular distance layer pruning Block-Influence (Bi-score) layer pruning

Builds on: zigzag persistence fastzigzag persistent homology ShortGPT block-influence layer pruning angular distance layer pruning

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy