LibraryWorkspaceDataHub

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

PrivacyTermsCookiesDisclaimer
HomeLibrary
DataHub
  1. Library
  2. Report

Multiperiod bond portfolio optimization with transaction costs using a Markov Decision process

Open repository
Oct 1, 2026
Computational Finance+3

Verdict: Partially Reproduced

OverviewExperiments

Executive Summary

Status
Partially Reproduced
Confidence
Medium

Executive Summary

  • Status: PARTIALLY REPRODUCED
  • Confidence: MEDIUM
  • Key Insight: The repository reproduces the paper’s main qualitative findings well: the DNS-based Markov chain is operational, DP beats equal-weight and MVO in mean/median terminal wealth across costs and scenarios, turnover declines with transaction costs, and tail metrics remain weaker than return metrics. However, several headline levels differ materially from the paper, especially absolute mean terminal wealth, benchmark levels, turnover magnitudes, and some scenario-specific benchmark behavior.

Repository Results Content Reviewed

Main reported results were found in:

  • results/RESULTS.md
  • results/exp1_chain_diagnostics.csv
  • results/exp2_policy_diagnostics.csv
  • results/exp3_paired_stats.csv
  • results/exp3_terminal_wealth_summary.csv
  • results/exp4_initial_curve.csv
  • results/exp4_rho_sensitivity.csv
  • results/exp4_vol_sensitivity.csv
  • results/exp5_truncation_diagnostics.csv
  • results/exp5_truncation_portfolio_metrics.csv

Charts found in the repository:

Exp 1 conditional volatility T12 baseline

Exp 1 conditional volatility T6 baseline

Exp 1 conditional volatility T6 high

Exp 1 conditional volatility T6 low

Exp 1 retained mass T12 baseline

Exp 1 retained mass T6 baseline

Exp 1 retained mass T6 high

Exp 1 retained mass T6 low

Exp 2 action frequency by cost

Exp 3 mean wealth by cost

Exp 3 turnover vs cost

Exp 4 robustness plots

Exp 5 metrics vs M

Exp 5 retained mass vs M


Results Comparison

Experiment 1 — Markov chain construction and validation

This experiment is mostly methodological, so the relevant comparison is against the expected implementation properties rather than exact paper asset-performance targets.

MetricPaper / ExpectedReproducedDiffStatus
Max states per date≤ 80Satisfied in all reported scenarios0Match
Successor cap25Implemented0Match
Empty transition rowsNone0 in all scenarios0Match
Transition rows sum to 1RequiredReported passed0Match
Retained mass, baseline T=6 meanHigh enough for fidelity0.9696n/aGood
Retained mass, baseline T=12 meanHigh enough for fidelity0.9726n/aGood
Retained mass, low vol meanHigher than baseline expected0.9944n/aMatch
Retained mass, high vol meanLower than baseline expected0.9360n/aMatch

Summary:
Exp 1 is successfully reproduced in functional terms. The chain is valid, capped correctly, truncated correctly, and retains high transition mass in baseline and low-volatility settings. The volatility ranking of retained mass is exactly as expected.

Additional detail from exp1_chain_diagnostics.csv:

  • T6_baseline: mean retained mass by date mostly around 0.969–0.972, min row mass down to 0.8886
  • T12_baseline: later dates improve to around 0.975–0.977
  • T6_low: retained mass consistently around 0.994
  • T6_high: weaker, around 0.932–0.942, with minimum row mass 0.8270

This is economically and numerically credible: higher volatility spreads successor distributions, making a top-25 truncation more binding.


Experiment 2 — Solve the finite-horizon dynamic bond-allocation MDP

Here the comparison is mostly about whether the control problem is solved and whether policy patterns behave as expected.

MetricPaper / ExpectedReproducedDiffStatus
Policy solved for full cost gridYesYes0Match
Policy solved for rho sensitivityρ ∈ {0.9,0.95,1.0}Yes0Match
J0 monotone decreasing in costExpectedYes0Match
Trading aggressiveness falls with costExpectedYes0Match
rho sensitivity small in final wealthExpectedYes0Match qualitatively

