LibraryWorkspaceDataHub

© 2026 QCA · by Lime Fintech · About QCA · Market data from Massive

PrivacyTermsCookiesDisclaimer
HomeLibrary
DataHub
  1. Library
  2. Report

Recovering Posterior Beliefs in Credit Risk: A Latent-State EM Extension of the Information-Geometric Framework

Open repository
Sep 1, 2026
Risk Management

Verdict: Partially Reproduced

OverviewExperiments

Executive Summary

Status
Partially Reproduced
Confidence
High

Executive Summary

  • Status: PARTIALLY REPRODUCED
  • Confidence: HIGH
  • Key Insight: The repository clearly reproduces the paper’s qualitative conclusions for both experiments, and the implementation appears stable and methodologically faithful. However, the headline quantitative recovery errors are materially worse than the paper’s targets, especially for posterior and PD recovery in Experiment 1, so this is not a full numerical reproduction.

Results Comparison

Experiment 1 — Baseline synthetic recovery study for joint latent-state EM

MetricPaperReproducedDiffStatus
MAE_pi4.591e-31.7264e-2+1.2673e-2Materially worse
MSE_mu1.170e-36.0545e-3+4.8845e-3Materially worse
MSE_Sigma2.157e-33.8522e-3+1.6952e-3Worse, but closest metric
MAE_p3.263e-3
1.0835e-2
+7.5720e-3
Materially worse
MSE_p1.902e-52.2099e-4+2.0197e-4Materially worse
MSE_gamma8.163e-45.4083e-3+4.5920e-3Materially worse
KL_avg1.736e-31.0621e-2+8.8850e-3Materially worse
JS_avg4.367e-42.7872e-3+2.3505e-3Materially worse
MSE_PD1.419e-51.2766e-4+1.1347e-4Materially worse
MAE_PD2.691e-37.7527e-3+5.0617e-3Materially worse

Component-level parameter comparison

Profileπ_trueπ̂p_truep̂Main observation
10.4000.36550.0100.0076Weight and PD understated
20.2000.22490.0500.0393Weight overstated, PD understated
30.2500.25230.1000.0725Weight accurate, PD materially understated
40.1500.15730.2500.2473Best recovered PD

Estimated means are directionally correct and close enough to preserve the latent structure:

  • Profile 1: (1.8,0.3)(1.8, 0.3)(1.8,0.3) vs (1.833,0.276)(1.833, 0.276)(1.833,0.276)
  • Profile 2: (1.8,1.8)(1.8, 1.8)(1.8,1.8) vs (1.766,1.701)(1.766, 1.701)(1.766,1.701)
  • Profile 3: (−0.8,0.3)(-0.8, 0.3)(−0.8,0.3) vs (−0.775,0.268)(-0.775, 0.268)(−0.775,0.268)
  • Profile 4: (−0.8,1.8)(-0.8, 1.8)(−0.8,1.8) vs (−0.751,1.714)(-0.751, 1.714)(−0.751,1.714)

Experiment 2 — Product-of-marginals approximation

MetricPaperReproducedDiffStatus
Avg KL joint vs PM2.474e-34.2846e-3+1.8106e-3Somewhat worse but same order
MAE_PD^PM2.193e-45.4335e-4+3.2405e-4Worse but still economically tiny

Summary

The repository does not match the paper numerically within reasonable tolerance for the main recovery metrics in Experiment 1. Most reproduced errors are about 2x to 6x larger than the paper targets, with several around 3x–4x larger. Still, the recovered model preserves the paper’s main pattern:

  • latent clusters are identified,
  • parameters are broadly recovered,
  • posterior errors remain small in absolute terms,
  • borrower-level PD recovery remains good in practical magnitude,
  • product-of-marginals approximation loses some information but only slightly distorts PDs.

So the study is qualitatively reproduced but not tightly quantitatively matched.


Statistical & Economic Significance

This repository does not report conventional inferential statistics such as:

  • t-stats,
  • p-values,
  • confidence intervals,
  • repeated Monte Carlo sampling distributions.

So strict statistical significance analysis is not available from the saved results. This is not unusual for a single-run synthetic recovery experiment, but it limits formal hypothesis-style validation.

Economically/practically:

Experiment 1

Even though the metrics are worse than the paper:

  • MAE_PD = 7.75e-3 is still below 1 percentage point on borrower-level PDs.
  • MSE_PD = 1.28e-4 implies small average squared PD errors.
  • The estimated profile PDs maintain the correct ranking: p^1<p^2<p^3<p^4\hat p_1 < \hat p_2 < \hat p_3 < \hat p_4p^​1​<p^​2​<p^​3​<p^​4​ which is economically important.

However, the underestimation of p2p_2p2​ and especially p3p_3p3​ is nontrivial:

  • 0.05→0.03930.05 \to 0.03930.05→0.0393
  • 0.10→0.07250.10 \to 0.07250.10→0.0725

That means the model understates risk for some mid-risk segments in this sample, which is materially relevant in credit risk applications.

Experiment 2

The factorization approximation results are economically mild:

  • Average PD distortion = 5.43e-4
  • Median PD distortion is only 6.18e-6
  • Even though average KL is above target, the practical effect on PD estimates remains very small.

So for Experiment 2, the paper’s economic message is reproduced well: posterior dependence exists, but ignoring it has little practical impact on PD in the baseline setting.


Discrepancies

1. Experiment 1 metrics are materially worse than the paper

This is the main discrepancy. The repository itself attributes it to a finite-sample draw with fewer defaults than expected.

Evidence:

  • Expected default rate under the DGP is approximately 7.65%
  • Observed default rate in the run is 6.88%
  • With N=5000N=5000N=5000, that is about 38–40 fewer defaults than expected

