Jurnal Teknik Informatika (JUTIF)
Vol. 6 No. 6 (2025): JUTIF Volume 6, Number 6, Desember 2025

Efficient Waste Classification in Cisadane River Using Vision Transformer and Swin Transformer Architectures

Surahmat, Asep (Unknown)
Mutiarawan, Rezza Anugrah (Unknown)



Article Info

Publish Date
23 Dec 2025

Abstract

The increasing volume of waste in rivers has become a serious environmental problem. This study proposes the implementation of Artificial Intelligence (AI)-based models, specifically Vision Transformer (ViT) and Swin Transformer, for an automatic waste sorting system in the Cisadane River, Tangerang. The dataset used combines public sources and field data, processed through preprocessing and augmentation to improve robustness. Model training was conducted using k-fold cross-validation, pruning, and deployment testing on edge devices to ensure generalization and efficiency. Several architectural innovations were introduced, including Dynamic Patch Size for adapting to various waste shapes and sizes, and Spatial-Aware Attention to enhance focus on waste objects against complex river backgrounds. The evaluation involved a confusion matrix and statistical analysis using a paired t-test to validate the significance of the results. Experimental findings show that Swin Transformer achieved the highest accuracy of 94.2%, surpassing ViT at 91.8%, with precision of 93.5%, recall of 92.7%, and F1-score of 93.1%. Swin Transformer also proved more reliable in dynamic lighting and cluttered environments. This study demonstrates the potential of Transformer-based architectures in automatic waste classification, contributing to smarter and more efficient AI-based environmental management technologies.

Copyrights © 2025






Journal Info

Abbrev

jurnal

Publisher

Subject

Computer Science & IT

Description

Jurnal Teknik Informatika (JUTIF) is an Indonesian national journal, publishes high-quality research papers in the broad field of Informatics, Information Systems and Computer Science, which encompasses software engineering, information system development, computer systems, computer network, ...