IInvest Like the Best
← All episodes
25 September 2018

Jeremiah Lowin – Machine Learning in Investing – [Invest Like the Best, EP.105]

4Frameworks
13Insights

Listen

Frameworks in this episode

Insights & moments

The myth-busts, hot takes, explainers, and tools worth keeping.

Myth Buster· 1

Myth Buster

Interpretability Is Overrated—Models Aren't Pure Black Boxes

Jeremiah pushes back on the idea that ML models must be interpretable to be trusted, arguing interpretability at the individual-parameter level is often useless, while aggregate visualizations can still reveal meaningful qualitative understanding.

  • Interpretability at the level of individual parameters is often not useful, especially with billions of parameters.
  • Models can still be interpreted meaningfully in aggregate, e.g., visualizing how a neural net's understanding evolves layer by layer.
  • The claim that ML models are 'total black boxes' is often overstated.

“I think interpretability is overrated to some degree, I'm not sure that it is always useful.”

Jeremiah

“I just don't think that's true.”

Jeremiah
#interpretability#black box#neural networks

Hot Take· 3

Hot Take

AI Is Just 'Souped-Up Linear Regression'

Lowin argues that building an AI model mathematically is easy — it's essentially layered regression — while the real difficulty and expertise lies entirely in training it well.

  • Building an AI model is mathematically simple: layered regression with a squashing function.
  • Training is where genuine expertise and difficulty live, potentially requiring lifetimes to master.
  • Ease of building can lead people to overestimate a tool's sophistication or necessity.

“if you actually look at the math that's taking place, building an AI model is easy. It's just layering a bunch of regression models on…”

Jeremiah
#machine learning#neural networks#hype
Hot Take

Why ML Will Be Critical to Surviving in Investing

Jeremiah predicts that within five to ten years, some degree of ML/analytics capability will be table stakes for competitive survival in investing, since even marginal speed or accuracy advantages can be decisive.

  • Analytic/ML capability is predicted to become essential for competitive survival.
  • Even a marginal edge in speed or accuracy can be enough to disrupt markets.
  • Resistance to this shift is often driven by incentives, not facts.

“I think they're going to be critical. I think you won't be able to survive without some degree of analytic understanding, if only because the…”

Jeremiah
#future of investing#competitive edge
Hot Take

Random Forests: The Machine Learning Utility Player

Jeremiah highlights decision trees and random forests as a strong default choice in ML due to their minimal hyperparameters and strong general performance, dubbing them the 'set it and forget it' model.

  • Tree models have very few hyperparameters, making them easy to deploy.
  • They tend to perform well across a wide range of problems.
  • They work best on data that splits cleanly into categorical branches; less well on entangled data like raw text or images.

“Sometimes they're called the set it and forget it model of machine learning, because they have very few hyper parameters, they tend to be very…”

Jeremiah
#decision trees#random forests#model selection

Explainer· 3

Explainer

What AI Actually Does: Discovering Complex Correlations

Lowin demystifies AI by explaining it only does one thing — finding complex correlations in data, which humans call 'experience' — and that AI systems are fundamentally 'dumb,' just redeploying experience in controlled ways.

  • AI is good at exactly one thing: discovering complex correlations in data.
  • In human terms, that ability is what we call 'experience.'
  • Sophisticated-seeming AI (self-driving cars, Go champions) is really just narrowly redeploying experience.

“AI's are really good at only one thing, which is discovering complex correlations in data. In human terms, that's something we call experience”

Jeremiah

“AI's are very dumb, they're not thinking, they're not drawing conclusions, they're not learning from the world, they're just, they're like puppies.”

Jeremiah
#machine learning#AI fundamentals
Explainer

Stationarity: Why Stock Prices Break Statistical Models

Lowin explains stationarity — why raw stock prices are a poor input for statistical models since their scale shifts over time — and why converting to returns creates a more stable, workable distribution.

  • Stationarity refers to distributions that don't change shape over time.
  • Raw stock prices are non-stationary because their scale changes (e.g., $100 vs $1,000).
  • Converting prices to returns produces a roughly stable, bell-curve-like distribution that models can reliably learn from.

“stationarity is usually used to refer to distributions that change over time, that are non-stationary in the sense that they move”

Jeremiah
#stationarity#time series#statistics
Explainer

Time Series Splits: Train Chronologically, Not Randomly

