# Characterizing the Edge of Stability in Variational Training Without Priors

*Juraj Marusic, Jonathan Wenger, Beau Coker, John Cunningham*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/153245) · [OpenReview](https://openreview.net/forum?id=Mfhyva9QO7) · [Open on the map](../papers.html#p153245)

Category: [Interpretability & Model Adaptation](../pcat/15.md) › [Edge of Stability Dynamics](../pgroup/81.md) · Type: theory · Keywords: variational inference, implicit regularization, edge of stability, learning rate, Monte Carlo sampling, flat minima

Areas: [Optimization & Algorithms](../areas/optimization.md) › Optimization Dynamics › Edge of Stability

## Summary
Variational Training Without Priors is characterized by a modified edge of stability where larger learning rates and fewer Monte Carlo samples produce flatter minima, leading to improved out-of-distribution generalization.

## Explained to a 5-year-old
People try to make computer models that know how unsure they are. Usually they tell the model what to expect, but that is hard. Some scientists just let the model learn from many guesses and use a big step when learning. They found that using bigger steps and fewer guesses makes the model more careful and smarter. This helps the model work better on new things it hasn't seen.

## Explained to a 5-year-old, longer
Imagine a robot that wants to know how confident it is about its answers. Usually we give it a rule book to follow, but writing that rule book is tricky. Scientists decided to skip the rule book and let the robot learn only from the mistakes it makes. They noticed that when the robot takes big jumps while learning and looks at fewer examples, it becomes more careful. This carefulness helps the robot make better guesses on new situations it hasn't seen before. The researchers studied why this happens and proved it with math. They also tested it on many different problems and saw it worked well. This new way of learning could help robots and computers be smarter and safer.

## For a technical reader
The paper analyzes how learning rate and Monte Carlo sample count affect implicit regularization in variational training without priors. It shows that larger learning rates and fewer samples lead to flatter minima, which are known to improve generalization. The theoretical edge of stability is linked to gradient signal-to-noise ratio and sample size. Experiments on out-of-distribution benchmarks confirm the practical relevance of these insights.

## Problem
When variational training is performed without an explicit prior, the regularization comes from the optimizer's implicit effects, but it is unclear how hyperparameters like learning rate and sample count affect this regularization, limiting control over model generalization.

## Method
The approach combines theoretical analysis and experiments to show that increasing the learning rate and reducing the number of Monte Carlo samples yields flatter loss minima, and that the edge of stability is governed by the gradient signal-to-noise ratio and sample count.

## Results
The approach's findings are confirmed on out-of-distribution benchmark datasets, demonstrating the practical relevance of the theoretical analysis.

## Contributions
The paper provides a theoretical characterization of the edge of stability in variational training without priors and empirically validates that learning rate and Monte Carlo sample count influence the flatness of minima and generalization.

## Practical relevance
The results provide guidance for tuning learning rate and sample count in variational training without priors, enabling better generalization in practical deep learning scenarios.

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](../feedback/?on=p/153245)
