LibraryWorkspaceDataHub

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

PrivacyTermsCookiesDisclaimer
HomeLibrary
DataHub
  1. Library
  2. Report

Attributing Differences Between Forecast Runs to Input Changes, With Applications to CCAR and CECL Exercises

Open repository
Aug 6, 2026
Risk Management

Verdict: Partially Reproduced

OverviewExperiments

Executive Summary

Status
Partially Reproduced
Confidence
Medium

Executive Summary

  • Status: PARTIALLY REPRODUCED
  • Confidence: MEDIUM
  • Key Insight: The repository strongly reproduces the paper’s core theoretical/methodological claims for all eight selected experiments on a synthetic nonlinear forecast engine: exact reconciliation holds where it should, order dependence/order independence behavior matches expectations, and approximation methods converge appropriately. However, this is not a literal empirical reproduction of a real CCAR/CECL archived-run study from the paper, because the repository uses a synthetic benchmark and does not report paper-side empirical metrics such as returns, Sharpe, alpha, or drawdown.

Results Comparison

Overall context

The repository’s results/RESULTS.md states all experiments were run on a synthetic nonlinear quadratic-interaction credit forecast engine with five player blocks:

  • launch_point
  • macro
  • model_suite
  • biz_assumptions
  • overlays

Endpoint forecasts:

  • F(x⁰) = 2.095306
  • F(x¹) = 1.957222
  • Δ = F(x¹) − F(x⁰) = -0.138084

This means the correct comparison is not against market/trading performance metrics, but against the expected attribution identities and behavioral properties described in the experiment designs.

Summary table

ExperimentPaper / Expected OutcomeReproduced ResultDiffStatus
Exp 1: Sequential walkExact telescoping to Δ; order dependence in nonlinear system120/120 permutations reconcile exactly; max reconciliation error 0; nonzero attribution ranges for all playersNone materiallyMatch
Exp 2: Exact ShapleyEfficiency, order independence, coalition = permutation averageEfficiency error 0 / 5.55e-17; max coalition-vs-permutation diff 5.55e-17Numerical noise onlyMatch
Exp 3: Hierarchical/OwenExact player/group reconciliation; generally differs from unrestricted ShapleyReconciliation exact; but Owen = exact Shapley under chosen grouping (max diff ~ 1e-16)Expected “difference” not seen in main exp3 setupPartial match
Exp 4: Integrated GradientsCompleteness on valid continuous inputs; residual shrinks with more steps; invalid for discrete casesResidual at machine precision for all step counts (~3e-16); exact completeness effectively immediateBetter than “approximate” expectation due to simple quadratic engineMatch
Exp 5: Gradient SHAPDegenerate baseline explains Δ; broader baseline explains F(x¹)-E[F(b)]; Monte Carlo error decreases with drawsDegenerate residual falls from 0.001355 at 10 draws to 0.000301 at 500 draws; broader baseline materially changes attributionsNone materiallyMatch
Exp 6: Permutation SHAPSample-average reconciliation exact; convergence to exact Shapley; MC standard errors declineReconciliation exact up to 1e-16; B=500 values essentially exact; std. errors smallNone materiallyMatch
Exp 7: Kernel SHAPFull coalition set recovers exact Shapley; sampled coalitions may be unstable; efficiency constraint should holdFull coalitions match exact Shapley to 4.16e-17; sampled versions mostly stable, but CSV shows one pathological 10-coalition seedMinor red flag in low-budget samplingPartial match
Exp 8: Cross-method benchmarkUnified admissibility/scaling/consistency mapAdmissibility table and summary metrics provided; core method behaviors alignNo direct paper-wide panel replicationMatch in framework sense

Summary

The main findings are reproduced well at the methodological identity level:

  • sequential walk is exact but order dependent
  • exact Shapley is exact and order independent
  • Owen value is hierarchy-reconciling
  • IG works on continuous differentiable subsets
  • Gradient SHAP depends critically on baseline semantics
  • Permutation SHAP and Kernel SHAP approximate/recover exact Shapley under appropriate budgets and designs

The only notable gaps are:

  1. the experiments are performed on a synthetic engine, not archived production forecast runs;
  2. Exp 3’s “generally differs from unrestricted Shapley” claim is not demonstrated in the main reported grouping;
  3. Exp 7 shows at least one sampling-instability edge case in the low-coalition regime.

