MARATTO

article · Applied System Innovation

TRM-ViT: A Tiny Recursive Vision Transformer for Efficient Melanoma Detection

Abstract

Melanoma remains one of the most aggressive forms of skin cancer, and its early detection is critical for improving patient survival. Vision Transformers (ViTs) have recently shown strong performance in dermoscopic image analysis; however, their effectiveness often relies on stacking multiple transformer encoder blocks, resulting in large numbers of trainable parameters and increased model complexity. In this study, we propose TRM-ViT, a parameter-efficient recursive Vision Transformer designed for binary melanoma classification. Instead of using multiple independent encoder blocks, TRM-ViT applies a single transformer encoder block recursively with shared weights, enabling effective depth while substantially reducing the number of trainable parameters. Experiments conducted on the HAM10000 dataset demonstrate that TRM-ViT achieves a ROC–AUC of 0.7952, comparable to a standard Vision Transformer (0.7951), while using approximately seven times fewer parameters (2.15 M vs. 14.57 M). Notably, the proposed model maintains high melanoma sensitivity, making it particularly suitable for screening-oriented applications. These results indicate that recursive weight sharing can provide an effective trade-off between diagnostic performance and model compactness, supporting the development of efficient decision-support tools for melanoma screening in resource-constrained environments.

Research topics

  • Cutaneous Melanoma Detection and Management
  • AI in cancer detection
  • Digital Imaging for Blood Diseases

Read the original research

This page summarises published work. The authoritative version sits with the publisher.

DOI: 10.3390/asi9020045

Is something wrong with this record? Report it or request removal.

Discussion

Discuss this research

Have you built on this work, tried to replicate it, or seen it applied in practice? Share what you know. Verified researchers and MARATTO™ domain experts can open a discussion, and any member can reply. Contributions are reviewed before they appear.

No discussion yet. Open the first thread.