IInvest Like the Best
← All frameworks
Innovation

Iterative Error-Reduction Modeling

Line up your Xs, line up your Ys, and shrink the error until the model is useful.

Difficulty
Advanced
Time to result
~months to results
Steps
7
Confidence
85%

Jeremiah Lowin frames every model — from a schoolbook linear regression to a deep neural network — as the same basic machine: a set of inputs (Xs), a set of desired outputs (Ys), and a relationship between them. Simple models have closed-form solutions: the answer falls out with no work because the relationship is defined as linear. Machine learning is the family of iterative models where no closed-form answer exists, but where you can define an error term and a method for reducing it step by step. The model produces an answer, measures how wrong it is, tweaks its parameters, and repeats — a million or a billion times. The craft is choosing how far to push: knowing when a model is 'good enough' versus when you have gone too far and dangerously over-modeled the world.

Origin

Lowin's first model came from a Stats-100 clash: his textbook used stock returns as the canonical normal distribution while he was simultaneously reading Mandelbrot's The Misbehavior of Markets. He ran the analysis himself, proved returns were not normal, and his professor replied that 'sometimes in life, we make necessary approximations' — his first lesson in when a model is good enough.

Core principles

  • 01Every model is an imperfect analogy with an error term baked in
  • 02Closed-form solutions are cheap; iterative solutions buy flexibility at the cost of interpretability
  • 03You must be able to quantify how wrong you are before you can improve
  • 04Order and context can matter more than the raw inputs themselves
  • 05Models are just tools, no matter how magical the branding

How to run it

  1. 1

    Line up your inputs and desired outputs

    Define the X (what you have) and the Y (what you want). Every model, from regression to a recurrent neural network, is an attempt to turn X into Y.

    Pro tip Write the X and Y down in plain language before touching any code; ambiguity here poisons everything downstream.

  2. 2

    Reach for the simplest tool first

    Start with linear regression or a simple classifier. It is a closed-form solution — well understood, cheap to compute, and it requires almost no work to fit.

    Pro tip Simplicity is itself a form of regularization: a model with only as many parameters as regressors cannot overfit as badly.

  3. 3

    Decide whether the relationship is truly non-linear

    If the simple model fails, introduce non-linear relationships or more complex correlation structures. Some of these still retain a nice closed-form nature; others force you into iterative territory.

    Watch out Complexity should be earned by evidence, not assumed because the technique is fashionable.

  4. 4

    Define an explicit error function

    Iterative models only work when you can quantify how good you are at doing what you are trying to do. Choose the metric that genuinely represents the cost of being wrong.

    Pro tip If you know the derivative of the error with respect to your inputs, you know exactly how to tweak the model at each step.

  5. 5

    Choose a search strategy: brute force, evolution, or optimization

    Brute force will try everything but wastes enormous time in regions where the answer isn't. Evolutionary approaches breed candidate answers but produce strange, unpredictable results. Optimization-driven approaches sit in the middle and remain partly interpretable.

    Pro tip Prefer the optimization route when you need to explain to someone else how the model got there.

    Watch out Evolutionary and brute-force answers can be effectively uninterpretable.

  6. 6

    Layer in order and context where it matters

    When sequence carries meaning — language, price series, video — use models that step through data and build context, such as recurrent architectures, rather than treating inputs as an unordered batch.

    Pro tip Test the assumption by scrambling the order of your data; if performance collapses, order is genuinely information.

  7. 7

    Stop at 'good enough' rather than perfect

    Judge the model against the decision it supports. A normal distribution is the right approximation for a stats class and the wrong one for tail risk in markets.

    Pro tip Ask what decision changes if the model is 10% wrong; if nothing changes, stop refining.

    Watch out You can overfit the hell out of these things — a perfect fit is usually a warning sign, not a win.

In the wild

Google Translate learns without rules

Rather than telling a system how prepositions work or what form the word 'and' takes, Google presents pairs of texts in two languages and asserts they carry the same semantic meaning. The system searches for statistical patterns that map one representation onto the other across an enormous number of pairs, overcoming homonyms, synonyms and other linguistic hurdles. The leap in accuracy came from layering time into the model with recurrent neural networks, which step through words building up context — much as two people build context over the course of a conversation — instead of trying to decode a whole sentence in one shot.

→ A dramatic improvement in translation quality, and eventually the ability to translate between two languages with no direct Rosetta Stone by routing through a third or fourth language.

The Stats-100 normality test

Given the stock market as the canonical example of a normal distribution, Lowin ran the analysis himself using the tools he had just been taught and demonstrated that returns were anything but normally distributed. He brought the contradiction to his professor, who explained that sometimes in life we make necessary approximations, and that for Stats-100 the normal distribution was the right level of model.

→ A career-defining lesson in judging when a model is good enough versus when it has gone too far.

Common mistakes

Overfitting because the tools are now trivially easy

Two lines of code can launch a seven-layer neural network with millions or billions of parameters that will fit any data you show it, and the backtest will look amazing. Accessibility has made overfitting the greatest danger for practitioners entering the quantitative world.

Mistaking speed and accuracy for intelligence

A tool that takes Xs and produces Ys faster and more accurately than a person is still a tool. Calling it intelligent no more applies than calling a loom intelligent because it out-produces a weaver.

Ignoring that order carries the information

A book with its pages shuffled or a movie with its frames scrambled contains identical information and means nothing. Treating sequential data as an unordered batch throws away the context that makes it meaningful.

Is it for you?

Best for

Analysts, investors and operators who want an intuition for how machine learning systems actually work under the buzzwords.

Not ideal for

Problems where the underlying relationship is genuinely random, or where an interpretable rule already exists.

From the transcript

“Iterative model means we know what we're trying to do and we have a way of quantifying how good we are at doing it. We…”

Jeremiah Lowin

“sometimes in life, we make necessary approximations”

Jeremiah Lowin

“the order is really important because order equates to context”

Jeremiah Lowin

From the episode

Jeremiah Lowin – Machine Intelligence and Risk Management - [Invest Like the Best, EP.20]

→