Statistical & Economic Significance

Statistical significance

Traditional statistical inference metrics from asset pricing papers—t-stats, p-values, Sharpe ratios—are not applicable here, because this repository is not evaluating return series but verifying attribution identities on a deterministic/synthetic forecast engine.

Instead, the relevant “significance” criteria are:

  • reconciliation errors
  • equivalence errors
  • Monte Carlo residuals
  • standard errors
  • stability across permutations / samples / baselines

By that standard, the evidence is strong:

  • Exp 1: max reconciliation error 0.00e+00
  • Exp 2: coalition/permutation difference 5.55e-17
  • Exp 3: group reconciliation error 0
  • Exp 4: completeness residual 3e-16 range
  • Exp 6: sample-average efficiency error 1e-16 scale
  • Exp 7: efficiency error 0, full-coalition exact match 4.16e-17

These are effectively machine-precision validations.

Economic significance

Economic interpretation is also method-specific rather than investment-performance-based.

The economically meaningful result is that attribution concentrates heavily in:

  • model_suite: about -0.1588
  • offset by macro: about +0.0189
  • and biz_assumptions: about +0.0246

This suggests the forecast gap is primarily driven by model-suite changes, with macro and management/business inputs partially offsetting. In a CCAR/CECL governance setting, that is a practically meaningful attribution pattern.

For the continuous-feature experiments:

  • lgd_severity (-0.1295) dominates IG attribution
  • ead_utilization (-0.0273) and collateral_ratio (-0.0335) are also large
  • repayment_rate contributes a positive offset (+0.0263)

So the synthetic system is economically interpretable in the sense intended by the paper.


Experiment-by-Experiment Analysis

Experiment 1 — Conventional Sequential Walk

Observed results

From results/RESULTS.md and results/exp1_order_sensitivity.csv:

  • permutations evaluated: 120
  • unique forecast evaluations: 32
  • max reconciliation error: 0
  • player contribution ranges across orderings:
PlayerMeanStdMinMaxRange
launch_point-0.0264230.001814-0.028922-0.0239250.004998
macro0.0188790.0008480.0178760.0198820.002005
model_suite-0.1587720.002217-0.161521-0.1560240.005497
biz_assumptions0.0245720.0005030.0240060.0251390.001132
overlays0.0036600.0000790.0034890.0038310.000342

Interpretation

This is a clean reproduction of the expected result:

  • exact telescoping holds for every order
  • order dependence is clearly present because all players have nonzero ranges

The order sensitivity is not trivial noise: for model_suite, the range is about 0.0055, which is meaningful relative to total gap 0.1381 (~4% of total gap magnitude).

Assessment

  • Methodology followed correctly: Yes
  • Main finding reproduced: Yes

Experiment 1 order sensitivity


Experiment 2 — Exact Shapley Value

Observed results

From results/exp2_shapley_values.csv:

PlayerCoalition formPermutation avgDifference
launch_point-0.026423464183616872-0.026423464183616852.08e-17
macro0.0188790452300930740.0188790452300930740
model_suite-0.1587723515244467-0.158772351524446635.55e-17
biz_assumptions0.0245724904303964780.024572490430396483.47e-18
overlays0.0036598430795212710.00365984307952127054.34e-19

And from RESULTS.md:

  • coalition evaluations used: 32
  • coalition-form efficiency error: 0
  • permutation-average efficiency error: 5.55e-17

Interpretation

This is essentially exact reproduction of Shapley theory:

  • efficiency holds
  • order independence holds
  • coalition and permutation definitions are numerically identical

Notably, the exact Shapley values equal the means of Exp 1’s sequential contributions across all permutations, as they should.

Assessment

  • Methodology followed correctly: Yes
  • Main finding reproduced: Yes

Experiment 2 coalition vs permutation


Experiment 3 — Hierarchical / Nested Shapley (Owen Value)

Observed results

Grouping:

  • credit_inputs: launch_point, macro, model_suite
  • management_inputs: biz_assumptions, overlays

From results/exp3_group_reconciliation.csv:

  • credit_inputs: child sum = -0.1663167704779704, group attribution = same
  • management_inputs: child sum = 0.028232333509917718, group attribution = same

