Skip to main content
AI Fin Hub

Explainer, in Backtesting & Validation

Probability of Backtest Overfitting (PBO): Bailey et al.

The Probability of Backtest Overfitting (PBO) comes from D. H. Bailey, J. M. Borwein, M. López de Prado and Q. J. Zhu, "The Probability of Backtest Overfitting", Journal of Computational Finance 20(4), 39-69 (April 2017; first published online 19 September 2016; DOI 10.21314/JCF.2016.322; SSRN abstract 2326253). It is the probability that the model configuration chosen as best in-sample performs below the median of all N tried configurations out-of-sample. The authors estimate it with combinatorially symmetric cross-validation (CSCV), so PBO runs from 0 to 1.

3 questions. Published May 10, 2026. Updated Oct 11, 2026. By AI Fin Hub Research.

Definition

Bailey-Lopez (PBO)

The Probability of Backtest Overfitting (PBO) comes from D. H. Bailey, J. M. Borwein, M. López de Prado and Q. J. Zhu, "The Probability of Backtest Overfitting", Journal of Computational Finance 20(4), 39-69 (April 2017; first published online 19 September 2016; DOI 10.21314/JCF.2016.322; SSRN abstract 2326253). It is the probability that the model configuration chosen as best in-sample performs below the median of all N tried configurations out-of-sample. The authors estimate it with combinatorially symmetric cross-validation (CSCV), so PBO runs from 0 to 1.

Why it matters

A backtest search over many configurations almost always produces an impressive in-sample winner, so a high in-sample Sharpe ratio is weak evidence on its own. PBO measures how often that winner fails to beat the median out-of-sample, using only the data the search already used. The paper notes that a customary Neyman-Pearson approach would reject models whose estimated PBO exceeds 0.05. PBO above 0.5 means the selection did worse than picking a configuration at random.

How it works

Following the paper's Algorithm 2.3: stack the N configurations' returns into a T x N matrix M. Split its rows into an even number S of equal blocks. Form all C(S, S/2) combinations of S/2 blocks; each is a training set J and its complement is the test set. For each combination, find the configuration n* with the best in-sample metric, take its out-of-sample rank r among the N, set w = r/(N+1) and logit = ln(w/(1-w)). PBO is the share of combinations with logit at or below zero; S = 16 gives 12,870 combinations.

Example

The paper's own Figure 2 example (a backtested strategy search)

In-sample Sharpe of selected configs

1 to 3, all positive

Out-of-sample Sharpe below zero

about 78%

Estimated PBO

74%

Every in-sample winner looked strong, yet about 78% of their out-of-sample Sharpe ratios were negative and the CSCV estimate of PBO was 74%. The authors use it to show that a higher in-sample Sharpe ratio was associated with lower out-of-sample performance, so no in-sample threshold escapes overfitting.

Key takeaways

1

Cite it as Bailey, Borwein, López de Prado and Zhu (2017), Journal of Computational Finance 20(4), 39-69, DOI 10.21314/JCF.2016.322; the SSRN working paper is abstract 2326253.

2

PBO is estimated with CSCV on the same data the search used; no separate hold-out sample is required.

3

The paper suggests rejecting models with estimated PBO above 0.05; PBO above 0.5 is worse than random selection.

4

Pair PBO with the deflated Sharpe ratio (Bailey and López de Prado, 2014), which corrects a single Sharpe ratio for the number of trials.

Run the numbers next

  • Calculators Backtest Overfitting Score

    Upload a backtest trade log and compute Probability of Backtest Overfitting (PBO), Deflated Sharpe Ratio, and the odds your edge survives live trading.

  • Calculators Deflated Sharpe Ratio Calculator

    Bailey & López de Prado deflated Sharpe — corrects observed Sharpe for selection bias across K trials. Reports deflated Sharpe, PSR (probability of skill).

Questions people ask next

What is the full citation for the probability of backtest overfitting paper?

Bailey, D. H., Borwein, J. M., López de Prado, M., and Zhu, Q. J. (2017). "The Probability of Backtest Overfitting." Journal of Computational Finance 20(4), 39-69. DOI 10.21314/JCF.2016.322, first published online 19 September 2016. The working paper is on SSRN as abstract 2326253, and an author copy is hosted on davidhbailey.com.

What PBO threshold should I use?

The paper states that a customary approach under the Neyman-Pearson framework would reject models with an estimated PBO above 0.05. A PBO near 0.5 means selection added no information, and above 0.5 the in-sample winner did worse than a randomly chosen configuration.

How many CSCV combinations does PBO use?

With S blocks (S even), CSCV forms C(S, S/2) combinations. S = 16 gives 12,870. The working-paper PDF prints this figure as 12,780, a typo; C(16, 8) is 12,870. Large S can be sampled rather than enumerated.

Sources

  1. The probability of backtest overfitting (Journal of Computational Finance 20(4), 39-69) , Bailey, Borwein, López de Prado, Zhu; Journal of Computational Finance (2017)
  2. The Probability of Backtest Overfitting (SSRN abstract 2326253) , SSRN working paper
  3. The Probability of Backtest Overfitting (author copy, revised February 2015) , David H. Bailey

Keep the topic connected

  • Learn Overfitting

    Overfitting in trading-strategy backtests: how multiple-testing inflates apparent edges and the diagnostics that catch it.

  • Learn Walk-Forward Optimization

    Walk-forward optimization: rolling-window train/test that mimics live deployment. Why anchored vs sliding matters and the gotchas in window sizing.