TEACHER AND STUDENT-LEVEL FACTORS IN SCHOOL PROFICIENCY: A MULTILEVEL MACHINE LEARNING AND EXPLAINABLE AI APPROACH TO SAEB MICRODATA
Abstract
Studies in educational data mining and in the sociology of education often examine school performance through the dichotomy between individual and systemic factors, without isolating the specific contribution of the teacher and student layers as analytical dimensions in their own right. This work revisits, through that lens, a multilevel machine learning model built on the 2023 SAEB microdata, integrating student socioeconomic profiles, teacher professional profiles, school indicators, and principal management profiles, comprising more than 6.4 million records of 9th- and high school students. Among four compared algorithms, Random Forest achieved the best performance, with 90.17% accuracy and an AUC of 0.967 on the test set. SHAP interpretation showed that, at the student layer, parental education and household assets influence proficiency, while, at the teacher layer, the percentage of adequately trained teachers and employment status rank among the most relevant institutional predictors, although subordinate to the school's average socioeconomic level. These findings are discussed alongside the literature on teacher perceptions, school climate, and performance, which indicates that subjective perception variables have limited predictive capacity relative to the objective profile variables analyzed here. The study extends the original systemic analysis by Tertulino and Alencar (2026), foregrounding the teacher and student layers of the multilevel model and providing evidence to inform teacher-training policies and socioeconomic support for the student body.
Author Biographies
Rodrigo Tertulino is an student doctoral program at the Department of Informatics and Engineering of the University of Coimbra (UC). Also is a professor at the Federal Institute of Education, Science, and Technology of Rio Grande do Norte (IFRN), Brazil. He got his master’s degree at the State University of Rio Grande do Norte (UERN), Brazil.
Computer Science student at the Federal Institute of Rio Grande do Norte (IFRN) and research fellow at the Software Engineering and Automation Research Laboratory (LaPEA), the main research laboratory at the Mossoró Campus. His research focuses on applying systems development and information technologies at the intersection of Computer Science and Education. He works with Machine Learning and Educational Technologies to develop and optimize digital solutions for personalized learning and improved teaching processes. His contributions also involve innovations in Software Engineering applied to education and healthcare.
References
ALVES, M. T. G.; SOARES, J. F. Contexto escolar e indicadores educacionais: condições desiguais para a efetivação de uma política de avaliação educacional. Educação e Pesquisa, v. 39, n. 1, p. 177-194, 2013. DOI: https://doi.org/10.1590/S1517-97022013000100012
BENTEJAC, C.; CSÖRGŐ, A.; MARTÍNEZ-MUÑOZ, G. A comparative analysis of gradient boosting algorithms. Artificial Intelligence Review, v. 54, n. 3, p. 1937-1967, 2021. DOI: https://doi.org/10.1007/s10462-020-09896-5
BONAMINO, A.; SOUSA, S. Z. Três gerações de avaliação da educação básica no Brasil: interfaces com o currículo da/na escola. Educação e Pesquisa, v. 38, n. 2, p. 373-388, 2012. DOI: https://doi.org/10.1590/S1517-97022012005000006
BOURDIEU, P. The forms of capital. In: RICHARDSON, J. (ed.). Handbook of theory and research for the sociology of education. New York: Greenwood, 1986. p. 241-258.
BOURDIEU, P.; PASSERON, J. C. Reproduction in education, society and culture. London: Sage, 1977.
BOWLES, S.; GINTIS, H. Schooling in capitalist America: educational reform and the contradictions of economic life. New York: Basic Books, 1976.
BREIMAN, L. Random forests. Machine Learning, v. 45, n. 1, p. 5-32, 2001. DOI: https://doi.org/10.1023/A:1010933404324
CARNEIRO, T. C. J. et al. Educational data mining applied to predict dropout in introductory programming courses in Brazil. In: SIMPÓSIO BRASILEIRO DE INFORMÁTICA NA EDUCAÇÃO, 33., 2022, Manaus. Anais [...]. Porto Alegre: SBC, 2022.
CHEN, T.; GUESTRIN, C. XGBoost: a scalable tree boosting system. In: ACM SIGKDD INTERNATIONAL CONFERENCE ON KNOWLEDGE DISCOVERY AND DATA MINING, 22., 2016, San Francisco. Proceedings [...]. New York: ACM, 2016. DOI: https://doi.org/10.1145/2939672.2939785
COLEMAN, J. S. et al. Equality of educational opportunity. Washington, D.C.: U.S. Department of Health, Education, and Welfare, 1966.
COLPO, M. et al. Tendências, oportunidades e desafios da mineração de dados educacionais para predição de evasão: uma revisão sistemática. RENOTE, v. 22, n. 1, 2024.
HATTIE, J. Visible learning: a synthesis of over 800 meta-analyses relating to achievement. London: Routledge, 2008. DOI: https://doi.org/10.4324/9780203887332
INEP. Nota técnica: indicador de nível socioeconômico das escolas de educação básica. Brasília: INEP, 2021. Disponível em: https://www.gov.br/inep Acesso em: 10 jan. 2025.
INEP. Microdados do SAEB 2023. Brasília: INEP, 2025. Disponível em: https://www.gov.br/inep/pt-br/acesso-a-informacao/dados-abertos/microdados/saeb Acesso em: 15 jan. 2025.
JANG, Y. et al. A practical approach to explainable artificial intelligence for early prediction of academic performance. Expert Systems with Applications, v. 203, p. 117501, 2022.
KHINE, M. S.; LIU, Y.; PALLIPURAM, V. K.; AFARI, E. A machine-learning approach to predicting the achievement of Australian students using school climate, learner characteristics, and economic, social, and cultural status. Education Sciences, v. 14, n. 12, art. 1350, 2024. DOI: https://doi.org/10.3390/educsci14121350
LUNDBERG, S. M.; LEE, S.-I. A unified approach to interpreting model predictions. In: ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS, 30., 2017, Long Beach. Proceedings [...]. Red Hook: Curran Associates, 2017.
MASTOUR, H. et al. Explainable AI framework for predicting medical students' performance in high-stakes assessments. Education and Information Technologies, 2025. DOI: https://doi.org/10.1038/s41598-025-07460-1
MELO, G. et al. Semi-supervised learning to improve dropout prediction with limited labeled data in a Brazilian context. In: BRAZILIAN SYMPOSIUM ON COMPUTERS IN EDUCATION, 34., 2023. Anais [...]. Porto Alegre: SBC, 2023.
MIRANDA, A. C.; BERTAGNA, R. H.; FREITAS, L. C. Fatores que afetam o clima da escola: a visão dos professores. Pro-Posições, v. 30, e20160102, 2019. DOI: https://doi.org/10.1590/1980-6248-2016-0102
OECD. PISA 2022 results: the state of learning and equity in education. Paris: OECD Publishing, 2023.
PAPADOGIANNIS, I. et al. A systematic review of educational data mining: concepts, techniques and applications. Journal of Big Data, v. 11, n. 1, 2024.
PEREIRA, F. D. et al. Deep learning for early dropout prediction in a Brazilian university programming course. Computers and Education: Artificial Intelligence, v. 1, 2020.
ROMERO, C.; VENTURA, S. Educational data mining: a review of the state of the art. IEEE Transactions on Systems, Man, and Cybernetics, v. 40, n. 6, p. 601-618, 2010. DOI: https://doi.org/10.1109/TSMCC.2010.2053532
SALES, A. et al. Exploiting the use of recurrent neural networks for student performance prediction. In: INTERNATIONAL EDUCATIONAL DATA MINING SOCIETY CONFERENCE, 8., 2015. Proceedings [...]. 2015.
TEIXEIRA, O. H.; ALMEIDA, L. V.; CASSUCE, F. C. C. Percepções docentes e aprendizagem no ensino médio brasileiro: qual a relação? Estudos em Avaliação Educacional, v. 33, e07473, 2022. DOI: https://doi.org/10.18222/eae.v33.7473
TERTULINO, R.; ALENCAR, L. A multi-level analysis of factors associated with student performance: a machine learning approach to the SAEB microdata. Discover Education, v. 5, art. 653, 2026. DOI: https://doi.org/10.1007/s44217-026-01699-0
UJKANI, M. et al. Course success prediction and at-risk student identification using explainable AI. International Journal of Advanced Computer Science and Applications, v. 15, n. 2, 2024.
