Loss Barcode: A Topological Measure of Escapability in Loss Landscapes

Abstract Neural network training is commonly based on SGD. However, the understanding of SGD’s ability to converge to good local minima, given the non-convex nature of loss functions and the intricate geometric characteristics of loss landscapes, remains limited. In this paper, we apply topological data analysis methods to loss landscapes to gain insights into the learning process and generalization properties of deep neural networks. We use the loss function topology to relate the local behavior of gradient descent trajectories with the global properties of the loss surface. For this purpose, we define the neural networks Topological Obstructions score (“TO-score”) with the help of robust topological invariants, barcodes of the loss function, which quantify the escapability of local minima for gradient-based optimization. Our two principal observations are: (1) the loss barcode of the neural network decreases with increasing depth and width, therefore the topological obstructions to learning diminish; (2) in certain situations there is a connection between the length of minima segments in the loss barcode and the minima generalization errors. Our statements are based on extensive experiments with fully connected, convolutional, and transformer architectures and several datasets including MNIST, FMNIST, CIFAR10, CIFAR100, SVHN, and multilingual OSCAR text dataset.

Institutions

Publication Details

Journal
Doklady Mathematics
Published
2025-12-01
DOI
https://doi.org/10.1134/s106456242570053x
Primary Topic
Topological and Geometric Data Analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Loss Barcode: A Topological Measure of Escapability in Loss Landscapes

Doklady Mathematics
Topological and Geometric Data Analysis
article

Loss Barcode: A Topological Measure of Escapability in Loss Landscapes

article en

Abstract

Abstract Neural network training is commonly based on SGD. However, the understanding of SGD’s ability to converge to good local minima, given the non-convex nature of loss functions and the intricate geometric characteristics of loss landscapes, remains limited. In this paper, we apply topological data analysis methods to loss landscapes to gain insights into the learning process and generalization properties of deep neural networks. We use the loss function topology to relate the local behavior of gradient descent trajectories with the global properties of the loss surface. For this purpose, we define the neural networks Topological Obstructions score (“TO-score”) with the help of robust topological invariants, barcodes of the loss function, which quantify the escapability of local minima for gradient-based optimization. Our two principal observations are: (1) the loss barcode of the neural network decreases with increasing depth and width, therefore the topological obstructions to learning diminish; (2) in certain situations there is a connection between the length of minima segments in the loss barcode and the minima generalization errors. Our statements are based on extensive experiments with fully connected, convolutional, and transformer architectures and several datasets including MNIST, FMNIST, CIFAR10, CIFAR100, SVHN, and multilingual OSCAR text dataset.

Doklady MathematicsVol. 112(3)
Skolkovo Institute of Science and Technology (RU), Centre National de la Recherche Scientifique (FR), Université Paris Sciences et Lettres (FR)
Openalex Percentile: Top 21%
Topological and Geometric Data Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.