Journal of Electrical Technology
Vol 11, No 2 (2026): : Edisi June

Temporal Gradient Oscillation with Accuracy Recovery Mechanism for Efficient BERT-Based Text Classification

Indra Listiawan (Universitas AMIKOM Yogyakarta)
Ema Utami (Universitas AMIKOM Yogyakarta)
Kusrini Kusrini (Universitas AMIKOM Yogyakarta)
Arief Setyanto (Universitas AMIKOM Yogyakarta)



Article Info

Publish Date
29 Jul 2026

Abstract

Large Language Models (LLMs) such as BERT have demonstrated impressive performance across various NLP tasks, yet their high computational cost poses challenges for deployment in resource-constrained environments. This paper proposes a dynamic temporal token pruning approach based on gradient oscillation monitoring, where token importance is estimated from the temporal variability of gradient signals during training. Tokens exhibiting low gradient oscillation are selectively pruned to reduce effective input length. To mitigate potential performance degradation caused by aggressive pruning, an accuracy recovery mechanism based on lightweight re-finetuning is introduced. Experimental results on benchmark sentiment classification datasets, including IMDB and SST-2, demonstrate that the proposed method substantially reduces the number of input tokens while maintaining or recovering predictive performance. These results indicate that gradient oscillation provides a viable signal for token-level efficiency, achieving a favorable trade-off between input sparsity and model accuracy without modifying the underlying Transformer architecture.

Copyrights © 2026






Journal Info

Abbrev

jet

Publisher

Subject

Automotive Engineering Computer Science & IT Control & Systems Engineering Electrical & Electronics Engineering Energy Engineering Industrial & Manufacturing Engineering Materials Science & Nanotechnology

Description

Focus and Scope Journal of Electrical Technology is a peer-reviewed scientific journal that publishes high-quality original research papers, review articles, and technological developments in the fields of Electrical Engineering, Computer Engineering, and Informatics Engineering. The journal aims to ...