From results/exp3_owen_values.csv, Owen and exact Shapley differ only by numerical noise:

  • max absolute difference ≈ 1.39e-16

Interpretation

The reconciliation property is fully reproduced:

  • child-to-group exact
  • group-to-total exact

However, the experiment’s expected outcomes also state that hierarchical attribution should generally differ from unrestricted exact Shapley. In the main Exp 3 results, it does not differ. The repository explains this as due to the chosen grouping aligning with additivity across groups.

So:

  • the mathematical Owen implementation appears correct
  • but the illustrative difference-vs-Shapley claim is not shown in the headline Exp 3 output itself

That is a mild discrepancy, not a failure.

Assessment

  • Methodology followed correctly: Yes
  • Main finding reproduced: Partially
  • Reason: Exact reconciliation demonstrated; “different allocation rule” not exhibited in the primary grouping

Experiment 3 Owen vs Shapley


Experiment 4 — Integrated Gradients

Observed results

Continuous feature set: 14 features including balance_avg, collateral_ratio, lgd_severity, repayment_rate, etc.

From results/exp4_ig_convergence.csv:

  • completeness residuals stay around 3e-16 to 4e-16 for steps 5 to 500

From results/exp4_ig_attributions.csv, largest contributors:

  • lgd_severity: -0.129475
  • collateral_ratio: -0.033494
  • ead_utilization: -0.027275
  • repayment_rate: +0.026327
  • balance_avg: +0.022943

Interpretation

This is stronger than the generic expected outcome:

  • not just approximate completeness
  • effectively exact completeness at machine precision even with very low integration steps

That is plausible because the underlying synthetic engine is a quadratic system integrated along a straight-line path, a very favorable setting for IG.

Assessment

  • Methodology followed correctly: Yes
  • Main finding reproduced: Yes
  • Caveat: This may overstate practical robustness relative to messy real-world systems

Experiment 4 IG convergence


Experiment 5 — Gradient SHAP / Expected Gradients

Observed results

From results/exp5_gradshap_baseline_comparison.csv, attribution values vary by baseline. Example:

  • lgd_severity: -0.1295 degenerate, -0.1322 gaussian, -0.1384 uniform
  • ead_utilization: -0.0273 degenerate, -0.0177 gaussian, -0.0268 uniform
  • balance_avg: 0.0229 degenerate, 0.0231 gaussian, 0.0322 uniform

From results/exp5_gradshap_convergence.csv, degenerate-baseline residuals:

  • 10 draws: mean residual about 0.001355
  • 25 draws: 0.000671
  • 50 draws: 0.000483
  • 100 draws: 0.000457
  • 250 draws: 0.000368
  • 500 draws: 0.000301

RESULTS.md also notes:

  • degenerate at x⁰ residual: 7.68e-05
  • gaussian baseline residual: 6.58e-03

Interpretation

This matches the theory well:

  • with a degenerate baseline, Gradient SHAP approximates the two-run gap Δ
  • with a broader baseline, it explains a different target quantity
  • changing the baseline materially changes attribution semantics and values

Residual decay with more draws is visible but not fast, which is exactly the sort of Monte Carlo limitation the paper expects.

Assessment

  • Methodology followed correctly: Yes
  • Main finding reproduced: Yes

Experiment 5 Gradient SHAP convergence


Experiment 6 — Permutation SHAP

Observed results

From results/exp6_perm_shap.csv at B=500:

  • launch_point: -0.02642346418361685
  • macro: 0.018879045230093032
  • model_suite: -0.15877235152444708
  • biz_assumptions: 0.02457249043039637
  • overlays: 0.003659843079521278

These are essentially identical to exact Shapley.

Standard errors at B=500:

  • launch_point: 8.08e-05
  • macro: 3.77e-05
  • model_suite: 9.83e-05
  • biz_assumptions: 2.25e-05
  • overlays: 3.66e-06

From convergence CSV:

  • reconciliation error always near 0
  • some seeds match exact Shapley even at low B because the interaction structure is simple/symmetric

Interpretation

This is a convincing reproduction:

  • exact sample-average reconciliation holds
  • Monte Carlo uncertainty is reported
  • estimates converge rapidly to exact Shapley

