NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Diagonalizing the Softmax: Hadamard Initialization for Tractable Cross-Entropy Dynamics

Connall Garrod, Jonathan Keating, Christos Thrampoulidis

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: Interpretability & Model Adaptation › Edge of Stability Dynamics · Type: new method · Keywords: cross-entropy dynamics, softmax diagonalization, neural collapse, spectral initialization, Lyapunov convergence analysis, network width effects

Areas: Optimization & Algorithms › Optimization Dynamics › Optimization methods

Summary

Hadamard initialization diagonalizes the softmax, enabling tractable analysis of cross-entropy dynamics and convergence to neural collapse.

Explained to a 5-year-old

We look at how computers learn to pick the right answer from many choices using a special loss called cross-entropy. By starting the computer’s numbers in a special way, the learning becomes easier to study. The researchers show that with this special start, the computer eventually settles on the best answer, even if it sometimes gets stuck. They also find that learning can be slow or go back and forth, which is different from other simple learning methods. This helps us understand why computers sometimes learn oddly.

Explained to a 5-year-old, longer

Computers often need to guess which of many answers is correct, and they use a loss called cross-entropy to measure how far they are from the right answer. In this paper, the researchers study a very simple computer model: a two-layer network that takes inputs that are already nicely arranged. They discover that if they start the network’s numbers in a particular way, the math becomes much simpler, almost like the numbers line up perfectly. This special start lets them prove that the network will eventually settle on a perfect configuration known as neural collapse, even though there are some tricky points where learning could stop. They also find new behaviors that only happen with cross-entropy, such as learning that sometimes goes backwards or slows down dramatically, and they show how the size of the network affects this learning speed. By running experiments, they confirm that the theory matches what happens when the network starts with tiny random numbers. This work gives us a clearer picture of how computers learn to make accurate guesses and why they sometimes behave unexpectedly.

For a technical reader

The paper introduces a specific initialization-called Hadamard initialization-that makes the softmax operation diagonal, simplifying analysis. Using this initialization, the authors study a two-layer linear network with orthogonal inputs to understand cross-entropy loss dynamics. They prove that under this setup the network converges to a desired configuration known as neural collapse, and they provide a finite-time convergence guarantee via a Lyapunov function. The analysis reveals phenomena unique to cross-entropy, such as non-monotonic convergence and exponential slowdowns, and shows how network width influences training speed. Empirically, the theoretical dynamics match observations on small random initializations.

Problem

Understanding the optimization dynamics of cross-entropy loss in non-convex settings, especially its implicit bias and convergence behavior, remains unresolved.

Method

The authors study a two-layer linear network with orthogonal inputs, leveraging an initialization that diagonalizes the softmax operator to extend the spectral initialization framework, and they provide a finite-time convergence analysis via a Lyapunov function that guarantees convergence to neural collapse despite spurious critical points.

Contributions

They provide the first finite-time analysis of cross-entropy dynamics in a non-convex linear network, reveal CE-specific phenomena absent under squared loss, and characterize how network width influences convergence.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction