Abstract
Readability assessment for the Filipino language has transitioned from simple formulas to complex machine learning models. However, these models often function as "black boxes," providing predictions without explaining the underlying linguistic drivers. This paper addresses this by applying global and local model interpretation techniques—specifically ELI5 and LIME—to traditional machine learning algorithms. The study reveals that feature selection based on model interpretation significantly outperforms traditional correlation methods, achieving a peak accuracy of 69.8%. Furthermore, the research identifies specific linguistic boundaries and consistent predictors, such as CVC density and bigram patterns, that define reading difficulty across grade levels in Filipino children's literature.
Introduction
Determining the appropriate reading level for a text is crucial for education, yet for the Filipino language, this process has long been opaque. While modern machine learning (ML) models can predict grade levels with high accuracy, they often fail to provide the "why" behind their decisions. This lack of interpretability hinders educators and authors who need to understand which linguistic features—such as sentence length, word complexity, or morphological patterns—contribute most to a text's difficulty.
This study aims to "open the microscope" on these models. By moving beyond simple correlation-based feature selection and employing advanced interpretation techniques, the researchers identify the most impactful linguistic predictors for Filipino and establish empirical thresholds for reading difficulty.
Methodology
The researchers evaluated three primary algorithms: Logistic Regression (LR), Support Vector Machines (SVM), and Random Forest (RF). The study utilized a dataset of 265 Filipino reading materials from Adarna House and DepEd Commons, categorized into three grade levels (L1, L2, and L3).
The core of the methodology involves two interpretation strategies:
- Global Model Interpretation: Using the
ELI5package to extract learned weights, revealing which features the models prioritized across the entire dataset. - Local Surrogate Interpretation: Using LIME (Local Interpretable Model-agnostic Explanations) to analyze individual decisions. This provided "local weight boundaries"—specific numerical ranges for features that trigger classification into a particular grade level.
Key Results
The study found that features identified through model interpretation led to superior performance compared to those chosen via standard Spearman correlation.
Performance Gains
The integration of model-aware feature selection provided a substantial boost in predictive power. For instance, the Random Forest model using a combined feature set (Global Interpretation + Spearman Correlation) reached a peak accuracy of 69.8%, a marked improvement over the 45.8% achieved using correlation-based features alone.
Linguistic Consistency and Boundaries
Global interpretation revealed that certain features are consistently influential across all grade levels. For Logistic Regression, features such as CVC (Consonant-Vowel-Consonant) density and L3 bigrams were found to be stable predictors of difficulty.
Local interpretation via LIME further refined these insights by providing concrete thresholds. For example, the models learned that Grade 1 texts typically exhibit an average sentence length $\leq -0.43$, while Grade 3 texts are characterized by a high count of polysyllabic words (weight $> 0.50$).
Discussion
The findings underscore that the relationship between linguistics and readability in Filipino is non-linear and multi-dimensional. The failure of simple correlation to match model-based feature selection suggests that "statistical significance" and "model importance" capture different, yet complementary, aspects of complexity.
Interestingly, traditional surface-based features like word count and sentence length remain highly effective for children's literature, even when more complex morphological or language model features are available. For the Random Forest model, raw word count emerged as the dominant predictor, showing a nearly linear relationship with increasing difficulty.
Conclusion and Future Work
By applying interpretation techniques, this research moves Filipino readability assessment toward a more transparent and actionable framework. Future work should extend these methods to deep learning models like Transformers and explore causal relationships through Bayesian networks. Expanding the dataset beyond children's literature to include technical or adult-oriented texts will also be essential for generalizing these linguistic boundaries.
Summary updated