Next Article in Journal
Effective Machine Learning Techniques for Dealing with Poor Credit Data
Previous Article in Journal
A Comparison of Financial Risk-Tolerance Assessment Methods in Predicting Subsequent Risk Tolerance and Future Portfolio Choices
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

News Sentiment and Liquidity Risk Forecasting: Insights from Iranian Banks

Faculty of Industrial and Systems Engineering, Tarbiat Modares University, Tehran 14117-13114, Iran
*
Author to whom correspondence should be addressed.
Risks 2024, 12(11), 171; https://doi.org/10.3390/risks12110171
Submission received: 29 August 2024 / Revised: 4 October 2024 / Accepted: 12 October 2024 / Published: 30 October 2024

Abstract

:
This study addresses the critical challenge of predicting liquidity risk in the banking sector, as emphasized by the Basel Committee on Banking Supervision. Liquidity risk serves as a key metric for evaluating a bank’s short-term resilience to liquidity shocks. Despite limited prior research, particularly in anticipating upcoming positions of bank liquidity risk, especially in Iranian banks with high liquidity risk, this study aimed to develop an AI-based model to predict the liquidity coverage ratio (LCR) under Basel III reforms, focusing on its direction (up, down, stable) rather than on exact values, thus distinguishing itself from previous studies. The research objectively explores the influence of external signals, particularly news sentiment, on liquidity prediction, through novel data augmentation, supported by empirical research, as qualitative factors to build a model predicting LCR positions using AI techniques such as deep and convolutional neural networks. Focused on a semi-private Islamic bank in Iran incorporating 4,288,829 Persian economic news articles from 2004 to 2020, this study compared various AI algorithms. It revealed that real-time news content offers valuable insights into impending changes in LCR, particularly in Islamic banks with elevated liquidity risks, achieving a predictive accuracy of 88.6%. This discovery underscores the importance of complementing traditional qualitative metrics with contemporary news sentiments as a signal, particularly when traditional measures require time-consuming data preparation, offering a promising avenue for risk managers seeking more robust liquidity risk forecasts.

1. Introduction

In the modern banking sector, the proactive management of risks is vital for financial institutions, with liquidity risk being particularly significant alongside credit, operational, and market risks (Zarei 2016; Tavana et al. 2018). Liquidity risk involves balancing long-term investment strategies with short-term obligations to shareholders and investors, which is crucial for a bank’s stability. Mismanagement of liquidity can lead to bankruptcy or the erosion of a bank’s viability. The 2007–2008 financial crisis highlighted the importance of liquidity in market efficiency. Liquidity risk encompasses various factors, including operational risk losses, credit quality decline, reliance on short-term loans, and susceptibility to external market influences. The effective management of liquidity risk is essential for a bank’s stability and success (Matz 2006).
The discernible linkage between market risk factors and liquidity risk prompts an investigation into changes, sentiments, and financial behaviors within financial markets as potential indicators of liquidity risk. While previous studies have extensively examined bankruptcy prediction in banking or predominantly focused on fundamental factors (Doumpos et al. 2016; Elsas et al. 2010; Köhler 2015; Tasca et al. 2017; Manthoulis et al. 2020), financial market dynamics are often influenced by imbalanced information and behavioral idiosyncrasies, like market sentiment and speculative behavior (Calabrese and Giudici 2015). This interaction between market risk and behavioral dynamics underscores the significant impact of news and market events on liquidity risk. For instance, changes in external factors from market fluctuations affecting various asset types can lead to capital outflows from banks and liquidity risk (Campbell and Shiller 1986; MacKinlay 1997). This highlights the crucial role of news analysis in predicting stock prices and asset valuation. Additionally, economic conditions may result in loan defaults, creating credit risk that impacts liquidity risk in banks (Boguth et al. 2016).
The current approaches require extensive daily news analysis for manual market event prediction. Text mining, especially NLP1, offers a promising solution. Text mining efficacy relies on chosen methods like TFIDF2, bag-of-words, n-grams, and word embedding as text representation and machine learning algorithms (Hagenau et al. 2013; Schumaker and Chen 2009; Nam and Seong 2019; Nguyen et al. 2015; Kraus and Feuerriegel 2017). This study introduces a novel approach, integrating unique news augmentation with TFIDF and n-grams for machine learning-based prediction algorithms.
There are similar impacts across different languages given similar banking factors. For instance, news of a “terrorist attack on a military base” may influence liquidity risk regardless of language, as it affects customer sentiment towards deposit and investment safety. However, nuances may exist, requiring machine learning and AI algorithms trained with specific language data. While not exhaustive, this study aims to explore commonalities among languages and banking factors to facilitate future investigations with a broader scope.
Amidst the complexity of banking risk management, predicting liquidity risk position before it manifests in financial institutions becomes imperative. This prediction mandate extends beyond internal bank parameters, encompassing environmental factors like political decisions, macro-policy changes, and market events (Roeder et al. 2022). Consequently, the hypothesis posits that news sentiment influences liquidity risk, given its forward-looking nature, which necessitates empirical testing and validation.
The banking sector, particularly in emerging markets like Iran, faces significant challenges related to liquidity risk management, which can jeopardize financial stability and operational efficiency. Traditional approaches to liquidity risk assessment, such as the Liquidity Coverage Ratio (LCR), often rely on historical quantitative data and fail to capture real-time dynamics influenced by external factors, such as market sentiment and news events. This limitation is particularly pronounced in the context of Iranian banks, which operate under unique economic conditions exacerbated by sanctions and political volatility. Therefore, there is a pressing need for a more comprehensive framework that integrates qualitative signals—specifically news sentiment—into liquidity risk prediction models. This study aims to fill this gap by exploring how sentiment analysis can enhance the accuracy of liquidity risk forecasting, ultimately contributing to more robust risk management strategies in the banking sector. The significance of this research lies in its potential to provide banks with timely insights that can inform decision-making and regulatory compliance, thereby fostering greater resilience in the financial system.
This study aimed to predict LCR position (up, down, stable) rather than its exact value, employing a methodology distinct from traditional approaches, a facet largely overlooked in previous studies and hindering direct comparisons. External signals suggesting LCR fluctuations prompt an analysis of their liquidity impact. This study innovatively integrated external signals, exploring sentiment’s influence on liquidity, supported by empirical research on market, political, and economic events assessment.
Through a literature review, we discuss previous efforts in applying sentiment analysis to finance and risk management and statistical methods and machine learning to liquidity risk assessment and prediction. The key literature inspiring this study includes Tavana’s integration of machine learning methods for liquidity risk assessment (Tavana et al. 2018), An’s prediction model for liquidity risk (An 2017), the ELECTRA model for evaluating banking feedback and news data through sentiment analysis (Mohanty and Cherukuri 2023), the impact of financial markets on risk considering sentiment (Paraboni et al. 2018), exposure to liquidity risk in Islamic banks (Khan et al. 2023), and the impact of NPL and credit risk on liquidity risk in Islamic banks (Hassan et al. 2018).
This study demonstrates an implicit relationship between the sentiment of news as a qualitative parameter and liquidity risk. Therefore, this qualitative factor is employed in predicting liquidity risk as a signal. Risk managers can use the proposed method to quickly assess liquidity positions, complementing conventional methods that require more time for computation and recommendation.
This paper’s subsequent sections are structured as follows: the Section 2 provides a comprehensive review of the literature on sentiment analysis, especially in banking risk and related fields. The Section 3 explains the research data, methods, and framework utilized, outlining proposed models encompassing data, features, and implementation strategies. The following sections analyze results from the proposed methodology, evaluate applications and performance, and conclude with recommendations for future research.

2. Literature Review

2.1. Liquidity Risk Measurement

The contemporary financial landscape has placed a premium on banks’ risk assessment, management, and compliance with evolving regulatory frameworks, including Basel I, II, and III, emphasizing the comprehensive evaluation of credit, market, and liquidity risks alongside operational and legal concerns. Liquidity risk, stemming from the protracted financing of bank assets through short-term debt, engenders an inherent mismatch between cash inflows and outflows, notably in financial products characterized by uncertain cash flow schedules (Jarrow and van Deventer 1998; Kumar and Yadav 2013). The computation and assessment of liquidity risk predominantly entail scenario-based analyses, categorizing risk factors into two distinct groups: bank-specific and market-specific factors (Basel Committee on Banking Supervision 2010). Bank-specific indicators such as credit rating, operational losses, and market rumors interplay with market-specific elements like capital market disruptions and economic recessions to forecast liquidity risk scenarios, providing foresight into potential liquidity crises before they materialize (Tavana et al. 2018; Musakwa 2013; Diamond and Dybvig 1983).

2.2. Liquidity Coverage Ratio (LCR)

The Basel Committee on Banking Supervision has promulgated quantitative liquidity standards, notably the LCR, devised to gauge a bank’s capacity to cover net cash flows over the ensuing 30 days from high-quality liquid assets, ensuring LCR ≥ 100% as defined in Equation (1) (Basel Committee on Banking Supervision 2008):
Quality
L C R = Q u a l i t y   c a s h   a s s e t s / N e t   o u t f l o w s o v e r   t h e   n e x t   30   d a y s       100 % N e t   o u t f l o w s o v e r   t h e   n e x t   30   d a y s = I n f l o w s o v e r   t h e   n e x t   30   d a y s O u t f l o w s o v e r   t h e   n e x t   30   d a y s  
Three key factors in determining the liquidity coverage ratio (LCR) include the value of cash assets, the excess rate between liabilities and assets, and the division of requested deposits into long-term and short-term categories with respective coefficients (Tavana et al. 2018). Calculating and estimating these parameters requires significant effort monthly. However, with a historical record of the LCR, anticipating its fluctuations over time becomes possible, a focal point of this research.
This study aimed to predict monthly bank liquidity risk position using the preceding month’s news data, necessitating a risk measure sensitive to short-term fluctuations. To fulfill this requirement, the LCR was selected owing to its forward-looking nature and data accessibility, particularly within Iranian banks. Based on this, other measures like NFSR, probabilistic models, and balance sheet ratios are not addressed in this study (Drehmann and Nikolaou 2013; Jobst 2014).
While not diminishing the efficacy of conventional liquidity risk measurement methods, this approach seeks to provide an overarching perspective on bank liquidity positions, particularly when traditional measures require time for data preparation and calculation.
Factors influencing liquidity risk fall into three main categories: bank-specific, microeconomic, and macroeconomic or external factors (Rostami 2015; Wójcik-Mazur and Szajt 2015; Alharbi 2017; Singh and Sharma 2016; Ahmad and Rasool 2017). Notably, liquidity risk assumes a pivotal role as a determining factor for other risks such as credit risk and a cornerstone of banking performance (Bissoondoyal-Bheenick and Treepongkaruna 2011; Arif and Anees 2012; Athanasoglou et al. 2008; Molyneux and Thornton 1992).
Factors influencing liquidity risk fall into three primary categories: bank-specific, microeconomic, and macroeconomic factors (Rostami 2015; Wójcik-Mazur and Szajt 2015; Alharbi 2017; Singh and Sharma 2016; Ahmad and Rasool 2017). Bank-specific factors typically include elements like capital adequacy, non-performing loans (NPLs), and return on assets (ROA). For instance, capital adequacy, measured by the capital adequacy ratio (CAR), provides a buffer against financial shocks, and banks with higher CAR generally exhibit greater liquidity stability (Tasnova 2022). NPLs negatively impact liquidity by reducing asset quality, while high ROA may incentivize banks to engage in more risky lending, potentially harming liquidity (Radovanov et al. 2023).
On the microeconomic front, bank size and operational efficiency play critical roles. Larger banks tend to have better access to funding sources, enabling them to maintain liquidity more effectively. However, during financial crises, even large banks may face liquidity constraints if they are highly leveraged (Radovanov et al. 2023; Pham and Pham 2022).
Macroeconomic factors such as GDP growth, inflation, and interest rate policies are external forces that can significantly impact liquidity risk. For instance, rising inflation often leads to tighter monetary policies, which restrict liquidity by increasing interest rates (Tasnova 2022). Conversely, lower economic growth can reduce loan demand, allowing banks to hold more liquid assets (Radovanov et al. 2023).
New studies also highlight the influence of regulatory frameworks such as Basel III, which mandates the Liquidity Coverage Ratio (LCR) and the Net Stable Funding Ratio (NSFR) to enhance banks’ liquidity buffers (Radovanov et al. 2023).
This study focuses on estimating the effect of sentiment on the Liquidity Coverage Ratio (LCR), due to data accessibility limitations that prevent the inclusion of other liquidity risk indicators. Each study examines a specific case; future research may consider investigating the effects on other liquidity risk measures.

