An Empirical Fractal Measure to Predict the Generalization of Deep Neural Networks

The prediction of the generalization error in deep neural networks is a fundamental task with important implications, both in theoretical and practical terms. Recently, inspired by the intuitive conjecture that deep neural networks possess some low-dimensional embedding, which is the main responsible for the learning progress, fractal dimension has been presented as a promising measure to describe the intrinsic dimension of this embedding and, as an immediate consequence, also providing more reliable prediction of generalization. Nevertheless, the investigated approaches rely on the indirect modeling of the training dynamics and involves an analysis of the entire trajectory of the parameter space, which is prohibitively expensive in computational terms. Based on this, here we propose a straightforward and efficient numerical method to calculate the fractal dimension of the parameter distribution and use it as a predictor of the generalization error. The method takes inspiration from the variogram method to estimate the fractal dimension of a function profile and relies on the empirical power-law scaling between a small perturbation added to the trained parameters and the corresponding displacement in the loss function. The proposed measure is compared with other classical and state-of-the-art generalization measures in the literature using different hyperparameter configurations and the results suggest its promising potential, achieving competitive performance in all the analyzed datasets. Our study also proposes an adapted loss function that accounts for the fractal dimension and a theoretical generalization bound.

Authors

Institutions

Publication Details

Published
2024-10-06
DOI
https://doi.org/10.1109/smc54092.2024.10830971
Primary Topic
Neural Networks and Applications
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

An Empirical Fractal Measure to Predict the Generalization of Deep Neural Networks

Dairana Misturini, João B. Florindo
Neural Networks and Applications
article

An Empirical Fractal Measure to Predict the Generalization of Deep Neural Networks

Dairana Misturini, João B. Florindo
article en

Abstract

The prediction of the generalization error in deep neural networks is a fundamental task with important implications, both in theoretical and practical terms. Recently, inspired by the intuitive conjecture that deep neural networks possess some low-dimensional embedding, which is the main responsible for the learning progress, fractal dimension has been presented as a promising measure to describe the intrinsic dimension of this embedding and, as an immediate consequence, also providing more reliable prediction of generalization. Nevertheless, the investigated approaches rely on the indirect modeling of the training dynamics and involves an analysis of the entire trajectory of the parameter space, which is prohibitively expensive in computational terms. Based on this, here we propose a straightforward and efficient numerical method to calculate the fractal dimension of the parameter distribution and use it as a predictor of the generalization error. The method takes inspiration from the variogram method to estimate the fractal dimension of a function profile and relies on the empirical power-law scaling between a small perturbation added to the trained parameters and the corresponding displacement in the loss function. The proposed measure is compared with other classical and state-of-the-art generalization measures in the literature using different hyperparameter configurations and the results suggest its promising potential, achieving competitive performance in all the analyzed datasets. Our study also proposes an adapted loss function that accounts for the fractal dimension and a theoretical generalization bound.

Universidade Estadual de Campinas (UNICAMP) (BR)
Fundo de Apoio ao Ensino, à Pesquisa e Extensão, Universidade Estadual de Campinas
Openalex Percentile: Top 76%
Neural Networks and Applications
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.