← Latest papers
💻 computer science

Bankruptcy Prediction via Hybrid Resampling and Stacking Ensemble Techniques with Explainable Artificial Intelligence (XAI)-Driven Analysis

This study proposes an interpretable, leakage-controlled bankruptcy prediction framework using a hybrid resampling and stacking ensemble approach on Taiwanese data, demonstrating that optimal model configurations depend on whether the priority is overall classification performance or the specific detection of distressed firms, with profitability and solvency identified as key risk drivers.

Original authors: Obu-Amoah Ampomah, Edmund Fosu Agyemang, Kofi Acheampong, Louis Agyekum, Enock Adu Bonsu, Eric Nyarko

Published 2026-11-18
📖 6 min read🧠 Deep dive

Original authors: Obu-Amoah Ampomah, Edmund Fosu Agyemang, Kofi Acheampong, Louis Agyekum, Enock Adu Bonsu, Eric Nyarko

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Every business carries a hidden ledger of risk, a quiet accumulation of financial pressures that can eventually tip a healthy company into failure. For the people who lend money, invest capital, or audit accounts, spotting this distress early is a matter of economic survival. A delayed warning can mean substantial losses, while a false alarm can unnecessarily panic a stable firm. The challenge lies in the nature of the event itself: bankruptcy is rare. In a sea of thousands of healthy companies, only a handful will fail in any given year. This extreme imbalance creates a trap for computer models designed to predict the future. A model that simply guesses "no failure" for every single company would be right most of the time, yet it would be useless because it would miss every single disaster. To be truly helpful, a prediction system must learn to find the needle in the haystack without losing the haystack in the process.

A team of researchers set out to build a better system for spotting these financial distress signals, using a large collection of historical data from Taiwanese companies. They faced a difficult problem: how to teach a computer to recognize the rare signs of a failing business when the data is overwhelmingly dominated by successful ones. They did not rely on a single type of computer program. Instead, they tested a wide array of approaches, combining different methods of cleaning the data with two distinct families of artificial intelligence. One family consisted of tree-based models, which make decisions by asking a series of yes-or-no questions about financial numbers. The other family used deep learning, a type of neural network that mimics the way layers of neurons in the brain process information. The researchers wanted to see if mixing these different approaches, and carefully adjusting the data to balance the rare failures against the common successes, could produce a more reliable early-warning system.

The researchers began with a dataset containing nearly seven thousand company records, but only about two hundred of these represented actual bankruptcies. To make this data usable, they first removed duplicate entries and standardized the numbers so that different financial ratios could be compared fairly. They then applied a crucial step called resampling. Because the computer would otherwise ignore the rare bankruptcies, they used mathematical techniques to create new, synthetic examples of failing companies based on the patterns of the real ones. They tested three different ways of doing this. One method focused on creating new examples right at the edge where healthy and failing companies look similar. Another method cleaned up the data by removing confusing or noisy examples after creating new ones. A third method combined both creation and cleaning. The goal was to find the specific recipe that allowed the computer to learn the signs of failure without being tricked by the artificial data.

Once the data was prepared, the team trained their models. They started with five different tree-based algorithms, each trying to learn the rules of bankruptcy on its own. They also trained five deep learning models, which are generally better at finding complex, non-linear patterns in data. The most innovative part of their work came next: they built a "stacking" system. Instead of letting one model make the final call, they let the five tree-based models vote first. They took the probability scores from these five models and fed them into the deep learning models. This second layer of intelligence acted as a referee, learning how to weigh the opinions of the first group to make a final, more accurate prediction. They tested every combination of resampling method and model type to see which pairing worked best.

The results revealed that there is no single "best" model for every situation. The choice of how to clean and balance the data changed the behavior of the models dramatically. When the researchers used a method that focused on the boundary between healthy and failing firms, the tree-based models became very good at correctly identifying companies that were safe, but they missed more of the actual failures. However, when they used a method that cleaned the data by removing noisy examples, the models became much better at catching the failing companies, even if it meant they occasionally flagged a healthy company as risky. In the end, the most effective standalone model was a deep learning network that had been trained on the cleaned data, successfully identifying over eighty-two percent of the bankrupt firms. The best combined system, which used the cleaned data and let a deep learning network referee the votes of the tree-based models, also performed strongly, catching over seventy-two percent of the failures while maintaining a high overall accuracy.

To ensure these predictions were not just statistical tricks, the researchers used a technique called SHAP, which acts like a spotlight to show exactly which financial numbers were driving each decision. They found that the models were not guessing randomly; they were relying on economically logical signals. The most important factors were profitability, the ability to pay debts, and how efficiently the company used its assets. Specifically, high debt levels, heavy interest payments, and slow collection of money from customers pushed the models toward predicting failure. Conversely, strong retained earnings, healthy profits, and good asset turnover pushed the predictions toward safety. This alignment with real-world financial logic gave the researchers confidence that the models were learning genuine patterns of distress rather than memorizing noise.

The study concludes that while no single algorithm is perfect, the combination of careful data balancing, diverse model types, and transparent explanation creates a robust tool for risk management. The researchers found that deep learning models, often seen as complex black boxes, could outperform traditional methods in spotting the rare, critical cases of bankruptcy when paired with the right data preparation. However, they also noted that these models were trained on historical data from a specific region and time, and their ability to predict future failures in different economic conditions remains to be tested. The work demonstrates that by respecting the rarity of the event and using multiple perspectives to analyze the data, it is possible to build systems that see the warning signs before it is too late.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →