In this episode, Ari Joury (PhD, particle physics; Founder & CEO of Wangari Global) turns his attention to the 2026 World Cup - and to why the machine learning models built to predict it are confidently wrong in specific, predictable ways. Drawing on his upcoming O’Reilly book Soccer Analytics with Machine Learning, he walks through four failure modes: the distribution shift between club and international football, the small-sample limits of Expected Goals (xG), the form-transfer illusion, and the incentive structures that push analysts to publish flashy numbers over honest ones. He then flips the argument: what actually does predict tournament outcomes, and what does that tell us about where ML earns its keep versus where it just looks like it does? The bigger lesson here is not about soccer - it is about knowing which questions your model can actually answer with the data you have. Topics covered: Soccer analytics, World Cup prediction, Expected Goals (xG), distribution shift, small-sample statistics, feature engineering, predictive modeling, O’Reilly Media, enterprise AI context. Wangari is the newsletter and podcast for practitioners and leaders navigating the real work of enterprise AI. New episodes every Friday. https://wangari.global/contact Ari’s book (O’Reilly Media, early release out now and officially out around June 25): Soccer Analytics with Machine Learning This is a public episode. If you'd like to discuss this with other subscribers or get access to bonus episodes, visit newsletter.wangari.global/subscribe
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
SPEAKER_00Every four years the same thing happens. A major football analytics site publishes its World Cup predictions. A few academic groups release theirs. Goldman Sachs releases one too because Goldman Sachs releases one of everything. They run thousands of simulations, train models on Bundesliga data, plug in XG and shot quality metrics and tell you with a confidence interval that Brazil has a 17.2% chance of
lifting the trophy.
SPEAKER_00Then the World Cup happens and Brazil doesn't. Hi, I'm Ari Joury. I run Wangari Global, where I help enterprises build AI systems that survive contact with reality and data.
I also just wrote a book on Soccer Analytics with Machine Learning for O'Reilly. It's called Soccer Analytics with Machine Learning and it's out at the end of this month.
SPEAKER_00So you can imagine that I have feelings about World Cup predictions. The 2026 World Cup starts in a few days. By the time you hear this, the first wave of predictions will already be out and the first matches will already have been played. By the time the tournament is over, most of them will have been falsified. And what I want to do in the next half hour is explain why that keeps happening.
SPEAKER_00Not because the people making the predictions are bad at their jobs, but because most of the techniques that make machine learning genuinely useful in the in club football break in specific and predictable ways when you point them at international tournaments. I'm going to walk you through four problems and then I'll talk about what actually does work even at the World Cup,
SPEAKER_00even at the small sample sizes that you're stuck with here. And then I'll close with what I think is the bigger lesson here. The one that applies way beyond soccer into every domain where people try to extrapolate a lot of data into not very much. Let's start with the most basic problem. Machine learning lives and dies on data.
SPEAKER_00The richest dataset football has is the club game. 5 major European leagues, multiple cup competitions and roughly 2000 top flight matches per major league per year. That's decades of data. Coaches who Managed 50 matches in a season for 10 years, right? Players who play together every single week,
SPEAKER_00who know each other's runs, who can predict where the teammate is going to be before he even moves. Plenty of data. International football has approximately none of that. A World Cup squad spends about 25 days together in the calendar year before the tournament. 25. The starting 11 you'll see against Argentina in the group stage
has almost
SPEAKER_00certainly never played that specific line-up before this calendar year. They might have played most of those players together a couple of times in qualifiers, sure, but the system the muscle memory the implicit understanding all that is club football that's all the wrong distribution for what we're about to do now if you're a machine learning
person you'll recognize this it's called distribution shift or technically it's
SPEAKER_00called covariate shift depending on how you want to slice it Basically your training data was generated by one process and your deployment data is generated by a different process. The pattern the model learned in the training might or might not apply then. In academic machine learning distribution shift is something people write whole papers about. In football Most public World Cup models paper over it by aggregating
individual player ratings
SPEAKER_00into team strength scores. The logic goes like this. If I have a really good model of Lionel Messi's club performance, I can just plug it into a team level model and get a sensible team level forecast. The problem with that is Messi at club level plays in a system designed around him with teammates whose runs accommodate him and a manager who's had four years to optimize
that exact formation
SPEAKER_00Messi at the World Cup is playing with whoever made the squad In a system the manager has been able to rehearse maybe 20 times before the tournament starts. And the Messi number you trained on is then not the same Messi who shows up. Some of you might be thinking, okay, well, that's true of every tournament.
SPEAKER_00The 2022 World Cup happened, the 2018 World Cup happened, we have prior World Cups to train on, why not just use those? Well, there are two good reasons why you shouldn't. First, the sample size is still brutally small. Even if you go back to the 2002 World Cup, you only have six tournaments. worth of data. That's not enough.
SPEAKER_00Second, and this is the more important one, the football has changed across those tournaments as well. The 2002 game is not the 2026 game. Pressing systems are different. Goalkeeper distribution is different. Substitution rules are different. They let you make five subs now versus three earlier. The model trained on prior tournaments would be learning patterns from a game that doesn't really exist anymore.
SPEAKER_00So you're stuck. You can either use club data and accept that it doesn't fully transfer or you use international data and accept that you've basically no statistical power. Most public models pick the first option and then sort of pretend that they didn't. Let me talk to you about expected goals. XG in short.
SPEAKER_00If you're not deep into football analytics, then XG is a number that's assigned to each shot, which tells you how likely it is that A goal should have been, given the position, angle and type of pass that led to it, and even like the body part of the player that's been used, that kind of stuff. It's been around in serious form for about 10 years and it's the single best metric the field has produced.
SPEAKER_00I'm going to defend XG against anyone who calls it nonsense. It's a real step forward in how we think about football. But, and here comes the but, here's the problem with applying it to the World Cup. XG is a shot level metrics that's trained on Premier League and Bundesliga shot data. It was designed for repeated trials in similar contexts. So you take a shot from a similar position with a similar lead
up and over
SPEAKER_00thousands of similar shots, you converge to a probability. That probability is your XG The World Cup gives you 7 matches per team Maybe 2 of those go to knockout Half end in 1-0 results or worse And at those sample sizes the noise in XG completely dominates the signal This is a basic statistical fact that gets ignored when people
pump World Cup
SPEAKER_00predictions through their XG based pipelines. Let me give you an example. So in 2022, Saudi Arabia beat Argentina 2-1 in the group stage. If you looked at the pre-match XG models, the result was 4-5% probable. Some had it even lower. The reason it was so unlikely on paper was that Argentina's player-level XG
contribution numbers from club football were enormous and Saudi Arabia's were
SPEAKER_00small. The model could only see club output and club output said Argentina would win by two. What actually happened was Saudi Arabia played a highly defensive line. They pressed Argentina's defense into making mistakes. They scored two goals in five minutes. And so the tactics were a thing that this model couldn't see. And the small sample variance overwhelmed the player quality signal.
SPEAKER_00Now, Argentina recovered and won the tournament actually, so the bigger model might still have been right about the eventual winner. But the predictive model was wrong about basically every single early stage match it cared about. It got the destination right by accident, not because the journey it predicted matched the journey that happened. And there's a deeper problem with XG at the World Cup,
which is the knockout context. Most XG models are trained on shots in so-called normal attacking play in club football.
SPEAKER_00And they have little, in fact, very little exposure to extra time shots in a knockout tie where one team has been parking the bus for 30 minutes and is now trying to score on a single counter. The data they learned from this doesn't contain very many of these situations International knockout football contains a lot of them You can absolutely build an XG model that works at the World
Cup, actually.
SPEAKER_00You'd need to specifically curate a training set for tournament football. You'd need to handle the small sample problem with much heavier regularization. And you'd probably end up with a much more conservative model that makes a much less confident prediction. The version that most public sites publish, the ones that confidently tell you that Brazil has a 17.2% chance of winning, that's just a Premier League model with a national flag pasted on.
SPEAKER_00Now here's a thought experiment for you. Let's say we have a striker who scores 32 goals in La Liga from August to May. He's a beast, in other words. His national team plays four friendlies during the same period. He starts in all four and he scores zero. What's the predictive signal for what he'll do at the World Cup? Is it the 32 or is it the zero?
SPEAKER_00Now, most public models implicitly weigh the 32. Use his true talent as inferred from his club output. Plug that into the international model, that's the obvious choice, and it's wrong for very specific reasons. The 32 goals were scored in a system with a manager he sees every day, with teammates who know exactly where to put the through ball into his path. He arrives at the World Cup as an extraordinary player attached
to a team that's
SPEAKER_00practiced his preferred runs perhaps twice. International form for international striker output is the more honest signal, even though the sample is brutally small. The football analytics community has known this for years. They're not stupid. Every analyst in private will tell you this. Some of their academic papers acknowledge this also, but none of them are really public like that.
And none of the public predictive models that I've seen meaningfully correct for
SPEAKER_00it, because the obvious correction which means heavily down weighting club performance catastrophically reduces the signal that you have to work with and so often times these models just output basically noise so you go from a confident model that's confidently wrong to a much less confident model that admits it doesn't know much at all the first one gets retweeted the second one feels like you didn't actually do anything
So the analytics community has collectively, mostly, picked the first option.
SPEAKER_00The models are confidently wrong. The predictions get screenshots shared. And four years later, everybody pretends it didn't happen. I want to be careful here because I'm criticizing a community that I am part of now as a published author. I write about this stuff. I work sometimes in this field. I'm not saying that analysts are stupid or lazy. They're not. What I'm saying is that the incentives in public analytics are
to publish a model with a number on it and the incentive of statistical honesty is to publish a much
SPEAKER_00wider confidence interval that makes you look uncertain. And we pick what gets published. That's it. the version of this that's actually correct the wider confidence intervals and the honest we don't really know kind of predictions this exists in private and it does get published don't get me wrong but You don't really see that. You see it perhaps in betting markets or in the modeling done
for actual football
SPEAKER_00clubs by their analytics departments. They have much looser numbers and they make much less news. So I've spent 20 or so minutes telling you what doesn't work. Now comes a rather reasonable question. What does actually work? Well, there's four things that do, in roughly increasing order of how embarrassing they are to
people who do this for
SPEAKER_00a living. First, squad market value. The total transfer market valuation of a squad is one of the strongest publicly available predictors of tournament progression. Bigger valuation means more progression, basically linearly, with some interesting exceptions. Machine learning models often beat this baseline by one to two percentage points
SPEAKER_00after thousands of features. It's worth asking what you've actually added there. The reason this works is not because money buys winners directly, It's because the transfer market is itself an aggregated forecasting model. Every transfer fee is a bet by a buyer with real money on the line about a player's expected future quality.
SPEAKER_00The market price is then the model. If you can't beat the market price with your fancy features, your fancy features aren't adding much. Second, manager continuity. Teams whose manager has been in place for 18 months or more before the tournament consistently outperform teams with new appointments. That's Spain in 2010, Germany in 2014, France in 2018, Argentina in 2022.
SPEAKER_00All have had managers who'd been there for years. The teams that lose early in tournaments often have new managers or interim bonds or someone's trying to reinvent the team in a short window. The model often can't see this directly but it's there. Third, tournament experience as a team, not individuals. So the cohort of players who've played a knockout international
match together has
SPEAKER_00more predictive power than aggregate caps or player level experience. Spain in 2010 had two and a half cycles of buildings. France in 2018 had two cycles with much of the same squad. There's a pattern even though tournament experience as a team doesn't really fit cleanly into a feature vector. The way to think about it is like this.
SPEAKER_00This group of humans at this level of stakes with this manager How many times have they been there before and what happened the last time? And finally, number four, group draw difficulty. This is trivially obvious, but most machine learning models kind of bake this into other features rather than respecting it as the structural variable that it is.
Whether your route to the semi-final goes through Brazil or through Costa Rica,
SPEAKER_00matters much more than any in-game metric. A small adjustment in draw luck is worth several percentage points of team quality in the implied tournament outcome. So if your World Cup model can't beat a simple weighted combination of these four So squad value, manager tenure, team tournament, experience and draw difficulty It isn't going to do anything
that justifies its
SPEAKER_00complexity Now here's something deeper for you Football Analytics keeps wanting to be Moneyball. It's been wanting to be Moneyball for 15 years and to be fair, there's been real progress. Modern shot maps and possession value models and even automated tracking data. I'm not the person who's going to tell you that is all wasted.
But the World Cup is part of football where Moneyball logic plays the hardest
SPEAKER_00Moneyball worked because baseball has 162 games It has repeated trials, the dice just converge to their fair value over a long enough season That's the way it works Even individual hitter performance starts to look meaningful by August because every at-bat is another draw from a known distribution. The World Cup is seven matches per team. Maybe two are knockout games that go into penalties.
SPEAKER_00The dice just don't converge over seven throws. They land somewhere and you live with where they landed. That's not a failure of analytics. That's the structure of the tournament itself. What I've come to believe, and this is the part of the book that I'd point you to first, is that the right way to think about machine learning in soccer is to be precise about which questions it can actually answer with the data you
have and which it
SPEAKER_00can't. There are questions where machine learning is incredibly powerful. Set Piece Routine Design and Defender Positioning Analysis and Crossing Pattern Recognition or even Recruitment Decisions for Buying Players. There are hundreds of league matches with consistent context and those are exactly the kinds of problems that machine learning is built for. But this who's going to win the World Cup is not one of those questions.
SPEAKER_00It's just seven matches Most of the variance comes from things the model can't even see like managerialist decisions and set pieces that bounce one way or the other or individual moments of brilliance or refereeing. The honest answer is the bookmaker spread plus a confidence interval. The flashy answer is Brazil 17.2%.
SPEAKER_00We keep publishing the flashy answer because the honest answer doesn't get clicks. By the time the World Cup actually starts, half the predictive models you've seen will have already been falsified by the warm-up matches. I want you to watch that happen. Pay attention to which sites confidently predicted things that didn't happen and
SPEAKER_00what they say afterwards. Mostly, what they say afterwards is, well, anything can happen at the World Cup. Which is exactly the answer they should have given before the tournament. If any of this resonated, I wrote a whole book about how to use machine learning in soccer well. It's called Soccer Analytics with Machine Learning. It's out from O'Reilly Media on or about June 25th. About a tenth of it is World Cup specific,
the rest is the part that actually works. The part you can use on the league football that fills the other 47 weeks of your year.
SPEAKER_00There are also chapters on recruitment, on tactical analysis, on set-piece design, on opposition scouting, all of it. The kind of work that holds up because the sample sizes do. I'd be impressed by anyone who got the 2026 World Cup right. I just wouldn't pay them to do that again. Thanks for listening. If you enjoyed this episode the next one's out very soon next week.
Summer is here, the soccer World Cup is in full swing, and Ari Joury (PhD, particle physics; Founder & CEO of Wangari Global) is connecting the dots between the beautiful game and the hardest concepts in machine...
People often ask how transitioning from theoretical particle physics to founding an enterprise AI company makes any sense. In this episode, Ari Joury (PhD, particle physics; Founder & CEO of Wangari Global) explains why...
For the past decade, the enterprise AI narrative has been dominated by deep learning and pattern matching. These models are incredibly powerful at answering “What is happening?” but fundamentally incapable of answering...
If you want to build a machine learning model to predict the outcome of a soccer match, the algorithm you choose is the least important part of the process. The real challenge is deciding what data to feed it. In this...
Walk into the actuarial department of any major insurance firm, and you will find some of the most highly educated, analytically brilliant minds in the corporate world. Now ask them how they spend their time. The answer...