TabResFlow: A Normalizing Spline Flow Model for Probabilistic Univariate Tabular Regression

Kiran Madhusudhanan, Vijaya Krishna Yalavarthi, Jonas Sonntag, Maximilian Stubbemann, Lars Schmidt-ThiemeFrontiers in Artificial Intelligence and Applications 2025 · OpenAlexGitHub resource

Introduction

In many high-stakes industrial applications, a single point estimate—such as the predicted price of a car or the remaining useful life of a machine—is insufficient. Decision-makers require an understanding of the uncertainty inherent in these predictions. While standard tabular regression models like XGBoost or traditional Neural Networks excel at point estimation, they often fail to provide reliable probabilistic forecasts.

Existing probabilistic models typically suffer from two major drawbacks. First, many rely on a Gaussian Assumption, assuming the target variable follows a simple bell curve. However, real-world data is frequently multi-modal or skewed, leading Gaussian-based models to be overconfident or inaccurate. Second, flexible models capable of handling complex distributions, such as Continuous Normalizing Flows (CNFs), are often computationally expensive, requiring the solution of differential equations during training and inference.

TabResFlow addresses these challenges by combining a ResNet-based feature extractor with rational quadratic spline flows, offering a model that is both distributionally flexible and computationally efficient.

The TabResFlow Architecture

The TabResFlow model consists of three primary stages designed to transform raw tabular input into a complex probability density over the target variable.

The TabResFlow architecture, combining ResNet feature extraction with a Spline Flow head.
  1. Feature Encoding: Numerical features are processed through small MLP encoders rather than being treated as raw scalars, while categorical features use standard embeddings. This "lifts" the input data into a more expressive latent space.
  2. ResNet Backbone: The model utilizes a fully connected ResNet as its core feature extractor. Recent benchmarks suggest that for tabular data, well-tuned ResNets can match the performance of more complex Transformer-based architectures with significantly lower overhead.
  3. Rational Quadratic Neural Spline Flow (RQ-NSF): This component is the "secret sauce" of the architecture. Normalizing flows transform a simple base distribution (e.g., a standard Gaussian) into a complex one through invertible mappings. By employing piecewise rational quadratic splines, TabResFlow can model intricate, multi-modal densities with analytical inverses and Jacobians, bypassing the need for expensive ODE solvers.

Capturing Multi-modality and Uncertainty

A key strength of TabResFlow is its ability to capture non-Gaussian characteristics in the target distribution. In datasets like Wine and Protein, the ground truth is clearly multi-modal. Traditional probabilistic boosters often struggle in these scenarios because they are constrained to specific distribution shapes.

Predicted probability densities across various datasets, highlighting the model's ability to capture multi-modal distributions.

Beyond density estimation, the model enables selective regression. By quantifying uncertainty, the system can automate low-uncertainty predictions while deferring high-uncertainty cases to human experts. The authors evaluate this trade-off using the Area Under Risk Coverage (AURC) metric, which measures the relationship between the percentage of data "covered" by the model and the resulting error (risk).

Key Results

The model was rigorously tested on nine UCI benchmark datasets and a large-scale real-world used-car pricing dataset containing over 2.2 million records.

  • Accuracy: TabResFlow achieved top-tier Negative Log-Likelihood (NLL) scores on 7 out of 9 benchmarks, demonstrating a 9.64% improvement over the previous state-of-the-art baseline, TreeFlow.
  • Efficiency: The model is significantly faster than previous flexible architectures. On average, TabResFlow achieves a 5.56x speedup in inference time compared to NodeFlow, with speedups reaching 14.6x on larger datasets like YearMSD.
  • Reliability: In the used-car pricing case study, TabResFlow consistently outperformed baselines in the AURC metric, proving its superior ability to "know what it doesn't know."

Conclusion and Future Directions

TabResFlow represents a significant step forward in efficient probabilistic tabular regression. By replacing expensive ODE-based flows with spline flows and utilizing a robust ResNet backbone, it achieves state-of-the-art accuracy with a fraction of the computational cost.

Future work includes extending the model to multivariate regression tasks and exploring entropy-based uncertainty measures, which may further enhance performance for highly non-Gaussian distributions. Additionally, investigating how these spline-based architectures scale to "web-scale" datasets relative to Gradient Boosted Decision Trees remains an open area of research.

Summary updated

Abstract

Tabular regression is a well-studied problem with numerous industrial applications, yet most existing approaches focus on point estimation, often leading to overconfident predictions. This issue is particularly critical in industrial automation, where trustworthy decision-making is essential. Probabilistic regression models address this challenge by modeling prediction uncertainty. However, many conventional methods assume a fixed-shape distribution (typically Gaussian), and resort to estimating distribution parameters. This assumption is often restrictive, as real-world target distributions can be highly complex. To overcome this limitation, we introduce TabResFlow, a Normalizing Spline Flow model designed specifically for univariate tabular regression, where commonly used simple flow networks like RealNVP and Masked Autoregressive Flow (MAF) are unsuitable. TabResFlow consists of three key components: (1) An MLP encoder for each numerical feature. (2) A fully connected ResNet backbone for expressive feature extraction. (3) A conditional spline-based normalizing flow for flexible and tractable density estimation. We evaluate TabResFlow on nine public benchmark datasets, demonstrating that it consistently outperforms existing probabilistic regression models on likelihood scores. Our results demonstrate 9.64% improvement compared to the strongest probabilistic regression model (TreeFlow), and on average 5.6 times speed-up in inference time compared to the strongest deep learning alternative (NodeFlow). Additionally, we validate the practical applicability of TabResFlow in a real-world used car price prediction task under selective regression. To measure performance in this setting, we introduce a novel Area Under Risk Coverage (AURC) metric and show that TabResFlow achieves superior results across this metric.
BibTeX
@inproceedings{madhusudhanan2025tabresflow,
  author = {Kiran Madhusudhanan and Vijaya Krishna Yalavarthi and Jonas Sonntag and Maximilian Stubbemann and Lars Schmidt-Thieme},
  title = {{TabResFlow: A Normalizing Spline Flow Model for Probabilistic Univariate Tabular Regression}},
  booktitle = {Frontiers in Artificial Intelligence and Applications},
  year = {2025},
  doi = {10.3233/faia251412},
}

Loading related content...

Figure