LibraryWorkspaceDataHub

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

PrivacyTermsCookiesDisclaimer
HomeLibrary
DataHub
  1. Library
  2. Report

Duality of Shortfall Aversion

Open repository
Oct 26, 2026
Mathematical Finance

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 deterministic/theoretical building blocks: the static optimizer, transformed utility identities, free-boundary constructions, variational-inequality checks, and Appendix C counterexample. The main gap is in the dynamic primal validation for the discounted case, where the reported Monte Carlo budget metric in exp2_results.json appears materially inconsistent with the target.

Results Comparison

MetricPaper / ExpectedReproducedDiffStatus
Exp 1: closed-form c*(y,h) vs brute-forceMatch within numerical tolerancemax error 2.17e-08 / 1.63e-08 / 2.46e-08 across tested familiesnegligible✅ Reproduced
Exp 1: \bar u_y = -c*Exact identityresidual 0.0; FD residuals 7.06e-09 to 1.58e-08negligible✅ Reproduced
Exp 1: \bar u_h branch formulas
Match finite differences
max residual 1.64e-11, 1.07e-10, 6.66e-11
negligible
✅ Reproduced
Exp 1: continuity at y=b(h), d(h)Continuousbranch continuity flags truenone✅ Reproduced
Exp 1: \vartheta(h)=1-\ell'(h)-\chi(h)Exact identityresidual 0 or 1.11e-16negligible✅ Reproduced
Exp 2: characteristic roots\gamma_1>1, \gamma_2<01.8601, -0.8601none✅ Reproduced
Exp 2: root equation residualsNear zero6.94e-18 for both rootsnegligible✅ Reproduced
Exp 2: \partial_a R_\rho = G_\rhoHold numericallyresidual 7.50e-07negligible✅ Reproduced
Exp 2: free boundary range0 < z_\rho(a) < \Gamma(a)positive and less than Gamma; range [0.0562, 0.2738]none✅ Reproduced
Exp 2: value matching at z_\rho(a)Continuous / smooth fitjump 3.15e-06, matching oknegligible✅ Reproduced
Exp 2: convexity J_{\rho,yy}>0Positive20.3866none✅ Reproduced
Exp 2: budget equalityApprox. equal to target under MCmean 1.3785 ± 0.0223 vs target 7.0very large shortfall❌ Material discrepancy
Exp 3: typo-corrected exponent\delta_0 = 1+2r/\kappa^22.6, match flag truenone✅ Reproduced
Exp 3: \zeta_0(h)\in(0,1)True0.688272...none✅ Reproduced
Exp 3: VI residualNear zero2.22e-16negligible✅ Reproduced
Exp 3: smooth fitHold numericallyrepository summary: residual <1e-3negligible✅ Reproduced
Exp 3: convexity V_{0,yy}>0Positive15.7255none✅ Reproduced
Exp 3: analytical budget equalityExact / near exact1.0 with error 5.55e-16none✅ Reproduced
Exp 3: Monte Carlo budgetApprox. equal1.0423 ± 0.0428 vs analytical 1.0~4.2%acceptable MC noise
Exp 4: discounted exponential corollaryGeneral method matches corollarythreshold error <1e-3, value error <1e-2negligible✅ Reproduced
Exp 4: undiscounted power corollaryGeneral method matches corollarythreshold error <5e-3, value error <2e-2small✅ Reproduced
Exp 5: b_{1/4}(1)41/16exact 41/16none✅ Reproduced
Exp 5: q_{1/4}(1)-185/32 - 2 log 2exact matchnone✅ Reproduced
Exp 5: budget identity41/16exact 41/16none✅ Reproduced
Exp 5: utility value-103/32 - 2 log 2exact matchnone✅ Reproduced
Exp 5: comparison value-65/16 - log 2exact matchnone✅ Reproduced
Exp 5: inequality reversal27/32 - log 2 > 00.150603 > 0none✅ Reproduced
Exp 6: inversion round-tripSmall error<1e-6negligible✅ Reproduced
Exp 6: PDE/VI residualsSmall and stable<1e-3 overall summarynegligible✅ Reproduced
Exp 6: warning-free numerical robustnessStable implementation81/81 tests passed, 0 warningsnone✅ Reproduced