This explanation is plausible because:

  • the Bernoulli-default signal is the key source for recovering pkp_kpk​,
  • weaker default realization directly depresses estimated component PDs,
  • underestimated pkp_kpk​ then feeds into PD and posterior recovery errors.

The pattern in the estimates strongly supports this:

  • all estimated pkp_kpk​ are below truth except profile 4, which is nearly exact,
  • the shortfall is strongest in intermediate-risk groups.

2. Posterior recovery is worse than paper targets

Metrics like:

  • MSE_gamma,
  • KL_avg,
  • JS_avg

are all materially above the paper. This is likely downstream from imperfect parameter recovery, especially:

  • weight distortion in π\piπ,
  • mean shifts in μ\muμ,
  • PD underestimation.

Still, the posterior errors remain small in absolute magnitude, so this is a quantitative gap, not a qualitative failure.

3. Product-of-marginals metrics are above target but preserve the paper’s conclusion

Experiment 2’s achieved KL and PD distortion are roughly:

  • KL: ~1.7x target
  • PD distortion: ~2.5x target

But both remain small enough that the key conclusion survives. This discrepancy is likely inherited from Experiment 1 because Experiment 2 uses estimated posteriors and estimated pkp_kpk​ as inputs.


Methodology Issues

No major methodology red flags were found from the reported outputs.

Evidence that methodology was likely followed correctly:

  • 20/20 EM restarts converged
  • all runs admissible
  • best-run likelihood spread across restarts is tiny: < 0.0007
  • reported best log-likelihood: -15820.625063
  • repository claims starting from true parameters reaches the same likelihood
  • label alignment was explicitly performed
  • predictive posteriors for evaluation were computed from scores only, preserving the crucial distinction between:
    • EM responsibilities τik=P(Zi=k∣Xi,Di)\tau_{ik} = P(Z_i=k \mid X_i, D_i)τik​=P(Zi​=k∣Xi​,Di​)
    • predictive posteriors γikX=P(Zi=k∣Xi)\gamma^X_{ik} = P(Z_i=k \mid X_i)γikX​=P(Zi​=k

That distinction is one of the most important requirements in the user-provided experiment design, and the results documentation explicitly states it was respected.

So this looks like a correct implementation with different realized sample difficulty, not a methodology failure.


Reliability

Reliability appears strong.

Positive signals:

  • All 20/20 EM runs converged
  • All were admissible with ESS well above 10; minimum ESS around 785
  • Log-likelihood values are nearly identical across restarts
  • The repository reports 176 tests passing
  • Structural recovery is consistent with the true latent geometry

No major anomalies:

  • No evidence of label switching after alignment
  • No evidence of degenerate components
  • No evidence of unstable optimization
  • No evidence that the PM analysis was computed on misordered classes

Minor caution:

  • The study is based on one synthetic sample only, exactly as specified
  • Therefore results are inherently sensitive to this single draw
  • Without a Monte Carlo distribution, it is hard to judge whether the paper’s target numbers are typical or unusually favorable

Overall confidence in the repository’s reported results is high, but confidence in strict numerical equivalence to the paper is only moderate-to-low.


Embedded Result Figures

Experiment 1 overview

Experiment 1 posterior recovery

Experiment 1 EM convergence

Experiment 2 product-of-marginals analysis


Reliability by Experiment

Experiment 1

  • Stable optimization: yes
  • Parameter recovery: yes, but weaker than paper
  • Posterior/PD recovery: yes, but errors materially above paper targets
  • Main finding reproduced: yes

Experiment 2

  • Dependence detected: yes
  • KL positive: yes
  • PD distortion small: yes
  • Main finding reproduced: yes

Verdict

Final Decision: PARTIALLY REPRODUCED

Why: The repository reproduces the paper’s core qualitative findings and appears to implement the methodology correctly and robustly. However, the quantitative recovery metrics for Experiment 1 are materially worse than the paper’s reported targets, well outside the stated tolerances, so the reproduction is not full. Experiment 2 is closer and clearly supports the original conclusion, but because it depends on Experiment 1’s recovered posteriors, the overall outcome remains partial rather than full reproduction.

Experiments

Baseline synthetic recovery study for joint latent-state EM in credit risk

Reproduce the paper’s core controlled simulation experiment in which borrower-level latent credit profiles are generated from a 4-component Gaussian mixture with profile-specific Bernoulli default probabilities, then recovered via a joint EM algorithm fitted to observed score/default pairs (X_i, D_i). The experiment must validate parameter recovery, posterior belief recovery, and borrower-level probability-of-default recovery under the exact baseline data-generating process. A critical requirement is to preserve the distinction between EM responsibilities conditioned on both scores and default, tau_ik = P(Z_i=k | X_i, D_i), and predictive posteriors conditioned on scores only, gamma_ik^X = P(Z_i=k | X_i).

Product-of-marginals approximation analysis for borrower-level latent posterior beliefs

Analyze the information loss incurred when the borrower-level joint posterior distribution over latent creditworthiness and fragility states is approximated by the product of its marginal posteriors. This experiment is conceptually separable from the main recovery study once an estimated joint posterior over the 4 ordered latent profiles has been obtained, and it evaluates whether posterior dependence matters materially for borrower-level PD construction. The experiment treats posterior vectors as distributions over the ordered latent state grid (Z_R, Z_F) in {(0,0),(0,1),(1,0),(1,1)} and measures the discrepancy between the joint posterior and its factorized approximation using KL divergence, along with the induced distortion in borrower-level PDs.

Original paperRun QCA on your paper
∣
Xi​)