| PLOS ONE | 卷:21 |
| A lightweight hybrid deep learning approach for fashion mnist classification with explainable attention visualization | |
| Research Article | |
| Hafeez Ahmad1  Tahira Anwar Lashari1  Saima Anwar Lashari2  Ijaz Khan3  Farzana Jabeen1  | |
| [1] College of Computing and Informatics, Saudi Electronic University, Riyadh, Saudi Arabia | |
| [2] School of Electrical Engineering and Computer Science, National University of Sciences & Technology (NUST), Islamabad, Pakistan | |
| [3] College of Aeronautical Engineering, Military College of Engineering NUST, Risalpur, Pakistan | |
| 关键词: Entropy; Ankles; Probability distribution; Attention; Grayscale; Statistical distributions; Machine learning; Magma; | |
| DOI : 10.1371/journal.pone.0351671 | |
| received in 2026-01-26, accepted in 2026-05-29, 发布年份 2026 | |
| 来源: PLOS | |
PDF
|
|
【 摘 要 】
The classification of fashion images is an essential task in the e-commerce sector, where accurate categorization improves user experience and refines product discovery. Convolutional Neural Networks (CNNs) and Transformers have demonstrated strong performance in image classification tasks due to their ability to learn complex visual features. However, deep variants of these architectures, such as VGG-19, ResNet-50, Vision Transformer (ViT), and Swin Transformer, contain tens of millions of parameters, requiring high memory and powerful GPUs for training, which makes them less suitable for low-resource and edge device environments. To address these limitations, this research proposes a lightweight hybrid architecture, TinyCNN with Linear Self-Attention (LSA), optimized for resource-constrained settings. The proposed model contains fewer than half a million parameters and is trainable on a CPU, achieving a classification accuracy of 91.47% on the Fashion-MNIST dataset. In addition, multiple Explainable Artificial Intelligence (XAI) techniques are implemented, including Self-Attention visualization, Multi-Head Attention, Attention Flow, Attention Rollout, Fixed query position attention maps, Integrated Gradients, LIME, and SHAP, to provide visual interpretability of the model’s predictions and enhance transparency in its decision-making process.
【 授权许可】
CC BY
Ahmad et al 2026
【 预 览 】
| Files | Size | Format | View |
|---|---|---|---|
| RO202609300003910ZK.pdf | 7353KB | ||
| Fig. 2 | 540KB | Image | |
| Fig. 4 | 957KB | Image | |
| RO202609300000487ZK.pdf | 1481KB | ||
| Fig. 4 | 322KB | Image | |
| MediaObjects/13690_2026_2006_MOESM4_ESM.docx | 28KB | Other | |
| Scheme 1 | 132KB | Image | |
| TABLE 1 | 1KB | Table | |
| Table 7 | 105KB | Table | |
| Fig. 4 | 35KB | Image | |
| Fig. 4 | 12610KB | Image | |
| RO202609300000484ZK.pdf | 1511KB | ||
| Supporting File 11 | 52122KB | Other | |
| Fig. 1 | 204KB | Image | |
| Fig. 1 | 782KB | Image | |
| 4 | 405KB | Image | |
| Fig. 1 | 185KB | Image | |
| Supporting File | 36936KB | Other | |
| Fig. 4 | 1967KB | Image | |
| Fig. 1 | 186KB | Image | |
| Fig. 4 | 216KB | Image | |
| Fig. 3 | 558KB | Image | |
| Fig. 3 | 395KB | Image |
【 图 表 】
Fig. 3
Fig. 3
Fig. 4
Fig. 1
Fig. 4
Fig. 1
4
Fig. 1
Fig. 1
Fig. 4
Fig. 4
Scheme 1
Fig. 4
Fig. 4
Fig. 2
【 参考文献 】
- [1]
- [2]
- [3]
- [4]
- [5]
- [6]
- [7]
- [8]
- [9]
- [10]
- [11]
- [12]
- [13]
- [14]
- [15]
- [16]
- [17]
- [18]
- [19]
- [20]
- [21]
- [22]
- [23]
- [24]
- [25]
- [26]
- [27]
- [28]
- [29]
- [30]
- [31]
- [32]
- [33]
- [34]
- [35]
- [36]
PDF