2.3. Prediction and Assessment of Liquidity Risk Using Machine Learning Methods

The assessment and prediction of liquidity risk have garnered attention through the application of machine learning (ML) techniques. Tavana et al. proposed a model integrating artificial neural networks and Bayesian networks to assess liquidity risk, while Guerra et al. leveraged ML for stress-testing and early warning system (EWS) scenarios (Tavana et al. 2018; Mohammad et al. 2020). An proposed a predictive model for financial liquidity risk using linear discriminant, probit, and logit models, emphasizing the significance of significant variables selection in firms’ liquidity positions (An 2017).
Of particular note is the application of natural language processing (NLP) techniques, notably sentiment analysis, in the banking sector. Sentiment analysis elucidates sentiments from textual resources, offering applications ranging from market prediction to risk detection and forecasting in banking (Jiang and Lu 2020; Khurana et al. 2023; Solangi et al. 2018). Coleman et al. categorized sentiments into uncertainty, positive, and negative sentiments during the 2007–2008 crisis, elucidating how sentiments impact risk analysis (Nopp and Hanbury 2015). In the context of liquidity risk, this investigation categorizes sentiment into three distinct classifications: influential, non-influential, and counter-influential. These classifications delineate sentiment’s capacity to respectively engender positive, neutral, or adverse effects on risk ratios. Keyword influence on liquidity risk was not manually calculated due to lacking lexicons.
Halls et al. conducted a review of various sentiment analysis methods, encompassing DNNs, recurrent neural networks (RNNs), convolutional neural networks (CNNs), and recursive neural networks (Do et al. 2019).
This study employed ML and AI to automate keyword sentiment analysis, understanding their impact using a black box method. Evaluating ML algorithms revealed results based on specific criteria with unseen data, identifying words attracting attention in liquidity risk contexts.

2.4. Studies on Sentiment Analysis in Risk Management

Sentiment analysis integration in banking risk management offers insights, highlighted by various studies presented in Table 1, revealing diverse methodologies and applications.
Texts offer diverse content, including explanations and opinions, posing challenges for sentiment analysis. Regulators seek objective risk reporting, yet Webb et al. found subjectivity in 44% of news sentences (Wiebe et al. 2001).
A study by Feroz Khan et al. indicates that the non-performing loans (NPLs) of Islamic banks are 4 to 5 times higher than the standards set by international finance experts (Khan et al. 2023). This finding suggests that Islamic banks are more susceptible to risks, particularly credit and liquidity risks, which need to be managed with greater care. Another study by Kabir Hassan et al. shows a positive relationship between liquidity risk and credit risk in conventional banks, but a negative relationship in Islamic banks. Initially, lower liquidity risk may improve stability. However, as bank management takes on more risk to increase profitability, this offsets the initial positive impact, leading to increased instability and affecting other risks in a chain reaction (Hassan et al. 2018). Based on the stochastic behavior of liquidity risk in Islamic banks and higher levels of risk, this study aims to predict liquidity risk to prevent further consequences.
The amalgamation of sentiment analysis within banking risk management has significantly progressed risk detection and prediction, while also unveiling new avenues for analyzing liquidity risk factors. Leveraging sentiments from diverse textual sources facilitates a deeper understanding of the interplay between sentiments and liquidity risk factors, enhancing risk assessments and predictive models in the banking sector. Factors influencing liquidity risks include forecasting financial crises using sentiment analysis from news and social networks (Ormerod et al. 2015), integrating sentiments into credit risk assessment for historical evaluation (Erlwein-Sayer and Yu 2020), predicting bank interest rates by analyzing online news (Kumar and Yadav 2013), assessing political impacts on stock and bond fluctuations (Erlwein-Sayer 2018), and indirectly addressing market risk through sentiment analysis of news and market events (Paraboni et al. 2018). The literature review underscores the multifaceted nature of liquidity risk, affirming the integration of machine learning and natural language processing techniques for refined risk assessment and prediction in banking.

3. Research Method

The outline of this research is shown in Figure 1. Sources of input data included news and data of a bank LCR. Features were then extracted from the text data. In this step, using feature extraction methods in text mining, qualitative features were extracted from textual news data and these features were examined for use in the next step.
The general outline of the research methodology comprises several key steps aimed at understanding and predicting liquidity risk through sentiment analysis of textual data.
  • Data Collection: Quantitative and qualitative data were sourced from a bank for liquidity data and a Fars digital news agency for textual news data, primarily focusing on economic and political spheres.
  • Text Data Preparation: For qualitative data, the HAZM NLP library was employed for the Persian language. Textual data underwent initial processing, which included normalizing and refining formats and word forms, clearing texts, classifying texts, extracting and validating, removing duplicate words, polarity detection, labeling, sentiment analysis, result validation, and presentation and comparison of findings. The quantitative data obtained over time for the LCR from a sample bank required quantification to integrate it into the sentiment prediction model. For instance, if the LCR of the current month was 90% and the LCR of the previous month was 80%, there was a 10% increase in LCR, thus determining the label for that month as influential (1).
  • Qualitative Feature Extraction: Features were extracted from processed news texts to establish correlations with liquidity risk.
  • Sentiment Analysis Model Construction: Conventional machine learning and deep learning methods were utilized to construct a sentiment analysis model, with various algorithms tested and the optimal one selected. Validation criteria including accuracy, precision, and recall were employed to assess and compare outcomes.
  • Prediction and Model Evaluation: Liquidity risk was predicted and evaluated using the chosen method, with validation criteria such as accuracy and visualizations employed for comparison with actual values.
These steps adhered to the research roadmap aiming to identify qualitative variables impacting liquidity risk prediction, providing insights into the role of sentiment analysis in this domain.

3.1. Research Variables

Banking standards like Basel and CAMELS, along with previous research, categorize influential variables into economic indicators, internal bank metrics, and qualitative factors like sentiment, indirectly impacting liquidity risk. As shown in Figure 2, the internal factors of a bank, which were referred to in previous sections as microeconomic or controlled factors (static variables), and external factors, which were either implicit or time-bound (dynamic variables), have a direct effect on liquidity risk. Therefore, they can be used to predict liquidity risk.
This study aimed to investigate the impact of qualitatively dependent variables, previously overlooked, on liquidity risk, noting their dynamic nature and interrelation with internal and external factors, ultimately employing machine learning models to predict liquidity coverage ratio (LCR) position using dynamic variables extracted from news and events.

3.2. Data Collection

Research data were classified into two categories of dependent and independent variables. As depicted in Table 2, the dependent variables were the news qualitative features and the independent variables were the liquidity risk ratios; in this regard, how to collect qualitative data and then the dependent or predictor variable were explained.

3.2.1. Collecting Quantitative Data

Regarding quantitative data, as mentioned in the table above, the liquidity coverage ratio index for a bank was considered, which was calculated and reported on a monthly basis. As stated in the previous study, the bank risk index is an indicator with a history, which means that it shows the current or past status of the bank (Nopp and Hanbury 2015).
The data on liquidity risk from April 2004 to November 2020 were obtained from the Central Bank of Iran for a semi-private bank (excel file containing LCR for each month). Semi-private banks offer advantages resembling private banks, catering to various customers and providing diverse products. They handle high transaction volumes and invest in non-banking markets. However, they face state bank-like regulations, including those from central banks, affecting loans, interest rates, and anti-money laundering measures. Due to data scarcity, the analysis focused on one semi-private bank, representative of others, to understand liquidity dynamics. To ensure data validation and reliability, the Central Bank of Iran operates a supervision office. This office employs both onsite and offsite procedures to monitor, assess, and confirm the reports provided by banks. These procedures adhere to the supervisory review and evaluation process mandated by BASEL guidelines, upon which we relied for our analysis.
Figure 3 shows the trends of the liquidity risk index of the bank from 2004 to 2020. In this chart, the trend of changes in the liquidity risk of the bank in question is clear and can be extracted.

3.2.2. Collection of Qualitative Data

This research focused on digital Persian news from the Fars News online agency, highlighting economic and political subjects potentially influencing liquidity risk. By analyzing these articles, we can extract sentiment—positive, negative, or neutral—reflecting public perception towards the bank’s liquidity. News data were crawled from the Fars News Agency from April 2004 to November 2020 and maintained in an SQL server database containing news summaries, types, bodies, titles, and dates. Data were gathered using web scraping methods, employing the Get request HTTP command through the Beautiful Soap (BS4) library in Python to retrieve news and extract relevant content such as news titles, summaries, and descriptions. The code was developed in the Python language, and cloud server resources were utilized for website crawling.
Keywords were extracted from news items, particularly in economic, political, and financial realms, by combining the three fields of summary, title, and body of the news, while also exploring the impact of censorship on Persian news. While economic and financial news generally evades censorship, political censorship seeks to mitigate economic consequences or boost public confidence. Machine learning was employed to assess the influence of manipulated news on bank liquidity, aiding in predicting future outcomes. Fars News Agency was chosen due to its diverse news sources, including political parties, enabling the examination of manipulated news effects on liquidity risk amidst censorship, alongside its considerable volume and diversity of news.
As depicted in Figure 4, with a total of 4,288,829 news items collected before preprocessing, their forward-looking nature (Fritz and Tőws 2018) underscores their relevance to liquidity risk, reflecting trends across the years.
Liquidity risk is influenced by both current and past conditions of a bank, while news sentiment can predict future liquidity risk; hence, changes in liquidity risk from the previous month serve as labels to determine the polarity of news samples, for instance, an increase in liquidity risk results in a positive label for the previous month’s news sample.

3.3. Pre-Processing of Collected Data

The data underwent preprocessing for both qualitative (textual) and quantitative segments. Qualitative data, comprising news titles, summaries, and bodies, were merged into cohesive news samples. Quantitative data, initially divided into three or five main classes, were categorized monthly, labeling liquidity risk based on each month’s changes: it could be either upward (1), downward (−1), or constant (0). Post-preprocessing, the dataset comprised approximately 494,650 samples, constituting a near-balanced dataset. Algorithm 1 shows the preprocessing phase.
Algorithm 1. Preprocessing
1:Notation: Input: Text File (Persian News Dataset)
2:Output: Sentiment (Positive, Neutral, Negative)
3:Begin
4:Read text data from Persian news dataset (combine summary, body, and lead for each news item)
5:Remove URL, numbers, punctuation
6:Standardization and tokenization of sentences into words
7:Words -> remove stop words
8:Add words from each sentence into preprocessed library
9:Stemming and lemmatizing words into their root forms
10:Add stemmed words from each sentence into processed library to be labeled
In the realm of Persian language analysis, textual data preprocessing is a meticulous process aimed at refining and standardizing text for optimal analysis. This involves employing a combination of regular expressions and replacement dictionaries for format standardization, followed by text normalization through techniques like stemming and lemmatization facilitated by the HAZM library. Punctuation removal and whitespace management are seamlessly executed using Python libraries and the Normalizer function, respectively. Tokenization, conducted by HAZM, divides the text into tokens, facilitating subsequent analysis. Furthermore, specialized algorithms like Krautz (Estahbanati and Javidan 2011) and Taghva (Taghva et al. 2005), based on established algorithms like Porter (Porter 1997) and Lancaster (Khyani and Siddhartha 2021), are employed for accurate stemming, while lemmatization utilizes lexical dictionaries to map words to their base form, preserving crucial linguistic nuances. This comprehensive preprocessing lays a robust foundation for nuanced insights into Persian language-specific textual data.

3.4. Feature (Keyword) Engineering

