EconPapers    
Economics at your fingertips  
 

Image Distillation with the Machine-Learned Gradient of the Loss Function and the K-Means Method

Nita Ngozi Ezekwem () and Nikolay Metodiev Sirakov
Additional contact information
Nita Ngozi Ezekwem: Department of Mathematics, East Texas A&M University, Commerce, TX 75428, USA
Nikolay Metodiev Sirakov: Department of Mathematics, East Texas A&M University, Commerce, TX 75428, USA

Mathematics, 2025, vol. 13, issue 23, 1-15

Abstract: Image distillation is becoming a hot area of machine learning (ML) research because it minimizes the computer resources used for training of convolutional neural networks (CNNs). In this paper, we propose a novel method for image distillation that learns the gradient of the loss function after training a CNN with the original training image. It then modifies the images using the learned gradient and applies K-means clustering to split the modified images into clusters, in a class-wise fashion, and select their centroids as distilled images. We evaluated the capabilities of our method on MNIST, Fashion-MNIST, CIFAR-10, and the Oral Cancer Image Database (OCID) using three CNN models (Baseline, ResNet, and LeNet). The results show that when training the classifiers (CNN) with distilled images, we obtained accuracies of 99.93% for MNIST, 99.46% for Fashion-MNIST, 99.05% for CIFAR-10, and 91.8% for OCID, which are comparable with the results after training with the entire training set. Comparison of our distillation method with existing contemporary methods such as KIP and RTP showed the supremacy of the former even if trained with fewer epochs. A bottleneck of our method is that it works with gradient-based optimizers.

Keywords: gradient; loss function; modification; clustering; images distillation (search for similar items in EconPapers)
JEL-codes: C (search for similar items in EconPapers)
Date: 2025
References: Add references at CitEc
Citations:

Downloads: (external link)
https://www.mdpi.com/2227-7390/13/23/3785/pdf (application/pdf)
https://www.mdpi.com/2227-7390/13/23/3785/ (text/html)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:gam:jmathe:v:13:y:2025:i:23:p:3785-:d:1802613

Access Statistics for this article

Mathematics is currently edited by Ms. Emma He

More articles in Mathematics from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().

 
Page updated 2025-11-27
Handle: RePEc:gam:jmathe:v:13:y:2025:i:23:p:3785-:d:1802613