Lowin explains why time series data must be split by time period rather than randomly shuffled, since random splits let a model learn correlations from the future and produce misleadingly good results.

  • Time series data introduces unique risks not present in cross-sectional data.
  • Splitting by time period (train on earlier years, test on later ones) prevents the model from 'peeking' at future correlations.
  • Even small, innocent data leaks can quietly destroy an entire dataset's validity.

“Time series mess everything up. That's what I learned.”

Jeremiah

“you want to train through some year, you want to test from that year forward”

Jeremiah
#time series#data leakage#quant methods

Story· 3

Story

Chainsaw vs. Butter Knife: The Danger of Over-Engineering

Lowin describes how easy it is, thanks to accessible tools, to end up with a wildly over-engineered model when a much simpler one would suffice — especially damaging in noisy domains like finance.

  • Modern ML tools make it easy to build far more complex models than a problem actually requires.
  • Over-engineering is often driven by hype, stakeholder pressure, or the desire to look cutting-edge.
  • In finance, noisy data means insights are often simple ones hiding in plain sight.

“it's very, very easy to end up with a chainsaw when all you needed is a butter knife.”

Jeremiah

“thanks to tools like TensorFlow to end up with a chainsaw. And very often you don't need the chainsaw, you just need the butter knife,…”

Jeremiah
#over-engineering#pitfalls#finance
Story

The Ultimate Black Box Is a Person Having a Bad Day

Jeremiah reframes the 'black box' critique of AI by pointing out that human discretionary decision-makers are arguably even less interpretable, since a bad dinner the night before could silently affect a human's investment call.

  • Human discretionary judgment can be just as opaque as any ML model, if not more so.
  • If humans can detect patterns through experience, it implies machines should eventually be able to as well.
  • The 'black box' critique of ML is often applied inconsistently relative to human decision-makers.

“I have always found the ultimate black box to be a person who, if they had dinner last night that didn't agree with them, might…”

Jeremiah
#interpretability#human judgment#black box
Story

Value Investor in a Box: Augmenting, Not Replacing, Judgment

Jeremiah shares his excitement about applying ML to enhance, rather than replace, long-term human investment judgment, aiming to replicate the ideals of great investors at scale rather than build a fully automated trading system.

  • Fully automated end-to-end trading is now viewed by Jeremiah as largely impossible and impractical.
  • The most exciting frontier is enhancing human decision-making, not replacing it.
  • Long-horizon, fundamentals-driven investing is a particularly rich area for this kind of ML research.

“I'd love to see those replicated in a machine, not to replace the investor but to actually enhance them, to let them deploy themselves at…”

Jeremiah
#long-term investing#human-machine collaboration#value investing

Q&A· 1

Q&A

ML vs. Academic Finance: Prediction vs. Explanation

Patrick and Jeremiah contrast the pragmatic, output-focused nature of machine learning with traditional academic finance models, which are built to explain and test the significance of specific parameters.

  • ML models are used purely for their output/predictions, without needing to interpret each parameter.
  • Academic finance models (e.g., CAPM regressions) were designed to explore and test specific parameters like beta.
  • This distinction explains why ML doesn't produce familiar tools like t-stats.

“You don't have a T-stat in ML, and it's very, I view it as extremely pragmatic.”

Patrick
#academic finance#machine learning#quant methods

Takeaway· 2

Takeaway

Label Engineering: Feature Engineering for the Output Side

Patrick and Jeremiah discuss how defining what a model should predict (the label) is as critical and difficult as engineering its inputs, especially in finance where 'a good trade' has no obvious single definition.

  • Defining labels in finance is a 'massive cross temporal credit assignment problem.'
  • Label definition should be treated with the same rigor as feature engineering.
  • Alternative, more stationary labels (earnings, dividend cuts) can be more tractable than raw total returns.

“it's almost a form of feature engineering on the output side, and, frankly, I don't even know what to call that other than feature engineering.”

Jeremiah
#labels#feature engineering#quant finance
Takeaway

The Real Edge Is Data Quality, Not the Model

Both Patrick and Jeremiah agree that unique, clean, well-curated data — and even metadata about one's own trades and errors — is often the primary source of edge in ML-driven investing, more so than model sophistication.

  • Acquisition of unique, high-quality data is described as extremely valuable.
  • Metadata about one's own research and trading behavior can be an even more valuable input.
  • Commodity/cheap data purchased by everyone is unlikely to contain much real edge.

“The acquisition of data is so valuable, and the acquisition of metadata is even more valuable”

Jeremiah
#data edge#alternative data#quant finance