TL;DR
This paper investigates whether transforming financial statement data into image-like formats (2D matrices) improves the performance of Convolutional Neural Networks (CNNs) for corporate credit rating prediction. The authors found that while 2D encoding can be beneficial for financial ratio data, it's often unnecessary or even detrimental for raw fundamental financial data, suggesting that traditional 1D CNNs or even simpler models might suffice in those cases.
What Problem Does This Paper Address?
Analyzing corporate financial statements is crucial for investors and rating agencies to assess a company's creditworthiness. These statements, however, are vast and complex, containing hundreds of variables. Traditional methods often rely on feature selection to reduce dimensionality, but this can lead to overlooking important information. Deep learning, particularly CNNs, has shown promise in automatically learning hierarchical features, but CNNs are primarily designed for image data. This paper tackles the challenge of adapting CNNs to financial data by exploring various methods to "image" financial statements (transforming 1D data into 2D representations) and evaluating their effectiveness for credit rating prediction. The core question is whether this image-like representation is truly beneficial for financial data, or if it introduces unnecessary complexity.
Methods
The authors propose and evaluate three main image encoding methods:
- Sequential Arrangement (SA): Features are arranged sequentially into a rectangular matrix, padding with zeros if necessary.
- Category Chunk Arrangement (CCA): Features are grouped by their accounting section (e.g., balance sheet, income statement) into smaller "chunks," which are then arranged into a larger matrix.
- Hilbert Vector Arrangement (HVA): This method uses a Hilbert space-filling curve to map 1D data into a 2D matrix, aiming to preserve the spatial relationships between data points.
These encoding methods are then used as input for Convolutional Neural Networks (CNNs). For comparison, they also evaluate a standard 1D CNN and a Multilayer Perceptron (MLP) as benchmark models. To assess the robustness of their findings, they also conduct experiments with randomized versions of the 2D encoding methods.
Datasets
The study utilizes two primary datasets from the Compustat® database:
- Fundamental Data: Contains 332 accounting variables.
- Financial Ratio Data: Contains 69 variables, categorized into eight types (Valuation, Profitability, Capitalization, etc.).
The data covers financial, healthcare, and IT sectors in the US market for the time interval 2000-2016. For evaluation, an "out-of-time" test set was used, holding out the year 2016 for testing while training on data from 2000-2015.
Key Insights and Ideas
- 2D Imaging is Not a Universal Win: The most striking insight is that transforming financial data into 2D images doesn't always improve performance. While it can be beneficial for financial ratio data, it's often unnecessary or even detrimental for raw fundamental data.
- Financial Ratios are Already "Encoded": The paper suggests that financial ratios, which are derived from fundamental data, might already capture complex relationships in a way that 2D imaging struggles to replicate. The "hundreds of years of human experience" in creating financial ratios seems to outperform automated encoding methods for fundamental data.
- Padding with Zeros Might Not Be the Culprit: The authors hypothesized that adding zeros to fill matrices could introduce noise. Experiments with reduced-feature sets (without padding) showed similar results, suggesting padding itself isn't the primary reason for the performance differences.
- Sector-Specific Performance: The effectiveness of different encoding methods can vary by sector. For instance, CCA performed well with fundamental data in the financial sector, but this wasn't consistent across all sectors.
- Hilbert Curve's Promise Not Fully Realized: Despite theoretical advantages in preserving data relationships, the Hilbert Vector Arrangement (HVA) did not consistently outperform other methods, and sometimes performed worse.
Key Results
- Fundamental Data: For fundamental data, 1D CNNs (without imaging) generally performed as well as or better than the 2D imaging techniques. The MLP benchmark also showed competitive results.
- Financial Ratio Data: For financial ratio data, 2D imaging methods, particularly Sequential Arrangement (SA), showed improved accuracy compared to 1D methods. However, this improvement came with an increase in the "notch distance" (how far off predictions were when wrong), suggesting a trade-off.
- No Single Best 2D Method: Across all sectors and data types, no single 2D encoding method consistently outperformed others. CCA was often strong with fundamental data, while SA was better with financial ratios.
- Randomization Matters: Randomized versions of 2D encoding methods often performed worse than their non-randomized counterparts, indicating that the structure of the encoding does have an impact.
Limitations and Future Work
- Auto-Encoder Performance: The paper briefly explored using an auto-encoder to compress fundamental data into a representation similar to financial ratios. This approach yielded significantly worse results than using financial ratios directly, suggesting that current auto-encoder methods don't capture the nuanced insights derived from human-engineered financial ratios. This points to future work in developing more sophisticated auto-encoders or feature engineering techniques.
- "Out-of-Time" vs. "Out-of-Sample": While the authors used an "out-of-time" approach for testing, they acknowledge that a true "out-of-sample" test (using entirely new, unseen data) would be more rigorous.
- Limited Scope of "Auto-Encoder": The auto-encoder experiment was a preliminary investigation. Further research could explore different auto-encoder architectures and training strategies.
- Future Work: The authors suggest further investigation into the reasons behind the dichotomy in performance between fundamental and ratio data, and exploring more advanced auto-encoder architectures.
Summary updated