In the quest for efficient information retrieval within Persian language text, this study employed robust methodologies to extract keywords essential for comprehension. The procedure consisted of the following steps, as explained in Algorithm 2:
Algorithm 2. Feature engineering
1:Features <- extract features (keywords) using TF-IDF and N-gram algorithms.
2:Matrix of weighted words <- Create a matrix of features, with each row representing a weighted keyword of a sentence.
3:For each month in LCR time series data
4:        L C R c h a n g e s = L C R c u r r e n t   m o n t h L C R p r e v i o u s   m o n t h
5:For each row (keywords of a news) in Matrix
6:      Label each row with LCR changes of corresponding month
7:           p o s i t i v e 1   i f   L C R c h a n g e s > 0  
8:           n e u t r a l 0   i f   L C R c h a n g e s = 0
9:           n e g a t i v e 1   i f   L C R c h a n g e s < 0
10:The news matrix is divided into n groups, with each group consisting of m news items.
11:For each m items (news) in Matrix in same month
12:       A u g m e n t e d   s a m p l e = m e r g e   m   i t e m s
13:       a u g m e n t e d   s a m p l e   l a b l e = m e r g e   l a b e l s   w h i c h   i s   l a b e l   o f   t h a t   m o n t h
14:Hyper tune m as an important hyperparameter for best classification
Feature extraction: Leveraging statistical techniques such as TF-IDF and N-Gram analysis, the text underwent meticulous scrutiny to unveil meaningful linguistic patterns. Collocations or NGram analyses discern cohesive word combinations, revealing nuanced semantic structures beyond individual words, while TF-IDF evaluation highlights the significance of words within their contextual framework. The procedural framework began with feature extraction using the TfidfVectorizer function, meticulously configured with optimized hyperparameters to strike a balance between relevance and representation. By segmenting news text into distinct training, validation, and testing sets, this study ensured comprehensive coverage of the dataset.
The extraction process prioritized salient attributes present in an optimal frequency range, guided by parameter settings like min_df (0.008) and max_df (0.05), alongside the ngram_range (set at (1, 2)). Through the consolidation of news titles, leads, and bodies, the text was prepared for in-depth analysis and model development. This meticulous approach set the stage for insightful exploration within the Persian language domain, laying a robust foundation for subsequent analytical endeavors.
Labeling data and sentiment score: In this study, news data labeling was pivotal, employing a sentiment analysis approach to discern sentiment polarity. Building on prior works by (Groth and Muntermann 2011; Kogan et al. 2009), and (Hájek and Olej 2013), that utilized machine learning and quantitative metrics for labeling, this study focused on banking sentiment analysis. Three sentiment classes—positive, negative, and neutral (as explained in Equations (2) and (3))—and five sentiment classes (as explained in Equations (2) and (4)) were employed to gauge sentiment scores, as established in previous studies (Nopp and Hanbury 2015) utilizing quantitative indicators as changes in liquidity risk index. This index, with classifications into three and five classes, was analyzed alongside textual news data from 2004 to 2020.
L C R c h a n g e s   =   L C R c u r r e n t   m o n t h L C R p r e v i o u s   m o n t h
t h r e e   c l a s s e s p o s i t i v e 1   i f   L C R c h a n g e s > 0   n e u t r a l 0   i f   L C R c h a n g e s = 0 n e g a t i v e 1   i f   L C R c h a n g e s < 0
  f i v e   c l a s s e s S i g n i f i c a n t   i n c r e a s e   2   i f   L C R c h a n g e s > 25 %   p o s i t i v e 1   i f   0 > L C R c h a n g e s > 25 %   n e u t r a l 0   i f   L C R c h a n g e s = 0 n e g a t i v e 1   i f   0 > L C R c h a n g e s > 25 % S i g n i f i c a n t   n e g a t i v e 2   i f   L C R c h a n g e s < 25 %
Notably, news records were labeled with sentiment for each month, and a novel approach merged news with the same label, enhancing generalizability for robust analysis. The approach is illustrated in Figure 5.
Feature augmentation: This study introduces a novel data augmentation approach to merge keyword features from multiple news pieces within a monthly timeframe. By consolidating m news articles per month, a more comprehensive representation of data is achieved, acknowledging the dynamic nature of sentiment across time. Subsequently, by choosing a value for m as a consolidation number, ranging between 1 and the total number of news items (n) for that month, m news articles are merged (Equation (5)).
0 < m < n
Leveraging TF-IDF and N-Gram algorithms on aggregated news facilitates the selection of nuanced features, contributing to a richer dataset for machine learning models. The resulting input feature matrix condenses to n/m per sample, where m serves as a hyperparameter influencing model performance. Optimal parameters, such as 300 and 500, were determined through rigorous evaluation to shape subsequent analyses and ensure robust outcomes.
Feature selection: The abundance of features relative to observations can lead to redundancy, inefficiency, or extraneousness, exacerbating the issue. Various feature selection methods, categorized as “filter”, “wrapper”, or “embedded” offer distinct approaches to mitigate these challenges (Feki et al. 2012). In this study, the wrapper method was adopted for feature evaluation, intertwining feature selection with model prediction. By configuring the parameter ‘m’ as described earlier and analyzing the results, the most optimal feature subset was determined, contributing to more refined and efficient model training and evaluation.

3.5. Model Implementation of Sentiment Analysis

Sentiment analysis is a technique used to determine the emotional tone behind a series of words. In our study, we applied natural language processing (NLP) techniques to classify the sentiment of news articles. For example, positive news about economic growth would likely correlate with improved liquidity, while negative news about market instability could indicate potential liquidity challenges.
After data preprocessing, a keyword-based sentiment analysis approach employing machine learning methods was utilized to predict polarity based on inclusive labels of positive, negative, and neutral sentiments, with a focus on analyzing the impact of news sentiment labels on liquidity risk. As depicted in Algorithm 3, various risk prediction methods, including logistic regression (Lanine and Vennet 2006), support vector machines (Vapnik 1995), deep neural networks, and convolutional neural networks (Gouvêa and Bacconi 2021), were explored to analyze the relationship between liquidity position and news sentiment.
Algorithm 3. Sentiment model and prediction algorithm.
1:samples <- Using Matrix of features with labels
2: t r a i n   d a t a = 70 %   o f   s a m p l e s
3: v a l i d a t i o n   d a t a = 15 %   o f   s a m p l e s
4: t e s t   d a t a = 15 %   o f   s a m p l e s
5:A. logistic regression classifier
6:   Train with t r a i n   d a t a
7:   Hyperparameter tuning with v a l i d a t i o n   d a t a
8:   Evaluate the result with t e s t   d a t a
9:B. SVM classifier
10:   Train with t r a i n   d a t a
11:   Hyperparameter tuning with v a l i d a t i o n   d a t a
12:   Evaluate the result with t e s t   d a t a
13:C. DNN classifier
14:   Train with t r a i n   d a t a
15:   Hyperparameter tuning (neural network architecture) with v a l i d a t i o n   d a t a
16:   Evaluate the result with t e s t   d a t a
17:B. CNN classifier
18:   Train with t r a i n   d a t a
19:   Hyperparameter tuning (neural network architecture) with v a l i d a t i o n   d a t a
20:   Evaluate the result with test   d a t a
21:Compare the results of different algorithms and select the best method.
22:Assess the best result in a real-case scenario to evaluate the applicability of the method.
A. Logistic regression classifier: A widely used algorithm in sentiment analysis for banking risks like credit and default risks employs a binary dependent variable and classified or continuous independent variables, constituting a special case of the generalized linear model (Equations (6)–(8)). This study utilized logistic classification for sentiment analysis, where the hyperparameter C, representing the inverse of regularization power, was crucial in mitigating overfitting by imposing costs to optimize parameter values (Equation (9)). Through parameter tuning, particularly setting parameter C to minimize prediction errors, the logistic regression model effectively learned to predict sentiment based on input data.
Z = β X = ln p   X 1 p   X
β = ( β 0 , β 1 , β n }
p X = E   Y = 1 | X = 1 a + e a + b X
C = b = ( X X ) 1 X y
B. Multi-class support vector machine classifier:
The SVM classifier operates on the principle of linear determination within the search space, aiming to best separate different classes by specifying the separator margin. Text data fit ideally within the support vector machine classifier due to the nature of text, where multiple features are often insignificant (Equation (10)). It separates data by a hyperplane in the input space using optimization techniques, which maximizes the margin between classes and minimizes the classification error (Equation (11)). The optimization problem is expressed as follows:
max w w * , b * = d = 2 w + c . i = 1 n ε i
s . t :
w . x + b 1 ,   x   o f   c l a s s   A   w . x + b 1 ,   x   o f   c l a s s   B
This classifier has seen diverse applications, including in the classification of user comments based on their quality (Vapnik 1995). This study leveraged the multi-class support vector machine classification method for sentiment analysis, yielding satisfactory results. Notably, the C parameter, a critical parameter in this algorithm, guided SVM optimization by determining how much misclassification of each training example needed to be avoided. Tuning this parameter led to improved analysis outcomes (Chen and Tseng 2011).
C. Artificial deep neural network:
Deep learning, an evolving field within machine learning, encompasses a comprehensive approach to learning representation levels, addressing intricate nonlinear challenges in various domains like natural language processing and image analysis (LeCun et al. 2015). Recent advancements have fueled the prominence of deep neural networks, which differ from traditional machine learning in their inherent capacity to extract features across multiple levels (Yuan et al. 2018). Illustrating a multilayer deep learning classifier model, this study employed a feed-forward neural network structure with dense layers interconnected to facilitate data dimensionality reduction. Nonlinear activation functions, such as ReLU, enabled the network to capture complex patterns within the data.
Parameters like “Unit” for neuron count and “Loss” for quantifying disparity between predicted and actual outputs, alongside “Optimizer” for weight adjustment, play pivotal roles. Considering (labeling) three-class and five-class polarity, this research developed deep learning models tailored to both m = 300 and m = 500 for data augmentation, catering to diverse sentiment analysis needs spanning from positive and negative sentiments to more nuanced categories. Figure 6 delineates the deep neural network layer architecture for both three-class and five-class polarity modes, encompassing 2563 attribute matrix keywords in the input layer. Each network had five layers, with the last layer acting as the final classifier for the designated classes.
D. Convolutional neural network:
In the realm of deep learning for text classification, the convolutional neural network (CNN) emerges as a standout approach, leveraging convolutional filters to autonomously extract relevant features crucial for various tasks, including sentiment classification. Notably, studies have demonstrated CNN’s ability to achieve impressive performance without intricate hyperparameter tuning, making it adaptable across diverse text analysis endeavors (Read 2005; Zhang et al. 2015; Kim and Jeong 2019). The general architecture of CNNs, depicted in Figure 7, comprises layers such as convolutional, pooling, and dense layers, each playing distinct roles in feature extraction, downsampling, and classification (Thakkar and Chaudhari 2021; LeCun et al. 2015).
This study utilized one-dimensional convolutional and max pooling layers alongside dense layers, underscoring the CNN’s effectiveness in automating feature detection and classification tasks. The hyperparameters “Filters” and “Kernel_size” controlled the number of detected features and the convolutional window’s length in the Conv1D layer, respectively, while “Pool_size” defined the dimensions of the max pooling window in the MaxPooling1D layer for downsampling the feature matrix without trainable parameters.
These models (C, D) automatically learn and extract features from the input data, which helps improve the prediction accuracy compared to traditional methods.

3.6. Evaluation Criteria for Prediction

This study utilized randomization techniques to select training, testing, and validation data and evaluated algorithmic predictions using various classifier validation criteria, including the confusion matrix (Table 3), precision, recall, accuracy, F-score, Kappa, area under ROC curve (AUC), and ROC curve. Equations (12)–(17) with news data merged into a feature matrix associated with liquidity risk trend labels. The data were divided into training (70%), validation (15%), and testing (15%) sets, and classifier performance was assessed through confusion matrices and associated criteria, alongside calculations for sensitivity, specificity, accuracy, F1-score, and AUC values, with the kappa criterion comparing algorithm performance against random classification. The AUC was used to evaluate and compare different classifiers, indicating model accuracy. The kappa criterion compared the classification algorithm against a random classifier to assess multi-class algorithm performance (Sokolova et al. 2006; Juba and Le 2019; Pham and Ho 2021; Lasko et al. 2005; Zweig and Campbell 1993; Hanley and Mcneil 1982).
R e c a l l = S N = T P T P + F N
P r e c i s i o n = S P = T N T N + F P
A c c u r a c y = T P + T N T P + T N + F P + F N
F 1 S c o r e = 2 P r e c i s i o n R e c a l l P r e c i s i o n + R e c a l l
{ S N c , 1 S P c : < C < + }
A U C = 0 1 R O C t d t   d t

4. Experimental Results

