Benchmarking PyCaret AutoML Against IndoBERT Fine-Tuning for Sentiment Analysis on Indonesian IKN Twitter Data
This paper demonstrates that fine-tuning the IndoBERT model significantly outperforms classical PyCaret AutoML approaches, achieving 89.59% accuracy compared to 77.57%, for binary sentiment analysis of informal Indonesian Twitter comments regarding the Ibu Kota Nusantara (IKN).
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are trying to understand the mood of a massive, noisy crowd in a public square. This crowd is talking about a big new project: Indonesia's new capital city, IKN. People are shouting their opinions on Twitter—some are cheering, some are complaining. Your job is to figure out if the crowd is generally happy or unhappy.
This paper is like a report card for two different "detectives" hired to solve this mood-swapping mystery.
The Two Detectives
Detective 1: The "Auto-Organizer" (PyCaret & Machine Learning)
This detective is like a very efficient, rule-following assistant. They use a tool called PyCaret, which is like a "smart toolbox" that automatically sorts through the tweets.
- How they work: They look at the tweets and count how often specific words appear (like a word frequency counter). They try three different strategies:
- Logistic Regression: A straight-line guesser.
- Naive Bayes: A probability guesser based on word patterns.
- SVM: A boundary-drawer that tries to separate happy from sad tweets.
- The Result: The "straight-line guesser" (Logistic Regression) was the best of the bunch. It got about 77.5% of the tweets right. It's a solid, reliable worker, but it sometimes misses the nuance of slang or sarcasm.
Detective 2: The "Super-Reader" (IndoBERT & Deep Learning)
This detective is a genius who has read millions of books and articles in Indonesian before ever seeing a single tweet. This is IndoBERT, a "Transformer" model.
- How they work: Instead of just counting words, this detective understands context. They know that the word "sakit" (sick) might mean "I'm physically ill" or "This project is terrible" depending on the sentence. They are trained specifically on the Indonesian language, so they understand local slang, abbreviations, and the messy way people type on social media.
- The Result: This detective got about 89.6% of the tweets right. They were significantly sharper, catching the subtle differences that the first detective missed.
The Showdown: The Scoreboard
The researchers set up a fair race using 1,472 real tweets about the new capital city. They split the tweets into training (learning) and testing (exam) sets.
- The Machine Learning Team (PyCaret): The best they could do was 77.57% accuracy.
- The Deep Learning Team (IndoBERT): They scored 89.59% accuracy.
The Gap: The "Super-Reader" beat the "Auto-Organizer" by more than 12 percentage points. In the world of guessing emotions, that is a huge victory.
Why Did the "Super-Reader" Win?
The paper explains this using a simple analogy:
- The Auto-Organizer is like someone who only knows the dictionary definition of words. If you say, "This project is sick," they might think you mean it's literally ill, or they might get confused because "sick" can also mean "cool" in slang.
- The Super-Reader is like a native speaker who grew up on the internet. They know that "sick" in a tweet usually means "awesome" or "terrible" depending on the tone. They understand the vibe of the sentence, not just the words.
The Catch: The Cost of Being Smart
There is a trade-off.
- The Auto-Organizer is lightweight. It runs fast on a standard laptop and doesn't need a supercomputer. It's great if you have limited resources.
- The Super-Reader is heavy. It requires a lot of computing power and takes longer to train. It's like driving a Ferrari: it's faster and more precise, but it costs more gas and needs a bigger garage.
The Bottom Line
The paper concludes that if you want the most accurate understanding of how Indonesians feel about their new capital on social media, you should use the IndoBERT model. It handles the messy, informal, slang-filled nature of Twitter much better than traditional methods.
However, if you don't have a powerful computer or need a quick, simple answer, the Logistic Regression model (the best of the traditional tools) is still a decent, if slightly less accurate, option.
In short: For understanding the complex, chatty, and slang-heavy Indonesian internet, the "Super-Reader" (Deep Learning) is the clear winner, leaving the "Auto-Organizer" (Machine Learning) in the dust.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.