A 1985 paper about slot machines explains how to allocate research time

Published: 2026-05-02

URL: https://www.polymathinvestor.com/p/the-math-of-curiosity


"We shall not cease from exploration, and the end of all our exploring will be to arrive where we started and know the place for the first time." - T.S. Eliot, “Little Gidding” What should you read this week? Every Monday morning, you sit down with the same finite resource: a few hours of real focused time. You can spend it doing more research on a company you already own. You can spend it looking for a new name to add the portfolio or you can spend it on neither, which most people actually do.

You may think this is a small decision not worth tinkering over. But over twenty years, it’s probably the difference between outperforming and not. Despair not, this is an old problem. In 1985, two statisticians published1 a paper about slot machines that turned out to describe the best way to split time between researching new companies and digging deeper into ones you already own2. They didn’t know they were writing about investing.

They were just trying to solve the math of choice under uncertainty: when do you keep playing the machine you’ve been playing, and when do you walk down the row to try a new one? Same problem. Different casino.

This math problem has a name: the exploration-exploitation paradox. And the answer cuts against the instinct most investors trust: that when something is working, you should pour more time into it. Every hour you spend deepening a name you already understand is an hour of exploitation. You’re using what you know to extract more value.

Every hour you spend on a new name is exploration. You’re paying time units to find out whether something is worth your time. Pure exploitation makes you miss the next twenty years of compounders. Pure exploration leaves you with shallow knowledge of everything and conviction in nothing.

The math says neither extreme can win. A third approach can, and over twenty years the gap between using it and not is the difference between a portfolio that delivers satisfactory returns and one that doesn’t Polymath Investor (2026).

The price of a second look. The Basic Problem Researching your next company. Trying a new restaurant. Walking down the row of slot machines. Same problem in different clothes. Imagine you move to a new city and there are ten restaurants near your apartment.

Every night you have to pick one for dinner. You want to eat well as often as possible over the next year. 10 restaurants, 365 nights. The first night you have no idea which is best, so you pick one at random. It’s pretty good. Second night: do you go back to that “pretty good” place, or try a new one? If you keep going back to the first decent restaurant you found, you might be missing an amazing one two doors down.

But if you keep trying new places every night, you’ll waste a lot of dinners on bad ones just to satisfy your curiosity. That’s the whole problem. “Exploration” means trying new things to learn. “Exploitation” means using what you already know to get a good outcome right now.

Every decision in life with repeated choices has this tension: dating, job hunting, investing, picking a route to work, choosing what to read.

Why It Feels Like A Paradox It seems like a trap. To know which restaurant is best, you’d have to try them all many times. But trying them all means eating at the bad ones over and over. So learning costs you.

And not learning also costs you, because you might be stuck on a mediocre choice forever. People often assume there must be no good answer, that it’s just a judgment call. But there’s actual math that says otherwise. Impatient With the Unknown and Patient With the Known The mathematicians actually proved two things that fit together pretty well.

First, they proved a floor: no matter how clever you are, you cannot avoid paying some price for learning. If you want to eventually figure out which restaurant is best, you must occasionally eat at the worse ones to confirm they’re worse. There’s a minimum cost, and it grows very slowly, roughly like the logarithm of how many nights you’re eating out. Logarithm just means it grows really slowly: over 100 nights the cost is about 5 units of regret3, over 1,000 nights about 7.

The cost barely increases as time goes on. Second, they invented a formula to calculate exactly that floor. For each restaurant, you track two numbers: how good it’s been on average, and how many times you’ve tried it.

Every night, pick the restaurant that scores highest on the sum of “average rating” and “a bonus for being under-tried”. The bonus shrinks as you visit a place more often. Here’s how it works in practice. Say you’re 30 nights in. Restaurant A you’ve visited 20 times and it averages 8 out of 10. Restaurant B you’ve tried twice and it averaged 7 (the remaining 8 nights you tried other restaurants). Pure exploitation says go to A: it’s better and you know it.

But the formula adds an under-tried bonus, and since you’ve barely visited B, that bonus is large enough to push B’s score above A’s. So you go to B. After ten more visits to B, the bonus shrinks. If B still averages 7, A wins from then on. If B turns out to actually average 8.5, you’ve discovered something you’d have missed forever by sticking with A.

That bonus is the key here4. A restaurant you’ve been to once gets a big optimism bonus, so you’ll probably go back to give it another shot. A restaurant you’ve been to fifty times has almost no bonus, because you already know what it is.

The math automatically balances “try new things” against “stick with what works,” without you having to decide.

Why This Matters The floor and the formula match exactly. That means the formula is the best possible. Not “pretty good.” Best. You literally cannot do better, on average, over the long run. This resolves what felt like a paradox.

The right answer isn’t “pure exploitation” (always go to your favorite). That’s terrible. You’ll get stuck and never discover anything better. It’s also not “pure exploration” (try a different place every night forever). That’s also terrible. You’re throwing away nights on places you’ve already learned are bad.

