Predicting bankruptcy of firms using earnings call data and transfer learning
Abstract
Producción Científica
Full text
Submitted 18 July 2022 Accepted 27 September 2022 Published 4 January 2023 Corresponding authors Beatriz Sainz de Abajo, [email protected] Imran Ashraf, [email protected] Academic editor Jiachen Yang Additional Information and Declarations can be found on page 21 DOI 10.7717/peerj-cs.1134 Copyright 2022 Siddiqui et al. Distributed under Creative Commons CC-BY 4.0 OPEN ACCESS Predicting bankruptcy of firms using earnings call data and transfer learning Hafeez Ur Rehman Siddiqui1, Beatriz Sainz de Abajo2, Isabel de la Torre Díez2, Furqan Rustam3, Amjad Raza1, Sajjad Atta1and Imran Ashraf4 1Faculty of Computer Science and Information Technology, Khawaja Fareed University of Engineering and Information Technology, Rahim Yar Khan, Pakistan 2Department of Signal Theory, Communications and Telematics Engineering, Unviersity of Valladolid, Spain 3School of Computer Science, University College Dublin, Dublin, Ireland 4Department of Information and Communication Engineering, Yeungnam University, Gyeongsan si, Republic of Korea ABSTRACT Business collapse is a common event in economies, small and big alike. A firm’s health is crucial to its stakeholders like creditors, investors, partners, etc. and prediction of the upcoming financial crisis is significantly important to devise appropriate strategies to avoid business collapses. Bankruptcy prediction has been regarded as a critical topic in the world of accounting and finance. Methodologies and strategies have been investigated in the research domain for predicting company bankruptcy more promptly and accurately. Conventionally, predicting the financial risk and bankruptcy has been solely achieved using the historic financial data. CEOs also communicate verbally via press releases and voice characteristics, such as emotion and tone may reflect a company’s success, according to anecdotal evidence. Companies’ publicly available earning calls data is one of the main sources of information to understand how businesses are doing and what are expectations for the next quarters. An earnings call is a conference call between the management of a company and the media. During the call, management offers an overview of recent performance and provides a guide for the next quarter’s expectations. The earning calls summary provided by the management can extract CEO’s emotions using sentiment analysis. This article investigates the prediction of firms’ health in terms of bankruptcy and non-bankruptcy based on emotions extracted from earning calls and proposes a deep learning model in this regard. Features extracted from long short-term memory (LSTM) network are used to train machine learning models. Results show that the models provide results with a high score of 0.93, each for accuracy and F1 when trained on LSTM extracted feature from synthetic minority oversampling technique (SMOTE) balanced data. LSTM features provide better performance than traditional bag of words and TF-IDF features. Subjects Artificial Intelligence, Data Mining and Machine Learning Keywords Bankruptcy prediction, Transfer learning, Feature extraction, Deep learning INTRODUCTION Business failure is a common event in all economies, small and big alike. Several stakeholders are interested in the well-being of a firm like investment institutions, shareholders, partners, and even customers and suppliers. Therefore prediction of the How to cite this article Siddiqui HUR, Abajo BS, Díez IT, Rustam F, Raza A, Atta S, Ashraf I. 2022. Predicting bankruptcy of firms using earnings call data and transfer learning. PeerJ Comput. Sci. 9:e1134 http://doi.org/10.7717/peerj-cs.1134
upcoming financial crisis is significantly important to devise appropriate strategies to avoid business collapses (Horváthová & Mokrišová, 2018). Bankruptcy forecasting has long been an important concern and critical task in accounting and finance (Qu et al., 2019). The bankruptcy prediction models function as warnings and reveal vulnerabilities of financial institutions and provide timely input to managers, investors, and other stakeholders (Kirkos, Spathis & Manolopoulos, 2007). Several efforts have laid down the foundations to create systems and strategies for predicting company bankruptcy more promptly and accurately (Barboza, Kimura & Altman, 2017). Because of the significant individual, economic, and societal consequences associated with company failures or bankruptcies, attempts have been made to give better insight into and forecast bankruptcy events (McKee & Lensberg, 2002). Up until the mid-twentieth century, there were no advanced statistical tools or computers available to predict bankruptcy. The sole instrument for predicting a company’s bankruptcy was the financial ratios of failing and non-failing firms. (Yoon & Kwon, 2010). The tools used back then were based on statistical approaches such as discriminant analysis (DA) (Horváthová & Mokrišová, 2018) and logistic regression (LR) for bankruptcy prediction (McKee & Lensberg, 2002). Non-parametric methods like decision trees (DT) appeared in the 1980s (Yoon & Kwon, 2010). Machine learning (ML) classifiers such as DT, neural networks (NN), and support vector machines (SVM) have been frequently employed to forecast company failure since the 1990s (Christy & Arunkumar, 2019). Predominantly, predicting financial risk and bankruptcy has been following the historic financial data where different financial ratio-based indicators and variables are considered for bankruptcy prediction (Kregar, 2011). Several studies focus on using financial indicators and business environment factors to increase the prediction accuracy (Zelenkov & Volodarskiy, 2021). However, such information is not reliable due to the lack of internal control. In addition, financial ratios and other financial markers show a firm’s performance for the previous year and do not present its current status of operations (Balcaen & Ooghe, 2006). Predominantly the emphasis is placed on the optimization of the predicting models by joining multiple models or by refining the data following preprocessing steps like data cleaning, normalization, etc., (Muslim & Dasril, 2021;Jaki & Ćwiek, 2021). Recently, several papers on finance and finance management explored the possibility of using textual data for financial risk prediction. For this purpose, the sentiment related to financial disclosures can be quantified and used for risk prediction. Business meetings involving investors and top management for discussing a firm’s financial position are nonverbal ways that CEOs communicate today. CEOs also communicate verbally via press releases. Voice characteristics, such as emotion and tone, may reflect a company’s current status according to anecdotal evidence (Qin & Yang, 2019). The extent to which vocal features may be used to forecast danger levels, however, is not yet fully established. The use of top management sentiments and textual cues for risk prediction increased the interest in the natural language processing (NLP) field as well. For example, several research articles have used text-based techniques to predict volatility (Wang & Hua, 2014). Such approaches are specifically useful in scenarios lacking appropriate financial disclosures. This study leverages the text data for predicting the bankruptcy of a firm and makes the following contributions Siddiqui et al. (2022), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.1134 2/25
•This study gathers a large dataset comprising the data of 1,016 companies from the ‘Seeking Alpha’ website. The data is collected for different individual companies, structured, preprocessed, and manually labeled. •A novel transfer learning-based model is proposed where the long short-term memory (LSTM) is used for feature extraction to train the machine learning models for training and testing. LSTM is custom designed for this purpose. •Several machine learning models are also evaluated including extra tree classifier (ETC), AdaBoost (ADA), random forest (RF), logistic regression (LR), and support vector classifier (SVC). In addition, term frequency-inverse document frequency (TF-IDF) and bag of words (BoW) are adopted for machine learning models. The impact of the synthetic minority oversampling technique (SMOTE) is also investigated. This article is divided into five sections. Section ‘Related Work’ contains the literature related to the problem at hand. It is followed by a description of the proposed approach, feature extraction, and ensemble method. Afterward, the results are discussed. In the end, the study is concluded in the last section. RELATED WORK Given the fundamental changes associated with globalization, more accurate predicting of company financial troubles would be important for decision-makers such as investors, creditors, government officials, and even the general public. Business bankruptcies can be triggered by a variety of causes, including poor investment decisions, a weak investment climate, insufficient cash flow, and so on (Yoon & Kwon, 2010). As a result, the numerous present approaches for forecasting business failure must be constantly improved. Several researchers have used artificial intelligence (AI) approaches to forecast bankruptcy during the last decade. For example, a bankruptcy prediction based on artificial neural network (ANN) and LR models is presented in Kasgari, Salehnezhad & Ebadi (2013). The data of 120 manufacturing companies including 54 bankrupts and 66 non-bankrupts listed on the Tehran Stock Exchange is used for experiments. Financial ratios, such as the current, quick ratio and return-on-asset ratio, debt ratio, and the ratio of operating capital to total assets are used to predict bankruptcy. Results indicate that the probability values of bankruptcy prediction one year before bankruptcy are 87.9% and 90.7% for non-bankrupt and bankrupt enterprises, respectively using the LR model. While bankrupt and non-bankrupt companies are predicted to be 90.9% and 90.7% respectively, using the ANN model. Analysis shows that the designed ANN model has distinguished between the bankrupt and non-bankrupt firms with higher accuracy. Business meetings involving investors and earnings conference calls are two nonverbal ways that CEOs communicate today. Voice characteristics, such as emotion and tone, may reflect a company’s success, according to anecdotal evidence, and can be used to predict the bankruptcy of a firm. For example, Wang et al. (2013) analyzes the influence of sentiment words related to financial situations. Such terms are used in financial reports and contain sentiments related to the firm’s financial disclosure. The study applied regression techniques to the finance sentiment lexicon and investigate the possibility of predicting Siddiqui et al. (2022), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.1134 3/25
financial risk using sentiment words. Experimental results using BoW features and ranking models show that the results are promising with comparable performance. It indicates that the financial sentiment words can be leveraged to perform risk analysis and bankruptcy analysis as a high correlation is found between sentiment words and the risk of bankruptcy. A deep learning technique for recognizing significant financial events from the text and extracting natural language is studied in Rönnqvist & Sarlin (2017). The modeling is based on the use of entities and chronology to link the text and event data. The event data is collected for 101 large European banks during three phases of the financial crisis from 2007 to 2009. Several financial events are considered for this purpose like government and state aid, company failures, and destabilized mergers, while the text data includes news items from the Reuters online archive for 2007 to 2014 (Q3). Deep neural networks are used to predict events from text and are trained in two steps. The first step is pre-training using sentence vectors while supervised models are used to learn events in the second step. To train and deploy the model, the semantic pre-training stage produces sentence vectors for each of the 716 k sentences. A typical distress prediction tool, the relative usefulness metric, is used to evaluate the model’s performance. It provides a more accurate prediction of future performance when the algorithm is applied to unknown data or banks. When banks aggregate, performance increases by 12.3%, whereas vector-level assessments have a usefulness of 8.3%. Qin & Yang (2019) obtained a dataset comprised of earning call transcripts and corresponding earning call audios obtained from the website ‘Seeking Alpha’ and ‘EarningsCast’, respectively. An iterative forced alignment (IFA) technique is used that aligns each sentence of the transcript with the audio clip containing the sentence’s spoken text. To extract textual features, the arithmetic mean of each sentence represented as a 300-dimension vector is calculated by embedding GloVe-300 that is pre-trained on Wikipedia and Gigaword. Praat is used to extract 27 audio features from audio recordings, including pitch, intensity, etc. The multimodal deep regression model (MDRM) is used with two components where the first component is a contextual BiLSTM while the second component is the training model. The first component extracts unimodal features from either text or audio. The collected multimodal (text and audio) features are then merged in the second component and fed to a BiLSTM with a fully connected layer, which extracts interdependencies between text and audio modalities. Results suggest that MDRM outperforms all baseline models when using both text and audio data, with prediction errors of 1.371, 0.420, 0.300, and 0.217 for the three, seven, fifteen, and thirty days following the conference call, respectively. Predominantly, predicting and analyzing financial risk utilize quantitative data from financial documents and surveys. Research efforts that follow alternative solutions are very limited. For example, Nopp & Hanbury (2015) investigates the feasibility of sentiment analysis to predict the financial risk using the opinions and sentiment words from the text data. For this purpose, letters from CEOs and important data from banks’ periodic reports are utilized. A lexicon-based approach and a supervised risk prediction model are used. The former approach involves analyzing the sentiments from published reports like negative and positive words, and words representing uncertainty while the latter predicts factors Siddiqui et al. (2022), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.1134 4/25
employing machine learning classification. For example, a capital ratio (T1) is used that indicates the strength of a bank to bear losses. Predictions are relatively inaccurate at the level of individual banks. Conversely, using aggregated figures show a strong relationship between the negative or uncertainty showing words in financial reports and bankruptcy or financial crisis. Theoretical results in Kristóf & Virág (2020) state that no bankruptcy forecasting model can function excluding time, geography, etc. Appropriate data preparation and data transformation methods significantly improve model prediction capacity. Predicting market volatility is critical for financial risk within the context of investment decisions. Despite the reports regarding the usefulness of natural language information to enhance the performance of purely financial models, it is still comparably underexplored. Theil, Broscheit & Stuckenschmidt (2019) introduces PRoFET which is a neural specifically designed to predict volatility. It exploits semantic language content and several important financial indicators like past volatility (Kogan et al., 2009), book-to-market, earning surprise (Price et al., 2012), etc. As language data, earning calls data from company quarterly meetings is used. Ninety Thousand earnings call transcripts are collected that cover 4.3 K distinct Canadian companies for the period of 2002 to 2017. For handling the bias, a dataset is split into 0.8, 0.1, and 0.1 ratios for train, testing, and validation, respectively. Results confirm the superior performance of the joint model that uses both feature types alone. In addition, the impact of different document sections is also analyzed. Results also show that modeling the verbal context can lead to better results than existing models and baseline models. Two recent efforts in the context of financial risk prediction are Yang et al. (2020) and Li et al. (2020). The authors propose a hierarchical transformer-based learning model to predict the volatility of financial institutions (Yang et al., 2020). For this purpose, text and audio data of quarterly earning calls are used for volatility prediction. The authors conclude that the use of earning calls data provide useful features for accurate volatility prediction and can be used for related tasks such as asset pricing, fraud detection, etc. Li et al. (2020) introduces the earning calls data for S&P 1500 companies. The study discusses the challenges of text and audio alignment and performs volatility prediction using earnings call data. A comparative analysis of the discussed research works is presented in Table 1. Keeping in view the scope and potential of earning calls data, this study integrates the data with a custom-designed transfer learning framework to achieve higher accuracy for bankruptcy prediction. Siddiqui et al. (2022), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.1134 5/25
Table 1 Comparative summary of discussed research works. Ref. Year Title Contribution Goletsis et al. (2012) 2012 Bankruptcy Prediction through Artificial Intelligence Applied radial basis function neural networks and the support vector machines are applied to the bankruptcy problem. Garcia-Almanza, Alexandrova- Kabadjova & Martinez-Jaramillo (2013) 2013 Bankruptcy prediction for banks: An artificial intelligence approach to improve understandability Used multi-population evolving decision rules MP-EDR to determine the relevance of some features from federal deposit insurance corporation (FDIC) data to predict bank bankruptcy. Lee & Choi (2013) 2013 A multi-industry bankruptcy prediction model using backpropagation neural network and multivariate discriminant analysis Investigation of the bankruptcy of Korean companies using backpropagation neural network (BNN) is performed in this research. Yu et al. (2014) 2014 Bankruptcy prediction using extreme learning machine and financial expertise Combo method and further ensemble model is investigated based on different LOO-IELM models and the specific financial indicators and leave-one-out-incremental extreme learning machine (LOO-IELM) are explored for predict bankruptcy. Hájek & Olej (2015) 2015 Word Categorization of Corporate Annual Reports for Bankruptcy Prediction by Machine Learning Methods Used neural networks, support vector machines, decision trees, and ensembles of decision trees to predict corporate bankruptcy. Kim & Ahn (2015) 2015 A Hybrid Under-sampling Approach for Better Bankruptcy Prediction Used data from H Bank’s nonexternal auditing companies in Korea and compared the performances of the classifiers with the proposed under-sampling and random sampling data. Slavici, Maris & Pirtea (2016) 2016 Usage of artificial neural networks for optimal bankruptcy forecasting. Case study: Eastern European small manufacturing enterprises Used ANNs for bankruptcy forecasting. Walczak (2016) 2016 Artificial neural networks and other AI applications for business management decision support. This article examines how various ANN and other AI applications may be adapted to facilitate managerial leadership, improve manager performance, and in some cases perform management activities. Li & Wang (2017) 2017 Machine learning methods of bankruptcy prediction using accounting ratios Compared the statistical method and machine learning method to predict bankruptcy with utilizing China listed companies and achieved 95% accuracy. (continued on next page) Siddiqui et al. (2022), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.1134 6/25
Table 1 (continued) Ref. Year Title Contribution Kim, Mun & Bae (2018) 2018 Data depth based support vector machines for predicting corporate bankruptcy. Proposed a hybrid method that combines data depths and nonlinear SVM for the prediction of corporate bankruptcy. Naidu & Govinda (2018) 2018 Bankruptcy prediction using neural networks. Used ANNs for bankruptcy forecasting. Nguyen & Pham (2018) 2018 Predicting bankruptcy using machine learning algorithms Using qualitative bankruptcy dataset, the Random tree bagging (RTree-bagging) ensemble model achieved the highest accuracy with 96.2%. Islam et al. (2019) 2019 Infusing domain knowledge in AI- based ’’black box’’ models for better explainability with application in bankruptcy prediction Investigated 33 research papers related to mortgage default/bankruptcy prediction and collected all explanatory variables and applied machine learning methods SVM, ANN, RF, ETC, and GB models for bankruptcy prediction. Lee, Choi & Oh (2019) 2019 Predicting Corporate Bankruptcy Using Media Information Used ‘word2vec’ to quantitatively analyze the relationship between the words mentioned in news articles and used logistic regression for bankruptcy prediction. Kovacova et al. (2019) 2019 Systematic review of variables applied in bankruptcy prediction models of Visegrad group countries The analysis of more than 100 bankruptcy prediction models developed in V4 countries confirms that enterprises in each country prefer different explanatory variables. Mai et al. (2019) 2019 Deep learning models for bankruptcy prediction using textual disclosures. Constructed a comprehensive bankruptcy database of 11,827 U.S. public companies and show that deep learning models yield superior prediction performance in forecasting bankruptcy using textual disclosures. Chen & Tsai (2020) 2020 Bankruptcy Study Using Artificial Intelligence Used UCI data bank for prediction of bankruptcy using AI models DT, LR, SVM. Alam (2021) 2021 Corporate bankruptcy prediction: Analysis of statistical and machine learning models using accounting, market, market microstructure, and derivative instrument information Used COMPUSTAT, CRSP, Supplemental Short Interest File, S&P Capital IQ, Audit Analytics, and MARKIT databases and used statistical software from Salford Systems, Machine learning model for prediction of Bankruptcy in which ML provided best results. Siddiqui et al. (2022), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.1134 7/25
Preprocessing Supervised Machine Learning Dataset Collection Transfer Learning Dataset Earning Conference Earning Conference Earning Conference V1 V2 V3 . . . Vn Oversampling Machine Learning Model Performance Evaluation Input Vector LSTM Figure 1 The architecture of the proposed methodology. Full-size DOI: 10.7717/peerjcs.1134/fig-1 MATERIALS AND METHODS Proposed methodology This study aims at obtaining a high prediction accuracy for firm’s bankruptcy using the transfer learning-based framework. Figure 1 shows the proposed methodology for the classification of bankrupt and non-bankrupt companies using a supervised machine learning approach. A dataset from different companies earning conferences is collected that contains a large amount of raw data which can create complexity in the training of machine learning models. For this, several preprocessing techniques are used such as conversion to lowercase, stopwords removal, stemming, etc. These preprocessing steps remove meaningless data from the dataset and reduce its complexity. Afterward, feature extraction is carried out using recurrent application LSTM which provides significant features to the modes as compared to traditional feature extraction techniques. It is followed by data oversampling using SMOTE which generates synthetic data samples for the minority class (bankrupt) and makes the dataset balanced. Then data is split into training and testing sets in ratios of 0.8 to 0.2 and the performance is evaluated in terms of accuracy, precision, recall, and F1 score. Data collection Arranging the dataset for analysis of various companies is an important part of the research. For this research, the dataset is collected from the ‘Seeking Alpha’ website. We collected the earning calls data for 1,016 companies from 2008 to 2020. Table 2 shows the sample texts for collected data. The collected data is preprocessed and arranged into a structured form. The dataset comprises three columns including earning calls title as ‘Title’, earning calls text as ‘text’, and the class as the Label. The label value can be ‘0’ for non-bankrupt and ‘1’ for bankrupt companies. The dataset is manually labeled by a Google search to set each company’s status whether it is bankrupted or not. Among the 1,016 companies, 311 companies are found bankrupt while the remaining 705 companies are non-bankrupt. Figure 2 shows Siddiqui et al. (2022), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.1134 8/25
Table 2 Sample records from the dataset. Title Text Label Oasis Petroleum, Inc. (NASDAQ:OAS) Delaware Basin Acquisition Conference Call December 11, 2017 9:15 AM ET So, I think we’ll continue to look for opportunities to build on this and like I said, I would kind of look at the Williston as a road map, ..., 0 Destination Maternity Corporation (NASDAQ:DEST) Q3 2017 Earnings Conference Call December 7, 2017 9:00 AM ET At this time, all participants are in a listen-only mode. Later we will conduct a question-and-answer session, and instructions will follow at that time, ..., 1 Layne Christensen Company (NASDAQ:LAYN) Q3 2018 Results Earnings Conference Call December 6, 2017 9:00 AM ET Jack Lascar It is now my pleasure to introduce your host, Jack Lascar, ..., 0 Figure 2 Number of records for each class in the dataset. Full-size DOI: 10.7717/peerjcs.1134/fig-2 the count for both target classes indicating that the number of samples for bankrupt and non-bankrupt companies is substantially different. For providing a better illustration of the text for bankrupt and non-bankrupt companies, word clouds are given in Fig. 3. Despite the similarity in the used words for both types of companies, words as well as their frequency are different for both companies and can be used to predict bankruptcy. Data preprocessing Text preprocessing/cleaning is a procedure that is used to filter out unnecessary data or noise from the raw text. Since feeding raw data to a model degrades the model’s performance, the raw data is processed before using it with the algorithms to achieve better accuracy and efficiency (Rustam et al., 2021). Siddiqui et al. (2022), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.1134 9/25
Table 5 Results of machine learning models based on BoW and TF-IDF features using imbalanced dataset. Model BoW TF-IDF Accuracy Precision Recall F1 score Accuracy Precision Recall F1 score ETC 0.74 0.76 0.55 0.52 0.67 0.65 0.56 0.53 ADA 0.70 0.62 0.60 0.60 0.68 0.64 0.62 0.62 RF 0.74 0.73 0.56 0.53 0.67 0.65 0.56 0.53 LR 0.65 0.60 0.61 0.60 0.66 0.62 0.60 0.61 SVC 0.74 0.67 0.61 0.62 0.68 0.65 0.59 0.58 Table 6 Results of machine learning models based on BoW and TF-IDF features with SMOTE-balanced dataset. Model BoW TF-IDF Accuracy Precision Recall F1 score Accuracy Precision Recall F1 score ETC 0.80 0.80 0.80 0.80 0.84 0.84 0.84 0.84 ADA 0.80 0.80 0.80 0.80 0.84 0.84 0.84 0.84 RF 0.86 0.86 0.86 0.86 0.84 0.84 0.84 0.84 LR 0.77 0.77 0.76 0.76 0.84 0.84 0.84 0.84 SVC 0.82 0.82 0.82 0.82 0.85 0.85 0.85 0.85 features as compared to BoW which gives simple term frequency as features. Data balance increased the size of the dataset and the feature vector is increased which results in a good fit of models and performance is improved. Results using transfer learning and imbalanced dataset Table 7 shows the results of machine learning with transfer learning on the imbalanced dataset. The results are poor because of highly imbalanced data. Models get overfitted on the majority class and give a higher number of wrong predictions for the minority class. SVC achieves a 0.72 accuracy score while its F1 score is only 0.56 which shows the difference in the model’s performance for both classes. LR performs well in terms of F1 score on imbalanced data as compared to all other used models because LR can place a higher weight on minority class in binary classification. Performance using transfer learning and SMOTE This section contains the results of the transfer learning approach with SMOTE technique. Table 8 shows the experimental results using transfer learning with a balanced dataset. The performance of machine learning models is significantly improved with the SMOTE- balanced dataset. ETC achieves the highest accuracy score of 0.93 and an F1 score of 0.93. SVC and RF follow the ETC with 0.91 and 0.90 accuracy scores, respectively. This significant performance of ETC is because of its ensemble architecture and significant features for training provided by transfer learning. ETC is used with 200 decision trees in the prediction procedure which helps to learn significantly on neural networks generated features while SMOTE technique helps to reduce the model’s overfitting. Figure 8 shows the F1 score for both imbalanced and balanced datasets using BoW, TF-IDF, and transfer learning features. For both imbalanced and balanced dataset cases, Siddiqui et al. (2022), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.1134 16/25
Table 7 Results using the original imbalanced dataset with transfer learning. Model Accuracy Class Precision Recall F1 score 0 0.91 0.96 0.82 1 0.65 0.17 0.87 ETC 0.71 Avg. 0.68 0.56 0.54 0 0.72 0.79 0.75 1 0.43 0.34 0.38 ADA 0.65 Avg. 0.58 0.56 0.57 0 0.71 0.97 0.82 1 0.73 0.17 0.28 RF 0.72 Avg. 0.72 0.57 0.55 0 0.76 0.82 0.79 1 0.54 0.45 0.49 LR 0.70 Avg. 0.65 0.63 0.64 0 0.72 0.97 0.83 1 0.75 0.18 0.30 SVC 0.72 Avg. 0.73 0.58 0.56 Table 8 Results using the SMOTE with transfer learning. Model Accuracy Class Precision Recall F1 score 0 0.90 0.97 0.93 1 0.97 0.89 0.93 ETC 0.93 Avg. 0.94 0.93 0.93 0 0.84 0.81 0.82 1 0.82 0.85 0.83 ADA 0.83 Avg. 0.83 0.83 0.83 0 0.87 0.94 0.90 1 0.94 0.86 0.90 RF 0.90 Avg. 0.90 0.90 0.90 0 0.87 0.77 0.82 1 0.79 0.89 0.84 LR 0.83 Avg. 0.83 0.83 0.83 0 0.92 0.89 0.91 1 0.90 0.92 0.91 SVC 0.91 Avg. 0.91 0.91 0.91 models perform well with transfer learning features as compared to traditional machine learning models trained using BoW or TF-IDF. LR achieves the highest F1 score of 0.64 on the imbalanced dataset while its highest F1 score using the balanced dataset is increased to 0.93 using transfer learning. Performance of deep learning models For bankrupt and non-bankrupt classification, two deep learning models have also been used in addition to machine learning methods. For this purpose, LSTM, and recurrent Siddiqui et al. (2022), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.1134 17/25
Figure 8 F1 score for machine learning models, (A) using the imbalanced dataset, and (B) with balanced dataset. Full-size DOI: 10.7717/peerjcs.1134/fig-8 Table 9 Architecture and parameter for deep learning models. LSTM RNN Embedding(5000,100) Embedding(5000,100) Dropout(0.2) Dropout(0.2) LSTM(100) SimpleRNN (100) Dropout(0.2) Dropout(0.2) Dense(2, activation=’softmax’) Dense(2, activation=’softmax’) Loss=‘binary_crossentropy’, optimizer= ‘adam’, epochs=100, batch_size=16 neural network (RNN) are adopted for performance appraisal with machine learning models and transfer learning models. Models are customized in terms of neurons and layers, as well as a variety of parameters like learning rate, activation, optimization, etc. The parameters used for experiments and architecture of the deep learning model are given in Table 9. Each model is constructed with the ‘binary crossentropy’ loss, and the ‘Adam’ optimizer is utilized for optimization. The models are trained using 100 epochs and a batch size of 16 is used. Dropout layers with various rates are utilized in both RNN and LSTM to avoid the overfitting problem. The results of the deep learning model are shown in Table 10 indicating that deep learning models perform poorly as compared to machine learning models because of the small size of the dataset as deep learning models require a large dataset for significant performance. We deployed deep learning models on both balanced and imbalanced datasets. RNN obtains the best F1 score of 0.48 on the imbalanced dataset as compared to LSTM with a 0.42 F1 Score. The performance of LSTM is improved after balancing the dataset with a 0.60 F1 score because oversampling increases the dataset size. Primarily, the lack of an appropriate dataset in terms of size resulted in the poor performance of these models. Deep learning models are data-intensive and often require a large size dataset to learn the complex correlations which is not the case for the current study. Siddiqui et al. (2022), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.1134 18/25
Table 10 Performance of deep learning models. Approach Model Accuracy Precision Recall F1 score LSTM 0.73 0.37 0.50 0.42 Imbalanced RNN 0.60 0.49 0.50 0.48 LSTM 0.61 0.60 0.60 0.60 Balanced RNN 0.48 0.50 0.50 0.43 Table 11 Statistical significance T-test results. Comparison t df CV Null Hypothesis TL vs TF-IDF 3.853 4 7.06 e−17 Rejected TL vs BoW 1.868 4 7.06 e−17 Rejected Table 12 10 fold cross validation results using the SMOTE with transfer learning. Model Accuracy SD ETC 0.86 +/−0.09 ADA 0.76 +/−0.10 RF 0.85 +/−0.10 LR 0.76 +/−0.06 SVC 0.83 +/−0.07 T-test results To show the significance of the proposed approach LSTM-ETC, we perform a statistical T-test. We perform a T-test between models’ performance using transfer learning and TF-IDF and transfer learning and BoW. We deploy the T-test with a 0.5 alpha and the output of the T-test is evaluated in terms of t-statistic (t), degrees of freedom (df), and critical value (CV), as shown in Table 11. Results of the T-test show that for both cases transfer learning Versace TF-IDF and transfer learning Versace BoW, the null hypothesis is rejected because tis less than CV which means that transfer learning results are significant as compared to TF-IDF and BoW results. K-fold cross validation The 10-fold cross-validation is performed to corroborate the efficiency of the proposed approach. Table 12 shows the results of cross-validation. All models perform better when used with SMOTE balanced data, however, the transfer learning approach and ETC achieve the highest mean accuracy with 0.09 standard deviation (SD). It is followed by the RF model which has a 0.85 mean accuracy and 0.10 SD. Results show that the tree-based ensemble models perform better than other models with the used dataset. Siddiqui et al. (2022), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.1134 19/25
Table 13 Comparison with previous studies. Reference Dataset Classifier Performance Kasgari, Salehnezhad & Ebadi (2013) Own Dataset MLP, LR 0.87 and 0.90 Accuracy Wang et al. (2013) Dataset taken from Kogan Regression (LOG1P+), Ranking (TFIDF+) 0.14894 MSE, 0.15271 MSE, 0.62939 Spearman’s Rho , 0.63403 Spearman’s Rho Rönnqvist & Sarlin (2017) Own Dataset NN σ=0.008 Qin & Yang (2019) Text and Audio Dataset MDRM Text + Audio = 0.217 MSE Current study Own dataset ETC, ADA, RF, LR, SVC 0.93, 0.83, 0.90, 0.83, and 0.91 Accuracy Performance comparison with existing studies This study compares the performance of the proposed approach with existing studies on bankruptcy prediction. Table 13 shows the performance comparison. It can be observed that the performance of the proposed approach is better than existing studies. CONCLUSIONS AND FUTURE WORK Businesses can collapse in both small and big economies due to different financial, managerial, social, economic, and social factors. A bad managerial decision, new economic and environmental policy, an uncommon debt, and a social clash can lead to a firm’s bankruptcy. The well-being of a firm directly influences many stakeholders like creditors, investors, shareholders, etc. and prediction regarding a firm’s upcoming financial collapse can prepare the management and investors to prepare and execute contingency plans. Predominantly, prediction approaches and frameworks rely on the financial indicators from the stock exchange and banks for predicting bankruptcy however, such indicators represent past data and the status of firms’ current operations are not revealed. Analyzing the textual data and quantifying the sentiment of financial disclosure, emotion, and tone of a CEO in the meeting can be used. The earning calls data has plentiful information and can be used to predict the bankruptcy of a firm. This study proposes a transfer learning-based model in this regard and experiments with a self-collected and manually labeled dataset. Features extracted from the LSTM model are used to train the machine learning models on the original and K-Means SMOTE balanced datasets. Experimental results prove the superior performance of the proposed approach where the ETC model achieves the highest accuracy and F1 score of 0.93 with the balanced dataset. The performance of deep learning models is poor due to the small data size. Statistical t-Test and cross-validation corroborate the significant performance of the proposed approach as well. We would like to extend the experiments with an updated and large-sized dataset in the future. Siddiqui et al. (2022), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.1134 20/25
ADDITIONAL INFORMATION AND DECLARATIONS Funding This research was supported by the European University of the Atlantic. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript. Grant Disclosures The following grant information was disclosed by the authors: European University of the Atlantic. Competing Interests Imran Ashraf is an Academic Editor for PeerJ. Author Contributions •Hafeez Ur Rehman Siddiqui conceived and designed the experiments, analyzed the data, prepared figures and/or tables, and approved the final draft. •Beatriz Sainz de Abajo conceived and designed the experiments, analyzed the data, prepared figures and/or tables, and approved the final draft. •Isabel de la Torre Díez conceived and designed the experiments, performed the computation work, prepared figures and/or tables, and approved the final draft. •Furqan Rustam conceived and designed the experiments, performed the computation work, prepared figures and/or tables, and approved the final draft. •Amjad Raza performed the experiments, performed the computation work, authored or reviewed drafts of the article, and approved the final draft. •Sajjad Atta performed the experiments, analyzed the data, authored or reviewed drafts of the article, and approved the final draft. •Imran Ashraf performed the experiments, analyzed the data, authored or reviewed drafts of the article, and approved the final draft. Data Availability The following information was supplied regarding data availability: The machine learning implementation code and dataset are available in the Supplementary File. Supplemental Information Supplemental information for this article can be found online at http://dx.doi.org/10.7717/ peerj-cs.1134#supplemental-information. REFERENCES Alam MN. 2021. Corporate bankruptcy prediction: analysis of statistical and machine learning models using accounting, market, market microstructure, and derivative instrument information. PhD thesis. Siddiqui et al. (2022), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.1134 21/25
Anandarajan M, Hill C, Nolan T. 2019. Text preprocessing. In: Practical text analytics.Advances in Analytics and Data Science, vol. 2. Cham: Springer, 45–59 DOI 10.1007/978-3-319-95663-3_4. Balcaen S, Ooghe H. 2006. 35 years of studies on business failure: an overview of the classic statistical methodologies and their related problems. The British Accounting Review 38(1):63–93 DOI 10.1016/j.bar.2005.09.001. Barboza F, Kimura H, Altman E. 2017. Machine learning models and bankruptcy prediction. Expert Systems with Applications 83:405–417 DOI 10.1016/j.eswa.2017.04.006. Chen K-H, Tsai T-Y. 2020. Bankruptcy study using artificial intelligence. In: Proceedings of the 2020 4th International Conference on Deep Learning Technologies (ICDLT). 109–112. Christy SA, Arunkumar R. 2019. Machine learning based classification models for financial crisis prediction. International Journal of Recent Technology and Engineering (IJRTE) 8(4):4887–4893 DOI 10.35940/ijrte.d8362.118419. Douzas G, Ba¸ cão F, Last F. 2018b. Improving imbalanced learning through a heuristic oversampling method based on k-means and SMOTE. Information Sciences 465:1–20 DOI 10.1016/j.ins.2018.06.056. Garcia-Almanza AL, Alexandrova-Kabadjova B, Martinez-Jaramillo S. 2013. Bankruptcy prediction for banks: an artificial intelligence approach to improve understandability. In: Yang XS, ed. Artificial intelligence, evolutionary computing and metaheuristics.Studies in Computational Intelligence, vol. 427. Berlin, Heidelberg: Springer DOI 10.1007/978-3-642-29694-9_24. Goletsis Y, Papaloukas C, Exarhos T, Katsis C. 2012. Bankruptcy prediction through artificial intelligence. In: Machine learning: concepts, methodologies, tools and applications. Hershey: IGI Global, 684–693. Hájek P, Olej V. 2015. Word categorization of corporate annual reports for bankruptcy prediction by machine learning methods. In: Král P, Matoušek V, eds. Text, Speech, and Dialogue. TSD 2015.Lecture Notes in Computer Science, vol. 9302. Cham: Springer DOI 10.1007/978-3-319-24033-6_14. Horváthová J, Mokrišová M. 2018. Risk of bankruptcy, its determinants and models. Risks 6(4):117 DOI 10.3390/risks6040117. Islam SR, Eberle W, Bundy S, Ghafoor SK. 2019. Infusing domain knowledge in ai-based black box models for better explainability with application in bankruptcy prediction. ArXiv preprint. arXiv:1905.11474. Jaki A, Ćwiek W. 2021. Bankruptcy prediction models based on value measures. Journal of Risk and Financial Management 14(1):6 DOI 10.3390/jrfm14010006. Jamil R, Ashraf I, Rustam F, Saad E, Mehmood A, Choi GS. 2021. Detecting sarcasm in multi-domain datasets using convolutional neural networks and long short term memory network model. PeerJ Computer Science 7:e645 DOI 10.7717/peerj-cs.645. Siddiqui et al. (2022), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.1134 22/25
Kasgari AA, Salehnezhad SH, Ebadi F. 2013. The bankruptcy prediction by neural networks and logistic regression. International Journal of Academic Research in Accounting, Finance and Management Sciences 3(4):146–152. Kim S, Mun BM, Bae SJ. 2018. Data depth based support vector machines for predicting corporate bankruptcy. Applied Intelligence 48(3):791–804 DOI 10.1007/s10489-017-1011-3. Kim T, Ahn H. 2015. A hybrid under-sampling approach for better bankruptcy prediction. Journal of Intelligence and Information Systems 21(2):173–190 DOI 10.13088/jiis.2015.21.2.173. Kirkos E, Spathis C, Manolopoulos Y. 2007. Data mining techniques for the detection of fraudulent financial statements. Expert Systems with Applications 32(4):995–1003 DOI 10.1016/j.eswa.2006.02.016. Kogan S, Levin D, Routledge BR, Sagi JS, Smith NA. 2009. Predicting risk from financial reports with regression. In: Proceedings of Human Language Technologies: the 2009 Annual Conference of the North American Chapter of the Association for Computational Linguistics. 272–280. Kovacova M, Kliestik T, Valaskova K, Durana P, Juhaszova Z. 2019. Systematic review of variables applied in bankruptcy prediction models of visegrad group countries. Oeconomia Copernicana 10(4):743–772 DOI 10.24136/oc.2019.034. Kregar M. 2011. Cash flow based bankruptcy risk and stock returns in the US computer and electronics industry. Doctoral dissertation, The University of Manchester, Manchester, UK. Kristóf T, Virág M. 2020. A comprehensive review of corporate bankruptcy prediction in hungary. Journal of Risk and Financial Management 13(2):35 DOI 10.3390/jrfm13020035. Lee M, Choi J, Oh S. 2019. Predicting corporate bankruptcy using media information. In: International Conference on IT Applications and Management. 201–204. Lee S, Choi WS. 2013. A multi-industry bankruptcy prediction model using backpropagation neural network and multivariate discriminant analysis. Expert Systems with Applications 40(8):2941–2946 DOI 10.1016/j.eswa.2012.12.009. Li J, Yang L, Smyth B, Dong R. 2020. Maec: a multimodal aligned earnings conference call dataset for financial risk prediction. In: Proceedings of the 29th ACM International Conference on Information & Knowledge Management. 3063–3070. Li Y, Wang Y. 2017. Machine learning methods of bankruptcy prediction using accounting ratios. Open Journal of Business and Management 6(1):1–20. Mai F, Tian S, Lee C, Ma L. 2019. Deep learning models for bankruptcy prediction using textual disclosures. European Journal of Operational Research 274(2):743–758 DOI 10.1016/j.ejor.2018.10.024. McKee TE, Lensberg T. 2002. Genetic programming and rough sets: a hybrid approach to bankruptcy classification. European Journal of Operational Research 138(2):436–451 DOI 10.1016/S0377-2217(01)00130-8. Minka T. 2001. Algorithms for maximum-likelihood logistic regression. Statistics Tech Report. 758. Siddiqui et al. (2022), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.1134 23/25
Mujahid M, Lee E, Rustam F, Washington PB, Ullah S, Reshi AA, Ashraf I. 2021. Sentiment analysis and topic modeling on tweets about online education during covid-19. Applied Sciences 11(18):8438 DOI 10.3390/app11188438. Munková D, Munk M, Vozár M. 2013. Influence of stop-words removal on sequence patterns identification within comparable corpora. In: International Conference on ICT Innovations. Cham: Springer, 67–76. Muslim MA, Dasril Y. 2021. Company bankruptcy prediction framework based on the most influential features using xgboost and stacking ensemble learning. International Journal of Electrical & Computer Engineering 11(6):2088–8708. Naidu GP, Govinda K. 2018. Bankruptcy prediction using neural networks. In: 2018 2nd International Conference on Inventive Systems and Control (ICISC). Piscataway: IEEE, 248–251. Nguyen TK, Pham TPT. 2018. Predicting bankruptcy using machine learning algorithms. Tap chí Khoa hoc và Công nghe-DJai hoc DJà Nang 6–9. Available at https://media. neliti.com/media/publications/441450-predicting-bankruptcy-using-machine-lear- 0d8f1e0a.pdf . Noble WS. 2006. What is a support vector machine? Nature Biotechnology 24(12):1565–1567 DOI 10.1038/nbt1206-1565. Nopp C, Hanbury A. 2015. Detecting risks in the banking system by sentiment analysis. In: Proceedings of the 2015 conference on empirical methods in natural language processing. 591–600. Price SM, Doran JS, Peterson DR, Bliss BA. 2012. Earnings conference calls and stock returns: the incremental informativeness of textual tone. Journal of Banking & Finance 36(4):992–1011 DOI 10.1016/j.jbankfin.2011.10.013. Qin Y, Yang Y. 2019. What you say and how you say it matters: predicting stock volatility using verbal and vocal cues. In: Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics. 390–401. Qu Y, Quan P, Lei M, Shi Y. 2019. Review of bankruptcy prediction using machine learning and deep learning techniques. Procedia Computer Science 162:895–899 DOI 10.1016/j.procs.2019.12.065. Rehan MS, Rustam F, Ullah S, Hussain S, Mehmood A, Choi GS. 2021. Employees reviews classification and evaluation (erce) model using supervised machine learning approaches. Journal of Ambient Intelligence and Humanized Computing 13:3119–3136. Rönnqvist S, Sarlin P. 2017. Bank distress in the news: describing events through deep learning. Neurocomputing 264:57–70 DOI 10.1016/j.neucom.2016.12.110. Rupapara V, Rustam F, Amaar A, Washington PB, Lee E, Ashraf I. 2021a. Deepfake tweets classification using stacked bi-lstm and words embedding. PeerJ Computer Science 7:e745 DOI 10.7717/peerj-cs.745. Rupapara V, Rustam F, Shahzad HF, Mehmood A, Ashraf I, Choi GS. 2021b. Impact of smote on imbalanced text features for toxic comments classification using RVVC model. IEEE Access 9:78621–78634 DOI 10.1109/ACCESS.2021.3083638. Siddiqui et al. (2022), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.1134 24/25
Rustam F, Khalid M, Aslam W, Rupapara V, Mehmood A, Choi GS. 2021. A performance comparison of supervised machine learning models for covid-19 tweets sentiment analysis. PLOS ONE 16(2):e0245909 DOI 10.1371/journal.pone.0245909. Rustam F, Mehmood A, Ahmad M, Ullah S, Khan DM, Choi GS. 2020a. Classification of shopify app user reviews using novel multi text features. IEEE Access 8:30234–30244 DOI 10.1109/ACCESS.2020.2972632. Rustam F, Mehmood A, Ullah S, Ahmad M, Khan DM, Choi GS, On B-W. 2020b. Predicting pulsar stars using a random tree boosting voting classifier (rtb-vc). Astronomy and Computing 32:100404 DOI 10.1016/j.ascom.2020.100404. Slavici T, Maris S, Pirtea M. 2016. Usage of artificial neural networks for optimal bankruptcy forecasting, case study: Eastern european small manufacturing enterprises. Quality & Quantity 50(1):385–398 DOI 10.1007/s11135-014-0154-0. Theil CK, Broscheit S, Stuckenschmidt H. 2019. Profet: predicting the risk of firms from event transcripts. In: IJCAI. 5211–5217. Walczak S. 2016. Artificial neural networks and other ai applications for business management decision support. International Journal of Sociotechnology and Knowledge Development (IJSKD) 8(4):1–20. Wang C-J, Tsai M-F, Liu T, Chang C-T. 2013. Financial sentiment analysis for risk prediction. In: Proceedings of the Sixth International Joint Conference on Natural Language Processing. 802–808. Wang WY, Hua Z. 2014. A semiparametric gaussian copula regression model for predicting financial risks from earnings calls. In: Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers). 1155–1165. Yang L, Ng TLJ, Smyth B, Dong R. 2020. Html: Hierarchical transformer-based multitask learning for volatility prediction. In: Proceedings of The Web Conference 2020. 441–451. Ying C, Qi-Guang M, Jia-Chen L, Lin G. 2013. Advance and prospects of adaboost algorithm. Acta Automatica Sinica 39(6):745–758 DOI 10.1016/S1874-1029(13)60052-X. Yoon JS, Kwon YS. 2010. A practical approach to bankruptcy prediction for small businesses: substituting the unavailable financial data for credit card sales information. Expert Systems with Applications 37(5):3624–3629 DOI 10.1016/j.eswa.2009.10.029. Yu Q, Miche Y, Séverin E, Lendasse A. 2014. Bankruptcy prediction using extreme learning machine and financial expertise. Neurocomputing 128:296–302 DOI 10.1016/j.neucom.2013.01.063. Zelenkov Y, Volodarskiy N. 2021. Bankruptcy prediction on the base of the unbalanced data using multi-objective selection of classifiers. Expert Systems with Applications 185:115559 DOI 10.1016/j.eswa.2021.115559. Siddiqui et al. (2022), PeerJ Comput. Sci., DOI 10.7717/peerj-cs.1134 25/25