cs.CLMar 27, 2026

IndoBERT-Relevancy: A Context-Conditioned Relevancy Classifier for Indonesian Text

Authors: Muhammad Apriandito Arya Saputra, Andry Alamsyah, Dian Puteri Ramadhani, Thomhert Suprapto Siadari, Hanif Fakhrurroja

Organizations: SocialX · Center of Excellence SAKTI, Research Institute Intelligent Business & Sustainable Economy, Telkom University · Biomedical Engineering Study Program, School of Electrical Engineering, Telkom University · Research Center for Smart Mechatronics, National Research and Innovation Agency (BRIN)

Abstract

Determining whether a piece of text is relevant to a given topic is a fundamental task in natural language processing, yet it remains largely unexplored for Bahasa Indonesia. Unlike sentiment analysis or named entity recognition, relevancy classification requires the model to reason about the relationship between two inputs simultaneously: a topical context and a candidate text. We introduce IndoBERT-Relevancy, a context-conditioned relevancy classifier built on IndoBERT Large (335M parameters) and trained on a novel dataset of 31,360 labeled pairs spanning 188 topics. Through an iterative, failure-driven data construction process, we demonstrate that no single data source is sufficient for robust relevancy classification, and that targeted synthetic data can effectively address specific model weaknesses. Our final model achieves an F1 score of 0.948 and an accuracy of 96.5%, handling both formal and informal Indonesian text. The model is publicly available at HuggingFace.

Figures & tables

Explore similar work

CardsList
  1. IndoBERT-Sentiment: Context-Conditioned Sentiment Classification for Indonesian Text

    Apr 8, 2026Muhammad Apriandito Arya Saputra, Andry Alamsyah, Dian Puteri Ramadhani +2Sentiment AnalysisLarge Language Model-Based Text Classification

  2. Benchmarking PyCaret AutoML Against IndoBERT Fine-Tuning for Sentiment Analysis on Indonesian IKN Twitter Data

    Apr 28, 2026Mutia Alfi Mayzaroh, Dwi Fitria Ningsih, Nindi Destriani +1Social Media AnalysisLLM Fine-Tuning

  3. IndoBias: A Dual Track Culturally Grounded Benchmark for LLMs Bias Evaluation in Indonesian Languages

    May 31, 2026Ikhlasul Akmal Hanif, Muhammad Falensi Azmi, Filbert Aurelian Tjiaranata +2Multilingual Language Model EvaluationCultural Bias in Language Models