A Comparative Study of XGBoost and Artificial Neural Networks for Earnings Management Prediction
نویسندگان
1 Department Of Accounting, Faculty Of Management and Accounting, Shahid Beheshti University, Tehran, Iran
2 Department Of Accounting, Faculty Of Management and Accounting, Shahid Beheshti University, Tehran, Iran
3 Department Of Accounting, Faculty Of Management and Accounting, Shahid Beheshti University, Tehran, Iran
doi
10.22067/ijaaf.2026.47746.1579چکیده
The present study was conducted to compare the accuracies for ANN and XGBoost algorithms on predicting earnings management in listed companies of Tehran Stock Exchange. Earnings management is one way for managers to mislead their stakeholders, which can result in financial losses; therefore, accurate detection methods are important for earnings management and beyond statistical models. The present study used 2016–2021 quarterly financial data from 103 publicly traded companies in basic metals, automotive, chemical, food and pharmaceutical producing industries (5076 year−firm). Discretionary accruals were used and calculated by the Kasznik model to capture earnings management and split them into three groups: Increasing Accruals (+1), Decreasing Accruals (-1), and Near-Zero Accrual (0). A Confusion Matrix was used to perform the model evaluation. The results showed that the XGBoost algorithm is significantly superior to the ANN with an overall accuracy of 98.4%. With very few errors, all earnings management categories XGBoost had near to perfect results. In contrast, ANN demonstrated significant weaknesses leading to an overall accuracy of 63.1%. The study found that the model performance of XGBoost can further predict earning management with more accuracy thereby securing a process for financial institutions. Inspired by the relatively rare occurrence of applying XGBoost model, used for trilateral classification of increasing, decreasing and near-zero earnings management in emerging markets including Tehran Stock Exchange. This research contributes significantly to the literature by demonstrating the superior predictive power of ensemble learning methods over traditional neural networks in detecting financial misconduct, which offers a robust, high-accuracy tool for regulators and investors to enhance market transparency and reduce financial risk.