In this section, this study’s outcomes based on liquidity risk data from a bank and news collected from Fars News Agency are discussed. News data were consolidated into 300 and 500 pieces, forming the final feature matrix and labels representing the bank’s liquidity risk positions in both three-class and five-class forms. Four data input cases were established for classification algorithms (Table 4), elucidating the outcomes in this segment. The table presents various data options fed into the learning model, varying sample numbers, consolidation types, and number of classes.

4.1. Data Visualization

The t-SNE algorithm, employed as an unsupervised method for visualizing high-dimensional data, facilitated the understanding of data organization. By applying TF-IDF followed by t-SNE, with perplexity as a crucial parameter, the resulting visualization in Figure 8 illustrates the varying degrees of separation for both three-class and five-class modes, offering insights into their classification capacity and separability. Considering that using m as a batch size meant merging and combining every m news item to generate a sample, we had labels a and b with a batch size of 300 and labels c and d with a batch size of 500. Therefore, Figure 8 shows that the classification and separability of m = 300 (labels a and b) as the news batch size were more pronounced.

4.2. Adjustment of Hyperparameters

This section focuses on optimizing hyperparameters for classification algorithms using different data augmentation parameters. The comprehensive tables in Appendix A detail the fine-tuning of hyperparameters for each algorithm, with logistic regression achieving the best validation accuracy of 71.58% for both three-class and five-class modes. SVM attained an accuracy of 86.42% for the three-class mode, while the deep neural network performed well, with approximately 89.7% accuracy in both modes. However, the CNN’s validation accuracy slightly decreased to 84.07% in the three-class mode. Overall, these findings show that the DNN, followed by the SVM, outperformed other algorithms based on their validation accuracy in predicting liquidity risk trends. Appendix A thoroughly describes the hyperparameters used for training, validation, and fine-tuning the model. It also includes the structure and architecture of the designed model, specifically for the CNN and DNN.

4.3. Evaluation of the Results

We compared the results of different algorithms to identify which provided the most reliable predictions. This comparison is crucial because it helps in understanding how well each model can adapt to changing market conditions.
The analysis of confusion matrix results from the logistic regression, support vector machine (SVM), deep neural network (DNN), and convolutional neural network (CNN) algorithms, detailed in Appendix B, revealed varying accuracies across different combinations. Notably, combination type m = 300 consistently outperformed m = 500 across logistic regression and SVM methods. Similarly, for deep feed-forward and CNN methods, architectural differences led to varying accuracies, with m = 300 consistently showing superior performance. These findings underscore the significance of neural configurations and classifiers in accuracy, emphasizing the need for architectural tuning for optimal performance. Overall, SVM followed by DNN emerged as the top-performing algorithms based on the confusion matrix results.
The Table 5, Table 6, Table 7 and Table 8 detail the performance metrics of various machine learning models, including Logistic Regression (Table 5), Support Vector Machine (SVM) (Table 6), Deep Feed-Forward Neural Network (Table 7), and Convolutional Neural Network (CNN) (Table 8), for predicting liquidity risk. Here’s a detailed explanation of each:
Table 5 showcases the performance of the Logistic Regression model across different parameter configurations, focusing on two bin sizes (300 and 500) and two classification modes: “Triple” and “Quintuple.” The metrics used for evaluation include validation accuracy, test accuracy, precision, recall, F1 score, Cohen’s Kappa, and ROC AUC. The highest validation accuracy of 71.58% is achieved with the “Triple” mode and a bin size of 500. In the Quintuple mode, although validation accuracy slightly decreases, the model achieves a higher ROC AUC of 91.06, indicating good predictive capacity. Overall, the Logistic Regression model provides moderate performance, particularly in handling imbalanced datasets, as reflected by Cohen’s Kappa scores.
Table 6 presents the results of the Support Vector Machine (SVM) model, which outperforms Logistic Regression in both classification accuracy and stability. The SVM achieves a validation accuracy of up to 86.42% in the Triple mode with a bin size of 500, and a test accuracy of 87.04%, suggesting that SVM is highly effective for predicting liquidity risk. The ROC AUC reaches an impressive 96.41%, showcasing the model’s ability to distinguish between classes accurately. Other key metrics, such as precision and recall, are consistently high across different configurations, demonstrating the robustness of SVM in handling complex financial data.
The results in Table 7 reveal that the Deep Feed-Forward Neural Network (DNN) is the best-performing model for liquidity risk prediction. The DNN achieves a validation accuracy of 88.91% in the Triple mode with a bin size of 500, and its ROC AUC score reaches up to 98.53% in the Quintuple mode, highlighting its superior classification capability. The F1 scores and Cohen’s Kappa metrics further affirm the model’s accuracy and reliability, making it ideal for dealing with imbalanced data. The DNN’s multi-layered architecture and optimization lead to highly accurate predictions, surpassing both Logistic Regression and SVM models.
Table 8 summarizes the performance of the Convolutional Neural Network (CNN), which, while slightly trailing behind DNN and SVM, still delivers solid results. The best validation accuracy of 84% is achieved in the Triple mode with a bin size of 500, and the ROC AUC peaks at 77.7%. Although the CNN model does not outperform the DNN, it still shows strong potential for sentiment-based liquidity risk prediction, particularly in complex, large-scale data environments. The precision and recall metrics remain consistently high, supporting its use in tasks requiring automated feature extraction from textual data.
The examination of various performance criteria revealed significant insights: the feed-forward neural network demonstrated exceptional accuracy, precision, recall, and F1-score, particularly achieving 88.6% accuracy in the three-class model and outperforming other methods like SVM. Additionally, it excelled in kappa and balance accuracy metrics, indicating robustness in handling unbalanced data. The ROC-AUC metric further underscored the superiority of the feed-forward neural network, with an outstanding 98.53% score in the five-class model. Collectively, these findings position the feed-forward neural network as the optimal method for predicting bank liquidity risk using qualitative news data, followed by SVM, convolutional neural network, and logistic regression.
An in-depth analysis of ROC curves was essential for evaluating the methodologies employed in thid study. Figure 9 and Figure 10 showcase ROC curves for various combinations, with Figure 9a highlighting the superior performance of the deep feed-forward neural network in the five-class mode with a combination of m = 300. Conversely, Figure 9b demonstrates comparable outcomes between the support vector machine and deep feed-forward network in the three-class mode with the m = 300 combination. In Figure 10, both the support vector machine and deep feed-forward network exhibit similar, yet notably better, results compared to other methods in both three-class and five-class modes.
According to BASEL, there are two areas for LCR: one is above the 100% threshold, considered a safe zone, and the other is below the threshold, indicating critical risk. This study’s practical application was validated by the risk management office of the bank, confirming the model’s efficacy in predicting fluctuations between safe and critical risk zones as per BASEL guidelines, thus affirming its successful practical utility.

5. Discussion

This study aimed to assess the impact of qualitative parameters on predicting bank liquidity risk, employing news data alongside a bank’s liquidity index to build and evaluate models using test data. The top-performing model, a deep neural network, achieved an impressive 88.6% accuracy, supported by metrics like precision, recall, F1-score, and ROC-AUC. Predicting liquidity risk remains challenging, with limited prior research compared to credit or market risk, making the method proposed in this study a practical and cost-effective approach to assess a bank’s risk position. Despite the uniqueness of this study’s qualitative approach limiting comparisons with other studies, employing ANOVA and logit/probit models (An 2017) revealed prediction accuracies of 88.8% for DNN and 87% for SVM, surpassing a neural network model by Tavana et al. (2018) that achieved around 70%. A comparison with classic algorithms showcased the superior accuracy of the DNN and SVM models, underlining their potential for liquidity risk prediction.
In a similar vein, other studies have explored stock price prediction using sentiment analysis, exhibiting varied accuracies. A comparative analysis in Table 9 illustrates the accuracies of various methods in predicting financial risk on stock prices, while Table 10 details the accuracies achieved in this study, with DNN demonstrating the highest accuracy at 88.6%. These comparisons provide valuable insights into the effectiveness of different approaches and affirm the robust performance of the DNN and SVM models in predicting liquidity risk.
Table 9 compares the results of various studies that applied different machine learning techniques to predict financial risk and stock prices. The accuracies vary significantly, with methods like SVM and SVR performing moderately well, achieving accuracy levels ranging from 56.5% to 59%. The studies focus on different financial data, including US financial news and corporate filings, with techniques like Bag-of-Words and Noun Phrase extraction. The comparison demonstrates the challenges and limitations in predicting financial risks using traditional methods.
Table 10 presents the results of the current study, showcasing the performance of different models—DNN, SVM, CNN, and Logistic Regression—in predicting liquidity coverage ratio (LCR) from Iranian news data. The DNN model stands out, achieving the highest accuracy of 88.6%, followed by the SVM model at 87.04%. The CNN and Logistic Regression models perform relatively lower but still offer valuable predictive capabilities. These results highlight the effectiveness of advanced deep learning techniques, particularly in handling complex and dynamic financial data for liquidity risk prediction.
The superior performance of deep learning models, particularly convolutional neural networks (CNNs), can be attributed to their capacity to capture complex patterns in high-dimensional data. Unlike traditional models, CNNs automatically extract relevant features from textual data, which allows them to better understand nuanced sentiment signals. This capability is crucial in the context of liquidity risk, where sentiment can rapidly shift in response to market events. Traditional models, such as logistic regression, demonstrated lower predictive accuracy. This can be attributed to their reliance on manual their inability to process unstructured text data effectively. The limited capacity of these models to capture the dynamic nature of market sentiment highlights the necessity for more sophisticated methodologies in risk prediction.

6. Conclusions and Future Works

The contribution of this study to the field of banking and finance is primarily its novel integration of sentiment analysis into liquidity risk prediction models. This approach introduces a qualitative parameter—news sentiment—into the traditionally quantitative realm of liquidity risk management. By focusing on the Liquidity Coverage Ratio (LCR) and employing advanced machine learning techniques, the study enhances the accuracy of predicting liquidity positions in banks. This methodology, which accounts for external signals like political and economic events, offers a more dynamic and real-time tool for risk managers. Moreover, the research has significant policy implications for the banking sector, especially in high-risk environments like Iran. It provides a complementary tool that can aid regulatory bodies in monitoring liquidity risk, enabling more timely interventions. This approach is particularly valuable for Islamic banks, where stricter regulations and unique risk profiles exist. By complementing traditional risk measures, the study suggests a shift in how liquidity risk could be managed, offering both academic and practical advancements in financial risk prediction.
Our study underscores the promising potential of integrating sentiment analysis for forecasting bank liquidity risk position, showcasing commendable results. The core strength of our approach lies in the thoughtful selection of feature extraction and selection methods, elevating classification accuracy and bolstering the efficacy of sentiment analysis. Our innovative concept of incorporating news data for constructing features has proven instrumental, significantly complementing conventional sentiment analysis methodologies. This novel feature selection method has substantially enhanced classification accuracy, mitigated noise, and minimized adverse effects inherent in machine learning-driven textual news classification, leading to more precise predictions.
Incorporating the m = 500 and m = 300 news augmentation models for feature selection enabled our models to achieve over 64% accuracy, reaching a pinnacle of 88.6% accuracy in predicting three-class tags. For optimal implementation, datasets with substantial news content and a clear index for prediction are pivotal. The validity of our findings was reaffirmed through a separate validation dataset, affirming the robustness and replicability of our approach.
The findings of this study have significant policy implications for risk management in Iran’s banking sector. Given the high liquidity risk faced by Iranian banks, exacerbated by economic sanctions and volatile political environments, the incorporation of real-time news sentiment into liquidity risk forecasting can offer regulators and banks an early warning system. This would allow banks to anticipate liquidity shortages and take preemptive actions, such as adjusting reserves or managing loan portfolios, to mitigate risks. Furthermore, the study demonstrates the need for the Central Bank of Iran and other regulatory bodies to consider qualitative signals, like news sentiment, in their supervisory frameworks, which can enhance the robustness of liquidity stress tests and improve the overall stability of the banking system. Implementing such models could also facilitate compliance with Basel III regulations, particularly regarding liquidity coverage ratio requirements, by offering a more dynamic and responsive risk monitoring tool.
In conclusion, this study operated under the assumption that its experimental framework relied on Iranian banking data due to limitations in accessing international liquidity risk and related news data in Iran. While recognizing the necessity for validation with international data, such as from US or European banks, there exists a foundational rationale justifying the proposed approach, which can be substantiated through further international research efforts. Additionally, drawing from the insights of Mohammad et al. (2020), Islamic banks are identified as more susceptible to liquidity risk due to stricter capital regulations and credit risk, alongside significant impacts of long-term debts. Focusing on Iranian banks, which face heightened liquidity challenges, this study introduced and validated a novel approach utilizing news sentiment as a critical qualitative factor for assessing liquidity risk in high-risk banking environments. Although there is potential for similar risk selectivity among other high-risk banks internationally, additional studies are imperative to confirm this generalization.
Considering that some news in Iran is censored, there may be a bias in news orientations based on government tendencies. Although this study acknowledges the presence of such orientations, the impact of censorship on liquidity risks is evident. Further studies could investigate the effects of unbiased news sentiment on liquidity risks. Another limitation of this study is the analysis of news sentiment in isolated periods. There might be a cumulative effect of news sentiment across sequential periods. Future research could explore whether a series of news items can produce butterfly effects or unprecedented conditions using time series analysis methods.

