LibraryWorkspaceDataHub

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

PrivacyTermsCookiesDisclaimer
HomeLibrary
DataHub
  1. Library
  2. Report

Distributions or Quantiles? A Convex Variational Theory of Worst-Case Risk

Open repository
Oct 22, 2026
Risk Management+1

Verdict: Partially Reproduced

OverviewExperiments

Executive Summary

Status
Partially Reproduced
Confidence
Medium

Executive Summary

  • Status: PARTIALLY REPRODUCED
  • Confidence: MEDIUM
  • Key Insight: The repository reproduces most theorem-level numerical targets and structural claims very well, especially for Experiments 1, 3, and 4, and for the implemented parts of Experiment 2. The main limitations are an incomplete reproduction of some Exp. 2 subparts and one material validation gap in Exp. 1’s Wasserstein+ES CVXPY check.

Results Comparison

Experiment 1 — Quantile-space worst-case spectral risk models

MetricPaper / ExpectedReproducedDiffStatus
Wasserstein threshold c†c^\daggerc†
≈4.010\approx 4.010≈4.010
4.0078
-0.0022
Within tolerance
MV+ES benchmark threshold cˉ\bar ccˉ≈22.1\approx 22.1≈22.122.1184+0.0184Within tolerance
Central-moment MV special case R∗=μ+σσϕR^*=\mu+\sigma\sigma_\phiR∗=μ+σσϕ​Exact equality expected7.0000 vs 7.00000Exact
Central-moment mean residual0-1.18e-13negligibleExact
CVXPY gap: central-momentnear 04.37e-05very smallGood
CVXPY gap: Wasserstein+ESnear 0 / ideally 1e-6–1e-71.27e-02materialMiss
CVXPY gap: MV+ES bandnear 08.55e-04smallAcceptable

Summary:
Experiment 1 is largely reproduced at the level of closed-form thresholds and regime behavior. The flagship reported thresholds c†c^\daggerc† and cˉ\bar ccˉ are extremely close to the paper. The mean-variance special case is matched exactly. The only material issue is the relatively large CVXPY validation gap for the Wasserstein+ES case (about 0.55% of the objective), which is much larger than the repo’s own target tolerance for analytical-vs-discrete validation.


Experiment 2 — Distribution-space worst-case spectral risk models

MetricPaper / ExpectedReproducedDiffStatus
Exponential-KL ξ1∗\xi_1^*ξ1∗​2.18852.1885078+7.8e-06Exact
Exponential-KL ξ2∗\xi_2^*ξ2∗​1.33601.3360066+6.6e-06Exact
Exponential-KL xα∗x_\alpha^*xα∗​1.58081.5807543-4.6e-05Exact
Exponential-KL ϵmin⁡\epsilon_{\min}ϵmin​≈0.193193\approx 0.193193≈0.1931930.193192685-3.1e-07Exact
Exponential-KL normalization residual00.00Exact
Exponential-KL KL residual08.33e-17negligibleExact
Gaussian-KL χ(0.95,0.2)\chi(0.95,0.2)χ(0.95,0.2)stable coefficient expected3.8471n/aGood
Gaussian-KL normalization11.00000000003negligibleExact
Gaussian-KL mean-anchor residual03.55e-11negligibleExact

Summary:
The implemented Exp. 2 components are reproduced extremely well. The exponential-reference KL model hits all quoted paper calibration numbers essentially exactly. The Gaussian-reference KL model appears numerically stable and internally consistent. However, the exact partial-moment model (Figure 3-related) is not reported in the metrics file, and Exp. 2 Part A appears absent or deferred, which prevents a full reproduction judgment for the entire experiment.


Experiment 3 — Fixed-grid projection algorithms / Table 2

MetricPaperReproducedDiffStatus
Quantile n=80 risk0.577305340.57730528-5.62e-08Exact
Quantile n=80 residual2.94e-071.22e-07-1.72e-07Better than paper
Quantile n=80 outer iterations6042-18Different but acceptable
Density n=80 risk0.718707150.71870737+2.21e-07Exact
Density n=80 residual2.99e-072.21e-07-7.80e-08Better than paper
Density n=80 outer iterations26186-175Different but acceptable
Density n=160 risk0.718706930.71870719+2.57e-07Exact
Density n=160 residual2.98e-072.54e-07-4.36e-08Better than paper
Density n=160 outer iterations26186-175Different but acceptable
PAL vs CVXPY gap (quantile)near 01.22e-07very smallExact
PAL vs CVXPY gap (density)near 02.21e-07very smallExact

