atlas

Research map / Architectures and efficiency / Attention and transformers

Looking Beyond the Top-1: Transformers Determine Top Tokens in Order

ICML 2025 · Architectures and efficiency › Attention and transformers · approach: Transformer block and depth design · 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 top-k tokens saturate in order of their rank across GPT2-XL, ViT-L/16 and Whisper-large (even untrained GPT2-XL), explains this as a discrete task-transition mechanism, and uses it for a token-level early-exit strategy.

Problem

Prior work found top-1 saturation events in Transformer layers, but what computation happens after the top-1 token has saturated, and whether lower-ranked top-k tokens also saturate in a structured order, was unexplored.

Approach

Extends saturation events to the k-th ranked token and finds that these saturation layers occur in ranking order; interprets this as discrete task transitions (task k = determining the k-th token), detectable by a linear probe and causally controllable by activation injection.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use task-transition classification from layer embeddings instead of random embeddingsGPT2-XL (pretrained) · CNN/DMtask-number classification accuracy: 20.6 ± 0.5 -> 91.4 ± 0.3Helped
Use task-transition classification from layer embeddings instead of random embeddingsGPT2-XL (random initialization) · CNN/DMtask-number classification accuracy: 32.7 ± 0.1 -> 86.1 ± 0.7Helped
Use task-transition classification from layer embeddings instead of random embeddingsViT-L/16 · CIFAR-10task-number classification accuracy: 21.0 ± 0.5 -> 63.8 ± 0.1Helped
Use task-transition classification from layer embeddings instead of random embeddingsWhisper-large · LibriSpeechtask-number classification accuracy: 24.5 ± 0.4 -> 52.7 ± 0.1Helped
Exit based on the task-transition classifier rather than softmax response or state saturationGPT2-XL · CNN/DM next-word predictionaccuracy: 35.9 ± 0.6; 37.5± 0.7 -> 40.0 ± 0.7Helped
Exit based on the task-transition classifier rather than softmax response or state saturationGPT2-XL · CNN/DM next-word predictionspeedup ratio: 1.126 ± 0.004; 1.003 ± 0.001 -> 1.185 ± 0.009Helped
Use the second-ranked token after it reaches saturation rather than when it is determined only in the last layerGPT2-XL · CNN/DM; top-1 prediction incorrectsecond-ranked token accuracy: 17.14% -> 31.99%Helped
Order top-token saturation by token rankGPT2-XL (pretrained) · CNN/DMstrict Kendall's tau: 0.187 ± 0.004; p < 0.001Helped
Order top-token saturation by token rankGPT2-XL (random initialization) · CNN/DMstrict Kendall's tau: 0.082 ± 0.009; < 0.001Helped
Order top-token saturation by token rankViT-L/16 · CIFAR-10strict Kendall's tau: 0.149 ± 0.007; < 0.001Helped
Order top-token saturation by token rankWhisper-large · LibriSpeechstrict Kendall's tau: 0.210 ± 0.009; < 0.001Helped

Surprising findings

Limitations

Experimental setup

Datasets: CNN/DM CIFAR-10 LibriSpeech ImageNet-21k ImageNet 2012

Benchmarks: CNN/DM CIFAR-10 LibriSpeech

Metrics: average rank of saturation layer stricter Kendall's tau classifier accuracy ROC-AUC accuracy speedup ratio two-proportion z-test

Baselines: Softmax Response early exit Hidden-state saturation early exit

Builds on: logit lens top-1 saturation event tuned lens early exiting with softmax response and hidden-state saturation

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