Author Contributions

The authors confirm that contributions to this paper as follows: Conceptualization, A.A. and H.M.; methodology, H.M.; software, H.M.; validation, H.M., M.A.R. and M.K.; formal analysis, H.M.; investigation, H.M. and A.A.; resources, M.K.; data curation, H.M.; writing—original draft preparation, H.M.; writing—review and editing, A.A. and M.A.R.; visualization, H.M.; supervision, A.A. and M.K.; project administration, A.A.; funding acquisition, none. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The data that support the findings of this study are available from https://drive.google.com/drive/folders/1m047ZnH9gAD6mrOXtJXwHuTRzKqg8y4X?usp=drive_link (accessed on 1 January 2024) and news is available from https://farsnews.ir/archive (accessed on 1 January 2024), but restrictions apply to the availability of these data, which were used under license for the current study, and so are not publicly available. Data are, however, available from the authors upon reasonable request and with the permission of the Central Bank of Iran. A source code for is also provided https://drive.google.com/drive/folders/1m047ZnH9gAD6mrOXtJXwHuTRzKqg8y4X?usp=drive_link (accessed on 1 January 2024). The source code contains all the custom computer code used to generate the results that are reported in this paper and central to its main claim.

Acknowledgments

We would like to express our sincere gratitude to Mohammad Talebi for his invaluable support, guidance, and for providing access to data from the Central Bank of Iran.

Conflicts of Interest

The authors declare no conflicts of interest. There are no funders that had a role in the design of the study; in the collection, analysis, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

Appendix A. The Hyperparameter Tuning of Algorithms

Table A1. Comparison table and adjustment of hyperparameters related to logistic regression algorithm.
Table A1. Comparison table and adjustment of hyperparameters related to logistic regression algorithm.
Classifier Logistic Regression
HyperparametersBin LengthL = TripleL = Quintuple
CSolverMax_IterVal_accCSolverMax_IterVal_acc
ValuesM = 3001lbfgs100066.821lbfgs100057.98
5lbfgs100071.5110lbfgs100061.79
10lbfgs100071.5815lbfgs100062.35
15lbfgs100071.0417lbfgs100062.4
20lbfgs100070.4119lbfgs100062.45
M = 5001lbfgs100066.821lbfgs100057.77
5lbfgs100071.515lbfgs100065.11
10lbfgs100071.5810lbfgs100066.82
15lbfgs100071.0415lbfgs100067.29
20lbfgs100070.4120lbfgs100068.31
40lbfgs100070.8840lbfgs100068.07
70lbfgs100070.0270lbfgs100068.31
Table A2. Comparison and adjustment of parameters related to the support vector machine algorithm.
Table A2. Comparison and adjustment of parameters related to the support vector machine algorithm.
ClassifierSVM
HyperparametersBin LengthL = TripleL = Quintuple
CSolverMax_IterVal_accCKernelMax_IterVal_acc
ValuesM = 30010rbf200086.1810rbf200082.64
15rbf200083.2915rbf200082.78
12rbf200082.9220rbf200082.73
M = 5001rbf200077.521rbf200079.39
5rbf200086.425rbf200086.1
10rbf200086.1810rbf200085.64
15rbf200085.7915rbf200085.25
20rbf200086.0320rbf200085.25
30rbf200086.130rbf200085.25
Table A3. Comparison and adjustment of parameters related to deep neural network algorithm.
Table A3. Comparison and adjustment of parameters related to deep neural network algorithm.
Feed-Forward Neural Network
HyperparametersBin LengthL = TripleL = Quintuple
Dense UnitsActivationOptimizerBatch SizeEpochsVal_accDense UnitsActivationOptimizerBatch SizeEpochsVal_acc
Values3001024-512-256-128relurms83281.691024-512-256-128relurms161782.73
512-256-128-64reluadam82983.111024-512-512-256reluadam164280.14
512-256-128-64reluadam164582.92512-256-64relurms161981.08
1024-512-256-128relurms641984.85
1024-512-256-128relurms1282184.8
1024-512-256-128relurms321584.33
500512-256-128-64reluadam81482.12512-256-128-64relurms644287.2
512-256-64relurms82484256-128-64relurms321881.03
1024-512-128relurms81783.221024-512-256-128relurms642586.42
512-256-128relurms162485.25512-256-128-64reluadam326182.9
512-256-256relurms322086.18512-256-128relurms644287.35
512-256-256relurms642386.96
512-256-256relurms1285789. 31
512-256-256relurms2566989.7
512-256-256relurms5126888.29
Table A4. Comparison and adjustment of parameters related to CNN algorithm.
Table A4. Comparison and adjustment of parameters related to CNN algorithm.
CNN
Bin LengthTripleQuintuple
FiltersKernel SizePool SizeDense UnitsActivationOptimizerBatch SizeEpochsVal _accFiltersKernel SizePool SizeDense UnitsActivationOptimizerBatch SizeEpochsVal _acc
30032-
64-128
32128Reluadam82979128-
256-512
32512relurms161680
64-128-25632256Reluadam8258264-128-25632256relurms82677
16-
32-
64-128
32128Reluadam8277764-
64-128
32128relurms162077
32-
64-128
32128relurms641577
50032-
64-128
32128Reluad am64298164-
128
32128reluadam322077
32-
32-64
3264Reluad am12
8
337932-
64-128
32128reluadam641975
32-
64
3264Reluad am32438216-
32-64
3264reluadam322873
64-
128
32128Reluad am32218464-128-25632256reluadam643080
128-
256
32256Reluad am32358364-128-12832128reluadam642377

Appendix B. Confusion Matrices of the Tuned Algorithms

Figure A1. Confusion matrix result of logistic regression method. (a) Confusion matrix obtained from 3-class l = 3, combination type m = 500, and c = 10; (b) confusion matrix obtained from l = 5, m = 500, and c = 20; (c) confusion matrix resulting from l = 3, m = 300, and c = 10; (d) confusion matrix resulting from l = 5, m = 300, and c = 17.
Figure A1. Confusion matrix result of logistic regression method. (a) Confusion matrix obtained from 3-class l = 3, combination type m = 500, and c = 10; (b) confusion matrix obtained from l = 5, m = 500, and c = 20; (c) confusion matrix resulting from l = 3, m = 300, and c = 10; (d) confusion matrix resulting from l = 5, m = 300, and c = 17.
Risks 12 00171 g0a1
Figure A2. Confusion matrix results of the support vector machine method. (a) Confusion matrix resulting from 3-class l = 3, combination type m = 500, and c = 5; (b) confusion matrix resulting from l = 5, m = 500, and c = 5; (c) confusion matrix resulting from l = 3, m = 300, and c = 5; (d) confusion matrix resulting from l = 5, m = 300, and c = 15.
Figure A2. Confusion matrix results of the support vector machine method. (a) Confusion matrix resulting from 3-class l = 3, combination type m = 500, and c = 5; (b) confusion matrix resulting from l = 5, m = 500, and c = 5; (c) confusion matrix resulting from l = 3, m = 300, and c = 5; (d) confusion matrix resulting from l = 5, m = 300, and c = 15.
Risks 12 00171 g0a2
Figure A3. Confusion matrix results of deep feed-forward method. (a) Confusion matrix resulting from 3-class l = 3, type of combination m = 500; (b) confusion matrix resulting from l = 5, m = 500; (c) confusion matrix resulting from l = 3, m = 300; (d) confusion matrix resulting from l = 5, m = 300.
Figure A3. Confusion matrix results of deep feed-forward method. (a) Confusion matrix resulting from 3-class l = 3, type of combination m = 500; (b) confusion matrix resulting from l = 5, m = 500; (c) confusion matrix resulting from l = 3, m = 300; (d) confusion matrix resulting from l = 5, m = 300.
Risks 12 00171 g0a3
Figure A4. Confusion matrix results of convolutional neural network method. (a) Confusion matrix resulting from 3-class l = 3, type of combination m = 500; (b) confusion matrix resulting from l = 5, m = 500; (c) confusion matrix resulting from l = 3, m = 300; (d) confusion matrix resulting from l = 5, m = 300. Results of the test data using the CNN algorithm.
Figure A4. Confusion matrix results of convolutional neural network method. (a) Confusion matrix resulting from 3-class l = 3, type of combination m = 500; (b) confusion matrix resulting from l = 5, m = 500; (c) confusion matrix resulting from l = 3, m = 300; (d) confusion matrix resulting from l = 5, m = 300. Results of the test data using the CNN algorithm.
Risks 12 00171 g0a4

Notes

1
Natural language processing.
2
Term frequency inverse document frequency.