The right answer is a subtle blend: mostly go to your current favorite, but every so often, give an under-tried option another chance, with a frequency that decreases as you learn more. The Deeper Point There’s no shortcut to confidence. If you want to know which option is truly best, you must spend something to find out.

The good news is that the cost is tiny compared to what you gain. Over a year of dinners, you might “waste” maybe ten or fifteen of them on suboptimal restaurants, and in exchange you’ll spend the other 350 confidently eating at the best place in the neighborhood.

This is why many successful investors hold a few experimental positions even when their main positions are working. It’s why good companies run small experiments on the side instead of betting everything on their current product.

The optimal strategy is always: learn aggressively early, exploit what you’ve learned later, and never stop testing new things entirely, just less and less over time. The “paradox” goes away once you accept that information costs something, and you’re willing to pay that cost up front in exchange for better decisions later.

And that’s the math of curiosity. "I would rather have questions that can't be answered than answers that can't be questioned." — Richard Feynman I noticed that ends each of his articles with a musical coda. Since imitation is the sincerest form of flattery, here's mine. Share Polymath Investor Disclaimer This newsletter and any related emails (the “Publication”) are provided for informational and educational purposes only. They do not constitute an offer, solicitation, or recommendation to buy, sell, or hold any security or other financial instrument, nor should they be interpreted as legal, tax, accounting, or investment advice.

The Publication is general in nature and has been prepared without regard to the investment objectives, financial situation, or particular needs of any specific person.

You should conduct your own independent research and consult with a qualified financial adviser and other professional advisers before making any investment decision. The information contained in the Publication is based on sources believed to be reliable, but its accuracy, completeness, or timeliness cannot be guaranteed.

All information and opinions are subject to change without notice. Any forward looking statements or projections are inherently uncertain and actual results may differ materially due to various risks and uncertainties. Investing involves significant risks, including the possible loss of principal. Past performance is not indicative of, and does not guarantee, future results.

The views expressed in the Publication are those of the author(s) in a personal capacity and do not necessarily reflect the views of any employer, affiliate, or other entity. The author(s) and related parties may hold or acquire positions in securities, instruments, or issuers discussed and may buy or sell such positions at any time without notice. Neither the author(s) nor any publisher, affiliate, director, officer, employee, or agent accepts any liability for any direct, indirect, incidental, consequential, or punitive damages arising out of the use of, or reliance on, the Publication.

Jurisdictional and regulatory notices United Kingdom: This Publication is general editorial content. It is not an invitation or inducement to engage in investment activity for the purposes of section 21 of the UK Financial Services and Markets Act 2000. If you choose to engage in any investment activity, you should rely only on the terms of the relevant offer as set out in the issuer’s prospectus and applicable regulatory filings. European Economic Area, North America, Australia, and Asia: Distribution of this Publication may be restricted by local law or regulation.

It is not intended for any person in any jurisdiction where such distribution would be contrary to local law or regulation.

Recipients are responsible for informing themselves about, and observing, any such restrictions that apply in their jurisdiction. By reading the Publication, you agree that you use it at your own risk and that you are solely responsible for any investment decisions you make. 1Lai, T. L., & Robbins, H. (1985). Asymptotically efficient adaptive allocation rules. Advances in Applied Mathematics, 6(1), 4–22. https://doi.org/10.1016/0196-8858(85)90002-8 2Obviously there are many reasons to research a new company versus going deeper on one you already own: fit with the portfolio, conviction level, valuation, time-sensitivity.

What I’m sharing here is just a mental model for the pure time-allocation question, all else equal. 3If the best restaurant is a 9 and you accidentally went to a 7, that’s 2 units of regret from one dinner, not one. Nobody runs these numbers in real life, of course.

The point isn’t the arithmetic, it’s the intuition about the cost. 4How the bonus is actually calculated: The formula is called UCB1, short for Upper Confidence Bound. The bonus for any given restaurant is: Bonus = √(2 × ln(nights you dined out in total) / times you've visited this restaurant) You don’t need to memorize this. Just notice what the two pieces do.

The top of the fraction (the log of total nights) grows slowly, so as time passes the bonus goes up for everyone, gently nudging you to revisit places you’ve ignored. The bottom of the fraction (visits to that specific restaurant) is what really moves the needle. Visit a place once and the denominator is 1, so the bonus is large. Visit it a hundred times and the denominator is 100, so the bonus shrinks toward zero. After 30 nights of dining, a restaurant you’ve been to twice gets a bonus of about 1.8 points.

The same restaurant after fifty visits gets a bonus of about 0.4. After a thousand visits, basically zero. The formula is impatient with the unknown and patient with the known. The 1985 paper proved that an optimal formula exists.

The specific version shown here (UCB1) was developed later by Auer, P., Cesa-Bianchi, N., & Fischer, P. (2002). Finite-time analysis of the multiarmed bandit problem. Machine Learning, 47(2), 235–256. https://doi.org/10.1023/A:1013689704352