Mineração de Dados Aplicada à Predição do Desempenho de Escolas e Técnicas de Interpretabilidade dos Modelos

Milton V. Gama Neto, Germano C. Vasconcelos, Cleber ZanchettinAnais 2021

Abstract

Este trabalho analisa o desempenho com mineração de dados das escolas de São Paulo no exame SARESP, com dados da SEDUC-SP. A metodologia, baseada no CRISP-DM, propõe uma solução de aprendizagem de máquina para prever o desempenho das escolas e extrair padrões relevantes do desempenho educacional com técnicas de IA Explicativas. Sete classificadores alcançaram alta acurácia (93%) e AUC ROC (0.97) na previsão do desempenho das escolas, com dados do perfil de alunos, escolas e valores sócio-econômicos externos. O modelo não-linear e as técnicas SHAP e Counterfactual evidenciaram fatores relevantes que podem impactar o resultado educacional e a utilidade da metodologia no apoio à decisão.

Introduction

Improving education quality requires more than just intuition; it needs evidence-based decision-making. While Educational Data Mining (EDM) has been used to predict student and school success, many high-performing machine learning models are "black boxes"—they provide a prediction but don't explain why a school is failing or succeeding.

In the Brazilian context, previous studies often relied on simpler linear models that are easy to interpret but lack predictive power. This paper bridges that gap by using sophisticated non-linear models (like Gradient Boosting and Neural Networks) while applying Explainable AI (XAI) techniques to ensure the results are transparent and actionable for educational managers in São Paulo.

Methodology

The researchers followed the CRISP-DM (Cross Industry Standard Process for Data Mining) framework. Their approach involved:

  1. Feature Engineering: Creating 58 distinct attributes from raw data, covering teacher demographics, school infrastructure, and management history.
  2. Binary Classification: Discretizing SARESP scores to label schools as "Good" (more than 50% of students at "Adequate" or "Advanced" levels) or "Poor."
  3. Model Benchmarking: Testing seven different classifiers: Decision Tree, Random Forest, Gradient Boosting, LightGBM, k-NN, Multi-Layer Perceptron (MLP), and Linear SVM.
  4. Interpretability Layer:
    • SHAP (SHapley Additive exPlanations): Used to rank which features most influenced the model's decisions globally and for specific schools.
  5. Counterfactual Explanations: A "what-if" analysis that identifies the minimum changes needed (e.g., increasing teacher training) to flip a school's prediction from "Poor" to "Good."

The study utilized a rich, integrated dataset from SEDUC-SP Open Data (4,523 schools), external socio-economic data (PIB per capita), and the 2016 National Literacy Assessment (ANA).

Key Insights and Ideas

The analysis revealed several critical drivers of educational performance:

  • The "High School" Challenge: One of the most significant findings was that a high volume of high school (Ensino Médio) students was a strong negative predictor for a "Good" school rating. This suggests that the high school stage in São Paulo faces much steeper challenges compared to primary education.
  • Management and Stability: Factors like the school director’s age and their time in the position were highlighted as relevant, suggesting that experienced leadership correlates with better outcomes.
  • Teacher Specialization: The models confirmed that the percentage of teachers with post-graduate degrees or specific specializations significantly boosts a school's probability of success.
Distribution of student performance across different educational stages in São Paulo.

As seen in the figure above, performance levels shift significantly as students progress through the system. While primary education (3º and 5º Ano EF) shows higher concentrations in the "Adequado" (Adequate) category, secondary education (9º Ano EF and EM-3ª série) sees a shift toward "Básico" (Basic) and even "Abaixo do Básico" (Below Basic), particularly in Mathematics.

Key Results

  • High Predictive Accuracy: Several models (Linear SVM, Random Forest, LightGBM, and MLP) achieved an accuracy of roughly 93% and an AUC-ROC of 0.96 to 0.97.
  • Efficiency: LightGBM was identified as the most practical choice for deployment, offering top-tier performance with an execution time of only 1 second.
  • Actionable Simulations: By using counterfactuals, the authors demonstrated that for a specific "Poor" school, the model could suggest concrete targets—like increasing the number of specialized teachers—to move into the "Good" category.

Conclusion and Future Work

The authors acknowledge that their current model is a snapshot based on 2018 data. They suggest several paths forward, including longitudinal analysis to see how school performance evolves over time and developing separate models for different educational stages to better capture the unique variables affecting each level. Adding more diverse data sources, such as school climate surveys, could further refine the "why" behind the predictions.

Summary updated

BibTeX
@inproceedings{neto2021mineracao,
  author = {Milton V. Gama Neto and Germano C. Vasconcelos and Cleber Zanchettin},
  title = {{Mineração de Dados Aplicada à Predição do Desempenho de Escolas e Técnicas de Interpretabilidade dos Modelos}},
  booktitle = {Anais},
  year = {2021},
  doi = {10.5753/sbie.2021.217421},
}
Figure