Merged-GHCIDR: Geometrical Approach to Reduce Image Data

Devvrat Joshi, Janvi Thakkar, Siddharth Soni, Shril Mody, Rohan Patil, Nipun BatraarXiv 2022 · DOI

Abstract

Training deep neural networks on massive datasets is computationally intensive. Merged-GHCIDR is a novel dataset reduction technique that compresses image datasets into smaller, representative subsets by analyzing the geometric distribution of data clusters. By selecting high-impact original images from concentric "annular regions" within clusters, this approach maintains high model accuracy while significantly reducing training times.

Introduction

The proliferation of massive datasets like ImageNet and CIFAR-10 has driven deep learning progress but at a significant computational cost. Not every image in these datasets is equally informative; many are redundant or reside deep within class territories, contributing little to defining decision boundaries.

Existing reduction methods, such as Reduction through Homogeneous Clustering (RHC), suffer from two primary limitations:

  1. Interpretability: They often represent clusters using a "centroid"—a synthetic average of all images—resulting in unrecognizable, blurry blobs.
  2. Geometry Blindness: They ignore boundary points crucial for class distinction and fail to account for varying cluster sizes.

Methodology

GHCIDR: Geometrical Homogeneous Clustering

The authors propose GHCIDR to address these flaws. Instead of synthetic averages, GHCIDR treats each homogeneous cluster (data points sharing a label) as an N-dimensional ball.

GHCIDR employs annular sampling to select representative real images from within cluster volumes.

The core of GHCIDR is Annular Sampling. The cluster ball is divided into concentric rings (annuli), and real images are sampled from the interior of these rings. This ensures the reduced dataset captures the spatial volume and "spread" of the original cluster. Furthermore, Cluster Weighting ensures that larger, more diverse clusters contribute proportionally more samples to the final subset.

Merged-GHCIDR: Addressing the Long Tail

A significant challenge in clustering is the "long tail" of tiny clusters. In datasets like CIFAR-10, thousands of clusters may contain only a few images. Sampling from every tiny cluster limits the potential for data reduction.

Merged-GHCIDR addresses the "long tail" of small clusters by merging nearby homogeneous groups before sampling.

Merged-GHCIDR introduces Complete Linkage Clustering to merge these small, nearby clusters of the same class. This process is governed by a parametric reduction rate ($\beta$), allowing researchers to precisely control the trade-off between dataset size and model performance.

Experimental Results

The researchers evaluated Merged-GHCIDR across standard benchmarks (MNIST, Fashion-MNIST, CIFAR-10, and Tiny-Imagenet) using FCN, VGG1, and VGG16 architectures.

Performance and Accuracy

Merged-GHCIDR consistently outperformed the RHC baseline. Notable accuracy gains included +8.94% on Fashion-MNIST and +7.59% on CIFAR-10. On the MNIST dataset, the method reduced training time by 85.6% while maintaining 99.04% accuracy—a negligible drop from the full dataset's performance.

Interpretability

A key advantage of this geometrical approach is that the resulting subsets consist of clear, original images. This preserves the sharp features necessary for deep learning filters to learn effectively, unlike the synthetic "centroids" produced by RHC.

Discussion and Future Work

By sampling from annular regions, Merged-GHCIDR captures points further from the cluster center. These points often lie near decision boundaries, representing the most informative areas for neural network training.

While the method significantly speeds up model training, the initial clustering and sampling process introduces upfront computational overhead. Future research directions include adapting the sampling logic to handle incorrectly labeled data and integrating Differential Privacy mechanisms to prevent sensitive information leakage from the reduced dataset.

Summary updated

Abstract

The computational resources required to train a model have been increasing since the inception of deep networks. Training neural networks on massive datasets have become a challenging and time-consuming task. So, there arises a need to reduce the dataset without compromising the accuracy. In this paper, we present novel variations of an earlier approach called reduction through homogeneous clustering for reducing dataset size. The proposed methods are based on the idea of partitioning the dataset into homogeneous clusters and selecting images that contribute significantly to the accuracy. We propose two variations: Geometrical Homogeneous Clustering for Image Data Reduction (GHCIDR) and Merged-GHCIDR upon the baseline algorithm - Reduction through Homogeneous Clustering (RHC) to achieve better accuracy and training time. The intuition behind GHCIDR involves selecting data points by cluster weights and geometrical distribution of the training set. Merged-GHCIDR involves merging clusters having the same labels using complete linkage clustering. We used three deep learning models- Fully Connected Networks (FCN), VGG1, and VGG16. We experimented with the two variants on four datasets- MNIST, CIFAR10, Fashion-MNIST, and Tiny-Imagenet. Merged-GHCIDR with the same percentage reduction as RHC showed an increase of 2.8%, 8.9%, 7.6% and 3.5% accuracy on MNIST, Fashion-MNIST, CIFAR10, and Tiny-Imagenet, respectively.
BibTeX
@misc{joshi2022merged,
  author = {Devvrat Joshi and Janvi Thakkar and Siddharth Soni and Shril Mody and Rohan Patil and Nipun Batra},
  title = {{Merged-GHCIDR: Geometrical Approach to Reduce Image Data}},
  year = {2022},
  eprint = {2209.02609},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.02609},
}
Figure