LibraryWorkspaceDataHub

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

PrivacyTermsCookiesDisclaimer
HomeLibrary
DataHub
  1. Library
  2. Report

Duality and Policy Evaluation in Distributionally Robust Bayesian Diffusion Control

Open repository
Aug 17, 2026
Portfolio 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 theorem-driven and synthetic validation experiments for KL-dual DRBC evaluation, rMLMC scaling, terminal-wealth benchmarking, and finite-support learning. However, the larger empirical/performance claims are only partially matched: the synthetic LQ experiment is qualitatively reproduced but materially off in scale, and the real-data S&P 500 backtest does not reproduce the paper’s reported Sharpe ranking or levels.

Repository Results Reviewed

The repository contains a consolidated results file and experiment CSV outputs. The key reported contents are:

Consolidated results summary

From results/RESULTS.md:

  • Exp 1: primal-dual agreement for KL robust prior evaluation is essentially exact for δ > 0, and δ = 0 recovers the Bayesian baseline up to a small numerical error.
  • Exp 2: rMLMC estimator standard deviation shrinks close to the expected n−1/2n^{-1/2}n rate.
−1/2
  • Exp 3: Oracle > DRBC > Plug-in ordering is preserved on average, but with only 20 runs and much larger dispersion than the paper.
  • Exp 4: DRBC shows smaller utility gap than DRC across ambiguity radii; DRC becomes overly pessimistic and collapses to zero risky allocation.
  • Exp 5: terminal-wealth learner matches the closed-form benchmark closely.
  • Exp 6: finite-support adversarial prior learning converges and stays near the baseline prior when λ is large.
  • Exp 7: real-data Sharpe ratios are negative for all methods; DRBC remains better than DRC but does not beat Merton or Bayesian, contrary to the paper.

  • Results Comparison

    Experiment 1 — KL-Dual Robust Prior Evaluation for DRBC

    This is the cleanest and strongest reproduction in the repository.

    MetricPaper / ExpectedReproducedDiffStatus
    1D dual tractabilityYesYesNoneMatch
    Primal-dual agreementShould agree up to toleranceGap 6.38×10−126.38\times10^{-12}6.38×10−12 to 3.93×10−123.93\times10^{-12}3.93×10−12 for δ>0NegligibleMatch
    δ = 0 recovers Bayesian baselineYes5.059352 vs 5.0599590.000607Match
    Monotone decrease in robust value with δYes5.05996 → 4.58703 → 4.06339 → 3.72028 → 3.31332 → 2.75787Expected patternMatch
    Numerical stabilityExpectedReported stable, <0.1s total—Match

    Using results/exp1_results.csv:

    • δ=0.01: dual = 4.587028162566316, primal = 4.5870281625599345
    • δ=0.05: dual = 4.063389710110744, primal = 4.063389710109438
    • δ=0.10: dual = 3.7202760791842855, primal = 3.7202760791842406

    These are essentially identical numerically.

    Summary: This experiment is fully reproduced. The theorem-driven numerical claim is validated directly and convincingly.

    Exp 1 KL dual plot


    Experiment 2 — rMLMC Policy-Evaluation Estimator and n−1/2n^{-1/2}n−1/2 Scaling

    This experiment also reproduces its intended result well.

    MetricPaper / ExpectedReproducedDiffStatus
    Std scaling near n−1/2n^{-1/2}n−1/2YesRatios ~0.27–0.32SmallMatch
    Mean stability across nYesStable across 100, 1000, 10000SmallMatch
    Replication count100100NoneMatch
    Pattern like paper tableYesYes qualitatively, but different value scaleModeratePartial/Acceptable

    From results/exp2_results.csv:

    For δ = 0.01:

    • n=100: mean 0.2899, std 0.01266
    • n=1000: mean 0.2906, std 0.00375
    • n=10000: mean 0.2909, std 0.00103

    Std ratios:

    • 0.00375 / 0.01266 ≈ 0.296
    • 0.00103 / 0.00375 ≈ 0.276

    Theoretical target:

    • 1/10≈0.3161/\sqrt{10} \approx 0.3161/10​≈0.316

    Similarly:

    • δ=0.05: ratios ≈ 0.317 and 0.316
    • δ=0.10: ratios ≈ 0.275 and 0.312

    The repository’s own summary notes the paper’s rough target pattern of 0.040 -> 0.012 -> 0.004; the reproduced pattern is on a different absolute scale (0.0127 -> 0.00375 -> 0.00103 for δ=0.01), but the rate is the central claim here, and that is reproduced well.

    Summary: The estimator’s square-root convergence is successfully reproduced, which is the main methodological claim.

    Exp 2 scaling plot


    Experiment 3 — Synthetic LQ DRBC Robustness Under Prior Misspecification

    This is only a qualitative reproduction.

    Paper/expected values from the user description:

    • Plug-in utility around -43.7 ± 13.0
    • DRBC utility around -41.0 to -41.4 ± 1.3
    • Oracle utility around -40.1 ± 1.3
    • Gap-to-oracle: plug-in about 3.6 ± 13.0, DRBC about 0.8 to 1.3 ± 1.3
    • Key claim: Oracle > DRBC > Plug-in and DRBC much more stable

    Reproduced summary from results/RESULTS.md and results/exp3_results.csv:

    • Oracle: -471.3 ± 118.7
    • Plug-in: -556.4 ± 235.2
    • DRBC δ=0.05: -530.6 ± 195.2
    • DRBC δ=0.10: -534.4 ± 195.7
    • Mean gaps: plug-in 85.1, DRBC δ=0.05 59.3
    MetricPaperReproducedDiffStatus
    Oracle > DRBC > Plug-in orderingYesYes on averageMatch qualitativelyPartial
    DRBC lower variance than Plug-inStrongly yesYes, but only modestly (195 vs 235)WeakerPartial
    Utility scale~ -40 range~ -470 to -560 rangeMaterialMismatch
    Gap-to-oracle scaleDRBC ~1, Plug-in ~3.6DRBC ~59, Plug-in ~85MaterialMismatch
    Number of runs10020Material reductionCaveat

    This is a material discrepancy. The absolute values and variability are far from the expected results. The ranking is preserved, which supports the paper’s qualitative conclusion, but the economic/statistical magnitude is not reproduced.

    Likely reasons:

    1. Reduced runs (20 vs 100) widened uncertainty.
    2. Implementation/environment scaling differences likely changed cost magnitude substantially.
    3. The LQ setup has many sensitive components: control loading matrix GGG, diffusion scaling, Riccati discretization, reward/cost normalization, network training variance, clipping, and ridge choices.
    4. The repository itself acknowledges a tractability reduction relative to paper settings.

    Summary: Partially reproduced at the qualitative level only.

    Exp 3 utility plot


    Experiment 4 — Synthetic Merton DRBC vs DRC Radius Ablation

    This experiment reproduces the main qualitative claim well.

    Expected outcome:

    • DRBC should have smaller utility gap than DRC across δ
    • DRC should be more pessimistic
    • Exact numeric match may not be possible due to under-specified parameters

    From results/exp4_results.csv:

    • At δ=0.01: DRBC gap 0.0216 vs DRC gap 0.0573
    • At δ=0.05: DRBC gap 0.0414 vs DRC gap 0.1033
    • At δ=0.10: DRBC gap 0.0283 vs DRC gap 0.1111
    • At δ=0.20: DRBC gap 0.0081 vs DRC gap 0.1111

    Also:

    • DRC portfolio fraction shrinks from 1.25 to 0.75 to 0.13 to 0, then stays at 0
    • DRBC remains around 1.23–1.24 throughout
    MetricPaper / ExpectedReproducedDiffStatus
    DRBC utility gap < DRC gapYesYes for all δ≥0.01NoneMatch
    DRC overly pessimisticYesYes, π collapses to 0 for δ≥0.10Strong matchMatch
    DRBC remains investedYesYesMatchMatch
    Exact quantitative matchNot fully specifiedN/A—Inconclusive quantitatively

    There is some noise/non-monotonicity in utility as δ changes, but that is acceptable in a synthetic MC exercise. The central claim is clearly reproduced.

    Summary: Successfully reproduced qualitatively, which is appropriate given the paper’s parameter ambiguity.

    Exp 4 Merton ablation


    Experiment 5 — Closed-Form Benchmark for General-Case Merton Terminal-Wealth Learner

    This is another strong reproduction, though with a parameterization caveat.

    Expected values from user description include examples around:

    • learned 3.174 ± 0.013 vs closed-form 3.226
    • learned 3.460 ± 0.030 vs closed-form 3.380
    • learned 3.179 ± 0.014 vs closed-form 3.267

    Reproduced values from results/exp5_results.csv:

    ScenarioLearned mean ± stdClosed-formAbs error
    r=0.05, b=0.12.0659 ± 0.00582.06670.0008
    r=0.05, b=0.32.4819 ± 0.04172.49290.0111
    r=0.10, b=0.12.1026 ± 0.00012.10250.0000
    r=0.10, b=0.32.3839 ± 0.02212.38250.0014
    MetricPaperReproducedDiffStatus
    Learned close to closed-formYesYesSmallMatch
    Cross-seed stabilityModest varianceVery low stdGoodMatch
    Absolute utility levels~3.1–3.5 examples~2.1–2.5Different scaleAcceptable if parameterization differs

    The repository explicitly notes that the scale differs due to a different utility parameterization, while the structural match remains. Since the purpose of the experiment is to validate learnability against a known benchmark, the small absolute errors matter more than matching the exact utility level.

    Summary: Fully reproduced in spirit and numerically well validated.

    Exp 5 training loss

    Exp 5 wealth scatter


    Experiment 6 — Finite-Support DRBC Learning in the Bayesian Merton Problem

    This experiment appears to be implemented correctly and behaves as expected, though the repository summary file was truncated in the tool read and the CSV is the main evidence.

    From results/exp6_results.csv:

    Baseline Bayesian value:

    • V^(p)=2.760989\hat V(p) = 2.760989V^(p)=2.760989 per RESULTS.md

    Optimized q* for various λ:

    λ_dualq* shift vs baseline pV_tildeKL
    10noticeable shift toward worse states2.733190.001381
    50mild shift2.755410.000055
    100very mild shift2.758220.000014
    500nearly baseline p2.760480.00000047

    Baseline prior:

    • p = [0.05, 0.35, 0.35, 0.15, 0.10]

    For λ=10:

    • q* ≈ [0.0536, 0.3257, 0.3590, 0.1581, 0.1037]

    For λ=500:

    • q* ≈ [0.0501, 0.3496, 0.3501, 0.1502, 0.1001]
    MetricPaper / ExpectedReproducedDiffStatus
    Valid simplex optimizationYesYesNoneMatch
    q* moves away from p under stronger robustnessYesYesMatchMatch
    q* approaches p when robustness weakensYesYes for large λMatchMatch
    Stable optimization / diagnosticsExpectedImplied by final outputsGoodMatch

    This exactly matches the expected structural behavior of the adversarial prior learner.

    Summary: Reproduced successfully.

    Exp 6 q distributions


    Experiment 7 — Real-Data S&P 500 Rolling Backtest

    This is the weakest reproduction relative to the paper and appears not reproduced on final performance.

    Paper target table from user description:

    • Merton: 0.015 ± 0.301
    • Bayesian Prior 1: 0.493 ± 0.281
    • Bayesian Prior 2: 0.655 ± 0.282
    • DRC Prior 1: -0.220 ± 0.292
    • DRC Prior 2: -0.237 ± 0.293
    • DRBC Prior 1: 0.818 ± 0.308
    • DRBC Prior 2: 1.147 ± 0.311

    Reproduced from results/exp7_results.csv:

    • Merton: -0.0056 ± 0.3880
    • Bayes_P1: -0.1984 ± 0.4111
    • Bayes_P2: -0.1933 ± 0.4259
    • DRC_P1: -0.4640 ± 0.3705
    • DRC_P2: -0.4497 ± 0.3657
    • DRBC_P1: -0.3511 ± 0.4389
    • DRBC_P2: -0.3221 ± 0.4409
    MetricPaperReproducedDiffStatus
    DRBC best SharpeYesNoMaterialMismatch
    Ranking DRBC > Bayesian > Merton > DRCYesNo; Merton is best, then Bayes, then DRBC, then DRCMaterialMismatch
    DRBC positive SharpeStrongly positiveNegativeMaterialMismatch
    DRC worst due to pessimismYesYesMatch qualitativelyPartial

    This is a material failure to reproduce the empirical paper result. While DRC remains the worst performer, the central paper claim—that DRBC dominates and achieves the best Sharpe—is not reproduced.

    Possible reasons are significant and likely unavoidable:

    1. The paper leaves many critical data/processing details unspecified:
      • price adjustment choice
      • return definition
      • risk-free alignment
      • missing value handling
      • exact universe construction
      • annualization convention
      • mapping to the Bayesian sufficient statistic
    2. The experiment depends on real WRDS/FRED data pipeline fidelity, where small implementation changes can strongly affect Sharpe.
    3. The repository may be running a best-effort reconstruction rather than exact paper code.
    4. The result suggests either:
      • implementation mismatch in the real-data strategy layer, or
      • the paper’s empirical result is highly sensitive / regime-dependent.

    Economically, the reproduced results are not supportive of DRBC’s claimed practical superiority in this backtest.

    Summary: Not reproduced.

    Exp 7 sharpe boxplot


    Statistical & Economic Significance

    Statistical significance

    The repository does not report formal t-stats or p-values for most experiments, so significance assessment is mostly based on effect size and dispersion.

    • Exp 1: Numerical agreement is effectively exact; statistical significance is not relevant.
    • Exp 2: The convergence-rate result is strong and stable across 100 replications; practically convincing.
    • Exp 3: With only 20 runs and high variance, quantitative claims are weak statistically. The directional improvement of DRBC over plug-in exists, but confidence is only moderate.
    • Exp 4: The DRBC-vs-DRC gap is economically clear and large enough to be meaningful in the synthetic setting.
    • Exp 5: Errors are tiny relative to level; very strong practical validation.
    • Exp 6: Structural optimization behavior is clear; formal significance not needed.
    • Exp 7: Differences are economically meaningful but unfavorable to the paper. DRBC’s reproduced Sharpe is negative and below both Merton and Bayesian baselines, which is a substantial practical contradiction of the original empirical claim.

    Economic significance

    • Strong economic relevance: Exp 3, 4, 7
    • Methodological/evaluation relevance: Exp 1, 2, 5, 6

    Most important economically:

    • In Exp 4, DRBC is materially less pessimistic than DRC, which supports the paper’s conceptual thesis.
    • In Exp 7, however, the reproduced real-data evidence does not support practical outperformance of DRBC.

    Discrepancies

    1. Synthetic LQ experiment is only qualitatively reproduced

    • Reproduced scale is an order of magnitude more negative than the paper’s.
    • DRBC variance remains high, unlike the paper’s very tight reported std around 1.3.
    • Likely causes:
      • only 20 runs vs 100
      • implementation simplifications for tractability
      • reward/cost scaling mismatch
      • sensitivity to control matrix, diffusion, policy network training, and discretization details

    2. Real-data S&P 500 backtest is not reproduced

    • Paper: DRBC clearly best, positive Sharpe up to ~1.15
    • Reproduced: all methods negative; Merton best; DRBC better than DRC but still poor
    • Likely causes:
      • unresolved data engineering details
      • exact universe/filter mismatch
      • return/annualization/price-adjustment differences
      • policy-mapping ambiguity in one-asset rolling implementation
      • possible overfitting or unreported choices in the paper pipeline

    3. Terminal-wealth benchmark has different absolute utility scale

    • Structural agreement is excellent, but values are in the 2.0–2.5 range rather than paper examples near 3.1–3.5.
    • This appears benign and likely due to parameterization/utility-scale differences rather than failure.

    Methodology Issues

    Only material issues:

    1. Exp 3 uses 20 runs instead of 100, which weakens comparability and increases uncertainty.
    2. Exp 4 is partly an informed reconstruction, and DRC is implemented via a shrinkage proxy, so exact quantitative claims cannot be treated as paper-faithful.
    3. Exp 7 is highly vulnerable to under-specified real-data methodology, making exact replication difficult without original pipeline details.
    4. The repository seems strongest on theoretical and synthetic validation, weaker on full empirical reproduction.

    Reliability

    Strengths

    • Results are internally consistent.
    • The foundational experiments (Exp 1, 2, 5, 6) are strong, stable, and numerically convincing.
    • The synthetic ablation in Exp 4 behaves exactly as the theory suggests.
    • All experiments reportedly ran with 34/34 pytest tests passing, which supports implementation reliability.

    Red flags

    • Exp 3 has very high variance and materially different scale from the paper.
    • Exp 7 contradicts the paper’s main empirical Sharpe result.
    • Some experiments rely on reconstruction assumptions rather than fully specified paper settings.

    Overall confidence

    • High confidence in the correctness of the core KL-dual / evaluation machinery.
    • Medium confidence in the synthetic control conclusions.
    • Low-to-medium confidence in paper-level empirical performance claims.

    Verdict

    Final Decision: PARTIALLY REPRODUCED

    Why: The repository convincingly reproduces the paper’s core theoretical and computational claims: KL-dual reduction, primal-dual equivalence, stable robust evaluation, rMLMC n−1/2n^{-1/2}n−1/2 scaling, neural benchmark learnability, and finite-support robust prior learning. It also reproduces the main qualitative synthetic insight that DRBC is less pessimistic than DRC and can outperform plug-in control under misspecification. However, the quantitative synthetic LQ results are materially off, and the real-data S&P 500 backtest does not reproduce the paper’s reported DRBC Sharpe outperformance, preventing a verdict of full reproduction.

    Experiments

    KL-Dual Robust Prior Evaluation for DRBC

    Validate the theorem-driven numerical claim that the KL-ambiguity inner robust-prior problem for Distributionally Robust Bayesian Control (DRBC) reduces to a tractable one-dimensional optimization over the dual variable lambda, and implement the corresponding policy-evaluation routine in a fully self-contained way.

    rMLMC Policy-Evaluation Estimator and n^{-1/2} Scaling Test

    Implement and validate the randomized multilevel Monte Carlo (rMLMC) estimator used to estimate the transformed nested expectation Mpi(λ)=Emu[exp⁡(−Zpi(B)/λ)]M_{pi}(\lambda) = E_{mu}[\exp(-Z_{pi}(B)/\lambda)]Mpi​(λ)=Emu​[exp(−Zpi​(B)/λ)] and verify empirically that the resulting policy-evaluation error scales on the order of n^{-1/2}.

    Synthetic Linear-Quadratic DRBC Robustness Under Prior Misspecification

    Replicate the synthetic linear-quadratic (LQ) control experiment showing that DRBC with prior-only robustness improves performance under prior misspecification, remains closer to the oracle than the plug-in certainty-equivalent controller, and exhibits greater stability across runs.

    Synthetic Merton DRBC vs DRC Radius Ablation

    Compare DRBC and classical DRC in a synthetic Bayesian Merton portfolio setting as the ambiguity radius delta varies, with the goal of showing that DRBC is less pessimistic and has a smaller utility gap under prior misspecification or time-varying drift than DRC.

    Closed-Form Benchmark for the General-Case Merton Terminal-Wealth Learner

    Validate the practical learnability of the paper’s structured Merton terminal-wealth method by training the neural terminal-wealth learner in a setting with a known closed-form solution and comparing learned values against the analytical benchmark.

    Finite-Support DRBC Learning in the Bayesian Merton Problem

    Implement the structured finite-support DRBC learning procedure for the Bayesian Merton portfolio problem using zero-order optimization over adversarial prior weights q, and map the learned worst-case prior into the Bayesian closed-form policy.

    Real-Data S&P 500 Rolling Backtest for DRBC Portfolio Allocation

    Replicate the empirical portfolio experiment on S&P 500 constituents from 2015-01-01 to 2024-12-31, comparing Merton, Bayesian, DRC, and DRBC methods on out-of-sample annualized Sharpe ratio under a rolling estimation-and-allocation protocol.

    Original paperRun QCA on your paper