Suppose a trading rule would have beaten the market by five points a year for the past ten years. Should you trust it? Probably not. A computer can try thousands of variations of an idea in an afternoon, and among thousands, a few will look excellent by luck alone. Such a replay of a rule on past prices, as if it had been traded, is called a backtest, and the record of backtests is sobering. The US exchange-traded funds launched between 1993 and 2014 followed indexes that had beaten the market by about 5% a year before launch, mostly in backtests, and by close to nothing once the funds were trading [1].
Marcos López de Prado has spent much of his career on this problem. He heads quantitative research and development at the Abu Dhabi Investment Authority, one of the world’s largest investors, and is the author of Advances in Financial Machine Learning (AFML), a standard text in the field [2]. His diagnosis is unusual. Most machine-learning funds fail, he argues, and the main cause is not a lack of talent or resources: even researchers with shared data and computers fail, because of the way research is organised [2]. A companion article lists it first among ten reasons [3].
His remedy borrows the logic of manufacturing. Instead of asking one brilliant person to find a strategy alone, a firm should build a production line in which each station does one job, checks it and hands it on. He calls it the alpha assembly line [4], alpha being the part of a strategy’s return that does not come from simply bearing market risk or other common risks.
This page explains the line in plain language, station by station, with the tools López de Prado proposes for each, and goes deepest at the testing station, where much of his work lies. The last section explains why σ‑Bench is built on the line: it is the frame in which σ‑Bench tests whether AI agents, models that carry out long tasks on their own, do better research when they improve between sessions than when they start from zero each time.
Why research needs a factory
López de Prado starts from history (Figure 1). For most of the twentieth century, investment decisions rested on stories and later on the analysis of single companies. Since about 2000 they rest more and more on research and technology, and the people hired are scientists and engineers. Investing, one of his slides concludes, is increasingly an engineering problem [4].
| Era | Toolkit | What changed | Decisions rest on | Who is hired |
|---|---|---|---|---|
| Before 1950 | Technical analysis | Few theories, no computers, simple mathematics, little data: investing is largely speculation | Stories and themes | Professionals without formal training |
| 1950 to 2000 | Fundamental analysis, econometrics | Academics formalise diversification, risk premia and valuation: portfolio theory, models of risk and return (CAPM, APT), risk factors, option pricing (Black–Scholes) | Financial analysis of single opportunities | Analysts with the CFA charter, the profession’s gold standard of the time |
| 2000 to 2015 | Market microstructure, high-frequency trading | Cheap storage, supercomputers and fast networks; models grow more sophisticated | Research and technology; some of the best funds are run by quants | Science and engineering graduates, for research and for software |
| Since 2015 | Machine learning, AI, causal inference | An explosion of alternative data moves research from forecasting to nowcasting, measuring the present directly | Research and technology | Data scientists and automation experts |
| Next? | AI agents | Models that run experiments on their own, for hours | Research done in part by agents | Agents, at some stations of the line |
Yet many quantitative firms, which invest by mathematical models, are still organised like a group of traditional portfolio managers, who invest on their own judgement. Such managers are kept apart for good reasons: nobody else can follow the logic of their bets, and together they would only talk each other into the same bets. Firms copy the template for their quants, the researchers who build the models. They hire many researchers with doctorates and ask each to deliver a complete strategy within months [2]. Each must then do everything alone: find and clean the data, discover signals, invent a theory, test it and write the production code.
López de Prado calls this the Sisyphus paradigm, after the king in Greek myth condemned to roll a boulder up a hill forever, only to watch it roll back down. Under that pressure a lone researcher usually settles for one of two results: a backtest that only looks good, or a well-known strategy that everyone else already trades [3].
His alternative is the meta-strategy paradigm: the firm’s product is not a strategy but the process that makes strategies. “The money is not in making a car, it is in making a car factory,” he writes [2]. On a production line each specialist masters one task, every step is checked before the next begins, and the expensive parts (the data, the computers and the testing tools) are built once and shared. Asking one researcher to build a whole strategy is, in his image, like asking a worker at a car plant to build a whole car, welder one week and electrician the next.
Why a factory, and why now? López de Prado answers with gold. In the sixteenth century the conquistadors carried off about one and a half tonnes of gold a year; modern mines extract some 2,500 tonnes a year by his count, and more today, most of it in particles too small to see, which only industrial methods can recover [2]. Alpha has gone the same way. The visible nuggets have been found; the microscopic ones are plentiful, and finding them takes a factory. His model for such a factory is the US national laboratory, where interdisciplinary teams with a strict division of labour make discoveries at a predictable rate rather than by lucky strikes [2].
Seven stations, seven questions
Figure 2 redraws the slide on which López de Prado sums up the line [4]. Seven stations fall into three functions. Research turns raw data into a theory, testing tries to break the theory, and production turns what survives into positions. Each station is defined by one question, and the order of the questions is the logic of the whole line: first whether the data can be framed as examples at all, then whether a pattern existed, why it should continue and how likely it is to be a fluke, and only then how to run it, watch it and trade it.
The rows beneath the stations read the line in two more ways. The first is the philosopher Karl Popper’s account of how knowledge grows: a problem, a tentative theory that tries to solve it, and the elimination of errors, which leaves a new, often deeper problem [5]. The first two stations state the problem, the third proposes the theory, and the four after it try to refute it. Testing is a station of its own because López de Prado wants a theory attacked by people who did not write it [6]. After deployment the market goes on eliminating errors, every day a strategy trades.
The second row uses the vocabulary of drug trials, phases 1 to 4. The slide gives only the labels; our reading is that a strategy, like a drug, starts small, with a “proto-squad” taking a first look, earns a full “squad” if it looks promising, must pass a large confirmatory test before release, and is watched after release, because some harms appear only then. For a strategy that harm is decay, the slow fading of its edge, and the last phase never ends: a strategy stays under watch until it is retired.
The arrow at the bottom closes the line into a loop. The slide labels it only “strategy metadata” for the next round and names one tool, meta-labeling; the section “A line that learns” returns to it.
Research: from raw data to a theory
The first three stations turn raw records into a theory worth testing, each building on the one before.
Data curation: can the data be framed as examples?
In σ‑BenchStation 1’s task rebuilds the trades, the volumes bought and sold, from the quote stream of eight CME currency futures.
A machine-learning model learns from examples: a moment, what was known at that moment (the features, X) and what happened next (the label, y). On the slide, the data curators’ question is whether the data can be turned into a table of such examples [4]. In AFML they collect, clean, adjust and deliver the data, and the book leaves bars, labels and sample weights to the feature analysts [2]; this page follows the slide.
Part of the job is careful bookkeeping. Futures, contracts to buy or sell at a set price on a later date, expire, and successive contracts must be joined into one continuous series without inventing a jump in price at every join. Every value must carry the time it became known, because using a number before it was published, known as look-ahead bias, is one of the commonest ways a backtest fools its own author. Part of it is taste: data that is hard to store and process, López de Prado writes, “is always the most promising” [2], because what everyone can process easily has already been traded on.
The most visible choice in shaping the table is the clock. Markets are usually sampled by time: one bar, a summary of the trading in an interval, every minute or every hour. But markets do not process information at an even pace. The opening hour is busy and the middle of the day is quiet, so time bars “oversample information during low-activity periods and undersample information during high-activity periods” [2].
The alternative is to let activity set the clock: close a bar after a fixed number of trades, a fixed volume or a fixed amount of money traded (Figure 3). Returns measured on such bars come closer to the regular, bell-shaped behaviour that most statistical models assume. Dollar bars, which close each time the same amount of money has changed hands, also stay comparable across years in which prices rise or fall, because every bar holds the same value of trading, not the same number of contracts. σ‑Bench uses them: its market data are currency futures, sampled as dollar bars.
Feature analysis: has X predicted y?
In σ‑BenchStation 2’s task forecasts, after every order, whether the next order in each future will be a buy or a sell.
The feature analysts look for signals, measurements that carried information about what came next. First they must decide what “what came next” means. The common answer, the return after a fixed time, ignores the path in between: a position that hit its stop-loss on the way, the level at which a trader cuts a loss, would never have reached the end, yet a fixed horizon may record it as a win. The triple-barrier method labels each example the way a trader would experience it, by whichever comes first: a profit target, a stop-loss or a time limit, with the targets scaled to how much prices have recently been swinging, their volatility (Figure 4) [2].
Financial examples also overlap. If each label covers the next forty bars, neighbouring examples share most of their future, and a million rows may carry the evidence of far fewer than a million independent examples. The book’s image is a laboratory in which someone spills blood from each test tube into the nine tubes to its right [2]. The remedy is to weight each example by how unique its information is, and to draw training samples in a way that avoids near-duplicates.
Which signals matter? Here López de Prado states his first law of backtesting: “Backtesting is not a research tool. Feature importance is.” [2] Instead of trying strategy after strategy until one backtest looks good, the analyst measures how much each feature contributes to a model’s forecasts on data the model has not seen, for example by scrambling one feature at a time and watching how much worse the forecasts get.
Features that move together complicate this: scramble one of two near-twins and the other still carries its information, so each looks unimportant although together they matter. Grouping related features first and scrambling a whole group at once removes most of the confusion [7]. Importance found this way is still an association, not a cause. Explaining it is the next station’s job.
Strategy development: why should X predict y?
In σ‑BenchStation 3’s task prices short-dated currency options and replicates them with the future, scored on currencies the program never saw.
A pattern that held in the past is not yet a strategy. The strategist has to say why it should hold in the future, and for López de Prado the answer must be a theory: “a theory must identify the economic mechanism that causes an agent to lose money to us” [2]. That agent, the trader on the other side, may be driven by a behavioural bias, know less, or be forced by a regulation to trade at bad prices. A theory should explain many features at once. The features may come out of a black box, a model nobody can read; the strategy must be a white box, an open experiment designed to test the theory.
He illustrates the point with the flash crash of 6 May 2010, when US share prices, already down more than 4% that day, fell a further 5 to 6% within minutes and rebounded almost as quickly [8]. By his account, his team’s market-making algorithms, which earn a small margin by standing ready to buy and to sell, cut their positions around 12:30 New York time, two hours before the plunge, and bought into the rebound. They had been trained to step back when order flow turned persistently one-sided, a signal chosen by a theory of toxic order flow, the risk of trading against better-informed traders, not one found by backtesting [7].
In recent years he has carried the argument into causal inference, the statistics of cause and effect [6]. A model can learn that X predicted y because X causes y, but also because a third variable drives both (a confounder), or because the analysis held fixed a variable that X and y both influence (a collider), which manufactures a link where none exists (Figure 5). His examples come from factor investing, which buys stocks with a common trait, such as cheapness, and sells stocks without it. If a firm’s borrowing drives both its cheapness and its returns, a model that leaves borrowing out misstates the value premium, the extra return of cheap stocks. If a quality score depends on both cheapness and returns, holding it fixed can even flip the premium’s sign, turning a profitable factor into a losing one [9]. Neither error goes away with more data, or with the corrections for luck described under testing below. He and Zoonekynd call the result a factor mirage [9] [10].
This is why the strategist’s station comes before testing, and why testing cannot replace it. A backtest replays history; it does not intervene in it. In his ranking of evidence, backtests sit in the lower half, with other observational studies, below controlled experiments and below simulations built on an explicit causal graph, a diagram of what causes what, because “a backtest has no power to prove or disprove a causal mechanism” [6]. It can show that a strategy could have made money, not why.
Testing: how likely is a false positive?
In σ‑BenchStation 4’s task takes the winners of real searches over trading signals and says how strongly each claim will hold on other futures and later days: discovery or fluke.
The testing station asks how likely it is that a strategy is a false positive: a fluke that looks like a discovery. Its main tool, the backtest, is the most common way to judge a strategy, and López de Prado’s most persistent warning concerns how it is used. A backtest is not an experiment: history happened once and cannot be run again, and every variation tested on the same history uses up some of its credibility.
He calls the backtest a sanity check, good for discarding a strategy but not for improving it. A researcher who adjusts a strategy until its backtest looks good is fitting it to the noise of the past, which is called overfitting [2]. Hence his rules: backtest only when the research is done, record every backtest that is run, and when a strategy fails, start again from scratch instead of repairing it on the same data.
The best of many worthless strategies
How much can luck produce? A common yardstick is the Sharpe ratio, a strategy’s average return above the risk-free rate divided by the volatility of its returns: reward per unit of risk. Measured on five years of daily returns, even a strategy with no skill at all rarely shows a Sharpe ratio of exactly zero: five years of noise do not average out, so the measured value scatters around zero and sometimes lands well above it.
Now test many such strategies and keep the best. The False Strategy Theorem gives the Sharpe ratio that the best one can be expected to show [11]. From strategies whose true Sharpe ratio is zero, the best of ten shows about 0.7 on average, the best of a hundred 1.1 and the best of a thousand about 1.45 (Figure 6). A Sharpe ratio of 1 over five years is convincing for a strategy tested once; as the best of ten worthless strategies, it turns up in about one search in eight [12].
Statisticians call this the problem of multiple testing, and it has an uncomfortable consequence. The number that turns a backtest into evidence is one that researchers rarely report: how many strategies were tried before this one. Given that number, and how much the trials’ results varied, the deflated Sharpe ratio turns the measured value into a probability: how likely it is that the strategy’s true Sharpe ratio beats the one that the best of that many skill-less trials would be expected to show by luck alone [13]. It also allows for a short history and for returns that are lopsided or prone to rare extreme moves, which make a Sharpe ratio less reliable than the textbook formula suggests.
The shorter the history, the fewer worthless tries it takes to produce a Sharpe ratio of 1: about seven on two years of daily data, about 45 on five [14]. A 2026 paper by López de Prado, Lipton and Zoonekynd puts it bluntly: “Without adjusting for multiple tests, Sharpe ratios are essentially useless” [15].
Two more tools turn the same idea into procedures. The probability of backtest overfitting cuts the history into blocks, uses every combination of half the blocks to pick the best variant and the other half to test it, and counts how often the winner on one half lands in the bottom half of the ranking on the other [16]. And when many trials are near-copies of each other, grouping them by similarity shows how many independent trials there really were [7]. All of this depends on a complete record of what was tried, which is why a backtest is to be reported together with all the trials that led to it [2].
Three ways to backtest
Even an honest backtest is only as good as the price paths it replays. A 2024 paper by Joubert, López de Prado and colleagues at ADIA sorts backtests into three types [12] (Figure 7). The walk-forward backtest replays history in order, training on the past and testing on what came next. It is easy to read and to compare, but it tests one path, the one that happened, which is easy to overfit and may not repeat.
Resampling backtests cut the same history into pieces and recombine them into many paths, so that a result becomes a distribution instead of a single number. They are harder to overfit, but still confined to the past. Monte Carlo backtests, named after the casino, draw new paths at random from a model of how the data arise. They can test scenarios that never happened and warn early when live data stop looking like the model, but they are only as good as the model, and a good model requires understanding why the strategy works.
Resampling needs care with financial data, because examples overlap in time. A label is often known only hours or days after the moment it describes, so a training example taken just before the test period can carry information from inside it. Standard cross-validation, which holds out one block of data for testing, trains on the rest and repeats for every block, was built for fields where examples are independent; here it leaks the answer into the training data. Purging removes the training examples whose labels overlap the test labels, and an embargo drops a few more right after the test period (Figure 8) [2].
Combinatorial purged cross-validation goes one step further. It splits the history into groups, tests every combination of a few of them, and stitches the test results into complete backtest paths. With six groups, two of them held out at a time, there are fifteen ways to split the data, and their test results stitch together into five complete paths: instead of one Sharpe ratio, the researcher sees five [2].
The third type, Monte Carlo, has a special place in López de Prado’s work. Instead of fitting a trading rule’s exits (how much profit to take and how much loss to accept) to the single price path that history provides, he estimates a model of how the prices move and finds the best rule on many synthetic paths drawn from it [2]. The paper on the three types adds two rules for every backtest: draw a causal graph of the anomaly before the first backtest, and backtest only a strategy that is nearly final and rests on a sound causal theory [12]. Every backtest is overfit to some extent, López de Prado insists; the craft is to measure by how much [2].
Production: from prototype to positions
A strategy that survives testing is still a prototype: research code, run on stored data. The production stations turn it into positions, and they keep testing it after it goes live.
Deployment: can the prototype run fast and unchanged?
In σ‑BenchStation 5’s task runs two of López de Prado’s computations, structural-break statistics and entropy, on real ticks within one fixed time limit, matching the slow research prototype.
The deployment team rewrites the prototype for the trading systems. Its first duty is sameness: the deployed solution must be “logically identical to the prototype” [2], so that what trades is exactly what was tested. Its second is speed: code that runs many calculations at once, on many processors, to which AFML devotes its last three chapters.
The cost of getting the first duty wrong is easy to underestimate. In the days before 1 August 2012 the broker Knight Capital installed new code on seven of its eight order-routing servers, the computers that send its orders to the exchanges, and missed the eighth, where a reused setting woke up old code. When trading opened on 1 August, it sent millions of orders in about 45 minutes and lost some 460 million dollars [17]. It is not López de Prado’s example, but it is the best-documented public case of a deployment that was not identical to what had been tested.
Portfolio oversight: does the strategy behave as expected?
In σ‑BenchStation 6’s task states, before each order of a deployed execution rule, the 90, 95 and 99 % quantiles of that order’s cost.
A new strategy is not trusted with money at once. AFML describes a career in five stages (Figure 9) [2]. First comes an embargo, in a second sense of the word: the strategy runs on data that arrived after its backtest ended, and moves on only if the results agree with the backtest. Then it trades on paper, on live prices as they arrive but without money, for as long as it takes to gather evidence. Then it graduates to a real position, and its capital is re-allocated often and automatically: small at first, more while it performs as expected, less as its edge decays. Finally it is decommissioned, when it has fallen short for long enough to conclude that the theory behind it no longer holds. New versions run beside the old ones.
The hard part is telling bad luck from a broken theory, and it takes longer than intuition suggests. Under textbook assumptions (independent, normally distributed daily returns), a track record that shows a Sharpe ratio of 1 must be about 2.7 years long before that ratio is significantly above zero at the 95% level, and almost 11 years if it shows 0.5. Even a strategy whose true Sharpe ratio is 1 would pass that test after 2.7 years only about half the time [15]. Losses take long to repair as well: recovering from the worst drawdown, a fall from a previous peak, to be expected at a given confidence takes about three times as long as it took to fall into it, so a rule that fires managers after a drawdown fires skilled ones too [18].
A 2026 paper by López de Prado, Lipton and Zoonekynd turns the life cycle into a chain of such tests, each against its own point of comparison: the embargo against the discovery backtest, live trading against the backtest and embargo together, and the out-of-sample record, embargo plus live, against the backtest to detect decay and against zero before a strategy is retired [15].
Oversight also decides how capital is spread across strategies, and here López de Prado proposed one of his best-known methods (AFML files it under the strategists, with allocation across strategies as one of its uses). Classical portfolio optimisation computes the weights from the full table of how the investments’ returns move together, and the more alike the investments are, the more a small error in that table swings the weights. Hierarchical risk parity instead groups similar investments into a tree and splits capital down the branches, so a small change in one correlation barely moves the result [19].
Portfolio implementation: how cheaply can the positions be reached?
In σ‑BenchStation 7’s task moves a basket of eight futures to its target positions with the least implementation shortfall.
The last station turns target positions into trades. Every trade costs something: the spread between the prices to buy and to sell, the move while an order waits, the push that the order itself gives the price, and the part of the order that never trades. The gap between the return of a paper portfolio, traded instantly and for free, and the return actually earned is the implementation shortfall [20].
It can be large. In a classic example, the paper portfolio of stocks recommended by the research firm Value Line returned 26.2% a year from 1979 to 1991, while the real fund that traded the same recommendations returned 16.1% [21]. A strategy with a thin edge can look profitable in a backtest and lose money in the market, which is why AFML lists among its backtest statistics what trading cost and how much costlier it could become before the strategy breaks even [2].
The station draws on López de Prado’s research with David Easley and Maureen O’Hara on market microstructure, the study of how orders become prices. Their measure VPIN (volume-synchronised probability of informed trading) estimates how toxic the order flow is, the quantity behind the flash-crash story above [22]. They argued that it rose in the hours before the crash [23]; other researchers found it a poor predictor of such events, and the dispute is not settled [24]. The station’s question stays the same either way: how to reach the positions the strategy wants without giving its edge away in costs.
A line that learns
In σ‑BenchThis loop is where dreaming comes in: between rounds, the agent’s dream rewrites how it searches (Dream-RSI) or what it keeps in its notes (memory dreaming).
The loop at the bottom of Figure 2 is what separates a factory from a workshop. The slide gives it only a label; our reading, assembled from AFML, is that every round of strategies leaves a record (which theories held up live, under which conditions, and how fast they decayed) and that this record is the raw material of the next round.
Meta-labeling, the tool the slide names, shows the idea at the scale of a single strategy [2]. A primary model, which can be a simple rule, a statistical model or a human analyst, decides the side of each bet: buy or sell. A second model is trained on the primary’s own track record, on whether each of its past bets paid, while its inputs can be any information, from market conditions to the forecaster’s own state. It learns when the primary tends to be right, and decides whether to act on a signal and how much to stake. It never picks the side, so it can sit on top of almost any forecaster [25].
In an invented example, a primary model that catches most opportunities but is right on fewer than half of its bets loses money; filtered by a second model, it bets half as often and gains (Figure 10).
| Model | Bets | Share right | Opportunities caught | Result |
|---|---|---|---|---|
| Primary model alone | 400 | 45% | 90% | −40 |
| With a meta-labeling filter | 200 | 70% | 70% | +80 |
The firm does the same at the scale of the line. The record of its deployed strategies tells research which kinds of theory survive contact with the market, and the next problem starts from there: Popper’s cycle run as a production process. One discipline governs what may flow back. Backtest results go to management, not to the researchers [2], because a researcher who sees the backtest starts tuning to it. “Backtesting while researching is like drinking and driving,” runs his second law of backtesting. “Do not research under the influence of a backtest.” [2] The loop carries lessons, not answers.
Seen whole, the assembly line is a system that improves itself, round after round, without trusting any single result. Figure 11 lists the problems it was built to solve, as López de Prado first set them out: ten reasons why most machine-learning funds fail, each with his remedy [2] [3]. The last column, the station where each remedy lives, is this page’s mapping, not his.
| Pitfall | Remedy | Station |
|---|---|---|
| Each researcher builds a whole strategy alone | A team organised as an assembly line | The whole line |
| Research by trial and error on backtests | Feature importance before any backtest | 2 Feature analysis |
| Sampling the market by the clock | Sampling by activity: volume and dollar bars | 1 Data curation |
| Returns that forget the price level | Differencing prices only in part (fractional differentiation) | 2 Feature analysis |
| Labels over a fixed horizon | The triple-barrier method | 2 Feature analysis |
| Learning the side and the size of a bet at once | Meta-labeling | 2 Feature analysis |
| Treating overlapping examples as independent | Weighting examples by uniqueness; sampling that avoids near-duplicates | 2 Feature analysis |
| Leakage in cross-validation | Purging and embargo | 2 and 4 |
| Backtesting only on the one path history took | Combinatorial purged cross-validation | 4 Testing |
| Backtest overfitting | Backtests on synthetic data; the deflated Sharpe ratio | 4 Testing |
Why σ‑Bench is built on the assembly line
The line learns between rounds of strategies, and that is the bridge to σ‑Bench. The first pillar of this site describes AI agents that learn between work sessions by dreaming: between sessions they go over their past work and rewrite what they carry forward. Google’s Dream-RSI rewrites how an agent searches, and Anthropic’s agent memory rewrites what it knows [26]. To our knowledge, neither idea has yet been tested on open-ended research, where the data are noisy and there is no answer key. That is the frontier σ‑Bench works at: it measures whether an agent that keeps improving itself between sessions does better research than one that works once, from zero, and by how much.
To ask that question about research, σ‑Bench needs a map of what research is, and López de Prado’s line is that map: it is σ‑Bench’s framework. It splits the work of a quantitative fund into seven kinds of problems that call for different skills: engineering the data, statistics, economic reasoning, judging evidence, writing fast and faithful software, monitoring and trading. Building the benchmark along the line gives it a spread of real research work instead of one narrow skill, and the line’s questions give each task its goal. The tasks themselves will change as the benchmark matures; the frame stays.
López de Prado has set out the wider challenge himself. In a 2025 talk on AI in investing he argued that general-purpose AI often falls short, because investing is a causal problem rather than a forecasting one, experiments are rarely possible, markets change, samples are small and the signal is faint. He proposed questions to ask of any AI investment solution, among them whether it controlled for backtest overfitting and what causal mechanism explains its returns, and he closed with the assembly line [27]. σ‑Bench turns that frame into a test.
Every station poses the same experimental question (Figure 12). What happens if the same model gets the same task and data, first in one session and then in a research loop with dreaming? The one-shot baseline supplies the first side of that comparison. The gap between the two is the measurement, and there is no reason to expect it to be the same everywhere. Dreaming may matter most where research is a long search among many ideas, and little where a task rewards one well-known recipe. A map of where continuous self-improvement pays off, and where it does not, is what σ‑Bench is after.
The line also shapes how σ‑Bench judges its agents. An agent that dreams is a machine for running many trials, and the testing station explains what many trials do: the best of them looks good by luck. σ‑Bench therefore scores every agent on a sealed stretch of later data that the agent never sees while it works, the benchmark’s own embargo, and records what each run cost, so that a better score bought with more attempts can be seen for what it is.
The line also says what a dream may carry from one session to the next: findings, methods and the record of what was tried, never the scores of the sealed exam. An agent that could see those would be researching under the influence of a backtest. The questions López de Prado asks of a strategy are the questions σ‑Bench asks of an agent.
That makes the assembly line the second of σ‑Bench’s three pillars. The first is the question: does sleeping on it help an AI agent? The second is the work: the stations of this line. The third is the data: market data recorded trade by trade, licensed from the London Stock Exchange Group (LSEG), too large to read in one sitting and noisy enough that luck can pass for skill.
References
- D. H. Bailey and M. López de Prado. “How ‘Backtest Overfitting’ in Finance Leads to False Discoveries.” Significance 18(6), 2021.
- M. López de Prado. Advances in Financial Machine Learning. Wiley, 2018.
- M. López de Prado. “The 10 Reasons Most Machine Learning Funds Fail.” The Journal of Portfolio Management 44(6), 2018.
- M. López de Prado. “Financial Machine Learning: An Engineering Problem.” Lecture slides, versions of 2021 to 2025.
- K. R. Popper. Objective Knowledge: An Evolutionary Approach. Clarendon Press, 1972.
- M. López de Prado. Causal Factor Investing: Can Factor Investing Become Scientific? Cambridge University Press, 2023.
- M. López de Prado. Machine Learning for Asset Managers. Cambridge University Press, 2020.
- U.S. Commodity Futures Trading Commission and Securities and Exchange Commission. “Findings Regarding the Market Events of May 6, 2010.” 2010.
- M. López de Prado and V. Zoonekynd. “Causality and Factor Investing: A Primer.” CFA Institute Research Foundation, 2025 (also ADIA Lab Research Paper 16).
- M. López de Prado and V. Zoonekynd. “Correcting the Factor Mirage: A Research Protocol for Causal Factor Investing.” The Journal of Portfolio Management 52(3), 2026.
- M. López de Prado and D. H. Bailey. “The False Strategy Theorem: A Financial Application of Experimental Mathematics.” The American Mathematical Monthly 128(9), 2021.
- J. F. Joubert, D. Sestovic, I. Barziy, W. Distaso and M. López de Prado. “The Three Types of Backtests.” ADIA Lab Research Paper 10, 2024.
- D. H. Bailey and M. López de Prado. “The Deflated Sharpe Ratio: Correcting for Selection Bias, Backtest Overfitting, and Non-Normality.” The Journal of Portfolio Management 40(5), 2014.
- D. H. Bailey, J. M. Borwein, M. López de Prado and Q. J. Zhu. “Pseudo-Mathematics and Financial Charlatanism: The Effects of Backtest Overfitting on Out-of-Sample Performance.” Notices of the AMS 61(5), 2014.
- M. López de Prado, A. Lipton and V. Zoonekynd. “How to Use the Sharpe Ratio.” ADIA Lab Research Paper 19, 2026.
- 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), 2017.
- U.S. Securities and Exchange Commission. “In the Matter of Knight Capital Americas LLC.” Release No. 34-70694, 2013.
- D. H. Bailey and M. López de Prado. “Stop-Outs under Serial Correlation and ‘The Triple Penance Rule’.” Journal of Risk 18(2), 2015.
- M. López de Prado. “Building Diversified Portfolios that Outperform Out of Sample.” The Journal of Portfolio Management 42(4), 2016.
- A. F. Perold. “The Implementation Shortfall: Paper versus Reality.” The Journal of Portfolio Management 14(3), 1988.
- D. J. Leinweber. “Using Information from Trading in Trading and Portfolio Management: Ten Years Later.” Caltech Social Science Working Paper 1135, 2002.
- D. Easley, M. López de Prado and M. O’Hara. “Flow Toxicity and Liquidity in a High-Frequency World.” The Review of Financial Studies 25(5), 2012.
- D. Easley, M. López de Prado and M. O’Hara. “The Microstructure of the ‘Flash Crash’: Flow Toxicity, Liquidity Crashes, and the Probability of Informed Trading.” The Journal of Portfolio Management 37(2), 2011.
- T. G. Andersen and O. Bondarenko. “VPIN and the Flash Crash.” Journal of Financial Markets 17, 2014.
- J. F. Joubert. “Meta-Labeling: Theory and Framework.” The Journal of Financial Data Science 4(3), 2022.
- “Sleeping on it: how AI agents learn between sessions.” σ‑Bench, 2026.
- M. López de Prado. “AI Challenges in Mathematical Investing.” Slides, World AI Conference, Shanghai, 2025.
σ‑Bench is an independent project. It is not affiliated with Marcos López de Prado, the Abu Dhabi Investment Authority, Cornell University or any author cited. This page is the author’s summary of published work; the figures are redrawn after the sources named in their captions, and any error is the author’s.