Bringing the Discussion of Minima Sharpness to the Audio Domain: a Filter-Normalised Evaluation for Acoustic Scene Classification
Manuel Milling, Andreas Triantafyllopoulos, Iosif Tsangko, Simon David Noel Rampp, Björn Wolfgang Schuller
TL;DR
This work investigates whether minima sharpness, assessed via filter-normalised two-dimensional loss landscapes and the $\epsilon$-sharpness measure $s_\epsilon$, predicts generalisation in acoustic scene classification (ASC) on the DCASE2020 dataset. By training CNN10 and CNN14 models with diverse optimisers and performing a grid-search over hyperparameters, the authors quantify how sharpness correlates with in-distribution and out-of-distribution generalisation. Contrary to prevalent findings in computer vision, sharper minima here tend to generalise better, especially to unseen devices, highlighting the influence of optimisers on sharpness and the limitations of cross-domain comparability. The results motivate more efficient and interpretable sharpness measures and deeper analyses of hyperparameter effects to improve ASC robustness, with code and model states released publicly.
Abstract
The correlation between the sharpness of loss minima and generalisation in the context of deep neural networks has been subject to discussion for a long time. Whilst mostly investigated in the context of selected benchmark data sets in the area of computer vision, we explore this aspect for the acoustic scene classification task of the DCASE2020 challenge data. Our analysis is based on two-dimensional filter-normalised visualisations and a derived sharpness measure. Our exploratory analysis shows that sharper minima tend to show better generalisation than flat minima -even more so for out-of-domain data, recorded from previously unseen devices-, thus adding to the dispute about better generalisation capabilities of flat minima. We further find that, in particular, the choice of optimisers is a main driver of the sharpness of minima and we discuss resulting limitations with respect to comparability. Our code, trained model states and loss landscape visualisations are publicly available.
