Stanley Nathanael Wijaya, Anderies
The full ensemble scored F1-Macro 0.8299 against 0.9015 for IndoBERTweet alone; removing the SVM recovered 0.8945.
Many people assume that ensemble learning is better than individual models, but this assumption rests on the implicit requirement that base learner output probabilities are well calibrated. This paper presents an explainability-driven analysis of a stacking ensemble combining IndoBERT, IndoBERTweet and a TF-IDF SVM as base learners with a Logistic Regression meta-learner, evaluated on the IndoNLU SmSA benchmark for Indonesian social media sentiment analysis. IndoBERTweet achieved the best individual F1-Macro of 0.9015, while the full stacking ensemble scored only 0.8299. SHAP analysis of the meta-learner shows that SVM features account for 60.3% of attribution despite the SVM having the lowest individual F1 of 0.741. Platt-scaled SVM probabilities produce more extreme confidence values that dominate the decision space and reduce the contribution of the transformer models; removing the SVM recovers F1-Macro to 0.8945. The neutral class, only 10.4% of training samples, is a persistent bottleneck across all models. The findings highlight the importance of probability calibration and provide a replicable diagnostic methodology for ensemble calibration failure in low-resource Indonesian NLP.
"Combine models and you get a better model" is a common assumption. It quietly depends on every base learner producing well-calibrated probabilities. This paper looks at what happens when that condition fails.
| Configuration | F1-Macro |
|---|---|
| IndoBERTweet (best single model) | 0.9015 |
| Ensemble without SVM | 0.8945 |
| Full stacking ensemble | 0.8299 |
| SVM alone | 0.741 |
The weakest model received 60.3% of the attribution, because its extreme probabilities dominated the meta-learner.
Happy to discuss the experimental design, the data or the results.
