Large-scale Uncertainty Estimation and Its Application in Revenue Forecast of SMEs

Zebang Zhang, Kui Zhao, Kai Huang, Quanhui Jia, Yanming Fang, Quan YuarXiv 2020

Abstract

Forecasting revenue for Small and Medium Enterprises (SMEs) is challenging due to high volatility and heteroscedasticity. While traditional Gradient Boosting Machines (GBMs) provide point estimates, they lack uncertainty quantification. This paper summarizes SN-GBM (Scalable Natural Gradient Boosting Machines), a framework developed at Ant Financial that leverages Natural Gradient optimization and Apache Spark to provide large-scale probabilistic forecasts. By modeling revenue as a log-normal distribution and separating feature importance for mean and variance, SN-GBM enables risk-aware credit decisions for millions of SMEs.

Introduction

SME revenue forecasting is a cornerstone of fintech lending. However, small businesses often operate in volatile environments, leading to data where the variance of revenue changes significantly between samples. Traditional models like XGBoost or LightGBM provide a single "best guess" but do not communicate confidence. In high-stakes financial environments, knowing the uncertainty is as vital as the forecast itself. SN-GBM addresses this by providing full uncertainty quantification at an industrial scale.

Methodology: Scalable Natural Gradient Boosting

SN-GBM optimizes Natural Gradient Boosting for big data environments. Key technical contributions include:

  1. Natural Gradient Optimization: Accounts for the geometry of the probability distribution space, stabilizing the simultaneous estimation of mean ($\mu$) and standard deviation ($\sigma$).
  2. Efficient Computation: The authors derived analytical solutions for the Fisher Information Matrix, replacing $O(N^3)$ matrix inversions with faster operations.
  3. Distributed Parallelism: Implemented on Apache Spark, the model builds separate trees for $\mu$ and $\sigma$ in parallel, achieving significant speedups on large clusters.
  4. Log-Normal Modeling: To handle the inherent skewness of revenue data, the model applies a log-transformation to the target variable.
Revenue distribution before and after log-transformation.

Key Insights: Mean vs. Variance Importance

A significant contribution of this work is the identification of distinct feature roles. Some features are highly predictive of the expected revenue amount (mean importance), while others are primarily indicators of volatility (variance importance).

Comparison of feature importance for mean and variance estimation.

This distinction allows for more effective feature engineering, specifically targeting the reduction of predictive uncertainty. For example, historical variance features were found to be crucial for improving distribution estimation quality.

Experimental Results

Evaluated on 10 million training samples from Ant Financial, SN-GBM demonstrated:

  • Competitive Point Accuracy: Point-estimation performance (MAPE) remained comparable to state-of-the-art GBMs.
  • Superior Distributional Fit: SN-GBM achieved significantly better Negative Log-Likelihood (NLL) scores, proving its ability to capture the true underlying probability distribution.
  • Decision Support: By using predicted uncertainty as a filter, the model identified a "top 50% certain" subset with over 90% accuracy, allowing for automated processing of high-confidence cases.

Conclusion

SN-GBM provides a robust, scalable framework for probabilistic revenue forecasting. By quantifying uncertainty, it allows financial institutions to move beyond simple point estimates toward risk-aware, automated decision-making. Future research will focus on automated joint feature selection and exploring alternative distribution types for specific industry niches.

Summary updated

BibTeX
@misc{zhang2020large,
  author = {Zebang Zhang and Kui Zhao and Kai Huang and Quanhui Jia and Yanming Fang and Quan Yu},
  title = {{Large-scale Uncertainty Estimation and Its Application in Revenue Forecast of SMEs}},
  year = {2020},
  eprint = {2005.00718},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2005.00718},
}
Figure