Objective

Peru has set up Intercultural Bilingual Education, often shortened to IBE. Its goal is to give Indigenous students teaching that fits their language and culture. The paper says more than 26,422 schools are in the system and that over 40 Indigenous languages are used alongside Spanish. The authors describe lasting problems, including planning, access, dropout, unequal resources between urban and rural schools, and teachers who do not know their students' Indigenous languages well.

Most earlier research on IBE in Peru was qualitative or descriptive. The authors say that few studies use machine learning (computer programs that learn patterns from data) and predictive analytics on this topic, especially in Latin America. This study wanted to fill that gap by finding patterns in how IBE is carried out across Peruvian schools and by comparing how well different classification algorithms predict the type of IBE situation a school is in.

The aims were:

  • Find hidden patterns in school data.
  • Measure which pedagogical and institutional factors matter most for the predictions.
  • Offer evidence that could support more equitable, context-aware policy.

A classification algorithm is a method that learns to put each case into one of several labeled groups.

Methods

This is a quantitative, data-driven study using existing administrative records. It can show how well algorithms predict a label from school information. It cannot show why schools differ or whether any policy works.

The data started as 84,558 rows and 17 columns about Peruvian schools. The columns included institutional identifiers, administrative details, geography and education modality. The target to predict was a variable called Scenario 2019, which sorts schools into five categories. The paper describes these as running from highly consolidated intercultural bilingual contexts (Scenario 1) to schools with limited or emerging IBE (Scenario 5). The data come from a publicly available spreadsheet.

Cleaning cut the data to 27,979 rows and 15 columns. Columns with more than 50% missing values were dropped, missing categories were filled with Unknown, missing numbers were filled with the median, and invalid entries were removed. Very detailed categories, such as the name of the supervising education office and the populated center, were left out to avoid overfitting. The team built new features, for example combining education level with the type of IBE service. The final model used six features: five categorical and one numerical.

Eight methods were compared: Decision Tree, Random Forest, Logistic Regression, two types of Support Vector Machine, K-Nearest Neighbors, a Multi-Layer Perceptron (a simple neural network) and Gradient Boosting. They were tested with four train and test splits (80/20, 50/50, 25/75 and 10/90). Five-fold cross-validation was used for selected models, including XGBoost and LightGBM. The authors say preprocessing was fitted only on training data to avoid leaks. Performance was measured by accuracy, precision, recall and weighted F1-score. They also used feature importance and SHAP values to see which variables drove predictions. The authors say they did no exhaustive tuning of settings.

Key Findings

Overall, tree-based ensemble methods (which combine many small models) predicted the five scenarios better than linear methods, but all models did fairly well.

Model comparison

  • On the 80/20 split, Gradient Boosting was best, with accuracy of 0.7706 and F1-score of 0.7415. K-Nearest Neighbors (accuracy 0.7695), the neural network (0.7686), Decision Tree (0.7680) and Random Forest (0.7645) were close behind.
  • Linear methods did worse. Logistic Regression had accuracy of 0.7266 and F1 of 0.6787. The linear Support Vector Machine had accuracy of 0.7207 and F1 of 0.6260.
  • Across all four splits, accuracy ranged from 0.72 to 0.78 and F1 from 0.62 to 0.75. Even with only 10% of the data for training, the neural network and ensemble models kept strong performance.

Cross-validation

  • With five-fold cross-validation, Gradient Boosting had the highest mean accuracy (0.7738) and LightGBM had the highest mean F1 (0.7513).
  • Mean accuracies ranged from 0.766 to 0.774, with standard deviations below 0.007, so results were stable across folds.

