atlas

Research map / Architectures and efficiency / RNNs and normalization

Tracing Representation Progression: Analyzing and Enhancing Layer-Wise Similarity

ICLR 2025 · Architectures and efficiency › RNNs and normalization · approach: Representation geometry and collapse · 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.

Shows that sample-wise cosine similarity between transformer layers tracks CKA, explains saturation events via a geodesic-curve theory, and proposes aligned training (shared classifier across layers) that yields early-saturating, single-classifier multi-exit transformers.

Problem

Understanding how individual inputs' representations progress across layers in transformers, and why shallow layers can already produce correct predictions (saturation events), while enabling efficient early exit without many per-layer classifiers.

Approach

Measure layer-wise similarity per sample with cosine similarity (not CKA), justify monotonic similarity increase under a geodesic-curve assumption for residual networks, and train with an aligned loss that applies one shared last-layer classifier to all layers with linearly increasing weights, enabling a single-classifier multi-exit model.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply aligned training with a shared classifier and early exitsDeiT · ImageNetaccuracy: 80.28% -> 77.96%Hurt
Apply aligned training with a shared classifier and early exitsDeiT · ImageNetspeedup: 1.36 ×Helped
Use a single shared classifier instead of separate classifiers at each layerDeiT-S · Multi-exit modelparameters: 26.27M -> 22.05M; 16.07%Helped
Use a single shared classifier instead of separate classifiers at each layerDeiT-B · Multi-exit modelparameters: 95.02M -> 86.57M; 8.89%Helped
Use a single shared classifier instead of separate classifiers at each layerGPT-2 · Multi-exit modelparameters: 541.57M -> 117.35M; 78.39%Helped
Use a single shared classifier instead of separate classifiers at each layerGPT-3 · Multi-exit modelparameters: 233.67B -> 175.63B; 25.10%Helped
Use a single shared classifier instead of separate classifiers at each layerLLaMA-2 · Multi-exit modelparameters: 75.11B -> 70.35B; 6.81%Helped
Replace linearly increasing layer weights with uniform weights (ablation)Aligned training · ImageNet-1Klayer-wise accuracyMixed
Replace aligned loss with CE-reg cosine-similarity regularization (ablation)Aligned training · Vision experimentslayer-wise accuracyHurt
Add cosine similarity as a regularization term to the final-layer CE loss (ablation)Vision models · Vision experimentslayer-wise accuracyNo clear effect
Add aligned CE losses at intermediate decoder layers (ablation)DETR · Object detectionAP50Helped

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 ImageNet-1K GLUE Wikitext-103 CIFAR-10.2

Benchmarks: CIFAR-10 ImageNet-1K GLUE Wikitext-103 CIFAR-10.2

Metrics: layer-wise accuracy CKA cosine similarity saturation events perplexity coherence diversity speedup

Baselines: standard training multi-exit/classifiers CE-reg (cosine regularization) CKA

Builds on: Centered Kernel Alignment neural collapse logit lens multi-exit networks DeiT

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