Papers › Visualizing the Loss Landscape of Neural Nets

Visualizing the Loss Landscape of Neural Nets

28 Dec 2017ICLR 2018 1arXiv:1712.09913archive 2025-07-28

Hao Li, Zheng Xu, Gavin Taylor, Christoph Studer, Tom Goldstein

Neural network training relies on our ability to find "good" minimizers of highly non-convex loss functions. It is well-known that certain network architecture designs (e.g., skip connections) produce loss functions that train easier, and well-chosen training parameters (batch size, learning rate, optimizer) produce minimizers that generalize better. However, the reasons for these differences, and their effects on the underlying loss landscape, are not well understood. In this paper, we explore the structure of neural loss functions, and the effect of loss landscapes on generalization, using a range of visualization methods. First, we introduce a simple "filter normalization" method that helps us visualize loss function curvature and make meaningful side-by-side comparisons between loss functions. Then, using a variety of visualizations, we explore how network architecture affects the loss landscape, and how training parameters affect the shape of minimizers.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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="1712.09913")

Code

Syntology Ran 3 of 8 code samples harvested from 6 repositories linked to this paper; 5 have no recorded run. Of those that ran: 1 ran · fixture could not drive it; 2 ran with no contract checked.

By repository: community (archive-listed): 8 samples from 6 repositories, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

tomgoldstein/loss-landscape officialmentioned in papermentioned on GitHubpytorch report
JoelNiklaus/loss_landscape mentioned on GitHubpytorch report
QLemma/qLEET mentioned on GitHub report
activatedgeek/function-space-map mentioned on GitHubjax report
cfellicious/loss-visualization mentioned on GitHubcaffe2 report
marcellodebernardi/loss-landscapes mentioned on GitHubpytorch 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

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

1ran · fixture could not drive it
2ran
5unverified

Licence: 3 of the 8 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 6 repositories linked to this paper, official or community; each sample names its own and says which. “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.

ModelParameters marcellodebernardi/loss-landscapes/loss_landscapes/model_interface/model_parameters.py community (archive-listed) ran MIT (permissive) · de98a260f327adb1 · report
NormalizeVector StephenThacker/Visualiation-of-Loss-Function/PlotLossFunction.py community (archive-listed) ran · fixture could not drive it no licence file found · pointer only · ea488312c43ec2de · report
perturb_params activatedgeek/function-space-map/experiments/evaluate_landscape.py community (archive-listed) ran Apache-2.0 (permissive) · d50731bae3d21b5a · report
filter_normalize marcellodebernardi/loss-landscapes/loss_landscapes/model_interface/model_parameters.py community (archive-listed) unverified MIT (permissive) · a58cf2b132df8df9 · report
normalize_direction Westlake-AI/openmixup/openmixup/utils/loss_landscape_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 465e856d3ec6e818 · report
normalize_direction JoelNiklaus/loss_landscape/net_plotter.py community (archive-listed) unverified MIT (permissive) · 8fda4d9878d66f73 · report
normalize_direction okn-yu/Visualizing-the-Loss-Landscape-of-Neural-Nets/src/directions.py community (archive-listed) unverified no licence file found · pointer only · 47f610cf6e37def7 · report
normalize_directions_for_weights okn-yu/Visualizing-the-Loss-Landscape-of-Neural-Nets/src/directions.py community (archive-listed) unverified no licence file found · pointer only · 89b9484af736d895 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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