The standard errors are economically small relative to contribution magnitudes.

Assessment

  • Methodology followed correctly: Yes
  • Main finding reproduced: Yes

Experiment 6 Permutation SHAP convergence


Experiment 7 — Kernel SHAP

Observed results

From results/exp7_kernel_shap.csv:

  • full coalition Kernel SHAP matches exact Shapley to machine precision
  • 100-coalition sampled result also matches essentially exactly

From results/exp7_kernel_stability.csv:

  • reconciliation error remains 0
  • R² mostly around 0.9992 to 0.9998
  • however, there is one notable pathological case at n_coalitions=10, seed=4:
    • model_suite = 0.0
    • overlays = -0.15511250844492533

This is obviously unstable, even though total reconciliation still holds.

Interpretation

This actually supports the paper’s warning well:

  • with full coalitions, Kernel SHAP is exact
  • with sparse/poor coalition sampling, the constrained regression can become unstable and redistribute attribution incorrectly while preserving efficiency

So the core claim is reproduced, but the method shows a real red flag in low-budget settings.

Assessment

  • Methodology followed correctly: Yes
  • Main finding reproduced: Yes, with instability warning strongly evidenced

Experiment 7 Kernel SHAP stability


Experiment 8 — Cross-Method Benchmarking and Admissibility Mapping

Observed results

From results/exp8_admissibility.csv:

MethodBlack-boxGroupedContinuous differentiableInvalid hybrids okExact reconciliationOrder independent
sequential_walkTrueTrueTrueFalseTrueFalse
exact_shapleyTrueTrueTrueFalseTrueTrue
hierarchical_shapleyTrueTrueTrueFalseTrueTrue
permutation_shapTrueTrueTrueFalseTrueTrue
kernel_shapTrueTrueTrueFalseTrueTrue
integrated_gradientsFalseFalseTrueFalseTrueFalse
gradient_shapFalseFalseTrueFalseTrueTrue

From results/exp8_summary.csv:

MethodReconciliation errorRuntime (s)Evaluations
sequential_walk00.00020264
exact_shapley00.00034532
hierarchical_shapley5.55e-170.00071123
integrated_gradients3.05e-160.0011572
gradient_shap2.37e-040.0034603
permutation_shap1.11e-160.0034421002
kernel_shap00.02354333

Interpretation

This experiment succeeds as a framework-level benchmark:

  • black-box methods behave as expected
  • gradient methods are restricted to continuous differentiable subsets
  • exact methods reconcile exactly
  • approximate methods show computational/statistical tradeoffs

The runtime numbers are tiny because the engine is synthetic, so scaling evidence is qualitative rather than production-realistic.

Assessment

  • Methodology followed correctly: Yes
  • Main finding reproduced: Yes, in a benchmark/framework sense

Experiment 8 method comparison


Statistical & Economic Significance

The repository does not report paper-style inferential statistics such as t-stats or p-values, and none are naturally required for these deterministic attribution identities. The relevant significance checks are numerical and practical:

  • Exact identities hold at machine precision for Exp 1, 2, 3, 4, 6, and 7 full-coalition cases.
  • Monte Carlo methods show expected stochastic convergence:
    • Gradient SHAP residuals decay but remain nonzero
    • Permutation SHAP standard errors are small and shrink with budget
  • Economic relevance is clear because the dominant attribution source is consistently model_suite, with meaningful secondary contributions from macro and assumptions, and at the feature level lgd_severity dominates.

So while there is no classic hypothesis testing, the results are numerically strong and economically interpretable.


Discrepancies

  • Synthetic rather than archived real-run data

    • The experiments validate theory on a synthetic nonlinear engine, not on actual CCAR/CECL archived runs. This is the main reason I do not classify the study as fully reproduced in the empirical sense.
  • Exp 3 does not show a Shapley-vs-Owen difference in the primary setup

    • The expected outcome said hierarchical attribution would generally differ from unrestricted Shapley, but the chosen grouping yields coincidence. The repository notes this is due to additivity across the defined groups.
  • Kernel SHAP instability at very low coalition budgets

    • One sampled low-budget run shows severe attribution distortion despite exact efficiency. This is not a contradiction; it is actually evidence supporting the paper’s stability caution.
  • IG performance is unrealistically clean

    • Completeness is exact even at very low step counts because the benchmark is favorable. In real systems, discretization/path issues would likely be more prominent.

