Enterprise financial risk prediction is a fundamental task in financial risk management, yet its performance is often hindered by severe class imbalance, cross-enterprise heterogeneity, and the limited availability of labeled risky samples. These challenges are particularly pronounced in few-shot settings, where conventional machine learning and deep classification models tend to suffer from unstable representation learning, feature collapse, and weak decision boundaries. To address this issue, this study proposes a hierarchical metric learning framework for few-shot enterprise financial risk prediction on imbalanced tabular data. The framework integrates a state-space feature embedding network, an Adaptive Spectral Decomposition and Multi-Scale State Embedding module, and a Hierarchical Metric Manifold Alignment mechanism to enhance risk-sensitive representation learning, preserve geometric consistency across embedding levels, and improve prototype-based discrimination in the metric space. Experiments are conducted on three public datasets, namely American Bankruptcy, Corporate Financial Risk Assessment, and Enterprise Financial Network, under a unified 2-way 20-shot setting. The proposed method consistently achieves the best overall performance across Precision, Recall, Accuracy, F1-score, and AUC, with AUC values of 0.9526, 0.9687, and 0.9716 on the three datasets, respectively. Ablation studies and visual analyses further show that the proposed framework improves intra-class compactness, inter-class separability, and classification robustness under highly imbalanced conditions. These findings indicate that the proposed method provides an effective and robust machine learning solution for enterprise financial risk prediction and early warning in data-scarce financial scenarios.
Ma et al. (Wed,) studied this question.