Summary

The repo convincingly reproduces the core mathematical and numerical findings for Experiments 1, 3, 4, 5, and 6, and most of Experiment 2’s dual-side construction. The only material issue is the discounted Monte Carlo budget equality in exp2_results.json, which is far from target and prevents a clean claim of full end-to-end reproduction.


Detailed Findings by Experiment

Experiment 1 — Static optimizer and effective utility transform

This experiment is the cleanest replication in the repository.

From results/exp1_results.json:

  • Exponential case:
    • fd_ubar_y_max_residual = 7.06e-09
    • fd_ubar_h_max_residual = 1.64e-11
    • numerical_max_error = 2.17e-08
  • Power case:
    • fd_ubar_y_max_residual = 1.58e-08
    • fd_ubar_h_max_residual = 1.07e-10
    • numerical_max_error = 1.63e-08
  • Appendix C utility case:
    • fd_ubar_y_max_residual = 1.58e-08
    • fd_ubar_h_max_residual = 6.66e-11
    • numerical_max_error = 2.46e-08

All are far inside any reasonable tolerance. Given the user’s experiment specification, this is a full numerical verification of Proposition 2.2-level claims:

  • branchwise optimizer,
  • transformed utility,
  • derivative identities,
  • continuity at branch boundaries,
  • agreement with direct 1D optimization.

Charts

Exp1 exponential cstar

Exp1 exponential ubar heatmap

Exp1 power cstar

Exp1 power ubar heatmap

Exp1 Appendix C cstar

Exp1 Appendix C ubar heatmap


Experiment 2 — Discounted dual free-boundary, rho > 0

This is a mixed result.

What matches well

The dual-side structure is reproduced strongly:

  • roots satisfy the characteristic equation with machine precision residual,
  • free boundary is positive and strictly below Gamma,
  • ∂_a Rρ = Gρ residual is tiny (7.5e-07),
  • value matching jump at the stopping boundary is only 3.15e-06,
  • convexity of Jρ is verified (J_rho_yy = 20.3866 > 0).

These are exactly the structural checks expected by the paper.

Main discrepancy

The reported discounted budget numbers are:

  • budget_mean = 1.3785
  • budget_target = 7.0
  • budget_se = 0.0223

This is not a small deviation; it is economically and numerically material. Even allowing for Monte Carlo error, truncation, or discretization, a mean of 1.38 against target 7.0 is off by about 80%. That is far outside the stated tolerance and inconsistent with the summary line in RESULTS.md claiming “error < 2%.”

So there is an internal inconsistency:

  • RESULTS.md: budget equality error < 2%
  • exp2_results.json: budget mean 1.378 vs target 7.0

The JSON should be treated as the stronger evidence.

Interpretation

This suggests:

  1. the dual PDE/free-boundary implementation is likely correct, but
  2. the primal control recovery / Monte Carlo budget check / normalization may be flawed or reported under a different scaling.

Chart

Exp2 discounted


Experiment 3 — Undiscounted dual variational inequality, rho = 0

This experiment is well reproduced.

Key outputs from exp3_results.json:

  • delta0 = 2.6, exact formula match,
  • zeta0_in_01 = true,
  • vi_residual = 2.22e-16,
  • V0_yy = 15.7255 > 0,
  • analytical budget = 1.0 with error 5.55e-16,
  • MC budget 1.0423 ± 0.0428.

This is very strong evidence that:

  • the typo correction was implemented correctly,
  • the free-boundary solution is numerically stable,
  • the variational inequality is being satisfied essentially to machine precision,
  • the recovered primal solution is consistent with the budget identity.

The Monte Carlo budget deviation of about 4.2% is acceptable given SE ≈ 0.043; the analytical budget identity essentially settles the issue.

Chart

Exp3 undiscounted


