arXiv:2611.01447cs.LGNov 2026

Manuscript Offprint

arXiv:2611.01447

Correctness and Predictive Uncertainty in Bayesian TSK Fuzzy Regression: A Reproducible Evaluation on Tabular and Building-Meter Data

Zhiren Xiao

Abstract

Uncertainty estimates from fuzzy regression are informative only when the implementation is correct and the comparison protocol makes the sources of variation visible. We revisit a first-order Takagi–Sugeno–Kang (TSK) regression implementation and rebuild its dense, conjugate Bayesian, BIC-based, and rule-level spike-and-slab estimators using corrected code. The corrected pipeline freezes the Gaussian membership partition at training time, uses a scaled conjugate prior, evaluates firing strengths in the log domain, and reports direct posterior-predictive quantiles for Bayesian methods. Across 30 outer 80/20 splits on three targets from two UCI regression datasets, corrected TSK-LS obtains R2=0.957R^2 = 0.957, 0.923, and 0.786 on Energy-Heating, Energy-Cooling, and Concrete, respectively; rule-level Gibbs sampling with Bayesian model averaging obtains 0.957, 0.922, and 0.784. We then evaluate the same workflow on a bounded chronological sample of the Building Data Genome 2 meter data that covers 158 buildings across 17 sites. In a common-unit evaluation, every method is scored on the same 47,400 test rows and every trained model uses 94,800 train-validation rows. Persistence has RMSE 27.710, compared with 29.083 for both TSK-LS and Bayesian TSK; the pre-specified building-level mean RMSE difference between Bayesian TSK and persistence is +0.0447 with a 95% site-cluster bootstrap interval of [−1.5536,1.5665][-1.5536, 1.5665]. The Bayesian TSK 90% intervals have PICP 0.980 and MPIW 116.469. Taken together, the evidence supports a narrower conclusion: spike-and-slab model averaging is a reproducible implementation option, but it does not provide a demonstrated accuracy or calibration advantage across the tested tabular and building-meter settings.

Keywords: uncertainty quantification, prediction intervals, Bayesian inference, spike-and-slab prior, Bayesian model averaging, Takagi–Sugeno–Kang fuzzy system, building energy

1. Introduction

Engineering decisions often require more than a point estimate: uncertainty must remain interpretable and reproducible when data are limited. Rule-based regressions with linear consequences, including Takagi–Sugeno–Kang (TSK) fuzzy systems [1], offer that combination of nonlinear

∗^{*}Corresponding author

Email address: 241734106@m.gduf.edu.cn (Zhiren Xiao 0009-0008-2164-4557) approximation and a compact rule structure. Their linear consequences also make Bayesian treatment natural, because posterior distributions, prediction intervals, and model selection can be defined within the same representation. Building-energy simulation illustrates the motivating data regime: each simulation run is computationally expensive, yielding training sets of only hundreds of samples [2].

Measured building meters pose a complementary challenge. Targets are observed over time, buildings differ in use and site, and missing windows or schedule changes can alter the effective prediction problem. The Building Data Genome Project 2 provides an open benchmark with hourly measurements from non-residential buildings across multiple sites and years [3]; it lets us examine the same uncertainty workflow under chronological extrapolation rather than only independent tabular splits.

The methodological question is deliberately narrower than a general claim about sparse fuzzy regression. Spike-and-slab priors [4, 5] represent uncertain rule activation, while Bayesian TSK models and prediction-interval methods already provide several probabilistic alternatives [6, 7, 8, 9]. We therefore ask whether a rule-level Gibbs/BMA implementation changes predictive accuracy or uncertainty once the fuzzy partition, prior parameterization, and numerical linear algebra are made explicit.

The question also exposes an implementation constraint. The spreads of Gaussian membership functions define the fuzzy partition, so they should be estimated from training data and reused at inference. Recomputing them from query data can change the design matrix after fitting. We reproduce this failure mode as an audit, but do not use its unstable output as a corrected-versus-buggy effect size. All headline comparisons use the frozen-partition implementation and are regenerated from the same code.

We use a block-Gibbs sampler for rule-level spike-and-slab coefficients and predict by Bayesian model averaging (BMA), allowing posterior draws to retain both within-model parameter variation and between-configuration variation.

We compare this estimator with dense TSK least squares, a dense conjugate posterior, the BIC-based thresholded comparator retained for continuity, Gaussian-process and support-vector references, and a split-conformal TSK interval. The evaluation also covers measured building-meter data with a protocol-defined next-hour target, chronological split, and warm-start site holdout.

The contribution is an evidence-led evaluation of this pipeline: correctness gates, proper probabilistic scores, real-building temporal and site behavior, and explicit MCMC and generalization limits are treated as parts of the result.

Our contributions are fourfold:

  1. Implementation correctness and traceability. We make the FCM exponent, frozen membership spreads, no-intercept design, scaled prior, stable covariance calculation, log-domain firing strengths, and direct predictive quantiles explicit, and test them with small-R analytic and enumeration checks.

  2. Rebuilt predictive comparison. We regenerate 30-split results and report point metrics, coverage, interval width, WIS, and CRPS for the TSK, Gaussian-process, and conformal comparators. The rebuilt evidence does not support a claim that Gibbs/BMA dominates the dense or conjugate TSK baselines.

  3. Real-building evaluation. We apply the same audited workflow to a bounded BDG2 chronological sample and report next-hour point prediction, posterior-predictive intervals, warm-start site holdout, missing-window eligibility, and runtime boundaries.

  4. Evidence-bounded sparsity and uncertainty conclusions. We examine rule-level and coefficient-level sparsity in low-dimensional benchmarks, a controlled irrelevant-feature probe, a real high-dimensional probe, and the BDG2 application setting. The results separate accuracy, coverage, interval width, finite-chain diagnostics, and application scope rather than asserting a universal sparsity or calibration advantage.

Section 2 reviews related work. Section 3 presents the TSK model, the membership bug, and the Gibbs-based Bayesian estimators. Section 4 describes the controlled benchmarks and the real-building protocol. Section 5 reports the corrected baseline, the main comparisons, calibration, site behavior, and the sparsity boundary. Section 6 discusses implications and limitations, and Section 7 concludes.

References (32)