atlas

Research map / Architectures and efficiency / Attention and transformers

Attention with Trained Embeddings Provably Selects Important Tokens

NeurIPS 2025 · Architectures and efficiency › Attention and transformers · approach: Language model pretraining and induction · 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.

Analyzes how embeddings trained by gradient descent in a one-layer softmax attention classifier encode token importance, showing one gradient step aligns token embeddings with the output vector by label frequency and gradient flow on the CLS embedding yields max-margin selection of important tokens.

Problem

Theoretical understanding of what token embeddings learn under gradient training in attention models, and how this relates to token statistics and selection of important tokens for binary classification.

Approach

Shows that a single gradient step aligns token embeddings with the output vector proportional to a signed frequency statistic, and that gradient flow on the CLS embedding converges in direction to a max-margin solution selecting all completely positive/negative tokens.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train all parameters of the one-layer attention model to convergenceOne-layer attention · Synthetic datatoken-importance alignmentHelped
Train all parameters of the one-layer attention model to convergenceOne-layer attention · IMDB and Yelptoken-importance alignmentHelped
Use the two-layer model with a skip connection and layer normalization instead of the one-layer modelAttention model · IMDB and Yelploss: of the order of $10^{-1}$ -> of the order of $10^{-5}$Helped
Use a two-layer model with a skip connection and layer normalizationAttention model · IMDB and Yelptoken-importance alignmentNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: IMDB Yelp reviews synthetic K-level token data

Benchmarks: IMDB Yelp

Metrics: dot-product of embeddings with CLS embedding and output vect training loss

Builds on: implicit bias of gradient descent on logistic loss max-margin attention SVM equivalence

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