Experiment 4 — Special-case corollary validation

This appears successfully reproduced from the summary table in RESULTS.md.

Reported sweep errors:

  • Discounted exponential:
    • threshold error < 1e-3
    • value error < 1e-2
  • Undiscounted power:
    • threshold error < 5e-3
    • value error < 2e-2

These are small enough to count as successful corollary-level validation. Since these are benchmark families with simpler structure, strong agreement here materially supports the correctness of the generic implementations.

The main caveat is that only summary statistics are provided; no full sweep tables are visible in the files read. Still, based on available evidence, this experiment is reproduced.


Experiment 5 — Appendix C counterexample

This is fully and exactly reproduced.

From exp5_results.json, all key quantities match the paper in exact symbolic form:

  • b_{1/4}(1) = 41/16
  • q_{1/4}(1) = -185/32 - 2 log 2
  • budget identity = 41/16
  • utility value = -103/32 - 2 log 2
  • comparison term = -65/16 - log 2
  • difference = 27/32 - log 2 = 0.15060281944 > 0

This exactly confirms the appendix counterexample and validates the paper’s claim that the prior local-optimality argument fails in this parameterization.


Experiment 6 — Cross-cutting validation and robustness

The cross-cutting diagnostics are strong.

Repository summary reports:

  • static optimizer residuals < 1e-7,
  • threshold monotonicity satisfied,
  • inversion round-trip error < 1e-6,
  • PDE/VI residuals < 1e-3,
  • convergence under dt refinement confirmed,
  • 81/81 tests passed,
  • zero warnings with integration/runtime warnings promoted to errors.

These are meaningful reliability indicators because they go beyond single-scenario success:

  • numerical quadrature is stable,
  • inversions are well behaved,
  • threshold maps are monotone as theory requires,
  • no hidden warning-driven failures occurred.

Statistical & Economic Significance

This repository is mostly a deterministic numerical replication, not an empirical asset-pricing study. So conventional paper-comparison metrics like Sharpe ratio, alpha, and drawdown are not applicable here.

The relevant “significance” is numerical/theoretical:

  • statistical significance is replaced by residual size, exact symbolic equality, and Monte Carlo standard errors;
  • economic significance is reflected in whether the optimal controls satisfy the budget/admissibility identities and whether discrepancies would materially alter the model’s conclusions.

Strong numerical significance

  • Exp 1 residuals are in the 1e-8 to 1e-11 range.
  • Exp 3 VI residual is at machine precision.
  • Exp 5 exact symbolic matches eliminate ambiguity.
  • Exp 4 benchmark-family errors are very small.

Material economic discrepancy

  • Exp 2 budget mean 1.38 vs target 7.0 is economically decisive if taken literally.
  • This would undermine the validity of the claimed optimal discounted primal policy, even though the dual object looks correct.

So overall:

  • core mathematical replication is statistically/numerically very strong
  • full economic/primal validation is incomplete because of Exp 2

Discrepancies

  • Discounted budget equality inconsistency in Exp 2
    RESULTS.md says budget error < 2%, but exp2_results.json reports 1.3785 vs target 7.0. This is a major discrepancy and likely indicates:

    • a normalization mismatch,
    • a wrong target reported in JSON,
    • horizon truncation/tail omission not accounted for,
    • or a bug in the recovered primal control / budget integral.
  • Summary-vs-raw-file inconsistency
    The Markdown summary is more favorable than the raw JSON for Exp 2. When this happens, confidence should be based on the raw structured result file, which points to only partial success.


Methodology Issues

Only one meaningful issue stands out:

  • Experiment 2 primal-side validation may not be methodologically complete or consistently reported.
    The dual checks are strong, but the budget identity is central to verifying the optimal control reconstruction. If that check fails materially, the experiment cannot be considered fully reproduced end-to-end.

Otherwise, the methodology appears aligned with the experiment descriptions:

  • self-contained static block,
  • free-boundary solution,
  • derivative verification,
  • benchmark family validation,
  • exact appendix reproduction,
  • robustness diagnostics.

