Learning Decision-Stump Thresholds in Context: Dynamics of Softmax Attention
Abstract
Estimating a decision threshold requires locating observations near an unknown boundary. We study how gradient-based pretraining learns this statistical rule in a two-parameter softmax-attention model with a fixed feature and inequality direction. Pretraining uses labeled contexts and their true thresholds; a fresh threshold must be inferred from context alone. Under a large-resolution initialization, constant-step gradient descent on tasks with examples each produces a frozen estimator with error for each fixed interior threshold and every fresh-context size . The two terms separate finite-pretraining accuracy from fresh-context localization. The mechanism is coordinated parameter divergence: population training calibrates the relative label and feature scores, then increases the attention scale as , giving population threshold error . To transfer this mechanism to a fixed finite corpus, we control gradient errors relative to the shrinking directions of progress at successive parameter scales. This certifies a growing training interval without requiring long-time tracking of the population trajectory. We also identify the boundary limitation of the one-head model and explain statistically what a reflected symmetrization could achieve.
Create a lesson
Related papers
Softmax Attention on Gaussian Mixtures: Linear When It Can, Selective When It Must
Shared title terminology · Simon Gabet, Etienne Boursier, Claire Boyer
What can linear attention learn from nonlinear teachers in-context?
Shared title terminology · Mary Letey, Arman Rysmakhanov, Yue M. Lu et al.
Hellinger Decision Trees for Density Ratio Estimation: Finite-Sample Guarantees
Shared title terminology · Ren-Rui Liu, Zheng-Chu Guo
Decomposing SGD Dynamics in Neural Networks: Teacher-Induced Spikes and Variance Inflation
Shared title terminology · Samet Demir, Zafer Dogan
A Generative Model for Higher-Order Network Dynamics
Shared title terminology · Valentina Sánchez, Theodore Papamarkou, Gonzalo Nápoles et al.
Steering Bayesian Inference and Decisions through Data Poisoning
Shared title terminology · Roi Naveiro, William N. Caballero, Juan Maroñas