References

  1. Adhikari, Surabhi, Surendrabikram Thapa, Usman Naseem, Hai Ya Lu, Gnana Bharathy, and Mukesh Prasad. 2023. Explainable Hybrid Word Representations for Sentiment Analysis of Financial News. Neural Networks 164: 115–23. [Google Scholar] [CrossRef] [PubMed]
  2. Ahmad, Farooq, and Nasir Rasool. 2017. Determinants of Bank Liquidity: Empirical Evidence from Listed Commercial Banks with SBP. Journal of Economics and Sustainable Development 8: 47–55. [Google Scholar]
  3. Alharbi, Ahmad. 2017. Determinants of Banks Liquidity: Evidence from OIC Countries. Journal of Economic and Administrative Sciences 33: 164–77. [Google Scholar] [CrossRef]
  4. An, Chang-Ho. 2017. A Study on Estimation of Financial Liquidity Risk Prediction Model Using Financial Analysis. Available online: https://api.semanticscholar.org/CorpusID:173987578 (accessed on 1 January 2018).
  5. Antweiler, Werner, and Murray Frank. 2004. Is All That Talk Just Noise? The Information Content of Internet Stock Message Boards. Journal of Finance 59: 1259–94. [Google Scholar] [CrossRef]
  6. Araci, Dogu. 2019. FinBERT: Financial Sentiment Analysis with Pre-Trained Language Models. arXiv arXiv:1908.10063. Available online: https://api.semanticscholar.org/CorpusID:201646244 (accessed on 1 January 2020).
  7. Arif, Ahmed, and Ahmed Nauman Anees. 2012. Liquidity Risk and Performance of Banking System. Journal of Financial Regulation and Compliance 20: 182–95. [Google Scholar] [CrossRef]
  8. Athanasoglou, Panayiotis, Sophocles Brissimis, and Matthaios Delis. 2008. Bank-Specific, Industry-Specific and Macroeconomic Determinants of Bank Profitability. Journal of International Financial Markets, Institutions and Money 18: 121–36. [Google Scholar] [CrossRef]
  9. Basel Committee on Banking Supervision. 2008. Principles for Sound Liquidity Risk Management and Supervision. Basel: BIS.org, September. [Google Scholar]
  10. Basel Committee on Banking Supervision. 2010. Basel III: International Framework for Liquidity Risk Measurement Standards and Monitoring. Basel: BIS.org. [Google Scholar]
  11. Bissoondoyal-Bheenick, Emawtee, and Sirimon Treepongkaruna. 2011. An Analysis of the Determinants of Bank Ratings: Comparison across Ratings Agencies. Australian Journal of Management 36: 405–24. [Google Scholar] [CrossRef]
  12. Boguth, Oliver, Murray Carlson, Adlai Fisher, and Mikhail Simutin. 2016. Horizon Effects in Average Returns: The Role of Slow Information Diffusion. Review of Financial Studies 29: 2241–81. [Google Scholar] [CrossRef]
  13. Butler, Matthew, and Vlado Kešelj. 2009. Financial Forecasting Using Character N-Gram Analysis and Readability Scores of Annual Reports. In Advances in Artificial Intelligence. Edited by Yong Gao and Nathalie Japkowicz. Berlin/Heidelberg: Springer, pp. 39–51. [Google Scholar] [CrossRef]
  14. Calabrese, Raffaella, and Paolo Giudici. 2015. Estimating bank default with generalised extreme value regression models. Journal of the Operational Research Society 66: 1783–92. [Google Scholar] [CrossRef]
  15. Campbell, John, and Robert Shiller. 1986. Cointegration and Tests of Present Value Models. Working Paper Series, Working Paper No. 1885. Cambridge: National Bureau of Economic Research, April. [Google Scholar] [CrossRef]
  16. Chen, Chien Chin, and You-De Tseng. 2011. Quality Evaluation of Product Reviews Using an Information Quality Framework. Decision Support Systems 50: 755–68. [Google Scholar] [CrossRef]
  17. Das, Sanjiv, and Mike Chen. 2007. Yahoo! for Amazon: Sentiment Extraction from Small Talk on the Web. Management Science 53: 1375–88. [Google Scholar] [CrossRef]
  18. Diamond, Douglas, and Philip Dybvig. 1983. Bank Runs, Deposit Insurance, and Liquidity. Journal of Political Economy 91: 401–19. Available online: http://www.jstor.org/stable/1837095 (accessed on 12 October 2024). [CrossRef]
  19. Do, Hai Ha, PWC Prasad, Angelika Maag, and Abeer Alsadoon. 2019. Deep Learning for Aspect-Based Sentiment Analysis: A Comparative Review. Expert Systems with Applications 118: 272–99. [Google Scholar] [CrossRef]
  20. Dogra, Varun, Aman Singh, Kavita Verma, Noor Jhanjhi, and Maria Talib. 2021. Analyzing DistilBERT for Sentiment Classification of Banking Financial News. Paper presented at 2021 International Conference on Advances in Computing, Communications and Informatics, Kochi, India, October 21–23; Singapore: Springer, pp. 501–10. [Google Scholar] [CrossRef]
  21. Doumpos, Michael, Chrysovalantis Gaganis, and Fotios Pasiouras. 2016. Bank Diversification and Overall Financial Strength: International Evidence. Financial Markets, Institutions & Instruments 25: 169–213. [Google Scholar] [CrossRef]
  22. Drehmann, Mathias, and Kleopatra Nikolaou. 2013. Funding Liquidity Risk: Definition and Measurement. Journal of Banking & Finance 37: 2173–82. Available online: https://www.sciencedirect.com/science/article/pii/S0378426612000039 (accessed on 1 January 2021). [CrossRef]
  23. Elsas, Ralf, Andreas Hackethal, and Markus Holzhäuser. 2010. The anatomy of bank diversification. Journal of Banking & Finance 34: 1274–87. [Google Scholar] [CrossRef]
  24. Erlwein-Sayer, Christina. 2018. Macroeconomic News Sentiment: Enhanced Risk Assessment for Sovereign Bonds. Risks 6: 141. [Google Scholar] [CrossRef]
  25. Erlwein-Sayer, Christina, and Xiang Yu. 2020. Sentiment Analysis for Credit Risk and Portfolio Construction. Available online: https://bigdatafinance.eu/wp/wp-content/uploads/2017/07/Sentiment-Analysis-for-Credit-Risk-and-Portfolio-Construction.pdf (accessed on 1 January 2021).
  26. Estahbanati, Somayye, and Reza Javidan. 2011. A New Stemmer for Farsi Language. Paper presented at 2011 CSI International Symposium on Computer Science and Software Engineering (CSSE), Tehran, Iran, June 15–16; pp. 25–29. [Google Scholar] [CrossRef]
  27. Feki, Asma, Anis Ben Ishak, and Saber Feki. 2012. Feature Selection Using Bayesian and Multiclass Support Vector Machines Approaches: Application to Bank Risk Prediction. Expert Systems with Applications 39: 3087–99. [Google Scholar] [CrossRef]
  28. Fritz, David, and Eugen Tőws. 2018. Text Mining and Reporting Quality in German Banks—A Cooccurrence and Sentiment Analysis. Universal Journal of Accounting and Finance 6: 54–81. [Google Scholar] [CrossRef]
  29. Gandhi, Priyank, Tim Loughran, and Bill McDonald. 2019. Using Annual Report Sentiment as a Proxy for Financial Distress in U.S. Banks. Journal of Behavioral Finance 20: 424–36. [Google Scholar] [CrossRef]
  30. Gouvêa, Maria, and Eric Bacconi. 2021. Credit Risk Analysis Applying Logistic Regression, Neural Networks and Genetic Algorithms Models. International Journal of Advanced Engineering Research and Science 8: 198–209. [Google Scholar] [CrossRef]
  31. Groth, Sven, and Jan Muntermann. 2011. An Intraday Market Risk Management Approach Based on Textual Analysis. Decision Support Systems 50: 680–91. [Google Scholar] [CrossRef]
  32. Guijarro, Francisco, Ismael Moya-Clemente, and Jawad Saleemi. 2021. Market Liquidity and Its Dimensions: Linking the Liquidity Dimensions to Sentiment Analysis through Microblogging Data. Journal of Risk and Financial Management 14: 394. [Google Scholar] [CrossRef]
  33. Hagenau, Michael, Michael Liebmann, and Dirk Neumann. 2013. Automated News Reading: Stock Price Prediction Based on Financial News Using Context-Capturing Features. Decision Support Systems 55: 685–97. [Google Scholar] [CrossRef]
  34. Hanley, James, and Barbara Mcneil. 1982. The Meaning and Use of the Area Under a Receiver Operating Characteristic (ROC) Curve. Radiology 143: 29–36. [Google Scholar] [CrossRef] [PubMed]
  35. Hassan, Kabir, Ashraf Khan, and Andrea Paltrinieri. 2018. Liquidity Risk, Credit Risk and Stability in Islamic and Conventional Banks. Research in International Business and Finance 48: 17–31. [Google Scholar] [CrossRef]
  36. Hájek, Petr, and Vladimír Olej. 2013. Evaluating Sentiment in Annual Reports for Financial Distress Prediction Using Neural Networks and Support Vector Machines. Communications in Computer and Information Science 384: 1–10. [Google Scholar] [CrossRef]
  37. Huang, Jiexiang, Helen Roberts, and Eric Tan. 2018. The Impact of Media Sentiment on Firm Risk, Corporate Investment and Financial Policies. DecisionSciRN: Leadership & Decision-Making (Topic). Available online: https://api.semanticscholar.org/CorpusID:169821512 (accessed on 1 January 2018).
  38. Jarrow, Robert, and Donald van Deventer. 1998. The Arbitrage-Free Valuation and Hedging of Demand Deposits and Credit Card Loans. Journal of Banking & Finance 22: 249–72. [Google Scholar] [CrossRef]
  39. Jiang, Kai, and Xi Lu. 2020. Natural Language Processing and Its Applications in Machine Translation: A Diachronic Review. Paper presented at 2020 IEEE 3rd International Conference of Safe Production and Informatization (IICSPI), Chongqing, China, November 28–30; pp. 210–14. [Google Scholar] [CrossRef]
  40. Jobst, Andreas. 2014. Measuring Systemic Risk-Adjusted Liquidity (SRL)—A Model Approach. Journal of Banking & Finance 45: 270–87. [Google Scholar] [CrossRef]
  41. Juba, Brendan, and Hai Le. 2019. Precision-Recall versus Accuracy and the Role of Large Data Sets. Proceedings of the AAAI Conference on Artificial Intelligence 33: 4039–48. [Google Scholar] [CrossRef]
  42. Khan, Md, Md Sumon Ali, Md Naiem Hossain, and Mithun Bairagi. 2023. Determinants of Non-performing Loans in Conventional and Islamic Banks: Emerging Market Evidence. Modern Finance 1: 56–69. [Google Scholar] [CrossRef]
  43. Khurana, Diksha, Aditya Koli, Kiran Khatter, and Sukhdev Singh. 2023. Natural Language Processing: State of the Art, Current Trends, and Challenges. Multimedia Tools and Applications 82: 3713–44. [Google Scholar] [CrossRef]
  44. Khyani, Divya, and Siddhartha. 2021. An Interpretation of Lemmatization and Stemming in Natural Language Processing. Shanghai Ligong Daxue Xuebao/Journal of University of Shanghai for Science and Technology 22: 350–57. [Google Scholar]
  45. Kim, Hannah, and Young-Seob Jeong. 2019. Sentiment Classification Using Convolutional Neural Networks. Applied Sciences 9: 2347. [Google Scholar] [CrossRef]
  46. Kogan, Shimon, Dimitry Levin, Bryan Routledge, Jacob Sagi, and Noah Smith. 2009. Predicting Risk from Financial Reports with Regression. Paper presented at Conference on Empirical Methods in Natural Language Processing (EMNLP), Singapore, August 6–7; pp. 272–80. [Google Scholar] [CrossRef]
  47. Köhler, Matthias. 2015. Which banks are more risky? The impact of business models on bank stability. Journal of Financial Stability 16: 195–212. [Google Scholar] [CrossRef]
  48. Kraus, Mathias, and Stefan Feuerriegel. 2017. Decision Support from Financial Disclosures with Deep Neural Networks and Transfer Learning. Decision Support Systems 104: 38–48. [Google Scholar] [CrossRef]
  49. Kumar, Manish, and Ghanshyam Chand Yadav. 2013. Liquidity Risk Management in Bank: A Conceptual Framework. Global Journal of Engineering Science and Research Management 7: 3. [Google Scholar]
  50. Lanine, Gleb, and Rudi Vander Vennet. 2006. Failure Prediction in the Russian Bank Sector with Logit and Trait Recognition Models. Expert Systems with Applications 30: 463–78. [Google Scholar] [CrossRef]
  51. Lasko, Thomas, Jui Bhagwat, Kelly Zou, and Lucila Ohno-Machado. 2005. The Use of Receiver Operating Characteristic Curves in Biomedical Informatics. Journal of Biomedical Informatics 38: 404–15. [Google Scholar] [CrossRef]
  52. LeCun, Yann, Bengio, and Geoffrey Hinton. 2015. Deep Learning. Nature 521: 436–44. [Google Scholar] [CrossRef]
  53. Li, Feng. 2008. The Determinants and Information Content of the Forward-Looking Statements in Corporate Filings—A Naïve Bayesian Machine Learning Approach. Journal of Accounting Research 48: 1049–102. [Google Scholar] [CrossRef]
  54. Liu, Ning, and Jianhua Zhao. 2022. A BERT-Based Aspect-Level Sentiment Analysis Algorithm for Cross-Domain Text. Computational Intelligence and Neuroscience 2022: 8726621. [Google Scholar] [CrossRef]
  55. MacKinlay, Craig. 1997. Event Studies in Economics and Finance. Journal of Economic Literature 35: 13–39. [Google Scholar]
  56. Manthoulis, Georgios, Michalis Doumpos, Constantin Zopounidis, and Emilios Galariotis. 2020. An ordinal classification framework for bank failure prediction: Methodology and empirical evidence for US banks. European Journal of Operational Research 282: 786–801. [Google Scholar] [CrossRef]
  57. Manzira, Francis, and Felix Bankole. 2018. Application of Social Media Analytics in the Banking Sector to Drive Growth and Sustainability: A Proposed Integrated Framework. Paper presented at 2018 Open Innovations Conference (OI), Johannesburg, South Africa, October 3–5; pp. 223–33. [Google Scholar] [CrossRef]
  58. Matz, Leonard. 2006. Scenario Analysis and Stress Testing. In Liquidity Risk Measurement and Management. Hoboken: John Wiley & Sons, Ltd., pp. 37–63. [Google Scholar] [CrossRef]
  59. Mirashk, Hamed, Amir Albadvi, and Mohammad Ali Rastegar. 2023. Liquidity Risk Prediction Using News Sentiment Analysis. Journal of Information and Communication Technology 55: 258–73. [Google Scholar]
  60. Mittermayer, Marc-Anton. 2004. Forecasting intraday stock price trends with text mining techniques. Paper presented at 37th Annual Hawaii International Conference on System Sciences, Big Island, HI, USA, January 5–8. [Google Scholar] [CrossRef]
  61. Mohammad, Sabri, Mehmet Asutay, Rob Dixon, and Elena Platonova. 2020. Liquidity Risk Exposure and Its Determinants in the Banking Sector: A Comparative Analysis between Islamic, Conventional and Hybrid Banks. Journal of International Financial Markets, Institutions and Money 66: 101196. [Google Scholar] [CrossRef]
  62. Mohanty, Aniruddha, and Ravindranath Cherukuri. 2023. Sentiment Analysis on Banking Feedback and News Data Using Synonyms and Antonyms. International Journal of Advanced Computer Science and Applications 14: 934–44. [Google Scholar] [CrossRef]
  63. Molyneux, Philip, and John Thornton. 1992. Determinants of European Bank Profitability: A Note. Journal of Banking & Finance 16: 1173–78. [Google Scholar] [CrossRef]
  64. Musakwa, Fidelis. 2013. Measuring Bank Funding Liquidity Risk. University of the Witwatersrand, April 30. Available online: https://www.actuaries.org/lyon2013/papers/AFIR_Musakwa.pdf (accessed on 30 April 2023).
  65. Nam, KiHwan, and NohYoon Seong. 2019. Financial News-Based Stock Movement Prediction Using Causality Analysis of Influence in the Korean Stock Market. Decision Support Systems 117: 100–12. [Google Scholar] [CrossRef]
  66. Nguyen, Thien Hai, Kiyoaki Shirai, and Julien Velcin. 2015. Sentiment Analysis on Social Media for Stock Movement Prediction. Expert Systems with Applications 42: 9603–11. [Google Scholar] [CrossRef]
  67. Nopp, Clemens, and Allan Hanbury. 2015. Detecting Risks in the Banking System by Sentiment Analysis. Paper presented at 2015 Conference on Empirical Methods in Natural Language Processing (EMNLP), Lisbon, Portugal, September 17–21; pp. 591–600. [Google Scholar] [CrossRef]
  68. Ormerod, Paul, Rickard Nyman, and David Tuckett. 2015. Measuring Financial Sentiment to Predict Financial Instability: A New Approach Based on Text Analysis. arXiv arXiv:1508.05357. [Google Scholar]
  69. Paraboni, Ana, Marcelo Righi, Kelmara Vieira, and Vinícius Silveira. 2018. The Relationship between Sentiment and Risk in Financial Markets. BAR—Brazilian Administration Review 15: e170055. [Google Scholar] [CrossRef]
  70. Pham, Hai Nam, and Thi Hong Nhung Pham. 2022. Determinants of bank liquidity: Evidence from Vietnam. In Prediction and Causality in Econometrics and Related Topics. Edited by Nguyen Ngoc Thach, Doan Thanh Ha, Nguyen Duc Trung and Vladik Kreinovich. Cham: Springer International Publishing, pp. 185–96. [Google Scholar] [CrossRef]
  71. Pham, Xuan, and Tin Ho. 2021. Using Boosting Algorithms to Predict Bank Failure: An Untold Story. International Review of Economics & Finance 76: 40–54. [Google Scholar] [CrossRef]
  72. Porter, Martin. 1997. An Algorithm for Suffix Stripping. Program 40: 211–18. [Google Scholar] [CrossRef]
  73. Radovanov, Boris, Nada Milenković, Branimir Kalaš, and Aleksandra Marcikić Horvat. 2023. Do the same determinants affect banks’ profitability and liquidity? Evidence from West Balkan countries using a panel data regression analysis. Mathematics 11: 4072. [Google Scholar] [CrossRef]
  74. Read, Jonathon. 2005. Using Emoticons to Reduce Dependency in Machine Learning Techniques for Sentiment Classification. In Annual Meeting of the Association for Computational Linguistics. Available online: https://api.semanticscholar.org/CorpusID:12596803 (accessed on 1 July 2005).
  75. Roeder, Jan, Matthias Palmer, and Jan Muntermann. 2022. Data-Driven Decision-Making in Credit Risk Management: The Information Value of Analyst Reports. Decision Support Systems 158: 113770. [Google Scholar] [CrossRef]
  76. Rostami, Malihe. 2015. CAMELS’ Analysis in Banking Industry. Global Journal of Engineering Science and Research Management 2: 10–26. [Google Scholar]
  77. Schlueter, Tobias, Thomas Hartmann-Wendels, Tim Weber, and MSc Zander. 2014. Die Risikoberichterstattung Deutscher Banken: Erhebung des Branchenstandards. Schmalenbachs Zeitschrift für Betriebswirtschaftliche Forschung 66: 386–427. [Google Scholar] [CrossRef]
  78. Schumaker, Robert, and Hsinchun Chen. 2009. Textual Analysis of Stock Market Prediction Using Breaking Financial News: The AZFin Text System. ACM Transactions on Information Systems 27: 12. [Google Scholar] [CrossRef]
  79. Shao, Chen, and Xiaochen Chen. 2022. Deep-Learning-Based Financial Message Sentiment Classification in Business Management. Computational Intelligence and Neuroscience 2022: 3888675. [Google Scholar] [CrossRef]
  80. Singh, Anamika, and Anil Kumar Sharma. 2016. An Empirical Analysis of Macroeconomic and Bank-Specific Factors Affecting Liquidity of Indian Banks. Future Business Journal 2: 40–53. [Google Scholar] [CrossRef]
  81. Sokolova, Marina, Nathalie Japkowicz, and Stan Szpakowicz. 2006. Beyond Accuracy, F-Score and ROC: A Family of Discriminant Measures for Performance Evaluation. In AI 2006: Advances in Artificial Intelligence, Lecture Notes in Computer Science. Berlin: Springer, vol. 4304, pp. 1015–21. [Google Scholar] [CrossRef]
  82. Solangi, Yasir Ali, Zulfiqar Ali Solangi, Samreen Aarain, Amna Abro, Ghulam Ali Mallah, and Asadullah Shah. 2018. Review on Natural Language Processing (NLP) and Its Toolkits for Opinion Mining and Sentiment Analysis. Paper presented at 2018 IEEE 5th International Conference on Engineering Technologies and Applied Sciences (ICETAS), Bangkok, Thailand, November 22–23; pp. 1–4. [Google Scholar] [CrossRef]
  83. Taghva, Kazem, Russell Beckley, and Mohammad Sadeh. 2005. A Stemming Algorithm for the Farsi Language. Paper presented at International Conference on Information Technology: Coding and Computing (ITCC’05)—Volume II, Las Vegas, NV, USA, April 4–6, vol. 1, pp. 158–62. [Google Scholar] [CrossRef]
  84. Tasca, Paolo, Stefano Battiston, and Andrea Deghi. 2017. Portfolio diversification and systemic risk in interbank networks. Journal of Economic Dynamics and Control 82: 96–124. [Google Scholar] [CrossRef]
  85. Tasnova, Nishat. 2022. Impact of bank-specific and macroeconomic determinants on banks’ liquidity: An empirical study on listed commercial banks in Bangladesh. Finance & Economics Review 4: 11–24. [Google Scholar] [CrossRef]
  86. Tavana, Madjid, Amir-Reza Abtahi, Debora Di Caprio, and Maryam Poortarigh. 2018. An Artificial Neural Network and Bayesian Network model for liquidity risk assessment in banking. Neurocomputing 275: 2525–54. [Google Scholar] [CrossRef]
  87. Tetlock, Paul. 2007. Giving Content to Investor Sentiment: The Role of Media in the Stock Market. Journal of Finance 62: 1139–68. [Google Scholar] [CrossRef]
  88. Thakkar, Ankit, and Kinjal Chaudhari. 2021. A Comprehensive Survey on Deep Neural Networks for Stock Market: The Need, Challenges, and Future Directions. Expert Systems with Applications 177: 114800. [Google Scholar] [CrossRef]
  89. Vapnik, Vladimir. 1995. The Nature of Statistical Learning Theory. New York: Springer. [Google Scholar]
  90. Wei, Lu, Guowen Li, Xiaoqian Zhu, and Jianping Li. 2019. Discovering Bank Risk Factors from Financial Statements Based on a New Semi-Supervised Text Mining Algorithm. Accounting & Finance 59: 1519–52. [Google Scholar] [CrossRef]
  91. Wiebe, Janyce, Theresa Wilson, and Matthew Bell. 2001. Identifying Collocations for Recognizing Opinions. Paper presented at ACL-01 Workshop on Collocation: Computational Extraction, Analysis, and Exploitation, Toulouse, France, July 7; pp. 24–31. [Google Scholar]
  92. Wójcik-Mazur, Agnieszka, and Marek Szajt. 2015. Determinants of Liquidity Risk in Commercial Banks in the European Union. Argumenta Oeconomica 35: 25–47. [Google Scholar] [CrossRef]
  93. Wüthrich, Beat, Vincent Cho, Steven Leung, D. Permunetilleke, Kavitha Sankaran, and Jian Zhang. 1998. Daily Stock Market Forecast from Textual Web Data. Paper presented at SMC’98 Conference Proceedings. 1998 IEEE International Conference on Systems, Man, and Cybernetics, San Diego, CA, USA, August 6, vol. vol. 3, pp. 2720–25. [Google Scholar]
  94. Yuan, Zhigang, Sixing Wu, Fangzhao Wu, Junxin Liu, and Yongfeng Huang. 2018. Domain Attention Model for Multi-Domain Sentiment Classification. Knowledge-Based Systems 155: 1–10. [Google Scholar] [CrossRef]
  95. Zarei, Ajmad. 2016. Measurement of credit risk portfolio of bank by method of coefficient variation bound. Sains Malaysiana 11: 3908–13. [Google Scholar]
  96. Zhang, Xiang, Junbo Zhao, and Yann LeCun. 2015. Character-Level Convolutional Networks for Text Classification. In Advances in Neural Information Processing Systems. vol. 28, Conference on Neural Information Processing Systems (NeurIPS), Montreal, QC, Canada. Available online: https://proceedings.neurips.cc/paper_files/paper/2015/file/250cf8b51c773f3f8dc8b4be867a9a02-Paper.pdf (accessed on 1 March 2015).
  97. Zhang, Yihao, and Xiaoyang Liu. 2021. Learning Attention Embeddings Based on Memory Networks for Neural Collaborative Recommendation. Expert Systems with Applications 183: 115439. [Google Scholar] [CrossRef]
  98. Zweig, Mark H., and Gregory Campbell. 1993. Receiver-operating characteristic (ROC) plots: A fundamental evaluation tool in clinical medicine. Clinical Chemistry 39: 561–77. [Google Scholar] [CrossRef]
