Measuring training variability from stochastic optimization using robust nonparametric testing

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Banerjee, Sinjini, Marrinan, Tim, Cannon, Reilly, Chiang, Tony, Sarwate, Anand D.
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866909580313755648
author Banerjee, Sinjini
Marrinan, Tim
Cannon, Reilly
Chiang, Tony
Sarwate, Anand D.
author_facet Banerjee, Sinjini
Marrinan, Tim
Cannon, Reilly
Chiang, Tony
Sarwate, Anand D.
contents Deep neural network training often involves stochastic optimization, meaning each run will produce a different model. This implies that hyperparameters of the training process, such as the random seed itself, can potentially have significant influence on the variability in the trained models. Measuring model quality by summary statistics, such as test accuracy, can obscure this dependence. We propose a robust hypothesis testing framework and a novel summary statistic, the $α$-trimming level, to measure model similarity. Applying hypothesis testing directly with the $α$-trimming level is challenging because we cannot accurately describe the distribution under the null hypothesis. Our framework addresses this issue by determining how closely an approximate distribution resembles the expected distribution of a group of individually trained models and using this approximation as our reference. We then use the $α$-trimming level to suggest how many training runs should be sampled to ensure that an ensemble is a reliable representative of the true model performance. We also show how to use the $α$-trimming level to measure model variability and demonstrate experimentally that it is more expressive than performance metrics like validation accuracy, churn, or expected calibration error when taken alone. An application of fine-tuning over random seed in transfer learning illustrates the advantage of our new metric.
format Preprint
id arxiv_https___arxiv_org_abs_2406_08307
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Measuring training variability from stochastic optimization using robust nonparametric testing
Banerjee, Sinjini
Marrinan, Tim
Cannon, Reilly
Chiang, Tony
Sarwate, Anand D.
Machine Learning
Deep neural network training often involves stochastic optimization, meaning each run will produce a different model. This implies that hyperparameters of the training process, such as the random seed itself, can potentially have significant influence on the variability in the trained models. Measuring model quality by summary statistics, such as test accuracy, can obscure this dependence. We propose a robust hypothesis testing framework and a novel summary statistic, the $α$-trimming level, to measure model similarity. Applying hypothesis testing directly with the $α$-trimming level is challenging because we cannot accurately describe the distribution under the null hypothesis. Our framework addresses this issue by determining how closely an approximate distribution resembles the expected distribution of a group of individually trained models and using this approximation as our reference. We then use the $α$-trimming level to suggest how many training runs should be sampled to ensure that an ensemble is a reliable representative of the true model performance. We also show how to use the $α$-trimming level to measure model variability and demonstrate experimentally that it is more expressive than performance metrics like validation accuracy, churn, or expected calibration error when taken alone. An application of fine-tuning over random seed in transfer learning illustrates the advantage of our new metric.
title Measuring training variability from stochastic optimization using robust nonparametric testing
topic Machine Learning
url https://arxiv.org/abs/2406.08307