Systematic investigation into the performance of neural networks with increasing number of classes

Neural networks, including variants such as transformers, dominate image and language-based machine learning applications. Datasets have widely varying numbers of class labels; e.g. ImageNet1K has 1000 classes, while MNIST has just 10. Performance benchmarks also differ significantly. ImageNet’s top-1 accuracy increased from 63.3% in 2011 to now over 92%, whereas MNIST’s accuracy is 99.8% since 2013. While some tasks are inherently simpler than others, one natural hypothesis is that a lower number of classes contributes to higher performance; with fewer classes, a random guess has a higher probability of being correct. However, we find this is not always the case. Specifically, we test this on ubiquitous computer vision tasks — image classification, object detection, and semantic segmentation – examining how performance changes with increasing class labels, while controlling for variables like CNN architecture and training methodology. We use multiple datasets for each task. We find that in image classification and semantic segmentation, performance decreases with increasing number of classes. Conversely, we discover that performance improves with more classes in object detection. We further explore this observed difference by visualizing and analyzing feature maps in terms of their clustering performance. We conclude that in object detection, the feature map clusters become tighter and better separated as the number of classes increases, leading to an increase in performance. While prior research has explored performance versus class-number relationships theoretically, this study is the first to empirically and systematically test this, particularly in computer vision. This helps to advance our understanding of the performance characteristics of CNNs, and classification models generally.

Authors

Institutions

Publication Details

Journal
IET conference proceedings.
Published
2024-10-01
DOI
https://doi.org/10.1049/icp.2024.3297
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

Systematic investigation into the performance of neural networks with increasing number of classes

Michael G. Madden, Sai Abinesh Natarajan
IET conference proceedings.
Neural Networks and Applications
article

Systematic investigation into the performance of neural networks with increasing number of classes

Michael G. Madden, Sai Abinesh Natarajan
article en

Abstract

Neural networks, including variants such as transformers, dominate image and language-based machine learning applications. Datasets have widely varying numbers of class labels; e.g. ImageNet1K has 1000 classes, while MNIST has just 10. Performance benchmarks also differ significantly. ImageNet’s top-1 accuracy increased from 63.3% in 2011 to now over 92%, whereas MNIST’s accuracy is 99.8% since 2013. While some tasks are inherently simpler than others, one natural hypothesis is that a lower number of classes contributes to higher performance; with fewer classes, a random guess has a higher probability of being correct. However, we find this is not always the case. Specifically, we test this on ubiquitous computer vision tasks — image classification, object detection, and semantic segmentation – examining how performance changes with increasing class labels, while controlling for variables like CNN architecture and training methodology. We use multiple datasets for each task. We find that in image classification and semantic segmentation, performance decreases with increasing number of classes. Conversely, we discover that performance improves with more classes in object detection. We further explore this observed difference by visualizing and analyzing feature maps in terms of their clustering performance. We conclude that in object detection, the feature map clusters become tighter and better separated as the number of classes increases, leading to an increase in performance. While prior research has explored performance versus class-number relationships theoretically, this study is the first to empirically and systematically test this, particularly in computer vision. This helps to advance our understanding of the performance characteristics of CNNs, and classification models generally.

IET conference proceedings.Vol. 2024(10)
Ollscoil na Gaillimhe – University of Galway (IE)
European Commission, Science Foundation Ireland, Irish Centre for High-End Computing, Insight SFI Research Centre for Data Analytics, European Regional Development Fund
Openalex Percentile: Top 79%
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.