Reliability

Strengths

  • 81 tests passed.
  • No integration/runtime warnings even when promoted to errors.
  • Multiple scenario families checked.
  • Exact symbolic validation for Appendix C.
  • Cross-checks against brute-force optimization and finite differences.
  • Strong consistency in Exp 1, 3, 4, 5, and 6.

Red flags

  • Exp 2 budget inconsistency is the main red flag.
  • Some dynamic primal results are summarized only coarsely, without full pathwise diagnostics in the visible outputs.
  • Exp 4 is only summarized, not fully tabulated in the available files.

Confidence assessment

  • High confidence in static and theorem-verification layers.
  • Medium confidence in full discounted dynamic primal replication.
  • Overall confidence: MEDIUM.

Verdict

Final Decision: PARTIALLY REPRODUCED

Why: The repository successfully reproduces the paper’s main theoretical and numerical structures for the static transform, undiscounted VI, special-case corollaries, robustness checks, and Appendix C counterexample. However, the discounted dynamic experiment has a material inconsistency in the reported budget equality, which is too large to dismiss as numerical noise. Therefore the paper’s full set of selected experiments is not fully reproduced, but the core findings are reproduced well enough to justify PARTIALLY REPRODUCED.

Experiments

Static optimizer and effective utility transform replication for shortfall-aversion duality

Replicate and numerically verify the foundational static optimization layer of the paper “Duality of Shortfall Aversion.” This experiment independently tests Proposition 2.2 by constructing the effective-consumption utility transform, computing the closed-form static optimizer c*(y,h), evaluating the transformed utility \bar u(y,h), and validating derivative identities and branch continuity. This is a standalone experiment that does not require solving the dynamic free-boundary problems.

Discounted dual free-boundary and optimal-control replication for the case rho > 0

Replicate the discounted duality results of the paper for the case with strictly positive discount rate rho>0. This experiment independently reconstructs the discounted dual value function J_rho(y,h), the free-boundary z_rho(a), the stopping/singular-control representation, the optimal habit process H_t^{rho,y,h}, and the primal optimizer recovered through the dual first-order condition. It also verifies PDE residuals, smooth-pasting, admissibility, and budget equality through numerical integration and Monte Carlo simulation.

Undiscounted dual variational-inequality replication for the case rho = 0

Replicate the undiscounted duality results of the paper for the case rho=0. This experiment independently reconstructs the free boundary z_0(h), the auxiliary function Phi_0(y,h), the boundary term B_0(h), the dual value V_0(y,h), the variational inequality characterization, and the pathwise optimal habit, consumption, wealth, and portfolio controls. It verifies smooth fit, admissibility, budget equality, and primal-dual equality through deterministic numerical checks and Monte Carlo simulation.

Special-case corollary validation and parameter-sweep diagnostics

Replicate the paper’s special-case corollaries and use them as internal validation benchmarks for the general implementation. This experiment is separate from the generic discounted and undiscounted replications because it focuses on parameterized families with simplified structure, enabling higher-precision checks, broader parameter sweeps, and comparative diagnostics. The experiment includes the discounted exponential case and the undiscounted power case.

Appendix C counterexample replication to invalidate the local-optimality argument

Replicate Appendix C exactly, as a standalone numerical/theoretical experiment, to verify the paper’s claim that the local-optimality argument used in Guasoni et al. (2020, Lemma A.1) is not valid in general. This experiment is fully independent and focuses only on reproducing the counterexample’s quantities and inequality reversal.

Cross-cutting numerical validation, admissibility, and robustness diagnostics

Run a standalone numerical validation and robustness campaign over the paper’s constructions. This experiment does not introduce new theory; instead, it independently stress-tests the numerical implementation of the static block, discounted block, and undiscounted block through residual checks, budget diagnostics, inversion diagnostics, discretization studies, and Monte Carlo error analysis. It is useful as a separate quality-assurance experiment because it can be executed independently of any single scenario family.

Original paperRun QCA on your paper