sharpness
Beware of Sharp Minima: Loss Landscape Geometry Predicts the Generalizability of Hydrological Models
Lee, Max Nghiem, Janssen, Joseph, Lai, Ching-Yao
In hydrology, many parameter configurations exhibit comparable performance on training data, but a (seemingly random) subset of these fail to generalize under climate change, leading to poor post-deployment performance. In this paper, we aim to demonstrate that this failure to generalize may be a result of the underlying structure of the loss landscape at these local extrema. Specifically, we hypothesize that parameter sets at sharp minima have poor generalization ability while parameter sets at flat minima have strong generalization ability. While optimizing for flat minima has gained significant attention in computer science--most notably through algorithms like Sharpness-Aware Minimization (SAM)--these techniques remain largely unexplored in the hydrology community. We evaluate the effectiveness of SAM in finding more generalizable deep learning models using the CAMELS dataset, a standard benchmark in hydrology. By demonstrating the link between flat solutions and improved test accuracy, our work highlights practical, easily implementable methods that hydrologists can use to improve model generalization.
Flatness Preserves Instruction Following in Vision-Language-Action Models
Vision-language-action (VLA) models have the potential for open-world generalization by leveraging pretrained vision-language representations, yet downstream finetuning on limited robot data often degrades these representations. This leads to brittle action policies that ignore language instructions in favor of visual shortcuts, despite the base VLM having this knowledge, which is a failure mode we term instruction blindness. We hypothesize that standard finetuning with limited data applies gradients to a sparse set of points, which manifests as a sharp loss landscape with high-curvature minima. We analyze this effect, then show that regularization through explicit flatness-preserving optimization is a simple yet effective technique while finetuning on the exact same data. Specifically, we demonstrate that applying sharpness-aware minimization (SAM) during VLA finetuning significantly improves instruction following by over 55% across multiple simulation and real-world benchmarks without additional data, architectural modification, or pretraining. Explicitly preserving flatness better preserves pretrained knowledge compared to other regularization techniques that simply anchor model weights or constrain learning. We further analyze the effect of selective sharpness, quantify its effects, and show that such approaches are complementary to existing guidance techniques.
Want an 86-inch screen? Philoent's mini projector is 72, its lowest price
The Dell Laptop Buying Guide 2026: Which XPS or Alienware Laptop Should You Buy? The Dell Laptop Buying Guide UK: Which Dell Laptop Should You Buy? When you purchase through links in our articles, we may earn a small commission. Philoent's mini projector is $72, its lowest price If you want a big-screen experience at a cheap price, this $72 projector is the way to go--if you can live with less brightness and sharpness. A big-screen TV used to be the big thing for home media, but these days you can score a similar experience at an affordable price with a compact projector.
How Far Can Sharpness and Complexity Jointly Explain Generalization?
Cheng, Ziyu, Zhang, Xitong, Huang, Longxiu, Wang, Rongrong
Large-scale empirical studies have revealed that many widely used generalization measures correlate only weakly with generalization, suggesting that relying on a single factor is insufficient to explain it. In this work, we examine sharpness and complexity jointly, placing the reach of the two-factor view at the center: how far can they jointly explain generalization, what determines when they succeed, and where do they fall short? We investigate these questions quantitatively, using sixteen alternative metric pairs as probes and Pareto analysis and linear regression as evaluation tools. Our results show that suitably defined $(S,C)$ pairs provide strong explanatory power across a range of settings. The sharpness perturbation scale substantially affects this success, and the complexity representation influences its robustness. The remaining failures leave open whether more refined measurements would suffice or additional factors are needed.
Muon Operates Beyond the Edge of Stability
Covic, Niko, Lipshitz, Baraq, Padula, Alexander, Visnjic, Stefan
Abstractwhether Muon is bounded by an Edge of Stability in the We study the Muon optimizer using sharpnesssame way as first-order optimizers such as Gradient Descent and provide the first empirical evidence that the (GD) and Adam. We present a derivation for Muon's preconFlat Minima Hypothesis also applies to Muon. Flat Minima Hypothesis gap within each optimizer (Pearson r = 0.45 4 The Flat Minima Hypothesis (Hochreiter & Schmidhuber, 0.69,p 10), confirming the hypothesis holds 1997) (Keskar et al., 2017) predicts that sharpness should for Muon similarly to Adam and SGD. How-correlate with the model's generalization gap -- the differever, Muon operates above the classical sharpness-ence between training and validation accuracy. It relies on based Adaptive Edge of Stability threshold that bounds diagonally-preconditioned optimizers like the intuition that the validation loss landscape can be approxAdam and RMSprop, yet remains stable.
Product-Stability: Provable Convergence for Gradient Descent on the Edge of Stability
Empirically, modern deep learning training often occurs at the Edge of Stability (EoS), where the sharpness of the loss exceeds the threshold below which classical convergence analysis applies. Despite recent progress, existing theoretical explanations of EoS either rely on restrictive assumptions or focus on specific squared-loss-type objectives. In this work, we introduce and study a structural property of loss functions that we term product-stability. We show that for losses with product-stable minima, gradient descent applied to objectives of the form $(x,y) \mapsto l(xy)$ can provably converge to the local minimum even when training in the EoS regime. This framework substantially generalizes prior results and applies to a broad class of losses, including binary cross entropy. Using bifurcation diagrams, we characterize the resulting training dynamics, explain the emergence of stable oscillations, and precisely quantify the sharpness at convergence. Together, our results offer a principled explanation for stable EoS training for a wider class of loss functions.
Intrinsic Interaction Geometry Controls the Low-Rank Complexity of Softmax Attention
Sui, Yuhe, Zhang, Jianing, Tang, Yingzhi
How much matrix rank is required to preserve every bounded value output of normalized softmax attention? We study the unrestricted maximum-row-\(\ell_1\) approximation rank \(r_\varepsilon(A)\), exactly the least rank achieving uniform error over all bounded vector-valued values. Row softmax exposes the intrinsic interaction \(C=P_m(\log A)P_N\), whereas invertible \(Q/K\) gauges leave \(A\) fixed while changing the Euclidean geometry of a chosen query/key factorization. We replace that coordinate-dependent description by a projective residual \(q(C-T)\) and an attained factor-radius size \(ฮบ(T)\). For every rank-\(r\) retained interaction with \(ฯ(T)<\varepsilon\), we prove $$ r_\varepsilon(A)\le \min\left\{ N,\; C_r\left( 1+\frac{ฮบ(T)} {(\varepsilon-ฯ(T))^2} \right)^{r/2} \right\}, $$ with the same unknown dimension constant as the underlying weighted Gibbs-row cover. The profile is gauge invariant, termwise no worse than native retained-subspace bounds at the same declared dimension, and has a worst-case sharp \(r/2\) size exponent at fixed \(r\) and \(\varepsilon\). We then measure \(r_\varepsilon(A)\) directly on learned attention using 9,978 certified brackets across BERT, GPT-2, Qwen2.5, and two ViT checkpoints; where certificates do not close, the optimum remains interval-valued. A pre-specified 2,302-cell held-out study further shows that the historical native-coordinate geometry block contains coarse, mostly head-level information but no detectable incremental information beyond a strong calibrated baseline. The new intrinsic descriptor is not evaluated in that study. Together, the theory and measurements distinguish an operator-intrinsic complexity control from a stronger empirical explanation that the learned-head evidence does not support.
Timbre Analysis of the Hulusi, a Southwestern Chinese Free-Reed Instrument, using Machine Learning
The hulusi is a wind instrument that was invented in Yunnan Province, China, and has become tremendously popular in recent years. It consists of a mouthpiece, a gourd, and three bamboo tubes, all with free reeds made of copper. The main bamboo tube in the middle has seven finger holes. In this instrument, the pipe length, not the free reed's eigenfrequency, determines the instrument's pitch, unlike, for example, with the Western accordion or the blues harp. In this study, a machine learning model implemented in the COMSAR framework (https://github.com/ifsm) was used to investigate the timbre characteristics of the \emph{hulusi} to cluster different instruments and pitches. The measured \emph{hulusi} pitches C, B, A, G, and F were analyzed according to seven psychoacoustic features, among which only the spectral centroid, sharpness, and fractal correlation dimension are shown to form pitch clusters. These timbre features were used to train Kohonen self-organizing maps (SOMs) for clustering. Brightness and sharpness analysis revealed that the highest pitches were less bright and less sharp than mid- and low-range pitches were. Furthermore, the fractal correlation dimension, which mainly determines the chaoticity of the initial transients, was the best-clustering timbre feature for the hulusi, with the highest pitches showing the least chaoticity. This result is supported by defining a cluster quality index for the SOMs.
Improving Model-Based Reinforcement Learning by Converging to Flatter Minima
Model-based reinforcement learning (MBRL) hinges on a learned dynamics model whose errors can compound along imagined rollouts. We study how encouraging flatness in the model's training loss affects downstream control, and show that steering optimization toward flatter minima yields a better policy. Concretely, we integrate Sharpness-Aware Minimization (SAM) into world-model training as a drop-in objective, leaving the planner and policy components unchanged. On the theory side, we derive PAC-Bayesian bounds that link first-order sharpness to the value-estimation gap and the performance gap between model-optimal and true-optimal policies, implying that flatter minima tighten both. Empirically, SAM reduces measured sharpness and value-prediction error and improves returns across HumanoidBench, Atari-100k, and high-DoF DeepMind Control tasks. Augmenting existing MBRL algorithms with SAM increases mean return, with especially large gains in settings with high dimensional state-action spaces. We further observe positive transfer across algorithms and input modalities, including a transformerbased world-model.
Variational Learning Finds Flatter Solutions at the Edge of Stability
Variational Learning (VL) has recently gained popularity for training deep neural networks. Part of its empirical success can be explained by theories such as PACBayes bounds, minimum description length and marginal likelihood, but little has been done to unravel the implicit regularization in play. Here, we analyze the implicit regularization of VL through the Edge of Stability (EoS) framework. EoS has previously been used to show that gradient descent can find flat solutions and we extend this result to show that VL can find even flatter solutions. This result is obtained by controlling the shape of the variational posterior as well as the number of posterior samples used during training. The derivation follows in a similar fashion as in the standard EoS literature for deep learning, by first deriving a result for a quadratic problem and then extending it to deep neural networks. We empirically validate these findings on a wide variety of large networks, such as ResNet and ViT, to find that the theoretical results closely match the empirical ones. Ours is the first work to analyze the EoS dynamics of VL.