Papers › Noise Stability Optimization for Finding Flat Minima: A Hessian-based Regularization Approach

Noise Stability Optimization for Finding Flat Minima: A Hessian-based Regularization Approach

14 Jun 2023arXiv:2306.08553archive 2025-07-28

Hongyang R. Zhang, Dongyue Li, Haotian Ju

The training of over-parameterized neural networks has received much study in recent literature. An important consideration is the regularization of over-parameterized networks due to their highly nonconvex and nonlinear geometry. In this paper, we study noise injection algorithms, which can regularize the Hessian of the loss, leading to regions with flat loss surfaces. Specifically, by injecting isotropic Gaussian noise into the weight matrices of a neural network, we can obtain an approximately unbiased estimate of the trace of the Hessian. However, naively implementing the noise injection via adding noise to the weight matrices before backpropagation presents limited empirical improvements. To address this limitation, we design a two-point estimate of the Hessian penalty, which injects noise into the weight matrices along both positive and negative directions of the random noise. In particular, this two-point estimate eliminates the variance of the first-order Taylor's expansion term on the Hessian. We show a PAC-Bayes generalization bound that depends on the trace of the Hessian (and the radius of the weight space), which can be measured from data. We conduct a detailed experimental study to validate our approach and show that it can effectively regularize the Hessian and improve generalization. First, our algorithm can outperform prior approaches on sharpness-reduced training, delivering up to a 2.4% test accuracy increase for fine-tuning ResNets on six image classification datasets. Moreover, the trace of the Hessian reduces by 15.8%, and the largest eigenvalue is reduced by 9.7% with our approach. We also find that the regularization of the Hessian can be combined with weight decay and data augmentation, leading to stronger regularization. Second, our approach remains effective for improving generalization in pretraining multimodal CLIP models and chain-of-thought fine-tuning.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2306.08553")

Code

Syntology Ran 0 of 15 code samples harvested from 1 repository linked to this paper; 15 have no recorded run.

By repository: official repository: 15 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

virtuosoresearch/noise-stability-optimization officialmentioned in paperjaxMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 0 ran; 0 honoured the contract we drafted; 15 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

15unverified

Licence: 0 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from virtuosoresearch/noise-stability-optimization. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

compute_hessian_traces virtuosoresearch/noise-stability-optimization/exps_on_graph_datasets/compute_noise_stability.py official repository unverified MIT (permissive) · 84dbf7cf0c1ad519 · report
compute_loss virtuosoresearch/noise-stability-optimization/exps_on_graph_datasets/compute_noise_stability.py official repository unverified MIT (permissive) · bf7e2a77d22565f7 · report
create_optimizer virtuosoresearch/noise-stability-optimization/exps_on_text_datasets/transformers/optimization_tf.py official repository unverified MIT (permissive) · 6c2c33724affff7b · report
get_completion_data_path virtuosoresearch/noise-stability-optimization/chain-of-thought-finetuning/src/paths.py official repository unverified MIT (permissive) · 083a2d17fc537dcd · report
get_constant_schedule virtuosoresearch/noise-stability-optimization/exps_on_text_datasets/transformers/optimization.py official repository unverified MIT (permissive) · 1141f8139411c789 · report
get_constant_schedule_with_warmup virtuosoresearch/noise-stability-optimization/exps_on_text_datasets/transformers/optimization.py official repository unverified MIT (permissive) · 8e243647722211b3 · report
get_dataset_path virtuosoresearch/noise-stability-optimization/chain-of-thought-finetuning/src/paths.py official repository unverified MIT (permissive) · 3df12d92fd1ba3ec · report
get_linear_schedule_with_warmup virtuosoresearch/noise-stability-optimization/exps_on_text_datasets/transformers/optimization.py official repository unverified MIT (permissive) · afba2c06a42074fe · report
get_split_path virtuosoresearch/noise-stability-optimization/chain-of-thought-finetuning/src/paths.py official repository unverified MIT (permissive) · c2bc595db0df3786 · report
get_trainable_parameters virtuosoresearch/noise-stability-optimization/chain-of-thought-finetuning/compute_hessian_traces.py official repository unverified MIT (permissive) · 51a2376d3165e058 · report
get_weights virtuosoresearch/noise-stability-optimization/exps_on_graph_datasets/compute_noise_stability.py official repository unverified MIT (permissive) · 7f5a965a9547d732 · report
label_noise virtuosoresearch/noise-stability-optimization/exps_on_image_datasets/data_loader/random_noise.py official repository unverified MIT (permissive) · 485783150c7893b6 · report
noisy_labeler virtuosoresearch/noise-stability-optimization/exps_on_image_datasets/data_loader/random_noise.py official repository unverified MIT (permissive) · 430d1fb772405f2e · report
perturbe_model_weights virtuosoresearch/noise-stability-optimization/exps_on_image_datasets/compute_noise_stability.py official repository unverified MIT (permissive) · aab5cc3f4ce427b5 · report
perturbe_model_weights virtuosoresearch/noise-stability-optimization/exps_on_text_datasets/compute_noise_stability.py official repository unverified MIT (permissive) · 2c8622034db2b781 · report

Tasks

Data AugmentationImage ClassificationStochastic Optimizationimage-classification

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Average PoolingConvolutionGlobal Average PoolingKaiming InitializationMax PoolingSGDSharpness-Aware MinimizationWeight Decay

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections