arXiv AI

When Softmax Fails at the Top: Extreme Value Corrections for InfoNCE

arXiv:2606. 00262v1 Announce Type: cross Abstract: InfoNCE is the standard contrastive learning objective, but its softmax form is not only a computational convenience: it also encodes a statistical assumption about how the top-scoring example is selected.

arXiv Machine Learning
Oct 28

Neyman Orthogonal Activation Steering

The paper introduces a new framework for activation steering in large language models, distinguishing between the steering direction (estimand) and the method used to recover it (estimator). It shows that most existing techniques can be viewed as plug‑in estimators of the average gradient of an outcome regression, and proposes a complementary estimator based on the Stein score to directly target the gradient. By combining these approaches, the authors achieve an orthogonalized estimator with double‑robustness properties and demonstrate its effectiveness on benchmark datasets.

By David Arbour, Erfan Jahanparast, Serina Chang, Avi Feller
arXiv Machine Learning
Nov 16

Contrastive latent representation learning with denoising score matching

ScoreCLR is a contrastive representation learning method that replaces explicit negative samples with a learned repulsion term derived from denoising score matching. By maximizing mutual information between two latent views and estimating the score of the latent representation, it achieves a linear‑time repulsion cost instead of the quadratic cost typical of traditional contrastive methods. Experiments on CIFAR‑10 and ImageNet‑100 show that ScoreCLR maintains linear‑probe accuracy comparable to SimCLR while producing higher‑rank projector outputs closer to a Gaussian prior.

By Christopher Marouani, Grigory Bartosh, Christian A. Naesseth
Hugging Face Trending Papers
Oct 8

Softmax Attention on Gaussian Mixtures: Linear When It Can, Selective When It Must

Softmax attention, central to Transformers, has been examined in the context of Gaussian mixtures to explore its behavior in the infinite-prompt limit. While pure Gaussian prompts reduce softmax attention to a linear map, Gaussian mixtures preserve latent structure, multimodality, and nonlinear dependencies. The study demonstrates that softmax attention can learn optimal solutions for tasks such as supervised classification and denoising, recovering linear performance while also leveraging query-dependent selection to tackle nonlinear problems beyond linear attention.

arXiv Machine Learning
Oct 9

Softmax Attention on Gaussian Mixtures: Linear When It Can, Selective When It Must

Softmax attention, central to Transformers, has been examined in the context of Gaussian mixtures to explore its behavior in the infinite-prompt limit. The study demonstrates that, unlike the purely linear mapping observed with single Gaussian prompts, softmax attention on Gaussian mixtures can both recover linear tasks and exploit query-dependent selection to solve nonlinear problems such as supervised classification and denoising. The work shows that softmax attention retains tractability while gaining the ability to learn optimal solutions via gradient-based methods.

By Simon Gabet (LMO), Etienne Boursier (LMO, CELESTE), Claire Boyer (LMO, IUF)
arXiv Machine Learning
Jul 14

A Strong Balanced-Softmax Classifier-Retraining Baseline for Long-Tailed Recognition

arXiv:2607. 09832v1 Announce Type: new Abstract: Long-tailed recognition methods often modify losses, margins, or representations to reduce the dominance of frequent classes.

By Juan Terven, Diana Margarita C\'ordova Esparza, Julio Alejandro Romero Gonzalez, Edgar Arturo Ch\'avez Urbiola, Francisco Javier Willars Rodriguez, Juan Bautista Hurtado Ramos, Alfonso Ramirez Pedraza
arXiv Machine Learning
Oct 23

A Fix for Softmax and Cross-Entropy

The paper identifies two numerical bugs in standard softmax, log‑softmax, and cross‑entropy implementations: Softmax Collapse, where a dominant logit causes its gradient to be rounded to zero, and Softmax Cancellation, where student and teacher logits that are equal still produce non‑zero gradients. The authors provide straightforward implementations that correct both issues. Their fix removes the previously observed "Slingshot" phenomenon, accelerates grokking with weight decay, prevents accuracy collapse without weight decay, keeps student networks aligned with teachers during distillation, and demonstrates that post‑memorization logit growth is bounded by an equilibrium between weight decay and Adam’s epsilon hyperparameter.

By Jonathan T. Barron, Dan Gnanapragasam, Michael Tschannen
arXiv Machine Learning
Oct 15

Continuum Attention

arXiv:2610.20586v1 Announce Type: new Abstract: We introduce Continuum Attention (CA), a causal Transformer attention operator that replaces discrete key and value lookup with integration over a cont...

By Afshin Khadangi
arXiv Machine Learning
Oct 19

Pretraining Transformers with Quantized Softmax in Attention

The paper investigates how quantizing the softmax operation in Transformer attention affects pretraining. It explores K‑interval attention, varying grid calibration, interpolation versus hard rounding, and surrogate placement relative to normalization, deriving backward rules for each case. Experiments on a 124M‑parameter model show that choices like fixed‑window calibration with a post‑normalization surrogate or a pre‑normalization surrogate can reduce validation loss gaps compared to standard softmax.

By Shangzhen Zhu, Muyan Hu, Tomasz Kozlowski