Robust versus Standard LightGBM under Outlier Contamination: Evidence from Controlled Simulation and Daily Jakarta Composite Index Data
- Publication History
- Published online: December 1, 2026
- DOI
- https://doi.org/10.35877/454RI.jinav5008
- Copyright
- Copyright (c) 2026 Agung Tri Utomo, Annisa Syalsabila, Lalu Ramzy Rahmanda, Abdul Rahman
- User License
- https://creativecommons.org/licenses/by-nc-sa/4.0
Abstract
Stock index series contain sudden shocks, thin-trading anomalies, and reporting errors that appear as outliers in training data, and the default squared-error objective of Light Gradient Boosting Machine (LightGBM) is sensitive to such observations. This article compares a Huber-type objective (Robust LightGBM, RobustLGBM) with the standard squared-error model (StdLGBM) for forecasting the Jakarta Composite Index (IHSG) from lagged USD/IDR, S&P 500, and crude oil returns and lagged IHSG returns. A controlled simulation contaminates the data with 10%, 20%, and 30% vertical outliers and leverage points in two scenarios, and the real-data application uses daily Yahoo Finance series for 2020–2026. Models are compared with the Mean Absolute Error (MAE) and Median Absolute Error (MedAE), and a Diebold–Mariano test assesses the difference on real data. When the Huber threshold is set automatically from the training targets and errors are measured against uncontaminated test targets, RobustLGBM reduces MAE by 37% to 38% and MedAE by 46% to 51% at all contamination levels. When the threshold is fixed and the test targets are contaminated as well, it does not outperform StdLGBM (MAE 1% to 3% higher). On the IHSG data, RobustLGBM with a threshold ? = 0.006 selected by rolling-origin cross-validation has lower MAE (80.02 versus 80.53) and MedAE (55.86 versus 59.78) than StdLGBM, but the difference is not statistically significant (p = 0.671). The Huber objective is beneficial under heavy contamination of the training data with a clean evaluation target, while its advantage on daily IHSG data is small and not statistically established.
Keywords
References (30)
- Bergmeir, C., & Benítez, J. M. (2012). On the use of cross-validation for time series predictor evaluation. Information Sciences, 191, 192-213. https://doi.org/10.1016/j.ins.2011.12.028
- https://doi.org/10.1016/j.ins.2011.12.028
- Chen, T., & Guestrin, C. (2016). XGBoost: A Scalable Tree Boosting System. Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. https://doi.org/10.1145/2939672.2939785
- https://doi.org/10.1145/2939672.2939785
- Daniel, C. (2024). A robust LightGBM model for concrete tensile strength forecast to aid in resilience-based structure strategies. Heliyon, 10(20), e39679. https://doi.org/10.1016/j.heliyon.2024.e39679
- https://doi.org/10.1016/j.heliyon.2024.e39679
- Diebold, F. X., & Mariano, R. S. (1995). Comparing Predictive Accuracy. Journal of Business & Economic Statistics, 13(3), 253-263. https://doi.org/10.1080/07350015.1995.10524599
- https://doi.org/10.1080/07350015.1995.10524599
- Fischer, T., & Krauss, C. (2018). Deep learning with Long Short-Term Memory networks for financial market predictions. European Journal of Operational Research, 270(2), 654-669. https://doi.org/10.1016/j.ejor.2017.11.054
- https://doi.org/10.1016/j.ejor.2017.11.054
- Friedman, J. H. (2001). Greedy Function Approximation: A Gradient Boosting Machine. The Annals of Statistics, 29(5), 1189-1232. https://doi.org/10.1214/aos/1013203451
- https://doi.org/10.1214/aos/1013203451
- Gu, S., Kelly, B., & Xiu, D. (2020). Empirical Asset Pricing via Machine Learning. The Review of Financial Studies, 33(5), 2223-2273. https://doi.org/10.1093/rfs/hhaa009
- https://doi.org/10.1093/rfs/hhaa009
- Harvey, D., Leybourne, S., & Newbold, P. (1997). Testing the equality of prediction mean squared errors. International Journal of Forecasting, 13(2), 281-291. https://doi.org/10.1016/S0169-2070(96)00719-4
- https://doi.org/10.1016/S0169-2070(96)00719-4
- Huber, P. J. (1964). Robust Estimation of a Location Parameter. The Annals of Mathematical Statistics, 35(1), 73-101. https://doi.org/10.1214/aoms/1177703732
- https://doi.org/10.1214/aoms/1177703732
- Hyndman, R. J., & Khandakar, Y. (2008). Automatic time series forecasting: the forecast package for R. Journal of Statistical Software, 27(3), 1-22. https://doi.org/10.18637/jss.v027.i03
- https://doi.org/10.18637/jss.v027.i03
- Ke, G., Meng, Q., Finley, T., Wang, T., Chen, W., Ma, W., Ye, Q., & Liu, T.-Y. (2017). LightGBM: A Highly Efficient Gradient Boosting Decision Tree. Advances in Neural Information Processing Systems 30, 3146-3154.
- Mogos, A. S., Liang, X., & Chung, C. Y. (2024). Enhancing Transformer Health Index Prediction Using Dissolved Gas Analysis Data Through Integration of LightGBM and Robust EM Algorithms. IEEE Access, 12, 108472-108483. https://doi.org/10.1109/ACCESS.2024.3439248
- https://doi.org/10.1109/ACCESS.2024.3439248
- Parulian Josaphat, B., & Hutajulu, D. L. (2025). Forecasting Composite Stock Price Index on Indonesia Stock Exchange using Extreme Learning Machine. Proceedings of the International Conference on Data Science and Official Statistics. https://proceedings.stis.ac.id/icdsos/article/view/496. https://doi.org/10.34123/icdsos.v2025i1.496
- https://doi.org/10.34123/icdsos.v2025i1.496
- Yahoo Finance. (2026). Historical market data: ^{}JKSE, IDR=X, ^{}GSPC, CL=F.
- Zeng, X., Abdullah, N., & Liang, B. (2023). A widely applicable and robust LightGBM - artificial neural network forecasting model for short-term wind power density. Heliyon, 9(12), e23071. https://doi.org/10.1016/j.heliyon.2023.e23071
- https://doi.org/10.1016/j.heliyon.2023.e23071
- Zhong, J., Zhang, X., Gui, K., Wang, Y., Che, H., Shen, X., Zhang, L., Zhang, Y., Sun, J., & Zhang, W. (2021). Robust prediction of hourly PM2.5 from meteorological data using LightGBM. National Science Review, 8(10), nwaa307. https://doi.org/10.1093/nsr/nwaa307
- https://doi.org/10.1093/nsr/nwaa307
How to Cite
Copyright & license

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.


