LibraryWorkspaceDataHub

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

PrivacyTermsCookiesDisclaimer
HomeLibrary
DataHub
  1. Library
  2. Report

Importance Sampling Enhanced with the COS Method for the Portfolio Risk Allocation

Open repository
Sep 1, 2026
Computational Finance

Verdict: Partially Reproduced

OverviewExperiments

Executive Summary

Status
Partially Reproduced
Confidence
High

Executive Summary

  • Status: PARTIALLY REPRODUCED
  • Confidence: HIGH
  • Key Insight: The repository reproduces the main qualitative findings of all three selected experiments, and Experiment 1 is reproduced very closely quantitatively. Experiments 2 and 3 match the paper’s ranking and probability scales, but some downstream efficiency gains are weaker than the paper’s reported magnitudes, especially in the Student-t production comparison.

Results Comparison

Experiment 1 — Gaussian Copula COS Calibration Accuracy Study for ISCOS Proposal Fitting

Exact benchmark vs paper target

MetricPaperReproducedDiffStatus
Mean weight~1.19926e-31.19925991e-3~0.00%Match
Calibration ESS~587.60587.5963~0.00%Match

K-sweep comparison vs expected pattern

MetricPaper / Expected
Reproduced
Diff
Status
K=16 e_mu~94.6%94.59%negligibleMatch
K=16 e_Sigma~58.7%58.67%negligibleMatch
K=16 severe spurious massYes86.7%—Match
K=32 sharp improvementYese_mu 5.67%, e_Sigma 8.95%—Match
K=1024 e_mulow single digits2.53%—Match
K=1024 e_Sigma~3%3.07%~0.07 ppMatch
Moderate-K ESS near / above benchmarkYesK=32 ESS 601.8 > 587.6+14.2Match

Full reproduced K table

KPaper expectationReproduced resultStatus
16Poor calibrationESS 50,453; e_mu 94.6%; e_Sigma 58.7%; MAE 1.07e-2; spurious mass 86.7%Match
32Big improvementESS 601.8; e_mu 5.67%; e_Sigma 8.95%Match
64Further improvementESS 533.2; e_mu 6.44%; e_Sigma 7.82%Broadly match
128Improving trendESS 540.9; e_mu 5.72%; e_Sigma 6.72%Match
256Improving trendESS 552.4; e_mu 4.78%; e_Sigma 5.81%Match
512Improving trendESS 561.1; e_mu 3.88%; e_Sigma 4.71%Match
1024Near benchmark momentsESS 571.5; e_mu 2.53%; e_Sigma 3.07%Match

Summary:
Experiment 1 is reproduced extremely well. The benchmark statistics match the paper target almost exactly, and the K-sweep shows the expected qualitative and quantitative convergence pattern: K=16 is pathological, K=32 fixes most of the distortion, and larger K steadily reduce moment errors.


Experiment 2 — Gaussian Copula Matched-Budget Production Comparison: Glasserman vs CEIS vs ISCOS

Calibration comparison

MetricPaperReproducedDiffStatus
CEIS calibration ESS~294.0315.0+21.0Within tolerance
ISCOS calibration ESS~601.8601.84~0Match
ISCOS / CEIS ESS ratio~2.05x1.91xmodestly lowerBroadly match
Glasserman farther from CE targetYesmu norm 3.409 vs 2.75/2.72; E_mu[L]=250 by design—Match qualitatively

Production metrics

MetricPaperReproducedDiffStatus
P(L=250), CEIS/ISCOS scale~2.7e-42.72e-4 / 2.77e-4smallMatch
P(L>=250), CEIS/ISCOS scale~1.15e-31.154e-3 / 1.152e-3tinyMatch
Tail mean~280.5not reported in extracted tables—Incomplete
Exact-event hit rates~12–14%not reported—Incomplete
Tail-event hit rates~70–75%not reported—Incomplete
ISCOS vs CEIS A1 ESS improvement~76%9467 vs 9695 = -2.4%materially differentMiss
ISCOS vs CEIS A2 ESS improvement~55%46063 vs 33168 = +38.9%lower but same directionPartial
ISCOS vs CEIS A1 HL reduction~21%0.0597 vs 0.0600 = -0.5%materially smallerMiss
ISCOS vs CEIS A2 HL reduction~23%0.0384 vs 0.0504 = -23.8%very closeMatch
Glasserman much worse than CEIS/ISCOSYesESS 307–384 vs 9,467–46,063; HL much larger—Match

Summary:
Experiment 2 reproduces the main paper narrative partially but credibly. The repository clearly confirms that:

  • ISCOS calibration is much better than CEIS, and
  • CEIS/ISCOS massively outperform Glasserman, especially for production efficiency.

However, the detailed A1 exact-level improvement of ISCOS over CEIS is not reproduced. In the repo, ISCOS and CEIS are nearly tied for A1, whereas the paper reportedly found a sizable ISCOS advantage. For A2 tail-event estimation, the repo aligns much better: probability levels match, and ISCOS reduces half-length by about 24%, essentially identical to the paper.


Experiment 3 — Student t-Copula Matched-Budget Production Comparison: CEIS-t vs ISCOS-t

Calibration comparison

MetricPaperReproducedDiffStatus
CEIS-t calibration ESS~255.0262.0+7.0Match
ISCOS-t calibration ESS~353.5343.1-10.4Match
ISCOS-t / CEIS-t ESS ratio~1.39x1.31xslightly lowerWithin tolerance
ISCOS-t alpha_W~1.89281.8077-0.085Modest diff
ISCOS-t beta_W~33.833832.6493-1.18Modest diff
CEIS-t alpha_W~1.95001.8088-0.141Moderate diff
CEIS-t beta_W~36.198034.1185-2.08Moderate diff

Production metrics

MetricPaperReproducedDiffStatus
P(L=504)~8.5e-69.57e-6 / 9.99e-6same orderMatch
P(L>=504)~1.0e-31.025e-3 / 1.033e-3smallMatch
Tail mean~601not reported in extracted tables—Incomplete
ISCOS-t vs CEIS-t A1 ESS gainpaper positive239.1 vs 208.2 = +14.8%same directionPartial
ISCOS-t vs CEIS-t A2 ESS gain~2x49301 vs 42705 = +15.4%materially smallerMiss
ISCOS-t vs CEIS-t A1 HL reduction~10%0.694 vs 0.692 = slightly worsematerially differentMiss
ISCOS-t vs CEIS-t A2 HL reduction~27%0.0476 vs 0.0510 = -6.6%much smallerPartial

Summary:
Experiment 3 reproduces the directional finding that ISCOS-t outperforms CEIS-t, both in calibration ESS and production ESS. The probability estimates are also on the correct scale. But the magnitude of ISCOS-t’s downstream benefit is much weaker than reported in the paper, especially for the tail event where the paper expected roughly a doubling in ESS, while the repo shows only about a 15% improvement.


Statistical & Economic Significance

Statistical significance

The repository does not expose t-stats or p-values for the final comparison tables, so strict formal significance testing cannot be performed from the available files alone. Still:

  • Experiment 1 differences are so large and systematic that formal testing is unnecessary for the main conclusion. The gap between K=16 and K>=32 is economically and numerically overwhelming.
  • Experiment 2:
    • The superiority of CEIS/ISCOS over Glasserman is enormous and unquestionably meaningful.
    • The advantage of ISCOS over CEIS is strong for A2 and weak/nonexistent for A1 in this reproduction.
  • Experiment 3:
    • ISCOS-t beats CEIS-t in ESS for both events, but the gains are moderate.
    • Because the exact-level event is very rare, Monte Carlo noise may plausibly obscure part of the paper’s stronger effect size.

Economic significance

  • Experiment 1: economically important because it validates the calibration mechanism itself. Moving from K=16 to K=32+ eliminates severe proposal distortion.
  • Experiment 2: economically meaningful in two ways:
    1. ISCOS and CEIS are both vastly more practical than Glasserman here.
    2. For tail-event contribution estimation, ISCOS delivers materially tighter intervals than CEIS at equal budget.
  • Experiment 3: the improvement is economically positive but less dramatic than the paper suggests. ISCOS-t still helps, but the practical gain over CEIS-t is more modest in this reproduction.

Discrepancies

1. Experiment 2 exact-level production improvement is not reproduced

  • The paper expected ISCOS > CEIS by a clear margin for exact-level CVaR estimation.
  • The repo shows:
    • CEIS A1 ESS = 9695
    • ISCOS A1 ESS = 9467
    • half-lengths essentially identical
  • This is a material discrepancy for A1 specifically.

Possible explanations:

  • Exact-level events are more sensitive to implementation details in the Bernoulli twisting solve and likelihood-ratio handling.
  • Coupled production randomness may still leave enough noise that A1 differences are unstable at the chosen budget.
  • The calibration advantage of ISCOS may not translate into exact-level gains if both proposals already target the event set reasonably well.

2. Experiment 3 downstream gains are much smaller than in the paper

  • Calibration ESS improvement is reproduced.
  • Production improvement exists, but only modestly.
  • Paper expected roughly 2x tail ESS; repo shows 1.15x.

Possible explanations:

  • Student-t production is likely more sensitive to:
    • fitted inverse-Gamma parameters,
    • clipping behavior,
    • proposal-family misspecification due to the product-form approximation.
  • The repo explicitly notes a previously fixed inverse-Gamma sign bug. Although fixed, any residual implementation differences from the paper could still affect efficiency.
  • For rare Student-t exact-level events, finite-sample Monte Carlo variability can be substantial even at 250k production paths.

3. LR/second-moment diagnostics in Experiment 1 are weaker at high K

  • The experiment description expected moderate-K proposals to satisfy the Gaussian LR condition.
  • Repo results:
    • K=32 and K=64 pass
    • K>=128 have slightly negative margins
  • This does not overturn the main conclusion, but it is a notable departure from an idealized monotone improvement story.

Possible explanations:

  • More aggressive clipping at higher K can distort the fitted covariance.
  • Numerical covariance estimation near the admissibility boundary is sensitive to small pilot-weight changes.
  • The paper may have used slightly different post-processing or reporting conventions for covariance regularization.

Methodology Issues

Only material issues noted from the available results:

  • Experiment 3 had a documented bug fix in the inverse-Gamma likelihood ratio:
    • wrong sign in the (βp−β0)/w(\beta_p-\beta_0)/w(βp​−β0​)/w term
    • this caused order-of-magnitude underestimation of probabilities before correction
  • Since the final reported numbers are after the fix, the current result set is usable, but this history lowers confidence slightly for exact agreement in Experiment 3.

Also, some expected reported outputs are missing from the result files:

  • tail mean estimates for Experiments 2 and 3,
  • exact/tail proposal hit rates,
  • more detailed benchmark-distance metrics for Exp 2/3.

This makes the replication assessment somewhat incomplete for production-stage diagnostics.


Reliability

Strengths

  • Experiment 1 appears highly reliable:
    • exact benchmark matches paper target almost perfectly,
    • convergence pattern is textbook-consistent,
    • metrics are internally coherent.
  • Experiment 2 and 3 probability estimates are stable and in the correct range.
  • Allocation identities are reported as satisfied in all production experiments.

Red flags / anomalies

  • Exp 1 clipping anomaly at K=128: frac_clipped = 90.8%, much higher than neighboring K values. This is unusual and deserves scrutiny, though the moment errors still improve.
  • Exp 1 high-K LR margins turn slightly negative.
  • Exp 3 bug history indicates implementation fragility in the inverse-Gamma ratio.
  • Some production metrics described in the experimental specification are not present in the extracted tables.

Overall confidence

  • High for Experiment 1.
  • Medium for Experiment 2.
  • Medium for Experiment 3.

Embedded Figures

Experiment 1 clipping diagnostics

Experiment 1 error convergence

Experiment 1 ESS vs K

Experiment 2 contribution halfwidths

Experiment 2 ESS comparison

Experiment 3 contribution halfwidths


Verdict

Final Decision: PARTIALLY REPRODUCED

Why

  • Experiment 1: essentially fully reproduced, both quantitatively and qualitatively.
  • Experiment 2: main ranking and tail-event benefits are reproduced, but the exact-level ISCOS gain over CEIS is not.
  • Experiment 3: qualitative ranking is reproduced, but the downstream efficiency gains are materially weaker than the paper’s reported magnitudes.

So the repository successfully reproduces the core thesis of the study — that smooth conditional-tail weighting stabilizes calibration and generally improves IS performance over binary-indicator CEIS — but it does not fully reproduce all quantitative production-stage gains, especially in the Student-t case.


Source Results Extracted

Experiment 1

  • Exact benchmark:
    • mean weight = 0.0011992599099995157
    • ESS = 587.5963126623706
  • K sweep:
    • K=16: mean weight 0.0116989, ESS 50453.37, e_mu 0.9459, e_Sigma 0.5867
    • K=32: mean weight 0.0011070, ESS 601.84, e_mu 0.05675, e_Sigma 0.08952
    • K=64: mean weight 0.0010369, ESS 533.21, e_mu 0.06443, e_Sigma 0.07817
    • K=128: mean weight 0.0010542, ESS 540.95, e_mu 0.05722, e_Sigma 0.06716
    • K=256: mean weight 0.0010764, ESS 552.41, e_mu 0.04783, e_Sigma 0.05807
    • K=512: mean weight 0.0010985, ESS 561.15, e_mu 0.03879, e_Sigma 0.04706
    • K=1024: mean weight 0.0011301, ESS 571.52, e_mu 0.02531, e_Sigma 0.03066

Experiment 2

  • Calibration:
    • CEIS ESS_cal = 315.0
    • ISCOS ESS_cal = 601.8363
    • Glasserman mu_norm = 3.4089
  • Production:
    • CEIS A1: prob 2.7237e-4, ESS 9694.9, HL 0.0600
    • CEIS A2: prob 1.1539e-3, ESS 33168.3, HL 0.0504
    • ISCOS A1: prob 2.7705e-4, ESS 9467.0, HL 0.0597
    • ISCOS A2: prob 1.1518e-3, ESS 46062.7, HL 0.0384
    • GL A1: prob 2.4671e-4, ESS 384.2, HL 0.2662
    • GL A2: prob 1.1819e-3, ESS 306.7, HL 0.3426

Experiment 3

  • Calibration:
    • CEIS-t ESS_cal = 262.0, alpha_W = 1.8088, beta_W = 34.1185
    • ISCOS-t ESS_cal = 343.1184, alpha_W = 1.8077, beta_W = 32.6493
  • Production:
    • CEIS-t A1: prob 9.5728e-6, ESS 208.17, HL 0.6920
    • CEIS-t A2: prob 1.0250e-3, ESS 42704.5, HL 0.0510
    • ISCOS-t A1: prob 9.9890e-6, ESS 239.05, HL 0.6936
    • ISCOS-t A2: prob 1.0329e-3, ESS 49301.0, HL 0.0476

Experiments

Gaussian Copula COS Calibration Accuracy Study for ISCOS Proposal Fitting

Replicate the Gaussian-copula calibration-accuracy experiment that validates whether ISCOS proposal calibration based on smoothed conditional tail probabilities q_x(u), approximated via filtered COS expansion, converges toward an exact finite-pilot benchmark as the COS resolution K increases. The experiment isolates calibration quality only: it does not require downstream production importance sampling comparisons. The benchmark proposal moments are computed from exact conditional tail probabilities obtained by block convolution for each retained pilot factor draw.

Gaussian Copula Matched-Budget Production Comparison: Glasserman vs CEIS vs ISCOS

Replicate the main Gaussian-copula matched-budget method comparison for rare-event importance sampling in a static multi-factor credit portfolio. Compare three proposal families under identical calibration and production budgets and coupled production random numbers: (i) Glasserman mean-shift Gaussian proposal with identity covariance, (ii) CEIS Gaussian proposal calibrated from binary pilot tail indicators, and (iii) ISCOS Gaussian proposal calibrated from clipped filtered-COS conditional tail probabilities using K=32. Evaluate both exact-level event L=x for CVaR contributions and threshold-tail event L>=x for CES contributions.

Student t-Copula Matched-Budget Production Comparison: CEIS-t vs ISCOS-t with Gaussian–Inverse-Gamma Product Proposal

Replicate the Student t-copula matched-budget comparison between CEIS-t and ISCOS-t in the same 100-obligor synthetic credit benchmark, where the common-state proposal is a product of a Gaussian proposal for systematic factors Z and an inverse-Gamma proposal for the common scale W. The experiment assesses whether replacing binary calibration indicators with clipped filtered-COS conditional tail probabilities improves proposal calibration and downstream importance-sampling efficiency for both exact-level and threshold-tail contribution estimation.

Original paperRun QCA on your paper