
Allocation models that know their unknowns
Quants say probabilistic programming beats machine learning in balancing strategies
Quant firms are buzzing with ideas about algorithms that can ‘learn’ how best to adjust the mix of assets and strategies they trade. But another technology – probabilistic programming – may yet prove equally valuable in answering that question.
The approach allows firms in their portfolio allocation to build models incorporating the kind of market savvy that traders take for granted and also to construct a probabilistic view of future returns, according to Thomas Wiecki, head of research at hedge fund Quantopian. Both are areas where voguish machine learning models now being employed in allocation can struggle.

Portfolio allocation decisions hinge on how markets are primed to move and how linkages between strategies or assets are likely to evolve. Allocation calls often shape fund performance more than security-level choices, particularly for a fund such as Quantopian that crowdsources strategies, including from amateur quants.
Quant funds see the area as ripe for the application of new technology because the linkages in question often are complex and non-linear.
Firms have built machine learning allocation models that learn from historical data how assets and strategies might behave in different markets and how relationships between them could change. These models start, though, with no base understanding of how markets work and can latch onto spurious patterns in the data, ascribing them unfounded meaning.
Models that use probabilistic programming, by contrast, start out with rules about how markets function but include an element of uncertainty about how far those rules will hold. The models simulate millions of future paths for a given portfolio within those boundaries.
“Compared to machine learning, probabilistic programming allows you to build a model that is far more targeted and incorporates much more information about the domain of the problem,” says Wiecki. “We might know that the correlations often have a certain structure or that volatility tends to change over time,” he says. “If we can prime the model to say ‘this is the direction to look in’, that is really helpful.”
Probabilistic programming essentially automates Bayesian inference, the statistical technique whereby the probability of a given event is updated step-by-step based on fresh evidence. Only recently have these tools become powerful enough to use in models at the scale needed for quant finance.
Quantopian’s models generate a probability distribution of future daily returns for the dozens of different strategies the hedge fund runs, based on past performance data. “Sometimes, due to luck, even a bad strategy will have a good run and a good strategy will have a bad run. Those would be scenarios we consider in the millions of forecasts that we simulate,” Wiecki says.
The approach allows the firm to find the portfolio balance that works best across all possible future scenarios, rather than just the most likely scenario and lets the firm be more “principled” about the uncertainty in its forecasts.
“A strategy that has a good track record could be good, or it could have got lucky, or it could be overfitted. We can never truly know which,” Wiecki says.
Only users who have a paid subscription or are part of a corporate subscription are able to print or copy content.
To access these options, along with all other subscription benefits, please contact info@risk.net or view our subscription options here: http://subscriptions.risk.net/subscribe
You are currently unable to print this content. Please contact info@risk.net to find out more.
You are currently unable to copy this content. Please contact info@risk.net to find out more.
Copyright Infopro Digital Limited. All rights reserved.
You may share this content using our article tools. Printing this content is for the sole use of the Authorised User (named subscriber), as outlined in our terms and conditions - https://www.infopro-insight.com/terms-conditions/insight-subscriptions/
If you would like to purchase additional rights please email info@risk.net
Copyright Infopro Digital Limited. All rights reserved.
You may share this content using our article tools. Copying this content is for the sole use of the Authorised User (named subscriber), as outlined in our terms and conditions - https://www.infopro-insight.com/terms-conditions/insight-subscriptions/
If you would like to purchase additional rights please email info@risk.net
More on Our take
Korea’s ‘worst-of’ times are here to stay
Chinese houses’ success in Korean autocalls could stymie hopes of diversifying the product mix
Could intraday FX swaps help reduce settlement risk?
New swap platform hopes to ease funding pains, but can it promote more use of PvP?
Talking Heads 2023: A turf war in credit markets
Banks are looking to reclaim territory they previously ceded to market-makers and private funds
FX-style crypto platforms could bridge gap with TradFi
Emergence of execution-only ECNs, prime brokers and clearing houses brings new confidence in crypto
Skew this: taking the computational burden off basket options
Dan Pirjol presents a snap formula for estimating implied volatility skew in an instant
Shhh, don’t tell: the struggle to keep skew under wraps
Liquidity recycling by clients has made it more difficult for banks to keep skews quiet
How a machine learning model closed a hidden FX arbitrage gap
MUFG Securities quant uses variational inference to control the mid volatility of options
The AOCI elephant in the DFAST room
After March’s banking crisis, Fed stress tests should adopt harsher and wider ranging rate scenarios