Summary:
Experiment 3 reproduces Table 2 risk values and residual magnitudes essentially perfectly. The main discrepancy is iteration count: the algorithm converges much faster than the paper’s reported counts. Since final objective values and residuals match extremely closely, this is not a failure of reproduction; it more likely reflects implementation efficiency, stopping-condition details, or line-search/projection differences. The substantive numerical findings are reproduced.


Experiment 4 — Gaussian joint KL portfolio reduction and SOCP reformulation

MetricPaper / ExpectedReproducedDiffStatus
Universal χ(α,ϵ)\chi(\alpha,\epsilon)χ(α,ϵ) calibration residual01.90e-12negligibleExact
Projection identity max abs error00.00Exact
Portfolios satisfying V(w)=μw+σwχV(w)=\mu_w+\sigma_w\chiV(w)=μw​+σw​χall tested10/100Exact
SOCP objective vs direct value gap02.2e-16negligibleExact
Gradient max abs error< 1e-5 target4.2e-10far betterExact

Summary:
Experiment 4 is reproduced extremely strongly as a structural/theorem validation exercise. The projection identity, universal coefficient calibration, SOCP reduction, and gradient formula all hold to machine precision on the tested synthetic instance.


Statistical & Economic Significance

This repository is mostly a theorem-validation / numerical reproduction project rather than an empirical asset-pricing backtest, so conventional metrics like Sharpe ratio, alpha, drawdown, and t-statistics are not the main outputs. As a result:

  • Statistical significance in the usual finance sense is largely not applicable for Experiments 1, 2, and 4 because these are parametric analytical constructions rather than sampled return processes.
  • For Experiment 3, the relevant notion is numerical convergence and optimization accuracy rather than hypothesis testing. Here the residuals are all around 10−710^{-7}10−7, which is strong evidence of numerical correctness.
  • Economic significance is also secondary here; the important question is whether the reproduced formulas, thresholds, and robust objective reductions are accurate enough to be practically usable. On that standard:
    • Exp. 1 threshold reproduction is economically and mathematically meaningful.
    • Exp. 2 KL calibrations are precise enough for practical use.
    • Exp. 3 algorithmic values are essentially identical to the paper’s.
    • Exp. 4’s exact SOCP reduction is highly practically relevant.

So while there are no t-stats/p-values to assess, the numerical precision is strong enough to support the economic usefulness of the analytical formulas.


Discrepancies

1) Experiment 1 Wasserstein+ES CVXPY validation gap is materially larger than the others

  • Analytical: 2.302387
  • CVXPY: 2.289659
  • Gap: 0.012728

This is much larger than the central-moment and MV+ES validation gaps and much larger than the 1e-6–1e-7 aspiration stated in the methodology. Possible reasons:

  • discrete grid approximation error in the Wasserstein norm or ES-floor representation,
  • insufficient grid resolution for this regime boundary case,
  • minor mismatch between the analytical continuum model and the discretized convex formulation,
  • different treatment of monotonicity or quadrature in the validator.

This does not invalidate the closed-form threshold reproduction, but it does reduce confidence in the discrete validation layer for this subcase.

2) Experiment 2 appears incomplete at the full experiment level

The selected experiment includes:

  • exact partial moments,
  • geometric-moment model,
  • exponential-reference KL,
  • Gaussian-reference KL.

But the reported results only clearly cover:

  • geometric-moment,
  • exponential-KL,
  • Gaussian-KL.

The partial-moment / Figure 3 reproduction is not evidenced in the metrics summary. Since the prompt explicitly noted corrupted theorem text requiring cross-check against original source, this omission is understandable, but it still prevents full reproduction of Exp. 2 as selected.

3) Experiment 3 iteration counts differ substantially from the paper

  • Quantile: 42 vs 60
  • Density: 86 vs 261

Because objective values and residuals match extremely closely, this looks like a non-material implementation-path difference, not a failure. Likely causes:

  • slightly different inner-solve efficiency,
  • stopping-rule implementation details,
  • projection routine differences,
  • numerical linear algebra or BLAS/library effects.

Methodology Issues

Relevant methodology observations

  • Exp. 1: Core formulas, thresholds, and regime classifications appear to have been followed correctly. The main issue is secondary validation, not analytical implementation.
  • Exp. 2: The repository likely made a reasonable choice to defer or omit the corrupted partial-moment theorem rather than guess it. Methodologically this is cautious and appropriate, but it means the experiment is only partially implemented/reproduced.
  • Exp. 3: The algorithm seems faithful in outputs, though not in exact iteration path/count.
  • Exp. 4: Since no companion empirical dataset is indicated, use of a synthetic Gaussian instance is consistent with the experiment definition as a structural theorem validation.