Figure 1. Overview of the research.
Figure 1. Overview of the research.
Risks 12 00171 g001
Figure 2. The effect of qualitative variables as a dynamic influencing factor in predicting liquidity risk.
Figure 2. The effect of qualitative variables as a dynamic influencing factor in predicting liquidity risk.
Risks 12 00171 g002
Figure 3. Trend chart of the liquidity risk index of the bank evaluated during the study period (LCR, or liquidity coverage ratio, is a liquidity risk indicator defined by the Basel Committee on Banking Supervision).
Figure 3. Trend chart of the liquidity risk index of the bank evaluated during the study period (LCR, or liquidity coverage ratio, is a liquidity risk indicator defined by the Basel Committee on Banking Supervision).
Risks 12 00171 g003
Figure 4. Chart of news collected by different years.
Figure 4. Chart of news collected by different years.
Risks 12 00171 g004
Figure 5. Extraction and integration of features in the features matrix.
Figure 5. Extraction and integration of features in the features matrix.
Risks 12 00171 g005
Figure 6. Architecture of neural network layers in two states: (a) 3-class polarity; (b) 5-class polarity.
Figure 6. Architecture of neural network layers in two states: (a) 3-class polarity; (b) 5-class polarity.
Risks 12 00171 g006
Figure 7. General model of convolutional learning network structure (Thakkar and Chaudhari 2021).
Figure 7. General model of convolutional learning network structure (Thakkar and Chaudhari 2021).
Risks 12 00171 g007
Figure 8. T-SNE diagram and the degree of separation of 3 and 5-class modes (the dimensions of the diagram were obtained after reducing the T distribution dimension so that these dimensions could be mapped to the input properties, but, in the diagram, only two dimensions are mapped. (a) T-SNE diagrams related to 3-class and combination model of 300; (b) T-SNE diagrams related to 5-class and combination model 300; (c) T-SNE diagrams related to 3-class and combination model 500; (d) T-SNE diagrams related to 5-class and combination (m) model 500. (t-distributed stochastic neighbor embedding is a non-linear algorithm that reduces high-dimensional data for easier human observation and analysis).
Figure 8. T-SNE diagram and the degree of separation of 3 and 5-class modes (the dimensions of the diagram were obtained after reducing the T distribution dimension so that these dimensions could be mapped to the input properties, but, in the diagram, only two dimensions are mapped. (a) T-SNE diagrams related to 3-class and combination model of 300; (b) T-SNE diagrams related to 5-class and combination model 300; (c) T-SNE diagrams related to 3-class and combination model 500; (d) T-SNE diagrams related to 5-class and combination (m) model 500. (t-distributed stochastic neighbor embedding is a non-linear algorithm that reduces high-dimensional data for easier human observation and analysis).
Risks 12 00171 g008
Figure 9. (a) ROC curve associated with m = 300 and l = 5; (b) ROC curve associated with m = 300 and l = 3.
Figure 9. (a) ROC curve associated with m = 300 and l = 5; (b) ROC curve associated with m = 300 and l = 3.
Risks 12 00171 g009
Figure 10. (a) ROC curve associated with m = 500 and l = 3; (b) ROC curve associated with m = 500 and l = 5. (Receiver operating characteristic curve is a graph showing the performance of a classification model at all classification thresholds).
Figure 10. (a) ROC curve associated with m = 500 and l = 3; (b) ROC curve associated with m = 500 and l = 5. (Receiver operating characteristic curve is a graph showing the performance of a classification model at all classification thresholds).
Risks 12 00171 g010
Table 1. Summary of sentiment analysis research in financial and risk management.
Table 1. Summary of sentiment analysis research in financial and risk management.
YearAreaArticle TitleMethod
2023Risk ManagementLiquidity Risk Prediction Using News Sentiment AnalysisUsing DSR and Machine Learining Approach for Liquidity Risk Prediction (Mirashk et al. 2023)
2015Risk managementDetecting Risks in the Banking System by Sentiment AnalysisUsing the sentiment analysis approach to identify risk in the bank (Solangi et al. 2018)
2019Risk managementDiscovering bank risk factors from financial statementsIdentifying risk factors from financial statements using text mining (Wei et al. 2019)
2014Risk managementRisk reporting by German banksReview of financial reports by financial banks: using standard methods (Schlueter et al. 2014)
2018Risk managementText Mining and Reporting Quality in German Banks Checking the quality of financial reports using sentiment analysis in German banks (Fritz and Tőws 2018)
2018Social bankingApplication of Social Media Analytics in the Banking Sector Social network and trend analysis are used to investigate the consumer’s view in the payment industries
(Manzira and Bankole 2018)
2018InvestmentThe impact of Media Sentiment on Firm RiskAnalyzes the positive relationship between media sentiment and a company’s future stock returns
(Huang et al. 2018)
2021Market riskThe Liquidity Dimensions to Sentiment Analysis through Microblogging DataFinding pessimistic content (blog) increases trading costs, illiquidity, and price dispersion (Guijarro et al. 2021)
2018Market riskThe relationship between Sentiment and Risk in Financial MarketsInvestigating the effects of financial markets on risk with the sentiment analysis approach (Paraboni et al. 2018)
2019Bank healthUsing Annual Report Sentiment as a Proxy for Financial Distress in U.S. BanksUsing annual analytical reports as a proxy to detect financial crises in American banks (Gandhi et al. 2019)
2018Bank healthText Mining and Reporting Quality in German BanksInvestigating the quality of financial reports using sentiment analysis
(Fritz and Tőws 2018)
2019Bank healthDiscovering bank risk factors from financial statements based on a new text mining algorithmComprehensively reveals a bank’s risk factors from the textual risk disclosures reported in the financial statements (Wei et al. 2019)
2019Financial sentiment analysisFinancial Sentiment Analysis with Pre-trained Language ModelsThe FinBERT language model, designed based on BERT, addresses financial sentiment analysis challenges
(Araci 2019)
2023Financial sentiment analysisSentiment Analysis on Banking Feedback and News Data using Synonyms and AntonymsEvaluates sentiment scores of words, rephrases using synonyms/antonyms, and uses the ELECTRA model for SA (Mohanty and Cherukuri 2023)
2022Financial sentiment analysisAspect-Level Sentiment Analysis Algorithm based on BERT for Multi-Domain TextsBERT-based algorithm for aspect-level sentiment analysis across domains, leveraging source domain data to enhance target domain analysis
(Liu and Zhao 2022)
2022Financial sentiment analysisDeep Learning-based Sentiment Analysis of Financial StatementsA sentiment analysis method for financial statements using deep learning and domain adaptation
(Shao and Chen 2022)
2023Financial sentiment analysisExplainable hybrid word representations for sentiment analysis of financial newsImprove SA with explainable hybrid word representation, addressing class imbalance and integrating embeddings (Adhikari et al. 2023)
2021Financial sentiment analysisAnalyzing DistilBERT for Sentiment Classification of Banking Financial NewsCompares fine-tuned DistilBERT and TF-IDF with supervised machine learning classifiers for sentiment classification (Dogra et al. 2021)
Table 2. Research data.
Table 2. Research data.
Variable NameVariable TypeType of DataData TimeSource of Data
Liquidity coverage ratioQuantitative variableBank liquidity risk dataApril 2004–November 2020A semi-private sector bank in Iran
News quality indexQualitative variableNewsApril 2004–November 2020Fars News Agency
Table 3. Confusion matrix (Zhang and Liu 2021).
Table 3. Confusion matrix (Zhang and Liu 2021).
Actual/True Class0–Positive1–Negative
Predicted class0–TrueTrue Positive (TP)False Positive (FP)
1–FalseFalse Negative (FN)True Negative (TN)
Table 4. Input data modes present the input data options to the learning model.
Table 4. Input data modes present the input data options to the learning model.
Number of Classes Type of
Augmentation
Number of
Samples
Train Samples Test Samples Validation
l = 3m = 30014,169991821252126
l = 5m = 30014,169991821252126
l = 3m = 5008540597812811281
l = 5m = 5008540597812811281
Table 5. Results of different validation criteria extracted from logistic regression method.
Table 5. Results of different validation criteria extracted from logistic regression method.
Logistic Regression
Triple
Bin SizeCSolverMax_IterVal_accTest_accPrecisionRecallF1 ScoreCohens KappaROC AUC
30010lbfgs100071.5868.8168.6168.6168.6552.5586.02
50010lbfgs100071.5870.7370.6870.7370.5655.5187.89
Quintuple
30017lbfgs100062.4564.0264.0364.0263.9854.7989.38
50020lbfgs100068.3167.0667.0667.0667.0258.6991.06
Table 6. Results of various validation criteria extracted from the support vector machine.
Table 6. Results of various validation criteria extracted from the support vector machine.
SVM
Triple
Bin SizeCSolverMax_IterVal_accTest_accPrecisionRecallF1 ScoreCohens KappaROC AUC
3005rbf200086.4286.7486.7586.7486.7379.9195.17
5005rbf200086.4287.0487.0187.0487.0180.3895.37
Quintuple
30015rbf200082.7885.2385.485.2385.2881.4896.02
5005rbf200086.186.186.186.186.0982.5796.41
Table 7. Results of validation criteria obtained from the deep feed-forward learning network method.
Table 7. Results of validation criteria obtained from the deep feed-forward learning network method.
Feed-Forward Neural Network
Triple
Bin SizeDense UnitsActivationOptimizerBatch SizeEpochsVal_accTest_accPrecisionRecallF1 ScoreBalance
Accuracy
Cohens
Kappa
ROC
AUC
300512-
256-
128-
64
reluadam82983.1184.183.5684.0784.184.0775.8895.44
500512-
256-256
relurms644388.9188.688.588.6388.688.5682.7597.56
Quintuple
3001024-
512-
256-128
relurms641984.8588.2988.2388.588.2988.3185.3198.53
500512-
256-128
relurms644287.3582.5182.1983.4282.5182.378.0497.22
Table 8. Results of validation criteria obtained from the convolutional deep learning network method.
Table 8. Results of validation criteria obtained from the convolutional deep learning network method.
CNN
Triple
Bin SizeFilter sKernel SizePool SizeDense UnitsActivationOptimizerBatch SizeEpochsBalance
Accuracy
Test_accPrecisionRecallF1 ScoreCohens
Kappa
ROC
AUC
30064-128-25632256reluadam82582.081.781.782.081.781.772.3
50064-12832128reluadam322184.083.282.783.383.283.274.6
Quintuple
300128-
256-512
32512relurms161680.281.180.981.481.181.276.3
50064-128-25632256reluadam643080.982.282.182.382.282.277.7
Table 9. Comparison of the results obtained from the analysis of news data to predict financial risk index and stock price (Adhikari et al. 2023).
Table 9. Comparison of the results obtained from the analysis of news data to predict financial risk index and stock price (Adhikari et al. 2023).
No.AuthorDatasetEffectFeature TypeMethodsAccuracy
1Schumaker and Chen 2009US financial newsStock prices (intraday)Noun phrasesSVM58.2%
2Schumaker and Chen 2009US financial newsStock prices (intraday)Noun phrasesSVR59.0%
3Groth and Muntermann 2011German adhoc announcementsStock prices (daily)Bag-of-wordsSVM56.5%
4Mittermayer 2004US financial newsStock prices (daily)Bag-of-wordsSVM-
5Wüthrich et al. 1998Worldwide general newsStock prices (daily)Bag-of-wordsK-NN, ANNs,
naïve Bayes
Not comparable
6Li 2008US corporate filingsStock prices (daily)Bag-of-wordsNaïve BayesNot available
7Antweiler and Frank 2004US message postingsStock prices (intraday) and volatilityBag-of-wordsBayes, SVMNot available
8Das and Chen 2007US message postingsStock and index prices (daily)Bag-of-wordsCombinationsNot comparable
9Tetlock 2007US financial newsStock prices (daily)Bag-of-wordsRatio of negative wordsNot available
10Groth and Muntermann 2011German adhoc announcementsIntraday market riskBag-of-wordsSVMNot comparable
11Butler and Kešelj 2009US annual reports1-year market driftN-GramProprietary
distance measure
Not comparable
Table 10. Comparison of the results obtained from the analysis of news data to predict financial risk in this study.
Table 10. Comparison of the results obtained from the analysis of news data to predict financial risk in this study.
No.AuthorDatasetEffectFeature TypeMethodsAccuracy
1Mirashk et al.Iran Fars News (daily)LCR
monthly
N-Gram -TFIDFFeed-forward neural network88.6%
2Mirashk et al.Iran Fars News (daily)LCR
monthly
N-Gram -TFIDFSVM87.04%
3Mirashk et al.Iran Fars News (daily)LCR
monthly
N-Gram -TFIDFConvolutional neural network83.29%
4Mirashk et al.Iran Fars News (daily)LCR
monthly
N-Gram -TFIDFLogistic regression70.73%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Mirashk, H.; Albadvi, A.; Kargari, M.; Rastegar, M.A. News Sentiment and Liquidity Risk Forecasting: Insights from Iranian Banks. Risks 2024, 12, 171. https://doi.org/10.3390/risks12110171

AMA Style

Mirashk H, Albadvi A, Kargari M, Rastegar MA. News Sentiment and Liquidity Risk Forecasting: Insights from Iranian Banks. Risks. 2024; 12(11):171. https://doi.org/10.3390/risks12110171

Chicago/Turabian Style

Mirashk, Hamed, Amir Albadvi, Mehrdad Kargari, and Mohammad Ali Rastegar. 2024. "News Sentiment and Liquidity Risk Forecasting: Insights from Iranian Banks" Risks 12, no. 11: 171. https://doi.org/10.3390/risks12110171

APA Style

Mirashk, H., Albadvi, A., Kargari, M., & Rastegar, M. A. (2024). News Sentiment and Liquidity Risk Forecasting: Insights from Iranian Banks. Risks, 12(11), 171. https://doi.org/10.3390/risks12110171

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop