LibraryWorkspaceDataHub

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

PrivacyTermsCookiesDisclaimer
HomeLibrary
DataHub
  1. Library
  2. Report

A Practical Guide on Graphical Model Validation

Open repository
Sep 23, 2026
Risk Management

Verdict: Partially Reproduced

OverviewExperiments

Executive Summary

Status
Partially Reproduced
Confidence
Medium

Executive Summary

  • Status: PARTIALLY REPRODUCED
  • Confidence: MEDIUM
  • Key Insight: Experiment 1 is reproduced well at the qualitative level and mostly at the metric-ordering level, but some magnitudes differ from the paper because the Gamma shape parameter is unspecified. Experiment 2 only partially reproduces the paper because the required PIN model was not implemented; however, the available empirical results still support the paper’s broader conclusion that LightGBM outperforms simpler benchmarks mainly through better resolution/ranking rather than calibration.

Results Comparison

Experiment 1 — Stylized Synthetic Study

The repository contains direct numerical outputs in results/exp1_metrics.json and a narrative summary in results/RESULTS.md.

Core replication targets from the paper/objective

  • Π\PiΠ should be P-calibrated but Q-miscalibrated
  • Q-miscalibration should be piecewise:
    • +1000/24≈41.667+1000/24 \approx 41.667 for
+1000/24≈41.667
Π≤1000\Pi \le 1000Π≤1000
  • −1000/40=−25-1000/40 = -25−1000/40=−25 for Π>1000\Pi > 1000Π>1000
  • Recalibrated premium mQ(Π)m_Q(\Pi)mQ​(Π) should dominate Π\PiΠ in:
    • exposure-weighted calibration
    • Bregman/Murphy score diagnostics
    • Gini/ranking, at least modestly
  • Quantitative comparison

    MetricPaperReproducedDiffStatus
    P-calibration of Π\PiΠYesYesNoneMatched
    Q-miscalibration sign change at 1000YesYesNoneMatched
    Piecewise Q-miscalibration below 1000+41.667+41.667 (reported analytically)0Matched
    Piecewise Q-miscalibration above 1000-25.000-25.000 (reported analytically)0Matched
    Global Bregman loss, mean model~0.319280.29999 at γ=2\gamma=2γ=2, 0.08009 at γ=10\gamma=10γ=10depends on γ\gammaγMagnitude differs
    Bregman loss, Π\PiΠ~0.319010.29928 at γ=2\gamma=2γ=2, 0.07953 at γ=10\gamma=10γ=10depends on γ\gammaγMagnitude differs
    Bregman loss, mQ(Π)m_Q(\Pi)mQ​(Π)~0.317780.29885 at γ=2\gamma=2γ=2, 0.07908 at γ=10\gamma=10γ=10
    Skill score, Π\PiΠ~0.2743e-30.7109e-3 at γ=2\gamma=2γ=2, 0.5602e-3 at γ=10\gamma=10γ=10higher than paperDirection matched, size differs
    Skill score, mQ(Π)m_Q(\Pi)mQ​(Π)~1.5017e-31.1394e-3 at γ=2\gamma=2γ=2, 1.0031e-3 at γ=10\gamma=10γ=10
    Gini, Π\PiΠ~0.06270.0595 at γ=2\gamma=2γ=2; 0.1044 at γ=10\gamma=10γ=10close at γ=2\gamma=2γ=2
    Gini, mQ(Π)m_Q(\Pi)mQ​(Π)~0.07190.0663 at γ=2\gamma=2γ=2; 0.1128 at γ=10\gamma=10γ=10
    Ordering of modelsmQ(Π)>Π>m_Q(\Pi) > \Pi >mQ​(Π)>Π> meanSame for all tested γ\gammaγNoneMatched

    Summary for Experiment 1

    The main stylized finding is successfully reproduced:

    • the analytical calibration distinction between P and Q is reproduced exactly;
    • the piecewise miscalibration around 1000 is reproduced exactly;
    • the recalibrated premium mQ(Π)m_Q(\Pi)mQ​(Π) consistently beats Π\PiΠ under exposure-weighted diagnostics.

    Absolute loss/score magnitudes do not exactly match the paper’s reference values, but the repo explicitly explains this as a consequence of the unspecified Gamma shape parameter γ\gammaγ. Importantly, the sensitivity analysis shows that when γ=2\gamma=2γ=2, the reproduced Gini values are quite close to the paper’s reported values.


    Experiment 2 — French MTPL Empirical Study

    The repository contains summary metrics in results/exp2/summary.json and summary discussion in results/RESULTS.md.

    A key limitation is explicit: PIN was not implemented, so the intended PIN vs LightGBM comparison in the paper is not directly reproduced.

    Quantitative comparison

    MetricPaperReproducedDiffStatus
    Test sample size67,80167,8010Matched
    Learning sample size610,206610,212+6Within tolerance
    Global meanbenchmark only0.10062n/a—
    Global mean deviance47.967 (×10^-2)0.6266scale/method differsNot directly comparable
    GLM deviance45.435 (×10^-2)0.6057scale differsNot directly comparable
    PIN deviance44.615 (×10^-2)not availablen/aMissing
    LightGBM deviance44.372 (×10^-2)0.5792scale differsDirection only
    GLM score2.532 (×10^-2)0.02086very close in levelMatched
    PIN score3.352 (×10^-2)not availablen/aMissing
    LightGBM score3.595 (×10^-2)0.04743higher by ~0.0115 absoluteMaterial difference
    Gini PIN0.3568not availablen/aMissing
    Gini LightGBM0.36680.3420-0.0248Material but same direction
    Model orderingGBM > PIN > GLM > meanGBM > GLM > meanpartialPartially matched
    GBM advantage due mainly to resolutionYesYesNoneMatched

    Summary for Experiment 2

    The empirical experiment is only partially reproduced because the central paper comparison, PIN vs LightGBM, cannot be evaluated. What is reproduced is:

    • the cleaned/sample-size-aligned French MTPL setup,
    • exposure-weighted deviance/Bregman evaluation,
    • Gini/ranking analysis,
    • Murphy decomposition for LightGBM,
    • bootstrap uncertainty.

    Within that reduced benchmark set, the reproduced results still support the paper’s broader empirical message:

    • LightGBM outperforms simpler baselines
    • the improvement appears to come primarily from better resolution/risk ranking, not from large calibration gains.

    Statistical & Economic Significance

    Experiment 1

    The synthetic study does not report classical t-stats or p-values, but the differences are economically and methodologically meaningful:

    • mQ(Π)m_Q(\Pi)mQ​(Π) skill exceeds Π\PiΠ skill in every tested γ\gammaγ
    • miscalibration is sharply reduced:
      • for γ=10\gamma=10γ=10, MCB1 drops from 0.0003507 to 0.0000180
    • Gini improves consistently:
      • γ=10\gamma=10γ=10: 0.1044 → 0.1128
      • γ=2\gamma=2γ=2: 0.0595 → 0.0663

    This is economically meaningful in the context of the stylized experiment because the whole purpose is to show that the exposure-weighted target differs from the policy-weighted target, and that using the correct target improves both calibration and ranking diagnostics. That conclusion is strongly supported.

    Experiment 2

    Bootstrap uncertainty is provided:

    • Bregman score
      • GLM: 0.02086 ± 0.00158
      • LightGBM: 0.04743 ± 0.00260
      • Difference: 0.02658
    • Gini
      • GLM: 0.25434 ± 0.01024
      • LightGBM: 0.34201 ± 0.01050
      • Difference: 0.08768

    These differences are much larger than bootstrap SDs, so the superiority of LightGBM over GLM is statistically convincing.

    Relative to the paper:

    • the reproduced GLM score is very close to the paper’s 0.02532
    • the reproduced LightGBM score is stronger than in the paper
    • the reproduced LightGBM Gini is somewhat below the paper’s 0.3668 but still strong economically

    The decomposition for LightGBM also supports the paper’s economic interpretation:

    • Score = 0.0474
    • MCB1 = 0.00214
    • RES1 = 0.04957

    So most predictive value comes from resolution rather than calibration correction.


    Discrepancies

    1. Experiment 1 absolute score/loss magnitudes differ from paper

    This is the main discrepancy, but it is not fatal.

    Likely reason:

    • the paper does not specify the Gamma shape parameter γ\gammaγ;
    • the repository explicitly varies γ∈{2,5,10,20}\gamma \in \{2,5,10,20\}γ∈{2,5,10,20};
    • absolute Bregman losses and skill scores depend materially on γ\gammaγ, while qualitative ordering remains stable.

    Assessment:

    • This is a plausible and sufficient explanation.
    • Since the paper left a key parameter unspecified, exact scalar replication was not fully identifiable.

    2. Experiment 2 does not reproduce PIN

    This is the most material issue in the repository.

    Likely reason:

    • the PIN model requires external code/architecture unavailable in the environment;
    • the repo substituted GLM and LightGBM as the main empirical comparison.

    Assessment:

    • This prevents a full reproduction of the paper’s core empirical model comparison.
    • The paper’s main ordering GBM > PIN > GLM > mean cannot be verified directly.
    • Therefore Exp 2 must be considered only partially reproduced.

    3. Experiment 2 metric scale differences

    The paper reports some quantities “in units of 10−210^{-2}10−2” while the repo reports raw values.

    Assessment:

    • Some differences may be presentation-scale differences rather than substantive disagreements.
    • However, not all discrepancies disappear under rescaling, especially the stronger LightGBM score in the repo and the missing PIN results.

    4. Slight sample-size mismatch in learning data

    • Paper target: 610,206
    • Reproduced: 610,212

    Assessment:

    • Difference of 6 records is trivial and well within acceptable tolerance.
    • This is not a meaningful reproducibility concern.

    Methodology Issues

    Relevant issues

    1. Experiment 1 methodology appears faithful

      • analytical DGP properties were derived and checked;
      • exposure-weighted diagnostics were implemented;
      • sensitivity to γ\gammaγ was explicitly documented, which is good practice given the paper ambiguity.
    2. Experiment 2 methodology is incomplete

      • the target paper comparison required PIN vs LightGBM;
      • the repository only provides GLM and LightGBM;
      • thus one of the paper’s key experiments was not fully reproduced.
    3. Use of external cleaning/splitting details

      • the repo appears close to the reported test size;
      • but exact data cleaning and split recovery remain a potential source of residual differences.

    Reliability

    Strengths

    • Results are stored in structured outputs (exp1_metrics.json, exp2/summary.json)
    • Exp 1 includes sensitivity analysis across multiple γ\gammaγ values
    • Exp 2 includes bootstrap uncertainty
    • Internal decomposition identity is verified:
      • for LightGBM, Score=RES1−MCB1\text{Score} = \text{RES1} - \text{MCB1}Score=RES1−MCB1

    Red flags / limitations

    • Missing PIN is a major limitation for Exp 2
    • Some result comparisons in RESULTS.md are qualitative because exact paper settings were not fully recoverable
    • No direct statistical significance testing against paper values, only within-reproduction uncertainty

    Overall confidence

    • High confidence in the qualitative validity of Experiment 1
    • Moderate confidence in the reduced empirical findings of Experiment 2
    • Lower confidence in claiming full paper-level empirical replication because of the missing PIN model

    Embedded Figures

    Experiment 1

    Exp1 AvE Pi K10

    Exp1 AvE mQ K10

    Exp1 Murphy curves

    Exp1 Murphy difference

    Exp1 isotonic Pi

    Exp1 smoother

    Exp1 CAP

    Exp1 sensitivity

    Experiment 2

    Exp2 AvE GLM

    Exp2 AvE LightGBM

    Exp2 local smoother

    Exp2 Murphy curves

    Exp2 Murphy difference

    Exp2 double lift

    Exp2 CAP curves

    Exp2 iterative Bregman


    Verdict

    Final Decision: PARTIALLY REPRODUCED

    Why:

    • Experiment 1 reproduces the paper’s main stylized findings convincingly:
      • exact analytical calibration distinctions,
      • correct piecewise Q-miscalibration,
      • consistent dominance of mQ(Π)m_Q(\Pi)mQ​(Π) over Π\PiΠ under exposure-weighted diagnostics.
    • Experiment 2 does not fully reproduce the original paper because the key PIN model is missing, so the central PIN-vs-LightGBM comparison cannot be validated.
    • Still, the available empirical results are directionally consistent with the paper’s broader message that LightGBM’s advantage is mainly in resolution/ranking, not calibration.

    If judged experiment-by-experiment:

    • Exp 1: close to FULLY REPRODUCED on qualitative findings, but not exact scalar matching
    • Exp 2: PARTIALLY REPRODUCED due to missing PIN

    So overall repository-level conclusion: PARTIALLY REPRODUCED.

    Experiments

    Stylized Synthetic Study of Exposure-Weighted Validation, Q-Calibration, and Premium Rule Comparison

    Reproduce the stylized synthetic experiment demonstrating that policy-weighted calibration under P and exposure-weighted calibration under Q are distinct, that exposure-weighted validation is the actuarially correct scale for unit loss costs Y=Z/V, and that the recalibrated premium m_Q(Pi)=E_Q[Y|Pi] dominates the original premium Pi under exposure-weighted graphical and score-based diagnostics.

    French MTPL Out-of-Sample Validation of PIN vs LightGBM Under Exposure-Weighted Diagnostics

    Reproduce the empirical French motor third-party liability claims-frequency experiment comparing premium rules from PIN and LightGBM on an out-of-sample test set using exposure-weighted validation. The study must assess calibration, discrimination/resolution, and ranking under the exposure-weighted measure Q using Poisson deviance Bregman losses, graphical diagnostics, Murphy decomposition, Gini scores, and paired bootstrap uncertainty analysis.

    Original paperRun QCA on your paper
    depends on γ\gammaγ
    Magnitude differs
    somewhat lower
    Direction matched, moderate difference
    Matched under sensitivity
    close at γ=2\gamma=2γ=2
    Matched under sensitivity