Reliability

Overall reliability is good, with some caveats.

Strengths

  • Multiple exact or near-exact matches to paper benchmarks.
  • Residuals are tiny throughout.
  • Exp. 2 KL calibration is exceptionally precise.
  • Exp. 3 values match paper and CVXPY benchmark to around 1e-7.
  • Exp. 4 identities hold to machine precision.

Red flags / caveats

  • The Wasserstein+ES discrete validation gap in Exp. 1 is the main numerical red flag.
  • Exp. 2 is incomplete relative to the full selected scope.
  • Some figure-level targets mentioned in the experiment descriptions are referenced by image files, but not all are numerically summarized in the metrics.

Confidence by experiment

  • Exp. 1: Medium-high
  • Exp. 2: Medium
  • Exp. 3: High
  • Exp. 4: High

Embedded Figures

Experiment 1 central-moment figure

Experiment 1 Wasserstein plus ES figure

Experiment 1 mean-variance plus ES band figure

Experiment 1 CVXPY comparison

Experiment 2 geometric-moment figure

Experiment 2 exponential KL figure

Experiment 2 Gaussian KL figure

Experiment 3 convergence

Experiment 3 solutions

Experiment 4 chi sweep

Experiment 4 SOCP frontier


Verdict

Final Decision: PARTIALLY REPRODUCED

Why:

  • Experiment 1: Core analytical results are reproduced well, but one material discrepancy remains in the Wasserstein+ES discrete validation gap.
  • Experiment 2: Implemented subparts match paper benchmarks very closely, but the selected experiment is not fully covered because the partial-moment component is not evidenced in the final results.
  • Experiment 3: Table 2 objective values and residuals are reproduced almost exactly; iteration counts differ materially but not in a way that undermines the result.
  • Experiment 4: Structural theorem validation is essentially exact.

If judged only on the implemented numerical targets actually reported, the repo is close to a full success. But against the full scope of the selected experiments, the most defensible conclusion is PARTIALLY REPRODUCED.

Experiments

Analytical reproduction of quantile-space worst-case spectral risk models

Reproduce and validate the closed-form and semi-closed-form results for the quantile-space ambiguity models in the paper: (i) central-moment ambiguity, (ii) Wasserstein ambiguity with ES stress, and (iii) mean-variance ambiguity with a two-sided ES band. This experiment focuses on theorem-level solution construction, regime classification, threshold verification, KKT and normal-cone validation, and reproduction of Figure 1 and Figure 2. It is fully parametric and does not require historical market data.

Analytical reproduction of distribution-space worst-case spectral risk models

Reproduce and validate the closed-form and semi-closed-form results for the distribution-space ambiguity models in the paper: (i) exact partial moments, (ii) mean plus geometric-moment bound, (iii) mean-anchored KL ambiguity with exponential reference, and (iv) mean-anchored KL ambiguity with Gaussian reference. This experiment focuses on candidate-law construction in CDF or density space, calibration of finite-dimensional parameters, residual-sign verification, threshold checks, and reproduction of Figure 3 and Figure 4. Because the supplied extract contains corruption in part of the partial-moment theorem, that model must be cross-checked against the original PDF or companion ZIP before final implementation.

Validation of fixed-grid projection algorithms and reproduction of Table 2

Reproduce Appendix E’s constructive numerical algorithms for smooth convex discretizations of worst-case spectral risk problems, validate the fixed-grid projected augmented-Lagrangian methodology, and reproduce the reported Table 2 outputs. This experiment is algorithmic rather than theorem-derivation focused. It covers both quantile-space and density-space discrete programs, the proximal method of multipliers, weighted isotonic projection, density-simplex projection, stopping rules, and residual diagnostics.

Validation of Gaussian joint KL portfolio reduction and SOCP reformulation

Validate the portfolio-reduction result under multivariate Gaussian reference and joint mean-anchored KL ambiguity. This experiment verifies the exact projection identity, computes the universal standardized coefficient chi(alpha,epsilon), and confirms the SOCP reformulation of the robust portfolio problem. Because the main text does not specify a concrete empirical portfolio dataset, this experiment should be treated as a structural theorem-validation exercise unless the companion ZIP provides a numerical asset universe.

Original paperRun QCA on your paper