Classes and errors

  • The five scenario groups were fairly balanced, from 22.2% of schools in Scenario 1 (6,215 schools) to 18.6% in Scenario 4 (5,192 schools).
  • For Gradient Boosting, per-class F1 ranged from 0.73 to 0.77. Scenario 5 scored highest and Scenario 4 had lower recall.
  • Mistakes mostly happened between neighboring scenarios with similar profiles.
  • The paper also reports that, among the schools used for testing the Gradient Boosting model, per-class precision ran from 0.75 to 0.79 and recall from 0.72 to 0.76, and that macro-F1 stayed close to the weighted F1-score, so the model did not mainly favor the larger groups.
  • Training on a larger share of schools was not needed for good results. The paper says performance stayed consistent when the split changed from 80/20 to 50/50, 25/75 and 10/90.

Which features mattered

  • Level_EIB, which combines education level and the type of IBE service, was the most influential predictor. DRE_Dept, which combines the regional education office and department, also had a strong effect. Other items such as modular code and annex also contributed.
  • The authors read this as showing that institutional structure, region and modality are linked to the scenario a school falls in. They say the results reflect patterns in the data and not causal relationships.

Implications

The study is about prediction from administrative records, so its practical advice is mainly for planners and researchers. The authors' points come first, then our own reading.

What the authors suggest

  • Policymakers and planners: move away from one-size-fits-all policies. They say decisions about deploying bilingual teachers, designing culturally relevant curricula or investing in infrastructure should use local data patterns rather than national averages.
  • Education authorities: the models could serve as decision-support tools to classify school scenarios and find priority areas for help. Good performance even with a small training share suggests useful insights may be possible where data are limited, such as remote regions.
  • Researchers: pair predictive models with explainable AI tools such as feature importance and SHAP, so that predictions can be understood and trusted. They also suggest later work should look at how scenarios change over time.

Our reading (not the authors' recommendation):

  • Because the label being predicted is itself an existing administrative category, the models mostly show that school records are consistent with that label. Planners should not treat a prediction as proof that a school needs a certain kind of support.
  • Any school-level decision should still involve local educators and communities, who can say what the scenario means in practice.
  • The paper reports no tests of whether acting on the model improves learning, so it gives no evidence yet for changing resources based on its output.

Limitations

The authors list several limits, and the design suggests others.

  • One year of data. The data are from 2019 only, so the study is a snapshot and cannot show change over time.
  • No outside validation. The models were checked with splits and cross-validation on the same dataset. They were not tested on an independent dataset, so it is unclear if they would work in other years or regions.
  • Lost detail. Very detailed categories were removed to avoid overfitting, which may have reduced context. The authors suggest other encoding methods could keep more of it.
  • No heavy tuning. The authors say they did not run exhaustive searches for the best settings.
  • The paper does not mention, but the label to be predicted is an administrative classification, and some of the inputs (such as education level and region) may be closely tied to how that label was created. High accuracy may partly reflect that overlap.
  • The paper does not mention, but the dataset shrank from 84,558 rows to 27,979 after cleaning, and the paper does not say whether the removed schools differ from those kept.
  • The paper does not mention, but the study contains no student learning results, teacher views or classroom data, so claims about equity or quality of teaching go beyond what the data measure.
  • The paper does not mention, but some interpretive statements, such as that remote regions are linked with scenarios needing more support, rest on SHAP summaries and are not tested separately.

Future Directions

The authors point to several directions for later work.

  • Use data from several years (longitudinal data) to see how school scenarios change over time and how policy changes affect them.
  • Test the models on independent datasets (external validation) to check that results hold in other times and places.
  • Try other ways of encoding detailed categories, such as target encoding or embedding-based methods, to keep more local context.
  • Add socioeconomic and community indicators, and bring in qualitative approaches, to better understand what drives the differences between scenarios.
  • Revisit explainable AI tools to make predictions easier for decision makers to understand.

An open question the paper leaves is whether predicting a school's scenario helps anyone make better choices, since no decision-making test is reported.

The bottom line: Machine learning models, especially Gradient Boosting, could sort about 27,979 Peruvian schools into five bilingual education scenarios with accuracy near 0.77, and linear methods did worse. The evidence is limited to one year of administrative data, with no outside test and no learning outcomes. Treat the results as a pattern in school records that may help planners explore where to look, and not as proof of what works for students. No test yet shows that using these predictions improves teaching or learning.