Transformer-Driven Machine-Learning Framework for Low-Resource Sentiment Classification
Girija V Ramakrishnapillai, Sudha Thiyyakkat
Key points
From the paper's conclusion- The Transformer–ML configurations achieved comparable classification performance relative to their end-to-end counterparts, although inference-time characteristics varied with the downstream classifier.
Abstract
Sentiment classification in under-resourced languages remains challenging because of scarce annotated corpora, linguistic complexity, and computational constraints. Indian regional language Malayalam further intensifies these challenges through its agglutinative morphology and limited labeled resources. This study systematically evaluates a Transformer-assisted machine-learning framework for Malayalam sentiment analysis. Across two datasets, five multilingual Transformer encoders were paired with eight classical classifiers, yielding 80 Transformer–ML configurations and 10 end-to-end baselines. Each Transformer was first fine-tuned using a task-specific neural head; its task-adapted encoder was then frozen to generate attention-mask-aware mean-pooled sentence embeddings for classical classification. The same checkpoint was used for end-to-end evaluation and embedding extraction, permitting comparison between neural and classical classifiers. Experiments used a monolingual Malayalam Sports News dataset and the Dravidian CodeMix dataset. Performance was evaluated using standard classification metrics and reported as mean ± standard deviation across multiple random seeds. Robustness was further assessed using independent stratified data splits for the selected best-performing configurations to evaluate sensitivity to data-partition variations. GPU-based embedding–extraction and CPU-based classifier-prediction latencies were measured separately. Paired performance differences across seeds were assessed using the Wilcoxon signed-rank test. The Transformer–ML configurations achieved comparable classification performance relative to their end-to-end counterparts, although inference-time characteristics varied with the downstream classifier. These findings provide practical guidance for selecting suitable Transformer–classifier combinations for diverse linguistic scenarios.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Language-Similarity-Guided Transfer Fine-Tuning of Pre-trained Transformer Models for Sentiment Analysis Across 12 Indonesian Regional LanguagesJournal of Computing Theories and Applications · 2026
- Sentiment analysis in Bangla: A three-class dataset and comparative evaluation of machine learning, deep learning, and transformer approaches.PloS one · 2026
- SiNFluD: A novel benchmark dataset for sindhi figurative language classification.Data in brief · 2026
- Large language models identify immigration attitudes in online discourse regardless of languageScientific Reports · 2026
- A Survey on Transfer Learning for Low-Resource Language Technologies: A Focused Survey of Transformer-Based Code-Mixed Language Identification and Zero-Shot Multilingual Speech SynthesisInternational Journal for Research in Applied Science and Engineering Technology · 2026
- A train-once, evaluate-twice protocol for cross-lingual depression detection with large language modelsScientific Reports · 2026