Methodology Issues

Only minor issues are relevant:

  1. No direct paper dataset / archived-run panel

    • The paper description implies archived forecast runs; the repository substitutes a synthetic test environment.
  2. Cross-method runtime/scaling evidence is not production-scale

    • Because the engine is lightweight, computational scaling conclusions are directionally correct but not stress-tested in realistic operational conditions.
  3. Exp 3 alternative hierarchy evidence is only described, not fully surfaced in the files reviewed

    • The repository claims exp_8 demonstrates differing structures, but the main exp_3 output alone does not.

None of these invalidate the implementation logic; they mainly limit external realism.


Reliability

Strengths

  • Very consistent machine-precision reconciliation across exact methods
  • Strong internal coherence across experiments
  • Monte Carlo diagnostics included where appropriate
  • All 161 tests pass per RESULTS.md

Red flags

  • Synthetic environment may understate operational hybrid invalidity problems
  • Kernel SHAP sampled instability appears under small coalition budgets
  • Gradient SHAP retains visible Monte Carlo residuals even at 500 draws

Overall confidence

  • High confidence in correctness of the implementations and theoretical validations
  • Medium confidence in claims about how these methods would behave in a real production credit forecasting stack

Verdict

Final Decision: PARTIALLY REPRODUCED

Why: The repository convincingly reproduces the paper’s central methodological claims for the selected experiments: exact telescoping, Shapley efficiency/order independence, hierarchy reconciliation, gradient-method admissibility limits, and convergence behavior of Monte Carlo/Kernel approximations. But it does so on a synthetic nonlinear benchmark rather than real archived forecast runs, and one expected qualitative pattern (Owen differing from unrestricted Shapley) is not demonstrated in the primary Exp 3 setup.

Experiments

Conventional Sequential Walk Validation for Forecast-Gap Attribution

Validate that the conventional sequential walk exactly decomposes the forecast gap between two archived CCAR/CECL-style forecast runs, while demonstrating that the attribution is order dependent in nonlinear forecasting systems.

Exact Shapley Value Validation for Order-Independent Forecast-Gap Attribution

Validate that exact Shapley attribution provides an order-independent and fully efficient allocation of the forecast gap across changed inputs in a two-run CCAR/CECL-style forecasting system, while documenting its exponential computational cost and hybrid feasibility requirements.

Hierarchical or Nested Shapley (Owen Value) Validation with Group Reconciliation

Validate hierarchy-respecting forecast-gap attribution using a pre-specified grouping of input players, confirming exact reconciliation at both player and group levels and demonstrating that the resulting allocation rule generally differs from unrestricted exact Shapley.

Integrated Gradients Validation on Continuous and Differentiable Forecast Inputs

Validate the use of Integrated Gradients (IG) for attributing the two-run forecast gap on the subset of forecast inputs that admit a meaningful continuous representation and differentiable forecast response along a valid interpolation path.

Gradient SHAP or Expected Gradients Validation Under Alternative Baseline Distributions

Validate Gradient SHAP as a Monte Carlo gradient-based attribution method for forecast-gap analysis, with special focus on the interpretation of the baseline distribution and the distinction between explaining the two-run gap versus explaining distance from an expected baseline forecast.

Permutation SHAP Monte Carlo Approximation to Exact Shapley

Validate Permutation SHAP as an unbiased Monte Carlo estimator of exact Shapley attribution for forecast-gap analysis, including exact sample-average reconciliation to the total gap and uncertainty quantification via Monte Carlo standard errors.

Kernel SHAP Approximation with Coalition-Sampling Stability Analysis

Validate Kernel SHAP as a weighted-regression approximation to exact Shapley for forecast-gap attribution, emphasizing coalition-sampling design, efficiency-constrained fitting, and stability relative to exact Shapley in feasible benchmark settings.

Cross-Method Benchmarking, Admissibility Mapping, and Computational Scaling Study

Run a unified validation program across multiple run pairs and player granularities to compare attribution methods, verify method-specific theoretical identities, map method admissibility to data and system characteristics, and document computational scaling in CCAR/CECL-style forecast-gap analysis.

Original paperRun QCA on your paper