exp2_policy_diagnostics.csv shows:

  • At c=0, the initial action is always 100% 10Y
  • As cost rises, mid-horizon policy frequencies shift modestly away from more aggressive rebalancing
  • J0_init declines monotonically, e.g. at ρ=1:
    • c=0: 0.0609
    • c=0.001: 0.0570
    • c=0.01: 0.0433

Summary:
Exp 2 appears correctly implemented and internally consistent. No red flags in the policy diagnostics.


Experiment 3 — Benchmark construction and paired evaluation

This is the main place where comparison to the paper matters most.

T = 6 months mean terminal wealth

Paper targets from the prompt:

  • EW ≈ 1.0431
  • MVO ≈ 1.0463
  • DP from 1.0860 at c=0 down to **1.0534atc=0.01`

Reproduced:

  • EW = 1.0278
  • MVO = 1.0222
  • DP = 1.0588 at c=0, 1.0419 at c=0.01
MetricPaperReproducedDiffStatus
EW mean TW, T=61.04311.0278-0.0153Material
MVO mean TW, T=61.04631.0222-0.0241Material
DP mean TW, c=0, T=61.08601.0588-0.0272Material
DP mean TW, c=0.01, T=61.05341.0419-0.0115Mild-material
DP > EWYesYesMatchMatch
DP > MVOYesYesMatchMatch

T = 12 months mean terminal wealth

Paper targets:

  • EW ≈ 1.0852
  • MVO ≈ 1.0901
  • DP ≈ 1.1801 at c=0, 1.1166 at c=0.01

Reproduced:

  • EW = 1.0552
  • MVO = 1.0458
  • DP = 1.1139 at c=0, 1.0800 at c=0.01
MetricPaperReproducedDiffStatus
EW mean TW, T=121.08521.0552-0.0300Material
MVO mean TW, T=121.09011.0458-0.0443Material
DP mean TW, c=0, T=121.18011.1139-0.0662Material
DP mean TW, c=0.01, T=121.11661.0800-0.0366Material
DP > EWYesYesMatchMatch
DP > MVOYesYesMatchMatch

Trading and downside metrics

Paper expectations:

  • Turnover should decline monotonically with cost
  • Cost burden should be hump-shaped
  • DP need not dominate on Q5 or MDD

Reproduced:

  • Turnover declines monotonically:
    • T=6: 4.28 → 0.19
  • Cumulative cost is hump-shaped:
    • rises from 0.0018 at c=0.0005
    • peaks near 0.0078 at c=0.005
    • falls to 0.0021 at c=0.01
  • Q5 and MDD are worse for DP than benchmarks at baseline T=6, c=0.001
MetricPaper / ExpectedReproducedStatus
Turnover monotone in cYesYesMatch
Cost burden hump-shapedYesYesMatch
DP dominates mean/medianYesYesMatch
DP may fail on Q5/MDDYesYesMatch

Summary:
Exp 3 reproduces the paper’s core ranking and economic message, but not the absolute levels. The strategy ordering is right, significance is strong, and transaction-cost patterns are right. But terminal wealth levels are systematically lower than the paper for both benchmarks and DP, especially at T=12.


Experiment 4 — Scenario robustness

Volatility sensitivity

Paper target examples:

  • DP means at c=0.001, T=6 approximately:
    • low 1.0794
    • baseline 1.0800
    • high 1.0838
  • downside should worsen with volatility

Reproduced DP means:

  • low 1.0529
  • baseline 1.0550
  • high 1.0652
MetricPaperReproducedDiffStatus
DP mean, low vol1.07941.0529-0.0265Material
DP mean, baseline vol1.08001.0550-0.0250Material
DP mean, high vol1.08381.0652-0.0186Material
Mean ranking across volSlight increase with volYesMatchMatch
Q5 worsens with volYesYesMatch
MDD worsens with volYesYesMatch

Initial curve sensitivity

Paper target examples at c=0.001:

  • upward sloping: DP 1.0553 vs MVO 1.0243
  • long-run mean: DP 1.0813 vs MVO 1.0479
  • inverted: DP 1.1629 vs MVO 1.1430
  • original: DP 1.0167 vs MVO 0.9952

Reproduced:

  • upward: DP 1.0252 vs MVO 1.0054
  • long-run mean: DP 1.0550 vs MVO 1.0222
  • inverted: DP 1.0792 vs MVO 1.0514
  • original: DP 1.0596 vs MVO 1.0351
MetricPaperReproducedDiffStatus
Upward DP mean1.05531.0252-0.0301Material
Upward MVO mean1.02431.0054-0.0189Material
LRM DP mean1.08131.0550-0.0263Material
LRM MVO mean1.04791.0222-0.0257Material
Inverted DP mean1.16291.0792-0.0837Large
Inverted MVO mean1.14301.0514-0.0916Large
Original DP mean1.01671.0596+0.0429Large
Original MVO mean0.99521.0351+0.0399Large
DP > MVO across curvesYesYesMatch

Important nuance: the pattern is reproduced, but the original-curve levels differ substantially and even directionally from the paper’s quoted magnitudes.

Continuation parameter sensitivity

Paper expectation:

  • Almost no change in mean wealth across ρ ∈ {0.90,0.95,1.00}

Reproduced:

  • T=6 means are effectively identical across rho at c=0 and c=0.001
  • At c=0.01, difference is negligible: 1.041858 vs 1.041876
MetricPaperReproducedDiffStatus
rho sensitivity in mean TWNear zeroNear zero0Match

Summary:
Exp 4 reproduces the robustness patterns well: DP remains superior in mean wealth, horizon extension increases advantage, volatility raises opportunity but worsens downside, and rho barely matters. Still, most absolute wealth levels remain below the paper, with especially notable gaps in the initial-curve study.


Experiment 5 — Truncation and approximation fidelity

This experiment is strongly reproduced relative to the stated expected outcome.

MetricPaper / ExpectedReproducedStatus
Mean wealth stable across MYesYesMatch
Q5 more sensitive than meanYesYesMatch
MDD more sensitive than meanYesYesMatch
Lower retained mass with lower MYesYesMatch
State-cap sensitivity smaller than truncation sensitivityExpectedYesMatch

From exp5_truncation_diagnostics.csv:

  • Retained mass:
    • M=5: 0.5115
    • M=10: 0.7378
    • M=25: 0.9637
    • M=50: 0.9986

From exp5_truncation_portfolio_metrics.csv for DP:

  • Mean TW:
    • M=5: 1.0574
    • M=10: 1.0643
    • M=25: 1.0601
    • M=50: 1.0592
  • Q5:
    • M=5: 0.9120
    • M=10: 0.9147
    • M=25: 0.8781
    • M=50: 0.8592
  • Mean MDD:
    • M=5: 5.45%
    • M=10: 4.11%
    • M=25: 6.72%
    • M=50: 7.46%

Interpretation:
This is exactly the paper’s main claim for the approximation study: coarse truncation can make the process look less risky by suppressing tail states while leaving average returns relatively unchanged.


Statistical & Economic Significance

Statistical significance

The strongest formal significance evidence is in exp3_paired_stats.csv.

For DP minus EW:

  • T=6, c=0: t = 21.60
  • T=6, c=0.01: t = 9.40
  • T=12, c=0: t = 27.61
  • T=12, c=0.01: t = 11.53

For DP minus MVO:

  • T=6, c=0: t = 18.88
  • T=6, c=0.01: t = 8.97
  • T=12, c=0: t = 24.78
  • T=12, c=0.01: t = 11.27

These are far above standard significance thresholds. So the DP outperformance in terminal wealth is statistically very strong within the reproduced environment.

Economic significance

Economic significance is also meaningful:

  • T=6, c=0.001:
    • DP minus EW mean wealth = +0.0272
    • DP minus MVO mean wealth = +0.0329
  • T=12, c=0.001:
    • DP minus EW = +0.0494
    • DP minus MVO = +0.0587

Those are large terminal-wealth gains over only 6–12 months, especially versus static benchmarks.

But this comes with a trade-off:

  • DP has materially worse downside tails and drawdowns than EW/MVO in several core scenarios.
  • Example T=6, c=0.001:
    • DP Q5 = 0.8781
    • EW Q5 = 0.9144
    • MVO Q5 = 0.9547
    • DP MDD = 7.11%
    • EW MDD = 5.15%
    • MVO MDD = 3.07%

So the reproduced results are economically significant, but clearly return-seeking rather than risk-reducing.


Discrepancies

1. Absolute terminal wealth levels are systematically below the paper

This is the biggest difference.

Across T=6 and T=12:

  • EW, MVO, and DP are all generally lower than the paper.
  • The gap is largest at T=12 and in some initial-curve cases.

Likely explanations:

  • Different DNS calibration details than the paper
  • Different initial factor vectors or yield units
  • Different simulation sample size or state-approximation fidelity
  • Different MVO specification, which is explicitly under-specified in the paper
  • Different treatment of evaluation sample size and seed aggregation

2. MVO benchmark levels and allocations likely differ from the paper

The prompt itself notes ambiguity in the MVO scalarization. That matters.

Observed MVO weights:

  • long-run mean: [0.799, 0.000, 0.201]
  • upward sloping: [1.0, 0.0, 0.0]
  • inverted: [0.883, 0.117, 0.0]
  • original: [0.0, 1.0, 0.0]

These are plausible, but the resulting MVO mean wealth often deviates materially from paper values, especially:

  • T=12 baseline
  • inverted curve
  • original curve

This benchmark ambiguity alone can explain a meaningful portion of the mismatch.

3. Turnover magnitudes are below the paper’s cited levels

Paper expectation for T=6:

  • turnover roughly 6.339 → 1.096 as c rises from 0 to 0.01

Reproduced:

  • 4.28 → 0.19

Pattern matches, but levels are materially lower, especially at high cost.

Possible reasons:

  • Different state paths / dynamics reduce incentive to trade
  • More concentrated initial policy toward 10Y plus less switching
  • Reachable-state pruning or state truncation dampens path variation
  • Different turnover definition or timing convention

4. Initial-curve “original” scenario differs materially

Paper target:

  • DP 1.0167
  • MVO 0.9952

Reproduced:

  • DP 1.0596
  • MVO 1.0351

This is not minor noise. It suggests either:

  • the reconstructed “original” initial curve differs from the paper’s actual vector,
  • or the mapping from named curve scenarios to DNS factors is not the same.

That is probably the most concrete scenario-level discrepancy.


Methodology Issues

A few methodological notes matter for interpreting the gaps:

  • The repository used 50,000 training paths for chain construction, while the prompt suggested a large sample possibly up to 100,000–1,000,000 for stable kernels.

    • This is not necessarily wrong, but it may contribute to quantitative drift.
  • The evaluation description in RESULTS.md says:

    • “10,000 paths × 5 seeds (1,500 paths per seed for speed)”
    • That is internally inconsistent with the paper-style evaluation design and means the effective path count appears reduced.
    • Reduced evaluation size does not explain systematic mean gaps by itself, but it does lower precision and may affect stability.
  • The MVO benchmark is inherently ambiguous and likely not exactly matched to the paper.

  • The chain approximation seems valid, but truncation clearly changes tails; if the paper used a richer chain or different pruning details, that could shift benchmark and DP performance levels.


Reliability

Strengths

  • Results are internally coherent across all five experiments.
  • Core qualitative patterns are stable:
    • DP > EW and DP > MVO in mean/median
    • turnover declines with cost
    • cumulative cost is hump-shaped
    • rho sensitivity is negligible
    • higher volatility improves mean opportunity but worsens downside
    • truncation affects tail risk more than mean wealth

Red flags / caveats

  • Systematic downward level shift vs paper for most core wealth metrics
  • Evaluation sample size appears smaller than the paper design
  • MVO benchmark construction is a major source of uncertainty
  • Initial-curve “original” scenario appears materially off
  • No direct Sharpe/alpha/t-stat from the paper side are available, so comparison is constrained to wealth, tail, and t-stat metrics reported here

Overall confidence

  • High confidence in the internal validity of the repository’s own results
  • Medium confidence in faithful quantitative reproduction of the paper’s exact reported magnitudes

Verdict

Final Decision: PARTIALLY REPRODUCED

Why

The repository successfully reproduces the study’s main findings and comparative patterns:

  • valid time-inhomogeneous DNS Markov chain construction,
  • operational DP solution with cost-sensitive trading,
  • DP beating equal-weight and MVO in mean/median wealth,
  • weak/no improvement in tail risk and drawdown,
  • robust qualitative behavior across horizon, cost, volatility, rho, and truncation settings.

However, it does not fully reproduce the paper quantitatively:

  • absolute terminal wealth levels are materially lower,
  • turnover magnitudes differ,
  • some benchmark levels and initial-curve results are substantially off,
  • and MVO methodology ambiguity remains unresolved.

So this is best classified as PARTIALLY REPRODUCED: the economic story and direction of results are replicated, but not the paper’s full quantitative scale.


Experiment-by-Experiment Bottom Line

Exp 1

Reproduced. Chain construction diagnostics are strong and align with expectations.

Exp 2

Reproduced. DP solver behavior is correct and economically sensible.

Exp 3

Partially reproduced. Strategy ranking and significance match, but absolute performance levels differ materially.

Exp 4

Partially reproduced. Robustness patterns match; several quantitative targets do not.

Exp 5

Reproduced. Approximation-fidelity conclusions are captured very well.

Experiments

Construct and validate the time-inhomogeneous discrete-state Markov chain approximation of rolling-maturity DNS bond yields

Build a monthly, time-inhomogeneous, discrete-state Markov chain for three rolling-maturity zero-coupon bond yields generated from a Dynamic Nelson-Siegel (DNS) factor model. Validate that the chain construction reproduces the intended state discretization, date-specific state capping, successor truncation, and retained-mass diagnostics required for downstream dynamic programming portfolio optimization.

Solve the finite-horizon dynamic bond-allocation MDP with proportional transaction costs

Implement and solve the finite-horizon Markov decision process (MDP) for dynamic allocation across three rolling-maturity zero-coupon bonds under proportional transaction costs. The control problem uses the time-inhomogeneous Markov chain over discretized yield states and a discrete action set of six long-only, fully invested portfolios. The objective is risk-neutral expected terminal wealth, optionally scaled by a continuation parameter rho.

Benchmark construction and paired evaluation of DP versus equal-weight and static mean-variance buy-and-hold strategies

Evaluate the dynamic programming (DP) bond-allocation policy against two static benchmarks—equal-weight buy-and-hold and static mean-variance optimal (MVO) buy-and-hold—using common random numbers and paired pathwise comparisons on simulated Markov-chain paths. The primary goal is to test whether DP delivers higher mean and median terminal wealth than both static benchmarks under the same simulated yield dynamics.

Scenario robustness analysis: transaction costs, horizon length, volatility regime, initial curve shape, and continuation parameter

Run a comprehensive sensitivity analysis to test whether the dynamic programming bond-allocation strategy retains its mean-wealth advantage across alternative transaction costs, investment horizons, volatility regimes, initial yield-curve shapes, and continuation-parameter values. This experiment reproduces the paper’s robustness framework and checks which conclusions are stable and which metrics are sensitive.

Truncation and approximation fidelity study: effect of Markov-chain pruning on mean, tail, and drawdown statistics

Investigate how Markov-chain approximation choices—especially successor truncation and state capping—affect portfolio evaluation metrics. The primary hypothesis is that aggressive truncation can leave mean terminal wealth nearly unchanged while materially distorting tail-sensitive and path-dependent risk measures such as fifth-percentile terminal wealth and maximum drawdown.

Original paperRun QCA on your paper